Agent skill

Second Brain Setup

by PieroSierra in PieroSierra/SecondBrain

Initialize or update the Second Brain vault — creates folder structure, declares interests, configures Craft import scope, and generates CLAUDE.md.

No licenceAuto-check: notesKnowledge Management

Install Second Brain Setup

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

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

GitHub CLI
$ gh skill install PieroSierra/SecondBrain second-brain-setup --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-setup .claude/skills/second-brain-setup && 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-setup
GitHub stars
152
Token cost
~2.8k tokens
SKILL.md length
949 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
None found

At a glance

Initialize or update the Second Brain vault — creates folder structure, declares interests, configures Craft import scope, and generates CLAUDE.md.

  • Works in 6 steps: Check existing configuration → Declare interests → Configure Craft import scope → …
  • Tasks that involve Second brain
  • SKILL.md covers What this skill does and Execution
  • Reaches mcp.craft.do

What it does

Second Brain Setup is an agent skill from PieroSierra/SecondBrain. Initialize or update the Second Brain vault — creates folder structure, declares interests, configures Craft import scope, and generates CLAUDE.md.

Its SKILL.md is about 2.8k 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 Knowledge Management, covering Second brain, Agent instruction files and File organization. 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 Agent instruction files
  • Tasks that involve File organization

Example prompts

  • “/second-brain-setup”

Workflow steps

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

  1. Check existing configuration
  2. Declare interests
  3. Configure Craft import scope
  4. Create vault directories
  5. Write CLAUDE.md and AGENTS.md
  6. Confirm completion

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 and toml).

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • mcp.craft.do

    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 Setup loads about 2.8k tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 949 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~2.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.

  • NoteMentions a .env fileSKILL.md:23
    ode or OpenAI Codex — and records it in `.env`
  • NoteMentions a .env fileSKILL.md:24
    Second Brain this is and records it in `.env` as `OWNER_NAME`
  • NoteMentions a .env fileSKILL.md:35
    aults in the questions below. Also read `.env` if present and note any existing `AGENT_ENGINE` and `OWNER_NAME` values.
  • NoteMentions a .env fileSKILL.md:48
    `AGENT_ENGINE` value already exists in `.env`, show it as the default and let the user press Enter to keep it.
  • NoteMentions a .env fileSKILL.md:50
    Write the choice to `.env` at the vault root as `AGENT_ENGINE=claude` or `AGENT_ENGINE=codex`:
  • NoteMentions a .env fileSKILL.md:51
    - If `.env` does not exist, create it with that single line.
  • NoteMentions a .env fileSKILL.md:67
    `OWNER_NAME` already exists in `.env`, show it as the default. If the user
  • NoteMentions a .env fileSKILL.md:70
    Write the value to `.env` at the vault root as `OWNER_NAME=<value>`, following
  • NoteMentions a .env fileSKILL.md:72
    - If `.env` does not exist, create it with that line.
  • NoteMentions a .env fileSKILL.md:78
    he same limits, and a line break inside `.env`

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 949 words (~2,817 tokens).

“Initialize or update this personal knowledge base vault. This skill creates the folder structure, declares your interests, and configures your Craft import scope. It is idempotent — safe to run again to update an existing vault.”

— opening of SKILL.md by PieroSierra
name
second-brain-setup
user-invocable
true

Read the full SKILL.md on GitHub

Files

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

Open the folder on GitHubat commit cdcf96f

Compare with similar skills

Second Brain Setup 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 Setup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Second Brain Setup this skillPieroSierra/SecondBrain152—~2.8kAutomated safety check: NotesNone
Icm ArchitectRinDig/icm-architect1.8k—~3.2kAutomated safety check: PassMIT
Second Brain Backfillundefined-ui/second-brain-os1k—~504Automated safety check: PassMIT
Second Brain Projectundefined-ui/second-brain-os1k—~502Automated safety check: PassMIT
Auditpricklywiggles/niamos192—~1.4kAutomated safety check: PassNone
Guideline Writingalfadur7/llm-wiki-newsroom170—~2.4kAutomated safety check: PassMIT

