Agent skill

Second Brain

by NicholasSpisak in NicholasSpisak/second-brain

Set up a new Obsidian knowledge base with the LLM Wiki pattern.

No licenceAuto-check: notesKnowledge Management

Install Second Brain

skills CLI
$ npx skills add NicholasSpisak/second-brain --skill second-brain -a claude-code

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

GitHub CLI
$ gh skill install NicholasSpisak/second-brain second-brain --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/NicholasSpisak/second-brain.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/second-brain .claude/skills/second-brain && 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
GitHub stars
737
Token cost
~1.5k tokens
SKILL.md length
718 words
Files
8 (incl. scripts, references)
Skills in repo
4
Repo updated
First seen
Licence
None found

At a glance

Set up a new Obsidian knowledge base with the LLM Wiki pattern.

  • Works in 10 steps: Vault Name → Vault Location → Domain / Topic → …
  • The user wants to create a second brain
  • SKILL.md covers Wizard Flow, Post-Wizard: Scaffold the Vault, Reference Files and Next Steps
  • Runs Shell scripts from its folder; calls npm and bash

What it does

Second Brain is an agent skill from NicholasSpisak/second-brain. Set up a new Obsidian knowledge base with the LLM Wiki pattern. Use when the user wants to create a second brain, initialize a vault, set up a personal knowledge base, or says "onboard". Guides through an interactive wizard to configure vault name, location, domain, agent support, and tooling.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts and reference files (for example `references/agent-configs/claude-code.md`, `references/agent-configs/codex.md` and `references/agent-configs/cursor.md`).

It sits in Knowledge Management, covering Second brain. It works with Obsidian. The repository describes itself as: LLM-maintained personal knowledge base for Obsidian. Based on Andrej Karpathy's LLM Wiki pattern.

When your agent uses it

  • The user wants to create a second brain
  • Initialize a vault
  • Set up a personal knowledge base

Example prompts

  • “onboard”
  • “/second-brain”

Requirements

  • Node.js
  • A Bash shell
  • Pre-approved tools (allowed-tools): Bash, Read, Write, Glob, Grep

Workflow steps

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

  1. Vault Name
  2. Vault Location
  3. Domain / Topic
  4. Agent Config
  5. Optional CLI Tools
  6. Create directory structure
  7. Generate agent config file(s)
  8. Update wiki/log.md
  9. Install CLI tools (if selected)
  10. Print summary

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • npm
    • bash

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

  • Network

    Links to these hosts (documentation or services it may open):

    • chromewebstore.google.com

    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 loads about 1.5k tokens when it runs, and up to ~4.8k if it reads all its reference files. Until then it costs about 77 tokens; SKILL.md has 718 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.8k

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write, Glob, Grep

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); the scripts in this folder are not scanned.

SKILL.md

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

“Set up a new Obsidian knowledge base using the LLM Wiki pattern. The LLM acts as librarian — reading raw sources, compiling them into a structured interlinked wiki, and maintaining it over time.”

— opening of SKILL.md by NicholasSpisak
name
second-brain
allowed-tools
Bash, Read, Write, Glob, Grep

Read the full SKILL.md on GitHub

Files

SKILL.md and 7 other files (scripts, references) in skills/second-brain of NicholasSpisak/second-brain.

  • SKILL.md
  • references/agent-configs/claude-code.md
  • references/agent-configs/codex.md
  • references/agent-configs/cursor.md
  • references/agent-configs/gemini.md
  • references/tooling.md
  • references/wiki-schema.md
  • scripts/onboarding.sh

Open the folder on GitHubat commit 3e429c7

Compare with similar skills

Second Brain 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 compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Second Brain this skillNicholasSpisak/second-brain737—~1.5kAutomated safety check: NotesNone
Obsidian Canvas BoardsAgriciDaniel/claude-obsidian15k—~1.4kAutomated safety check: PassMIT
Cascading Goal Trackerballred/obsidian-claude-pkm1.9k—~1.5kAutomated safety check: PassMIT
Karpathy WikiSherwinQ/karpathy-wiki114—~967Automated safety check: PassMIT
Subscription Videos MetadataEfficientStreet/youtube-subscriptions-ingest178—~7.1kAutomated safety check: NotesMIT
Obsidian Bases EditorAgriciDaniel/claude-obsidian15k—~1.2kAutomated safety check: PassMIT

