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 sickn33

Explains how n8n workflows handle files and binary data, including uploads, downloads, transforms, AI agent tools and chat surfaces. Written for people building n8n workflows that move files between nodes.

  • Score 92
  • 51k 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/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/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 gives guidance for handling files and binary data in n8n workflows. It covers where file bytes sit in an item, how to produce and read binary, and how to keep it from being dropped by JSON-only transform nodes. It also explains the limits of passing files through AI agent tools and chat surfaces.

The skill explains that file contents live in the $binary slot while structured data lives in $json. For agent tools, it recommends staging bytes in storage and passing a key or URL through JSON. For chat apps, it recommends a URL that the chat client can fetch. It is aimed at people building n8n workflows that upload, download, transform or send files, and it notes that the user supplies their own storage.

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

What it can do

  • Binary slot guidanceExplains that file contents belong in $binary and structured data belongs in $json.
  • Download handlingDescribes setting responseFormat to file on an HTTP Request node so downloads arrive as binary.
  • Code node binary readingShows how to read file bytes with getBinaryDataBuffer in a Code node.
  • Code node binary writingShows how to build a binary slot with base64 data, a mime type and a file name.
  • Binary preservationDescribes keeping binary through JSON-only transforms using pass-through options or Merge by position.
  • Agent tool file patternRecommends staging files in storage and passing a key through JSON to AI agent tools.
  • Chat image deliveryExplains that chat surfaces need a URL to show images rather than raw binary.

What you need

  • An n8n instance with workflows
  • Storage the user provides for files and URLs

Try asking

  • Download this file with HTTP Request and attach it to an email in n8n.
  • Fix my n8n Code node so it keeps the binary file when it returns JSON.
  • Show me how to pass an uploaded file to my n8n AI agent tool by key.

Good to know

  • n8n has no built-in CDN, so the user must provide file storage.
  • Tool arguments and return values are JSON only, so binary cannot pass to agent tools directly.
  • passthroughBinaryImages only affects what the LLM sees, and only for images.
  • getBinaryDataBuffer is not available in the Custom Code Tool sandbox.

Security check

A

No 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

  • SKILL.md16 KB
  • references/AGENT_TOOL_BINARY.md15 KB
  • references/BINARY_BASICS.md9 KB
  • references/CDN_REQUIREMENT.md6 KB
  • references/MERGE_FOR_CONTEXT.md7 KB

Alternatives to n8n-binary-and-data

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

n8n-binary-and-data: common questions

Can n8n AI agent tools receive uploaded files?

Not directly. Tool arguments and return values are JSON only, so the skill recommends staging the file in storage and passing a key or URL through JSON.

Why is my downloaded file garbled in n8n?

The skill says file contents sit in $binary, not $json. It names responseFormat set to file on the HTTP Request node as the fix for downloads.

Can chat apps like Slack show images from n8n binary data?

No. The skill says chat surfaces render images by URL rather than from the binary slot, so the file 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 92 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: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

n8n-binary-and-data Install

Add to stack

Loading.