Agent skill

Second Brain Import PDF

by PieroSierra in PieroSierra/SecondBrain

Extract text from a PDF, convert it to markdown, and write the result into raw/pdf/, ready for ingestion.

No licenceAuto-check passedDocuments & Office

Install Second Brain Import PDF

skills CLI
$ npx skills add PieroSierra/SecondBrain --skill second-brain-import-pdf -a claude-code

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

GitHub CLI
$ gh skill install PieroSierra/SecondBrain second-brain-import-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/PieroSierra/SecondBrain.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/second-brain-import-pdf .claude/skills/second-brain-import-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
second-brain-import-pdf
GitHub stars
153
Token cost
~2.9k tokens
SKILL.md length
1,544 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
None found

At a glance

Extract text from a PDF, convert it to markdown, and write the result into raw/pdf/, ready for ingestion.

  • Works in 8 steps: Parse arguments → Verify the file exists and is readable → Probe the PDF and detect the content date → …
  • Tasks that involve Second brain
  • SKILL.md covers Invocation, Execution, Invariants and Error Conditions
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Second Brain Import PDF is an agent skill from PieroSierra/SecondBrain. Extract text from a PDF, convert it to markdown, and write the result into raw/pdf/, ready for ingestion.

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Second brain and PDF. The repository describes itself as: A personal knowledge base that lives in this folder. Drop content in, have it organized automatically, ask questions, and get sourced answers — either through Claude Code slash…

When your agent uses it

  • Tasks that involve Second brain
  • Tasks that involve PDF

Example prompts

  • “/second-brain-import-pdf”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Parse arguments
  2. Verify the file exists and is readable
  3. Probe the PDF and detect the content date
  4. Determine output filename
  5. Create the output file (start fresh)
  6. Extract and append, one batch at a time
  7. Finalize
  8. Confirm

What it can do on your machine

Read from SKILL.md and the folder at commit cdcf96f. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    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

Second Brain Import PDF loads about 2.9k tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 1,544 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,544 words (~2,918 tokens).

“Extract text from a PDF file, convert it to markdown, and write the result into raw/pdf/. The extracted content is then ready for ingestion via /second-brain-ingest.”

— opening of SKILL.md by PieroSierra
name
second-brain-import-pdf
argument-hint
/path/to/document.pdf ["Optional title"]
user-invocable
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/second-brain-import-pdf of PieroSierra/SecondBrain.

Open the folder on GitHubat commit cdcf96f

Compare with similar skills

Second Brain Import 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.

Second Brain Import PDF compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Second Brain Import PDF this skillPieroSierra/SecondBrain153—~2.9kAutomated safety check: PassNone
Read Bookcoreyhaines31/makerskills851—~2.2kAutomated safety check: PassMIT
Mineru Document Exploreropendatalab/MinerU-Document-Explorer638—~6.2kAutomated safety check: NotesMIT
Paper LensYSQ-boop/paper-lens101—~1.3kAutomated safety check: PassApache-2.0
Baalda Guidenaveedharri/baalda155—~1.8kAutomated safety check: PassApache-2.0
Swarmvaultdavila7/claude-code-templates33k1 repos~2.8kAutomated safety check: PassMIT

