n8n-binary-and-data-official
Skill by n8n-io
Guides an AI assistant through handling files, images, and other binary data in n8n workflows. It covers passing uploaded files to agent tools and returning generated files. It is for people building n8n workflows and AI agents that work with attachments.
Install n8n-binary-and-data-official
Built from the published package, never by AI.
git clone --depth 1 https://github.com/n8n-io/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/n8n-binary-and-data-official ~/.claude/skills/n8n-binary-and-data-officialRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install n8n-binary-and-data-official in Claude Code
git clone --depth 1 https://github.com/n8n-io/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/n8n-binary-and-data-official ~/.gemini/antigravity-cli/skills/n8n-binary-and-data-officialAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install n8n-binary-and-data-official in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill explains how n8n handles binary data, such as files, images, and attachments, alongside JSON data. It covers reading and writing the binary slot, keeping binary through transforms with Merge, and the constraints that apply to AI agent tools. Agent tool parameters and results are JSON only, so the skill describes a pattern of storing files first and passing keys or URLs instead.
The skill also covers chat surfaces such as Slack, Discord, and Telegram, which need image URLs rather than raw binary. It points to a separate skill for Data Tables. It is intended for people building n8n workflows and AI agents that take user-uploaded files or produce generated files.
Written from the project's SKILL.md and checked against it.
What it can do
- Binary basicsExplains the json and binary slots on each n8n item and how to read or write the binary data.
- Agent tool file inputShows how to stage a user-uploaded file in storage and pass its key to an agent tool.
- Agent tool file outputShows how a tool can upload a generated file and return a URL or key as JSON.
- Merge to keep binaryDescribes using a Merge node to re-attach binary data after a JSON-only transform.
- Chat image displayExplains that chat surfaces need images uploaded to a URL-accessible location before they can show them.
What you need
- An n8n instance
- Object storage or drive service configured by the user, such as S3, R2, GCS, or Google Drive
Try asking
- Help me pass a PDF uploaded in chat to an n8n agent tool.
- Show me how to return a generated image from an n8n agent tool.
- Keep the attachment on my item after a Code node transforms the JSON.
Good to know
- Agent tool parameters and results are JSON only, so binary cannot cross the tool boundary directly.
- Setting passthroughBinaryImages lets the model see images but does not let tools receive them.
- Chat surfaces do not read binary data, so images need a URL from storage the user configures.
- Data Tables are covered by a separate skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/n8n-binary-and-data-official/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to n8n-binary-and-data-official
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
n8n-binary-and-data-official: common questions
Can an n8n agent tool receive an uploaded file directly?
No. The source says binary cannot cross the agent tool boundary in either direction. The skill recommends uploading the file to storage and passing its key to the tool.
Why does my image not show in a Slack or Discord chat?
The source says chat surfaces do not read the n8n binary slot. The image must be uploaded to a location that returns a URL, or sent through the platform's file upload API.
Which storage services does the skill mention?
It lists object storage options such as S3, R2, GCS, Azure Blob, Vercel Blob, and Supabase Storage, plus drive services such as Dropbox, Google Drive, OneDrive, and Box. The user chooses the service.
How do I install n8n-binary-and-data-official?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is n8n-binary-and-data-official free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is n8n-binary-and-data-official safe to use?
It scores 80 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-official?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
