n8n-binary-and-data
Skill by czlonkowski
Teaches an AI assistant how to handle files and binary data in n8n. It is for people building n8n workflows that work with PDFs, images, uploads, downloads or AI agents.
Install n8n-binary-and-data
Built from the published package, never by AI.
git clone --depth 1 https://github.com/czlonkowski/n8n-skills /tmp/n8n-skills && mkdir -p ~/.claude/skills && cp -r /tmp/n8n-skills/skills/n8n-binary-and-data ~/.claude/skills/n8n-binary-and-dataRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/czlonkowski/n8n-skills /tmp/n8n-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/n8n-skills/skills/n8n-binary-and-data ~/.gemini/antigravity-cli/skills/n8n-binary-and-dataAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install n8n-binary-and-data in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill explains how n8n handles files and binary data. It says that every n8n item has a $json slot for structured data and a $binary slot for file bytes, and that file contents belong in $binary. It covers reading and writing binary in a Code node, keeping binary alive across transforms with Merge, and the limits of passing files to AI agent tools.
The skill also explains why chat surfaces such as Slack, Discord, Teams and Telegram need an image URL rather than raw binary. It notes that n8n has no built-in CDN, so the user supplies storage. It is aimed at people building n8n workflows that handle uploads, downloads, PDFs, images or attachments, especially those that use AI agents.
Written from the project's SKILL.md and checked against it.
What it can do
- $binary vs $json splitExplains where file contents live and where structured data lives in an n8n item.
- Reading and writing binaryShows how to read a file buffer and write a binary slot in a Code node.
- Keeping binary through transformsDescribes pass-through options and fanning out with Merge by position to keep files.
- Agent tool binary boundaryExplains that agent tools use JSON only and how to pass storage keys instead of files.
- CDN requirement for chatExplains why chat surfaces need a URL to show images and how to supply one.
What you need
- n8n
Try asking
- Why is my PDF attachment empty after the HTTP Request node?
- Help me keep binary data alive through an Edit Fields node before an email.
- How do I send a generated image into a Slack message from n8n?
Good to know
- n8n has no built-in CDN, so the user must provide file storage.
- passthroughBinaryImages only changes what the LLM sees, and only for images.
- getBinaryDataBuffer is not available in the Custom Code Tool sandbox.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: 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 →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
n8n-binary-and-data: common questions
Where do file contents live in n8n?
File contents live in $binary, not $json. The $json field holds structured data and at most file metadata.
Can an AI agent tool receive an uploaded file?
Not directly. Tool arguments and return values are JSON only, so the file must be staged in storage and a key or URL passed instead.
Why does my image not show in a chat message?
Chat surfaces render images by URL, not from the $binary slot. The image must be uploaded to storage that a URL can fetch.
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 91 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.
