Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

n8n-binary-and-data

Skill by czlonkowski

Explains how to handle files and binary data in n8n workflows. It covers the $binary vs $json split, keeping binary through Merge, the AI agent tool limit, and image URLs for chat. Aimed at n8n builders working with PDFs, images and uploads.

  • Score 94
  • 23k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install n8n-binary-and-data

Built from the published package, never by AI.

git clone --depth 1 https://github.com/czlonkowski/n8n-mcp /tmp/n8n-mcp && mkdir -p ~/.claude/skills && cp -r /tmp/n8n-mcp/data/skills/n8n-binary-and-data ~/.claude/skills/n8n-binary-and-data

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install n8n-binary-and-data in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill teaches an AI assistant how to handle files and binary data in n8n. It explains that each n8n item has a $json slot for structured data and a $binary slot for file bytes, and that file contents belong in $binary. It also covers reading and writing binary in a Code node, keeping binary alive across transforms with Merge, and why binary cannot pass into or out of AI agent tools.

The skill also covers chat surfaces such as Slack, Discord, Teams and Telegram, which need an image URL rather than raw bytes, so generated images must be uploaded to storage first. It is written for people building n8n workflows that handle PDFs, images, attachments, uploads, downloads or base64 data. It points to related skills for Code node and agent tool details.

Written from the project's SKILL.md and checked against it.

What it can do

  • $binary vs $json splitExplains where file bytes and structured data live in each n8n item.
  • Reading and writing binaryShows how to read binary with getBinaryDataBuffer and write a binary slot in a Code node.
  • Keeping binary through MergeDescribes fanning out a branch and recombining with Merge in combineByPosition mode.
  • Agent tool binary boundarySets out the upload-and-pass-key pattern for files going into and out of AI agent tools.
  • Chat image URL requirementExplains that chat surfaces render images by URL and need storage that serves them over HTTPS.
  • Binary producing nodesLists which n8n nodes populate the binary slot, such as HTTP Request, storage and email triggers.
  • Anti-pattern tableLists common binary mistakes and the fix for each one.

What you need

  • An n8n instance
  • Storage the user provides for files served over URLs

Try asking

  • Why is my downloaded PDF empty in the next n8n node?
  • Keep the attachment alive after my Edit Fields node in n8n.
  • How do I send a generated image into a Slack message in n8n?

Good to know

  • Binary cannot be passed to or returned from AI agent tools; tools use JSON only.
  • passthroughBinaryImages only changes what the LLM sees, and only for images.
  • n8n has no built-in CDN, so the user must supply file storage.
  • Data Tables are not covered by this skill.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: data/skills/n8n-binary-and-data/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • AGENT_TOOL_BINARY.md14 KB
  • BINARY_BASICS.md9 KB
  • CDN_REQUIREMENT.md6 KB
  • MERGE_FOR_CONTEXT.md7 KB
  • README.md8 KB
Show all 6 files
  • SKILL.md16 KB

Alternatives to n8n-binary-and-data

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

n8n-binary-and-data: common questions

Where does file content go in an n8n workflow?

File contents live in the $binary slot, not $json. $json holds metadata at most.

Can an n8n AI agent tool receive an uploaded file?

Not directly. The skill recommends uploading the file to storage and passing a key or URL through JSON instead.

Why does my image not show in a chat message?

Chat clients render images by URL and do not read the $binary slot, so the image must be hosted where a URL can fetch it.

How do I install n8n-binary-and-data?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is n8n-binary-and-data free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is n8n-binary-and-data safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to n8n-binary-and-data?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

n8n-binary-and-data Install

Add to stack

Loading.