N8n Binary And Data skill for Claude

Handle files and binary data in n8n correctly.

When Claude uses it

Use when working with files, images, PDFs, attachments, uploads or downloads, base64, vision/multimodal input, or when an AI agent needs a file as tool input or output — and whenever the user mentions $binary, binaryPropertyName, "read the PDF", "attach the file", "send the image", Merge losing binary, or a CDN for chat images. Covers the $binary vs $json split, reading/writing binary, keeping binary alive across transforms with Merge, the agent-tool binary boundary, and the CDN/URL requirement for chat surfaces.

N8n Binary And Data SKILL.md

A preview of the skill file from WilkoMarketing/antigravity-n8n-skills.

n8n Binary and Data

Every n8n item carries two independent slots: $json for structured data and $binary for file bytes. They travel side by side through the workflow. File contents — the actual PDF, image, or zip — live in $binary, never in $json. Get that split wrong and you read an empty field, lose a file mid-flow, or hand an AI agent a tool input it can't use.

This skill covers where binary lives, how to read and write it, how to keep it from being silently stripped, the hard wall between binary and the AI-agent tool boundary, and why chat surfaces need a URL instead of raw bytes.


The three rules that prevent 90% of binary bugs

  1. File contents are in $binary, not $json. After an HTTP download, a "Read Files", or an email-attachment trigger, the bytes sit in $binary.<key>. $json holds metadata at most. Reading $json.data for file contents gives you nothing.

  2. Binary cannot cross the AI-agent tool boundary — in either direction. Tool arguments and tool return values are JSON only. An uploaded image can't be passed into a tool as a file, and a tool can't return raw bytes. Pre-stage to storage and pass a key or URL through JSON instead. See AGENT_TOOL_BINARY.md.

  3. Chat surfaces render images by URL, not by $binary. Slack, Discord, Teams, Telegram, embedded webhook chat — none of them read the binary slot. The image has to live somewhere a URL can fetch it. See CDN_REQUIREMENT.md.


The two slots

Each item is shaped like this:

{
  "json": { "customerId": 42, "status": "sent" },

Read the full SKILL.md on GitHub →

How to install N8n Binary And Data

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit WilkoMarketing/antigravity-n8n-skills/n8n-binary-and-data#main ~/.claude/skills/n8n-binary-and-data

Codex

npx degit WilkoMarketing/antigravity-n8n-skills/n8n-binary-and-data#main ~/.codex/skills/n8n-binary-and-data

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the N8n Binary And Data skill do?

Handle files and binary data in n8n correctly. Use when working with files, images, PDFs, attachments, uploads or downloads, base64, vision/multimodal input, or when an AI agent needs a file as tool input or output — and whenever the user mentions $binary, binaryPropertyName, "read the PDF", "attach the file", "send the image", Merge losing binary, or a CDN for chat images. Covers the $binary vs $json split, reading/writing binary, keeping binary alive across transforms with Merge, the agent-tool binary boundary, and the CDN/URL requirement for chat surfaces.

+How do I install N8n Binary And Data in Claude Code?

Copy the skill folder into ~/.claude/skills/n8n-binary-and-data, for example with "npx degit WilkoMarketing/antigravity-n8n-skills/n8n-binary-and-data#main ~/.claude/skills/n8n-binary-and-data". Claude Code loads it automatically and uses it when a task matches.

+Does N8n Binary And Data work with ChatGPT or Codex?

Yes. N8n Binary And Data uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/n8n-binary-and-data. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is N8n Binary And Data free?

N8n Binary And Data is published on GitHub by WilkoMarketing. The repository does not declare a license, so check with the author before reusing it.

Related documents & office skills

  1. Pdf

    Official

    Use this skill whenever the user wants to do anything with PDF files.

    anthropics/skills★ 197k
  2. Pptx

    Official

    Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both.

    anthropics/skills★ 197k
  3. Docx

    Official

    Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files).

    anthropics/skills★ 197k
  4. Markdown Slides

    Create presentation slides in Markdown format (Deckset/Marp compatible).

    jykim/claude-obsidian-skills★ 52
  5. Slides

    Create strategic HTML presentations with Chart.js, design tokens, responsive layouts, copywriting formulas, and contextual slide strategies.

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  6. Markitdown

    Converts heterogeneous documents and selected URIs to Markdown with Microsoft MarkItDown for text analysis, search, and LLM/RAG ingestion.

    K-Dense-AI/scientific-agent-skills★ 58k
  7. Xlsx

    Official

    Use this skill any time a spreadsheet file is the primary input or output.

    anthropics/skills★ 197k
  8. Liteparse

    Local document and PDF parsing that returns spatial text with bounding boxes.

    K-Dense-AI/scientific-agent-skills★ 58k
  9. Office Hours

    Founder advice after six YC-style questions. Use whenever a founder is stuck or unsure what to ask, or /c-level-agents:office-hours.

    alirezarezvani/claude-skills★ 30k

See all documents & office skills →

More skills from WilkoMarketing

  1. N8n Code Javascript

    Write, review, or debug JavaScript in an n8n Code node. Use when a Code node is already in the workflow (editing it, fixing an error,…

    WilkoMarketing/antigravity-n8n-skills★ 108
  2. N8n Code Python

    Write Python in n8n Code nodes (native Python, `language` pythonNative, n8n 2.x).

    WilkoMarketing/antigravity-n8n-skills★ 108
  3. N8n Code Tool

    Write JavaScript or Python for the n8n Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode) — the AI-agent-callable tool, NOT the workflow…

    WilkoMarketing/antigravity-n8n-skills★ 108

All skills by WilkoMarketing →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.