Similar skills

  • Icm Architect

    RinDig/icm-architect

    Design any process, idea, problem, or body of knowledge into an ICM (Interpretable Context Methodology) workspace — folder structure as agent architecture — or restructure an existing folder, repo…

    1.8k GitHub stars~3.2k tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check passed
  • Second Brain Backfill

    undefined-ui/second-brain-os

    Import a large archive into the vault in controlled batches: triage what is worth ingesting, process oldest first, checkpoint after every batch, and keep cost visible.

    1k GitHub stars~504 tokensUpdated yesterday
    Knowledge ManagementAuto-check passed
  • Second Brain Project

    undefined-ui/second-brain-os

    Set up or update a project in the vault: the four-stage folder pipeline, a project-scoped CLAUDE.md with one goal, and links to the concept pages it depends on.

    1k GitHub stars~502 tokensUpdated yesterday
    Knowledge ManagementAuto-check passed
  • Audit

    pricklywiggles/niamos

    Scan this Obsidian vault for content that's drifted from the conventions in CLAUDE.md (status↔folder drift, missing required fields, naming violations, stale active items, frontmatter health issues…

    192 GitHub stars~1.4k tokensUpdated 3 mo ago
    Knowledge ManagementAuto-check passed
  • Guideline Writing

    alfadur7/llm-wiki-newsroom

    Guideline-authoring craft for instruction SoTs (.claude/ guides, CLAUDE.md, plan files) — operative rules vs recital, MUST/SHOULD/MAY force tiers, pruning, bloat control, blind review protocol…

    170 GitHub stars~2.4k tokensUpdated 3 days ago
    Knowledge ManagementAuto-check passed
  • Zhigui

    CarlWangChina/zhigui-openclaw-ui-second-brain-skill

    Personal assistant workflow for durable memory, connected actions, decisions, planning and review.

    103 GitHub stars~9.6k tokensUpdated 2 mo ago
    Knowledge ManagementAuto-check: warnings

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.

    152 GitHub stars~1k tokensUpdated 3 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.

    152 GitHub stars~673 tokensUpdated 3 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.

    152 GitHub stars~827 tokensUpdated 3 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.

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

    PieroSierra/SecondBrain

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

    152 GitHub stars~1.7k tokensUpdated 3 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.

    152 GitHub stars~2.7k tokensUpdated 3 days ago
    Auto-check passed

Questions about Second Brain Setup

What does Second Brain Setup do?

Initialize or update the Second Brain vault — creates folder structure, declares interests, configures Craft import scope, and generates CLAUDE.md. Second Brain Setup is an agent skill from PieroSierra/SecondBrain.md.

When should I use Second Brain Setup?

Second Brain Setup fits situations like: tasks that involve Second brain; tasks that involve Agent instruction files; tasks that involve File organization.

How do I install Second Brain Setup in Claude Code?

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

How do I install Second Brain Setup in Codex?

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

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

What does Second Brain Setup need to run?

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

Does Second Brain Setup access the network?

SKILL.md names 1 domain. In commands or code: mcp.craft.do; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Second Brain Setup safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Second Brain Setup use?

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

How many tokens does Second Brain Setup use?

About 2.8k tokens (SKILL.md is roughly 11k 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 Setup?

Skills that share tags, products or a category with Second Brain Setup: Icm Architect (RinDig/icm-architect, 1.8k stars), Second Brain Backfill (undefined-ui/second-brain-os, 1k stars), Second Brain Project (undefined-ui/second-brain-os, 1k stars) and Audit (pricklywiggles/niamos, 192 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Second Brain Setup?

PieroSierra (a GitHub user) maintains it in PieroSierra/SecondBrain, which has 152 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.