Similar skills

  • Obsidian Canvas Boards

    AgriciDaniel/claude-obsidian

    Creates, inspects and updates Obsidian JSON Canvas boards in a vault, with text, file, link, group and edge nodes, using safe recoverable edits.

    15k GitHub stars~1.4k tokensUpdated 29 days ago
    Knowledge ManagementAuto-check passed
  • Cascading Goal Tracker

    ballred/obsidian-claude-pkm

    Tracks three-year, yearly, monthly, and weekly goals in linked Markdown files, calculating completion percentages and flagging stalled goals.

    1.9k GitHub stars~1.5k tokensUpdated 7 mo ago
    Knowledge ManagementAuto-check passed
  • Karpathy Wiki

    SherwinQ/karpathy-wiki

    A skill your agent uses when building or maintaining a personal knowledge base with LLM assistance.

    114 GitHub stars~967 tokensUpdated 5 mo ago
    Knowledge ManagementAuto-check passed
  • Subscription Videos Metadata

    EfficientStreet/youtube-subscriptions-ingest

    Pull metadata from YouTube subscription videos into a second-brain vault as a real cross-linked knowledge graph — not just a flat archive.

    178 GitHub stars~7.1k tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check: notes
  • Obsidian Bases Editor

    AgriciDaniel/claude-obsidian

    Explains, drafts and validates Obsidian Bases .base files, building filters, formulas and table, card or list views, and applying edits only through one inspected transaction.

    15k GitHub stars~1.2k tokensUpdated 29 days ago
    Knowledge ManagementAuto-check passed
  • My LLM Wiki

    MartinLwx/dotfiles

    Provides access to the user's personal wiki, including notes, research, project documentation, decisions, and archived knowledge.

    140 GitHub stars~2.7k tokensUpdated yesterday
    Knowledge ManagementAuto-check passed

More from NicholasSpisak/second-brain

  • Second Brain Lint

    NicholasSpisak/second-brain

    Health-check the wiki for contradictions, orphan pages, stale claims, and missing cross-references.

    737 GitHub stars~1k tokensUpdated 6 mo ago
    Auto-check: notes
  • Second Brain Query

    NicholasSpisak/second-brain

    Answer questions against the knowledge base wiki. An agent skill from NicholasSpisak/second-brain.

    737 GitHub stars~712 tokensUpdated 6 mo ago
    Auto-check: notes
  • Second Brain Ingest

    NicholasSpisak/second-brain

    Process raw source documents into wiki pages. An agent skill from NicholasSpisak/second-brain.

    737 GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check: notes

Works with

Questions about Second Brain

What does Second Brain do?

Set up a new Obsidian knowledge base with the LLM Wiki pattern. Second Brain is an agent skill from NicholasSpisak/second-brain. Set up a new Obsidian knowledge base with the LLM Wiki pattern.

When should I use Second Brain?

Second Brain fits situations like: the user wants to create a second brain; initialize a vault; set up a personal knowledge base.

How do I install Second Brain in Claude Code?

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

How do I install Second Brain in Codex?

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

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

What does Second Brain need to run?

Going by SKILL.md and its folder, Second Brain needs a shell for the scripts in its folder and the command-line tools its instructions call (npm and bash). Our summary lists: Node.js; A Bash shell. Its frontmatter pre-approves these tools: Bash, Read, Write, Glob, Grep.

Does Second Brain access the network?

SKILL.md names 1 domain. As links in the text: chromewebstore.google.com. This is read from the text; nothing was executed.

Is Second Brain safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Second Brain use?

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

How many tokens does Second Brain use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.3k tokens, read only when the agent opens those files.

What are the alternatives to Second Brain?

Skills that share tags, products or a category with Second Brain: Obsidian Canvas Boards (AgriciDaniel/claude-obsidian, 15k stars), Cascading Goal Tracker (ballred/obsidian-claude-pkm, 1.9k stars), Karpathy Wiki (SherwinQ/karpathy-wiki, 114 stars) and Subscription Videos Metadata (EfficientStreet/youtube-subscriptions-ingest, 178 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Second Brain?

NicholasSpisak (a GitHub user) maintains it in NicholasSpisak/second-brain, which has 737 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on April 7, 2026.

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