Similar skills

  • Read Book

    coreyhaines31/makerskills

    When you want to read and extract structured notes from a book — PDF, EPUB, MOBI, markdown, .txt, pasted text, or URL to a public-domain work.

    851 GitHub stars~2.2k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Mineru Document Explorer

    opendatalab/MinerU-Document-Explorer

    MinerU Document Explorer — Agent-native knowledge engine. An agent skill from opendatalab/MinerU-Document-Explorer.

    638 GitHub stars~6.2k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check: notes
  • Paper Lens

    YSQ-boop/paper-lens

    Read and critically analyze one academic paper from an arXiv URL/ID or a local PDF, producing a source-grounded Markdown report that can grow from a quick read into a reviewer-level deep review.

    101 GitHub stars~1.3k tokensUpdated 11 days ago
    Documents & OfficeAuto-check passed
  • Baalda Guide

    naveedharri/baalda

    Answer any question about Baalda (the team second-brain app at baalda.com) in plain, non-technical language — what it is, what it can and cannot do, which file formats it supports (Markdown, images…

    155 GitHub stars~1.8k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Swarmvault

    davila7/claude-code-templates

    Use SwarmVault when the user needs a local-first knowledge vault that writes durable markdown, graph, search, dashboard, review, and MCP artifacts to disk from books, notes, transcripts, exports…

    33k GitHub starsUsed in 1 repo~2.8k tokens
    Documents & OfficeAuto-check passed
  • 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

More from PieroSierra/SecondBrain

All 15 skills in this repo
  • Second Brain Delint

    PieroSierra/SecondBrain

    Work through open findings in the latest lint report one at a time — propose a fix, apply on approval, skip on rejection.

    153 GitHub stars~1k tokensUpdated 4 days ago
    Auto-check passed
  • Second Brain Describe Images

    PieroSierra/SecondBrain

    Describe one or more images pasted with a note and return the descriptions as JSON.

    153 GitHub stars~673 tokensUpdated 4 days ago
    Auto-check passed
  • Second Brain Edit Wiki

    PieroSierra/SecondBrain

    Apply targeted edits to one or more wiki articles from a natural-language instruction, preserving structural invariants.

    153 GitHub stars~827 tokensUpdated 4 days ago
    Auto-check passed
  • Second Brain Follow Up

    PieroSierra/SecondBrain

    Continue an existing conversation thread by re-reading the wiki and appending a follow-up answer to the thread file.

    153 GitHub stars~2.1k tokensUpdated 4 days ago
    Auto-check passed
  • Second Brain Import Craft

    PieroSierra/SecondBrain

    Import a specific document from your configured Craft space into raw/craft/.

    153 GitHub stars~1.7k tokensUpdated 4 days ago
    Auto-check passed
  • Second Brain Import File

    PieroSierra/SecondBrain

    Import a file of any supported type (PDF, image, .txt/.md) into the vault's raw/ directory, ready for ingestion.

    153 GitHub stars~2.7k tokensUpdated 4 days ago
    Auto-check passed

Questions about Second Brain Import PDF

What does Second Brain Import PDF do?

Extract text from a PDF, convert it to markdown, and write the result into raw/pdf/, ready for ingestion. Second Brain Import PDF is an agent skill from PieroSierra/SecondBrain. Extract text from a PDF, convert it to markdown, and write the result into raw/pdf/, ready for ingestion.

When should I use Second Brain Import PDF?

Second Brain Import PDF fits situations like: tasks that involve Second brain; tasks that involve PDF.

How do I install Second Brain Import PDF in Claude Code?

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

How do I install Second Brain Import PDF in Codex?

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

Can I use Second Brain Import 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 PieroSierra/SecondBrain --skill second-brain-import-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/second-brain-import-pdf, .gemini/skills/second-brain-import-pdf, .github/skills/second-brain-import-pdf and .opencode/skills/second-brain-import-pdf in your project.

What does Second Brain Import PDF need to run?

SKILL.md names no scripts, command-line tools or credentials: Second Brain Import PDF is instructions for the agent only.

Does Second Brain Import 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 Second Brain Import 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 Second Brain Import PDF use?

No licence was found for Second Brain Import PDF or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Second Brain Import PDF use?

About 2.9k tokens (SKILL.md is roughly 12k 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 Second Brain Import PDF?

Skills that share tags, products or a category with Second Brain Import PDF: Read Book (coreyhaines31/makerskills, 851 stars), Mineru Document Explorer (opendatalab/MinerU-Document-Explorer, 638 stars), Paper Lens (YSQ-boop/paper-lens, 101 stars) and Baalda Guide (naveedharri/baalda, 155 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Second Brain Import PDF?

PieroSierra (a GitHub user) maintains it in PieroSierra/SecondBrain, which has 153 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 5, 2026.

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