Agent skill

Brain PDF

by inbrainfun in inbrainfun/inbrain

Generate a publication-quality PDF from any brain page via the gstack make-pdf binary.

Custom licenceAuto-check passedDocuments & Office

Install Brain PDF

skills CLI
$ npx skills add inbrainfun/inbrain --skill brain-pdf -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install inbrainfun/inbrain brain-pdf --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/inbrainfun/inbrain.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/brain-pdf .claude/skills/brain-pdf && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
brain-pdf
GitHub stars
142
Used in
1 other repo
Token cost
~1.7k tokens
SKILL.md length
548 words
Files
2
Skills in repo
52
Repo updated
First seen
Licence
Custom licence

At a glance

Generate a publication-quality PDF from any brain page via the gstack make-pdf binary.

  • Tasks that involve PDF
  • SKILL.md covers The rule, What this does, Prerequisite: gstack make-pdf and Workflow, plus 9 more sections
  • Calls apt
  • Tasks that involve Data visualization

What it does

Brain PDF is an agent skill from inbrainfun/inbrain. Generate a publication-quality PDF from any brain page via the gstack make-pdf binary. Strips YAML frontmatter, sanitizes emoji, applies running headers and page numbers. Brain page is always the source of truth; PDF is a rendering.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.

It sits in Documents & Office, covering PDF and Data visualization.

When your agent uses it

  • Tasks that involve PDF
  • Tasks that involve Data visualization

Example prompts

  • “/brain-pdf”

What it can do on your machine

Read from SKILL.md and the folder at commit 5231990. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • apt

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Brain PDF loads about 1.7k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 548 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 548 words (~1,659 tokens).

“The brain page is ALWAYS the source of truth. The PDF is a rendering of it, never a standalone artifact. If a PDF exists somewhere, the brain page must exist behind it.”

— opening of SKILL.md by inbrainfun, Custom licence
name
brain-pdf
version
0.1.0
triggers
make pdf from brain, brain pdf, convert brain page to pdf, publish this page as pdf, export brain page

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in skills/brain-pdf of inbrainfun/inbrain.

  • SKILL.md
  • routing-eval.jsonl

Open the folder on GitHubat commit 5231990

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in inbrainfun/inbrain, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Brain PDF next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Brain PDF compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Brain PDF this skillinbrainfun/inbrain1421 repos~1.7kAutomated safety check: PassCustom licence
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
CSV To Executive Reportskrun-dev/skrun210—~1.1kAutomated safety check: PassMIT
Openfdd Typst Rcx Reportbbartling/open-fdd172—~5.1kAutomated safety check: PassCustom licence
Md To PDF Academicwentorai/research-plugins2981 repos~1.8kAutomated safety check: NotesMIT
Any2pdfcosmicstack-labs/mercury-agent-skills476—~3.3kAutomated safety check: NotesMIT

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Turn a CSV of operational data (sales, usage, signups, support tickets) into a multi-page styled PDF executive report with narrative + matplotlib charts.

    210 GitHub stars~1.1k tokensUpdated 15 days ago
    Documents & OfficeAuto-check passed
  • Openfdd Typst Rcx Report

    bbartling/open-fdd

    Build engineer-facing Typst lab PDFs from live DataFusion Overview / RCx / Inspect APIs.

    172 GitHub stars~5.1k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Md To PDF Academic

    wentorai/research-plugins

    Convert Markdown to publication-quality PDF with LaTeX math rendering

    298 GitHub starsUsed in 1 repo~1.8k tokens
    Documents & OfficeAuto-check: notes
  • Any2pdf

    cosmicstack-labs/mercury-agent-skills

    Convert Markdown to publication-quality PDF with reportlab — CJK/Latin mixed text, themes, cover pages, watermarks, callouts, formulas, and interactive theme selection

    476 GitHub stars~3.3k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check: notes
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-check passed

More from inbrainfun/inbrain

All 52 skills in this repo
  • Academic Verify

    inbrainfun/inbrain

    Verify a research claim or academic citation by tracing it through publication → methodology → raw data → independent replication.

    142 GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Cold Start

    inbrainfun/inbrain

    Day-one data bootstrapping for a new brain. An agent skill from inbrainfun/inbrain.

    142 GitHub starsUsed in 1 repo~4.7k tokens
    Auto-check passed
  • Enrich

    inbrainfun/inbrain

    Enrich brain pages with tiered enrichment protocol. An agent skill from inbrainfun/inbrain.

    142 GitHub starsUsed in 1 repo~2.8k tokens
    Auto-check passed
  • Idea Lineage

    inbrainfun/inbrain

    Trace one idea's evolution through the brain: first mention, best articulation, related concepts, reversals, contradictions, abandoned branches, and the current live version.

    142 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Maintain

    inbrainfun/inbrain

    Brain health checks: back-link enforcement, citation audit, filing validation, stale info detection, orphan pages, and benchmarks.

    142 GitHub starsUsed in 1 repo~4.4k tokens
    Auto-check passed
  • Schema Author

    inbrainfun/inbrain

    Evolve your brain's schema pack. An agent skill from inbrainfun/inbrain.

    142 GitHub starsUsed in 1 repo~3.3k tokens
    Auto-check passed

Questions about Brain PDF

What does Brain PDF do?

Generate a publication-quality PDF from any brain page via the gstack make-pdf binary. Brain PDF is an agent skill from inbrainfun/inbrain. Generate a publication-quality PDF from any brain page via the gstack make-pdf binary.

When should I use Brain PDF?

Brain PDF fits situations like: tasks that involve PDF; tasks that involve Data visualization.

How do I install Brain PDF in Claude Code?

Run `npx skills add inbrainfun/inbrain --skill brain-pdf -a claude-code`. Or copy the skill folder (skills/brain-pdf in inbrainfun/inbrain) into .claude/skills/brain-pdf in your project. Claude Code loads it when a task matches its description.

How do I install Brain PDF in Codex?

Run `npx skills add inbrainfun/inbrain --skill brain-pdf -a codex`. Or copy the skill folder (skills/brain-pdf in inbrainfun/inbrain) into .agents/skills/brain-pdf in your project. Codex loads it when a task matches its description.

Can I use Brain PDF in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add inbrainfun/inbrain --skill brain-pdf -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/brain-pdf, .gemini/skills/brain-pdf, .github/skills/brain-pdf and .opencode/skills/brain-pdf in your project.

What does Brain PDF need to run?

Going by SKILL.md and its folder, Brain PDF needs the command-line tools its instructions call (apt).

Does Brain PDF access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Brain PDF safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Brain PDF use?

Brain PDF has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Brain PDF use?

About 1.7k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Brain PDF?

Skills that share tags, products or a category with Brain PDF: Markitdown (ImCa0/just-laws, 781 stars), CSV To Executive Report (skrun-dev/skrun, 210 stars), Openfdd Typst Rcx Report (bbartling/open-fdd, 172 stars) and Md To PDF Academic (wentorai/research-plugins, 298 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Brain PDF?

inbrainfun (a GitHub user) maintains it in inbrainfun/inbrain, which has 142 GitHub stars. The repository holds 52 skills in this directory. The repository was last updated on July 17, 2026.

Source: inbrainfun/inbrain on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.