Guides and resources for AI engineers: an agents course, five handbooks, a hands-on second-brain project and a vetted reading list.
JavaScript agent-skillsai-agentsai-engineeringclaudeclaude-codeclaude-skillsknowledge-graphknowledge-managementllmmcpobsidianpersonal-knowledge-basepkmsecond-brain
18 skills, 72 commands, 6 agents
undefined-ui1615b2959b54
diff --git a/README.md b/README.mdindex f0fe215..f52f833 100644--- a/README.md+++ b/README.md@@ -90,9 +90,9 @@ them separate matters more than it sounds.|---|---|| [`docs/`](docs/README.md) | The guide. Ten sections, from the concept to troubleshooting || [`vault-template/`](vault-template/) | A starter vault: wiki structure, project pipeline, `CLAUDE.md` and page templates |-| [`skills/`](skills/README.md) | Agent skills: ingest, lint, query, review |-| [`commands/`](commands/README.md) | Slash commands for Claude Code |-| [`agents/`](agents/README.md) | Subagent definitions, two of them read-only by design |+| [`skills/`](skills/README.md) | 18 agent skills, one per workflow in the guide |+| [`commands/`](commands/README.md) | 72 slash commands, scoped entry points into those skills |+| [`agents/`](agents/README.md) | 6 subagents, four of them read-only by design || [`scripts/`](scripts/README.md) | Dependency-free Python for link checking, stats and graph export || [`resources/`](resources/README.md) | Tools, repos, papers and reading worth your time || [`examples/`](examples/README.md) | Real vaults and real output |@@ -198,8 +198,12 @@ Outside Obsidian: [Web Clipper](https://obsidian.md/clipper) for capture,## Skills and other implementations-Counted individually: a repo shipping sixteen skills counts as sixteen. Stars-from the GitHub API, September 2026.+This repo ships **18 skills, 72 commands, 6 subagents and 4 scripts**: one skill+per workflow in the guide, and a command for every scoped version of it you would+actually run.++Other implementations, counted the same way. A repo shipping sixteen skills+counts as sixteen. Stars from the GitHub API, September 2026.| Repo | Stars | Ships ||---|---|---|diff --git a/agents/README.md b/agents/README.mdindex d68510e..231006e 100644--- a/agents/README.md+++ b/agents/README.md@@ -1,6 +1,6 @@# agents-Subagent definitions for Claude Code. Copy into `.claude/agents/` in your+Six subagent definitions for Claude Code. Copy into `.claude/agents/` in yourvault.| Agent | Writes | Runs |@@ -9,10 +9,15 @@ vault.| `linker` | links only | after imports, or weekly || `reviewer` | no | weekly || `researcher` | no | on demand |+| `graph-analyst` | no | monthly, or when navigation gets hard |+| `curator` | no | quarterly |-Two of the four are read-only by design. Splitting write access this way means-a bad research run cannot damage the vault, and it keeps the git history-readable: every content change traces back to an ingest or a link pass.+Four of the six are read-only by design. Splitting write access this way means a+bad research or analysis run cannot damage the vault, and it keeps the git+history readable: every content change traces back to an ingest or a link pass.-See [scheduling](../docs/06-agents/scheduled-maintenance.md) for wiring these-to a cadence.+The two that write are also the two with the narrowest instructions. That is not+a coincidence.++See [scheduling](../docs/06-agents/scheduled-maintenance.md) for wiring these to+a cadence.diff --git a/agents/curator.md b/agents/curator.mdnew file mode 100644index 0000000..f4e7f99--- /dev/null+++ b/agents/curator.md@@ -0,0 +1,11 @@+---+name: curator+description: Proposes what to prune, archive or merge. Read-only, proposals never actions. Use quarterly or when the vault has grown past what the user can hold.+tools: Read, Glob, Grep+---++You propose removals. You never make them.++Find concept pages with one source and no inbound links, stubs that never filled, near-duplicates, and material gone cold. For each, give the reasoning and the recommended action.++Nothing linked from five other pages is a removal candidate regardless of how it reads. When in doubt, propose archiving rather than deleting: archived material can come back, deleted material cannot.diff --git a/agents/graph-analyst.md b/agents/graph-analyst.mdnew file mode 100644index 0000000..4159825--- /dev/null+++ b/agents/graph-analyst.md@@ -0,0 +1,11 @@+---+name: graph-analyst+description: Analyses the link graph and reports metrics, hubs, bridges and clusters. Read-only. Use for monthly checks or when the vault feels hard to navigate.+tools: Read, Glob, Grep, Bash+---++You analyse the graph and never modify the vault.++Follow `second-brain-graph` and `second-brain-metrics`. Prefer running the scripts in `scripts/` over reading files one by one: they give the same answer every time and cost nothing.++Report shape and what it means for retrieval. Do not repair what you find; that is the linter's job.diff --git a/commands/README.md b/commands/README.mdindex 4e8d11a..d1696d3 100644--- a/commands/README.md+++ b/commands/README.md@@ -1,15 +1,140 @@# commands-Slash commands for Claude Code. Copy them into `.claude/commands/` inside your-vault:+Seventy-two slash commands for Claude Code, grouped by what you are doing.```bash-cp commands/*.md ~/second-brain/.claude/commands/+cp commands/*.md ~/brain/.claude/commands/```-Then `/ingest`, `/ask`, `/lint`, `/review` and `/backfill` are available in any-session started in the vault.+Commands are thin on purpose: each one points at a skill and sets its scope. The+behaviour lives in the skill, so `/ingest-youtube` and a scheduled task and you+asking in plain language all produce the same result.-Commands are thin on purpose: each one points at a skill. The behaviour lives-in the skill, so it stays consistent whether it was triggered by a command, by-a schedule, or by you asking in plain language.+Most take an optional argument. With none, they default to the sensible whole:+`/lint` audits everything, `/ingest` takes whatever is waiting in `raw/`.++### Ingestion++| Command | What it does |+|---|---|+| `/ingest` | Ingest new material from raw/ into the wiki |+| `/ingest-url` | Clip and ingest a web page |+| `/ingest-youtube` | Ingest a video or podcast transcript |+| `/ingest-pdf` | Ingest a PDF |+| `/ingest-paper` | Ingest an academic paper |+| `/ingest-chats` | Import an exported chat history |+| `/ingest-voice` | Ingest a voice note |+| `/ingest-newsletter` | Ingest newsletters without duplicating |+| `/ingest-highlights` | Ingest book or article highlights |+| `/backfill` | Bulk import an archive in batches |++### Structuring++| Command | What it does |+|---|---|+| `/link` | Find and add missing connections |+| `/dedupe` | Find near-duplicate pages |+| `/merge` | Merge two pages |+| `/rename` | Rename a page and fix every link |+| `/split` | Split an overloaded page |+| `/retype` | Fix a page's type |+| `/schema` | Check frontmatter against the schema |+| `/tags` | Audit the tag vocabulary |+| `/aliases` | Find missing aliases |+| `/contradictions` | List unresolved contradictions |+| `/index` | Rebuild the index |++### Graph++| Command | What it does |+|---|---|+| `/graph` | Report the shape of the graph |+| `/graph-export` | Export the graph for outside analysis |+| `/orphans` | Find unreachable pages |+| `/hubs` | Find pages that swallowed the graph |+| `/bridges` | Find the pages holding the graph together |+| `/clusters` | Show what the vault is actually about |+| `/typed-links` | Add relation types where they matter |+| `/stale` | Find concept pages nobody has touched |++### Retrieval++| Command | What it does |+|---|---|+| `/ask` | Ask a question answered only from the vault |+| `/know` | What do I know about a topic |+| `/connect` | Find the path between two ideas |+| `/compare` | Compare two things from your own sources |+| `/sources` | Show what a claim rests on |+| `/gaps` | What is missing from my understanding |+| `/contradicts` | Argue against me |+| `/timeline` | How my sources developed over time |+| `/trace` | Show which pages an answer used |+| `/changed-my-mind` | What I have revised |++### Maintenance++| Command | What it does |+|---|---|+| `/lint` | Audit structure and repair what is mechanical |+| `/health` | Quick health check |+| `/metrics` | Record a dated metrics snapshot |+| `/review` | Periodic review of what the vault learned |+| `/weekly` | The weekly review |+| `/monthly` | The monthly structural review |+| `/prune` | Find what is safe to remove |+| `/archive` | Move cold material out of the wiki |+| `/commit` | Commit the current state with a useful message |++### Outputs++| Command | What it does |+|---|---|+| `/outline` | Outline a piece from your concept pages |+| `/draft` | Draft from the vault |+| `/report` | Write a research report |+| `/publish` | Check what is safe to publish |+| `/export` | Export a page or set of pages |+| `/quiz` | Test yourself on your own pages |+| `/explain` | Explain it back and find the gaps |+| `/ingest-mine` | Ingest your own finished work |++### Projects++| Command | What it does |+|---|---|+| `/project` | Create a project |+| `/project-status` | Where a project stands |+| `/decisions` | List decisions made |+| `/commitments` | List open commitments |+| `/handoff` | Prepare a handoff brief |+| `/scope` | Pull knowledge into a project |++### Safety++| Command | What it does |+|---|---|+| `/privacy` | Audit what should not be in the vault |+| `/secrets` | Scan for credentials |+| `/dry-run` | Preview a run without writing |+| `/rollback` | Undo the last run |+| `/audit` | Audit what an agent did |++### Setup++| Command | What it does |+|---|---|+| `/init` | Scaffold a new vault |+| `/claude-md` | Build or update your CLAUDE.md |+| `/install` | Install the skills, commands and agents |+| `/doctor` | Check the setup is working |+| `/schedule` | Set up scheduled maintenance |++## Why so many++Nine of these do the real work and the rest are scoped entry points into the same+skills. That is the point: you should not have to remember how to phrase a+request for a thing you do every week.++If a command you want is missing, it is usually one line pointing at an existing+skill. Copy the closest file and change the scope.diff --git a/commands/aliases.md b/commands/aliases.mdnew file mode 100644index 0000000..38e262e--- /dev/null+++ b/commands/aliases.md@@ -0,0 +1,7 @@+---+description: Find missing aliases+---++Find pages whose acronyms, alternate spellings or common names are not in `aliases`. Missing aliases are the main reason a vault grows two pages for one thing.++Follow the `second-brain-lint` skill.diff --git a/commands/archive.md b/commands/archive.mdnew file mode 100644index 0000000..942d960--- /dev/null+++ b/commands/archive.md@@ -0,0 +1,7 @@+---+description: Move cold material out of the wiki+---++Propose pages to move to `archive/`: still on disk and searchable, out of the index and the graph. Reversible, and nothing linked.++Follow the `second-brain-lint` skill.diff --git a/commands/ask.md b/commands/ask.mdindex 695e5cf..d44c72b 100644--- a/commands/ask.md+++ b/commands/ask.md@@ -2,7 +2,6 @@description: Ask a question answered only from the vault----Answer $ARGUMENTS using only pages in this vault.+Answer $ARGUMENTS from vault pages only. Cite every page. Name what the vault does not cover.-Follow the `second-brain-query` skill. Start from `wiki/index.md`, cite every-page you use, and name what the vault does not cover.+Follow the `second-brain-query` skill.diff --git a/commands/audit.md b/commands/audit.mdnew file mode 100644index 0000000..4fe385f--- /dev/null+++ b/commands/audit.md@@ -0,0 +1,7 @@+---+description: Audit what an agent did+---++Read `log.md` and the git history for the period in $ARGUMENTS. Report what ran, what it changed, and anything that changed without a log entry.++Follow the `second-brain-query` skill.diff --git a/commands/backfill.md b/commands/backfill.mdindex d80dc48..a523c57 100644--- a/commands/backfill.md+++ b/commands/backfill.md@@ -1,13 +1,7 @@----description: Bulk import a large batch of old material+description: Bulk import an archive in batches----Import the material in $ARGUMENTS into the vault.+Backfill $ARGUMENTS. Triage first, oldest first, ten per batch, checkpoint and stop between batches.-Work in batches of ten sources. After each batch: update `index.md`, append to-`log.md`, and report progress. Order matters, so process oldest material first-and let later sources update the pages earlier ones created, which mirrors how-the owner's understanding actually developed.--Stop after each batch and wait for a go-ahead. Bulk imports are where cost and-quality both go wrong quietly.+Follow the `second-brain-backfill` skill.diff --git a/commands/bridges.md b/commands/bridges.mdnew file mode 100644index 0000000..d6de647--- /dev/null+++ b/commands/bridges.md@@ -0,0 +1,7 @@+---+description: Find the pages holding the graph together+---++Compute betweenness and list the pages connecting otherwise separate clusters. Say what stops informing what if each one is wrong.++Follow the `second-brain-graph` skill.diff --git a/commands/changed-my-mind.md b/commands/changed-my-mind.mdnew file mode 100644index 0000000..990292f--- /dev/null+++ b/commands/changed-my-mind.md@@ -0,0 +1,7 @@+---+description: What I have revised+---++Trace revised positions for $ARGUMENTS, or the whole vault. Both positions, both dates, and what moved them.++Follow the `second-brain-changed-my-mind` skill.diff --git a/commands/claude-md.md b/commands/claude-md.mdnew file mode 100644index 0000000..2d23576--- /dev/null+++ b/commands/claude-md.md@@ -0,0 +1,7 @@+---+description: Build or update your CLAUDE.md+---++Interview the user one question at a time, then write CLAUDE.md at the vault root: who they are, goals with dates, how to talk to them, projects, and the vault's own rules.++Follow the `second-brain-project` skill.diff --git a/commands/clusters.md b/commands/clusters.mdnew file mode 100644index 0000000..31468b1--- /dev/null+++ b/commands/clusters.md@@ -0,0 +1,7 @@+---+description: Show what the vault is actually about+---++Identify clusters and name them. Compare against what the user thinks their interests are, if that is recorded.++Follow the `second-brain-graph` skill.diff --git a/commands/commit.md b/commands/commit.mdnew file mode 100644index 0000000..e8f87d9--- /dev/null+++ b/commands/commit.md@@ -0,0 +1,7 @@+---+description: Commit the current state with a useful message+---++Stage the vault, write a commit message naming what changed and which run produced it, and report the diff summary.++Follow the `second-brain-lint` skill.diff --git a/commands/commitments.md b/commands/commitments.mdnew file mode 100644index 0000000..c21d96e--- /dev/null+++ b/commands/commitments.md@@ -0,0 +1,7 @@+---+description: List open commitments+---++List commitments recorded in $ARGUMENTS with owners, and flag any with no clear next step.++Follow the `second-brain-query` skill.diff --git a/commands/compare.md b/commands/compare.mdnew file mode 100644index 0000000..b2747c3--- /dev/null+++ b/commands/compare.md@@ -0,0 +1,7 @@+---+description: Compare two things from your own sources+---++Compare the two things in $ARGUMENTS using only what the vault records. Say which comparison points are unsupported.++Follow the `second-brain-query` skill.diff --git a/commands/connect.md b/commands/connect.mdnew file mode 100644index 0000000..08da8eb--- /dev/null+++ b/commands/connect.md@@ -0,0 +1,7 @@+---+description: Find the path between two ideas+---++Find how the two things in $ARGUMENTS connect in the vault. Show the path through pages, not just the endpoints.++Follow the `second-brain-query` skill.diff --git a/commands/contradictions.md b/commands/contradictions.mdnew file mode 100644index 0000000..217f280--- /dev/null+++ b/commands/contradictions.md@@ -0,0 +1,7 @@+---+description: List unresolved contradictions+---++Find every page recording a contradiction that is still open. For each: both positions, both sources with dates, and what would settle it.++Follow the `second-brain-query` skill.diff --git a/commands/contradicts.md b/commands/contradicts.mdnew file mode 100644index 0000000..bee9ac2--- /dev/null+++ b/commands/contradicts.md@@ -0,0 +1,7 @@+---+description: Argue against me+---++Find everything in the vault that argues against $ARGUMENTS. If nothing does, say so plainly rather than manufacturing an objection.++Follow the `second-brain-query` skill.diff --git a/commands/decisions.md b/commands/decisions.mdnew file mode 100644index 0000000..5713862--- /dev/null+++ b/commands/decisions.md@@ -0,0 +1,7 @@+---+description: List decisions made+---++List the decisions recorded for $ARGUMENTS, with dates and what each rests on.++Follow the `second-brain-query` skill.diff --git a/commands/dedupe.md b/commands/dedupe.mdnew file mode 100644index 0000000..950b5b5--- /dev/null+++ b/commands/dedupe.md@@ -0,0 +1,7 @@+---+description: Find near-duplicate pages+---++Scan $ARGUMENTS, or the whole wiki, for near-duplicates by title, alias overlap and shared inbound links. Propose merges with reasoning. Merge nothing.++Follow the `second-brain-lint` skill.diff --git a/commands/doctor.md b/commands/doctor.mdnew file mode 100644index 0000000..17615e8--- /dev/null+++ b/commands/doctor.md@@ -0,0 +1,7 @@+---+description: Check the setup is working+---++Verify the vault structure, CLAUDE.md, skills, git state and MCP connection if configured. Report what is missing or misconfigured.++Follow the `second-brain-lint` skill.diff --git a/commands/draft.md b/commands/draft.mdnew file mode 100644index 0000000..f79dda9--- /dev/null+++ b/commands/draft.md@@ -0,0 +1,7 @@+---+description: Draft from the vault+---++Draft $ARGUMENTS from vault pages. First pass only, to be rewritten in the user's voice. Never introduce a number with no source page behind it.++Follow the `second-brain-write` skill.diff --git a/commands/dry-run.md b/commands/dry-run.mdnew file mode 100644index 0000000..0595de2--- /dev/null+++ b/commands/dry-run.md@@ -0,0 +1,7 @@+---+description: Preview a run without writing+---++Do $ARGUMENTS as a dry run: list every page you would create, update or delete, and every link you would add. Write nothing.++Follow the `second-brain-lint` skill.diff --git a/commands/explain.md b/commands/explain.mdnew file mode 100644index 0000000..31b1a32--- /dev/null+++ b/commands/explain.md@@ -0,0 +1,7 @@+---+description: Explain it back and find the gaps+---++Ask the user to explain $ARGUMENTS from memory, then compare what they said against their page and name what was left out.++Follow the `second-brain-quiz` skill.diff --git a/commands/export.md b/commands/export.mdnew file mode 100644index 0000000..e6df99c--- /dev/null+++ b/commands/export.md@@ -0,0 +1,7 @@+---+description: Export a page or set of pages+---++Export $ARGUMENTS to `output/` in the requested format, rewriting links to unpublished pages as plain text.++Follow the `second-brain-publish` skill.diff --git a/commands/gaps.md b/commands/gaps.mdnew file mode 100644index 0000000..38bcc33--- /dev/null+++ b/commands/gaps.md@@ -0,0 +1,7 @@+---+description: What is missing from my understanding+---++Read the pages on $ARGUMENTS and list the questions they raise that no source in the vault answers.++Follow the `second-brain-query` skill.diff --git a/commands/graph-export.md b/commands/graph-export.mdnew file mode 100644index 0000000..7709eee--- /dev/null+++ b/commands/graph-export.md@@ -0,0 +1,7 @@+---+description: Export the graph for outside analysis+---++Run `scripts/graph_export.py` for $ARGUMENTS, defaulting to CSV edges, and summarise what the export contains.++Follow the `second-brain-graph` skill.diff --git a/commands/graph.md b/commands/graph.mdnew file mode 100644index 0000000..6aee7d7--- /dev/null+++ b/commands/graph.md@@ -0,0 +1,7 @@+---+description: Report the shape of the graph+---++Full graph report: the four metrics, hubs, bridges, clusters, and what each means for retrieval.++Follow the `second-brain-graph` skill.diff --git a/commands/handoff.md b/commands/handoff.mdnew file mode 100644index 0000000..137d0fc--- /dev/null+++ b/commands/handoff.md@@ -0,0 +1,7 @@+---+description: Prepare a handoff brief+---++Write a brief for someone picking up $ARGUMENTS cold: goal, state, decisions and why, open questions, where things live.++Follow the `second-brain-report` skill.diff --git a/commands/health.md b/commands/health.mdnew file mode 100644index 0000000..0e18b94--- /dev/null+++ b/commands/health.md@@ -0,0 +1,7 @@+---+description: Quick health check+---++The four metrics with a one-line verdict on each. No repairs.++Follow the `second-brain-graph` skill.diff --git a/commands/hubs.md b/commands/hubs.mdnew file mode 100644index 0000000..dba9ce8--- /dev/null+++ b/commands/hubs.md@@ -0,0 +1,7 @@+---+description: Find pages that swallowed the graph+---++List pages with outsized inbound degree. For each, say which distinct ideas people are actually linking to, and propose a split.++Follow the `second-brain-graph` skill.diff --git a/commands/index.md b/commands/index.mdnew file mode 100644index 0000000..e01084a--- /dev/null+++ b/commands/index.md@@ -0,0 +1,7 @@+---+description: Rebuild the index+---++Rebuild `index.md` from the actual contents of `wiki/`. Group by type and theme, one line of description per entry, gaps at the bottom.++Follow the `second-brain-lint` skill.diff --git a/commands/ingest-chats.md b/commands/ingest-chats.mdnew file mode 100644index 0000000..353f7ec--- /dev/null+++ b/commands/ingest-chats.md@@ -0,0 +1,7 @@+---+description: Import an exported chat history+---++Triage the export at $ARGUMENTS. Privacy pass first, then the three piles, then ingest only what is approved.++Follow the `second-brain-chat-import` skill.diff --git a/commands/ingest-highlights.md b/commands/ingest-highlights.mdnew file mode 100644index 0000000..49b33f5--- /dev/null+++ b/commands/ingest-highlights.md@@ -0,0 +1,7 @@+---+description: Ingest book or article highlights+---++Ingest the highlights in $ARGUMENTS as one source page per book, then build concept pages from the ideas rather than the quotes. Keep quotes short and cited.++Follow the `second-brain-ingest` skill.diff --git a/commands/ingest-mine.md b/commands/ingest-mine.mdnew file mode 100644index 0000000..ec96566--- /dev/null+++ b/commands/ingest-mine.md@@ -0,0 +1,7 @@+---+description: Ingest your own finished work+---++Ingest $ARGUMENTS as a source authored by the user: their positions, stated clearly, at a date. This is what makes the next piece in a domain faster.++Follow the `second-brain-ingest` skill.diff --git a/commands/ingest-newsletter.md b/commands/ingest-newsletter.mdnew file mode 100644index 0000000..dcef595--- /dev/null+++ b/commands/ingest-newsletter.md@@ -0,0 +1,7 @@+---+description: Ingest newsletters without duplicating+---++Group the newsletters in $ARGUMENTS by topic first. One source page per actual item, citing every newsletter that covered it. Never treat repetition across newsletters as confirmation.++Follow the `second-brain-ingest` skill.diff --git a/commands/ingest-paper.md b/commands/ingest-paper.mdnew file mode 100644index 0000000..9717032--- /dev/null+++ b/commands/ingest-paper.md@@ -0,0 +1,7 @@+---+description: Ingest an academic paper+---++Ingest $ARGUMENTS as a paper: build the source page around the question, method, result with its actual numbers, and the limitations the authors state. Record sample sizes. Never report a finding without the condition it holds under.++Follow the `second-brain-ingest` skill.diff --git a/commands/ingest-pdf.md b/commands/ingest-pdf.mdnew file mode 100644index 0000000..5db05e2--- /dev/null+++ b/commands/ingest-pdf.md@@ -0,0 +1,7 @@+---+description: Ingest a PDF+---++Extract text from $ARGUMENTS, check the extraction quality before going further, and ingest. Scanned documents need OCR first. Screenshot any figure that carries the argument into `raw/assets/`.++Follow the `second-brain-ingest` skill.diff --git a/commands/ingest-url.md b/commands/ingest-url.mdnew file mode 100644index 0000000..5ae37bd--- /dev/null+++ b/commands/ingest-url.md@@ -0,0 +1,7 @@+---+description: Clip and ingest a web page+---++Fetch $ARGUMENTS, save the readable content to `raw/` with frontmatter recording the URL, author and date, then ingest it. If the page is a paywall notice or a fragment, say so instead of ingesting.++Follow the `second-brain-ingest` skill.diff --git a/commands/ingest-voice.md b/commands/ingest-voice.mdnew file mode 100644index 0000000..93771cc--- /dev/null+++ b/commands/ingest-voice.md@@ -0,0 +1,7 @@+---+description: Ingest a voice note+---++Transcribe and clean $ARGUMENTS, then extract the actual idea as a concept page in the user's own words. Drop false starts and repetition, keep the recording date.++Follow the `second-brain-transcript` skill.diff --git a/commands/ingest-youtube.md b/commands/ingest-youtube.mdnew file mode 100644index 0000000..1b924f4--- /dev/null+++ b/commands/ingest-youtube.md@@ -0,0 +1,7 @@+---+description: Ingest a video or podcast transcript+---++Pull the transcript for $ARGUMENTS into `raw/`, clean it with `second-brain-transcript`, then ingest. Split by topic first if the recording covers more than one.++Follow the `second-brain-transcript` skill.diff --git a/commands/ingest.md b/commands/ingest.mdindex 66b5257..656dc54 100644--- a/commands/ingest.md+++ b/commands/ingest.md@@ -2,12 +2,6 @@description: Ingest new material from raw/ into the wiki----Process uningested sources in `raw/`.+Process uningested sources in `raw/`. $ARGUMENTS is an optional path; with none, take everything without a source page, oldest first. Stop and report if more than twenty are pending.-$ARGUMENTS is an optional file path. With no argument, find every file in-`raw/` that has no corresponding page in `wiki/sources/` and process them-oldest first.--Follow the `second-brain-ingest` skill. Stop and report if more than twenty-files are pending, so the owner can decide on batching rather than discovering-a large bill afterwards.+Follow the `second-brain-ingest` skill.diff --git a/commands/init.md b/commands/init.mdnew file mode 100644index 0000000..419029d--- /dev/null+++ b/commands/init.md@@ -0,0 +1,7 @@+---+description: Scaffold a new vault+---++Create the vault structure: raw, wiki with its four page-type folders, projects, output, index.md, log.md, and a CLAUDE.md drafted by interviewing the user.++Follow the `second-brain-project` skill.diff --git a/commands/install.md b/commands/install.mdnew file mode 100644index 0000000..d3fd91d--- /dev/null+++ b/commands/install.md@@ -0,0 +1,7 @@+---+description: Install the skills, commands and agents+---++Copy skills, commands and agents into `.claude/` inside the vault so they are versioned with the notes, and report what was installed.++Follow the `second-brain-lint` skill.diff --git a/commands/know.md b/commands/know.mdnew file mode 100644index 0000000..4fd8816--- /dev/null+++ b/commands/know.md@@ -0,0 +1,7 @@+---+description: What do I know about a topic+---++Everything the vault holds on $ARGUMENTS: the concepts, the sources behind them, and where the sources disagree.++Follow the `second-brain-query` skill.diff --git a/commands/link.md b/commands/link.mdnew file mode 100644index 0000000..ef2c3f1--- /dev/null+++ b/commands/link.md@@ -0,0 +1,7 @@+---+description: Find and add missing connections+---++Read the pages in $ARGUMENTS, or recently added pages if empty, and add links in both directions where the relationship is real. Create no pages, rewrite no content.++Follow the `second-brain-ingest` skill.diff --git a/commands/lint.md b/commands/lint.mdindex bf92522..a328e97 100644--- a/commands/lint.md+++ b/commands/lint.md@@ -1,8 +1,7 @@----description: Audit the vault for broken links, orphans and schema problems+description: Audit structure and repair what is mechanical----Run a full structural audit following the `second-brain-lint` skill.+Full structural audit of $ARGUMENTS, or the whole vault. Fix mechanical problems, propose anything needing judgement, log the run.-$ARGUMENTS may narrow the scope to a folder. Fix mechanical problems, propose-anything that requires a judgement call, and append the run to `log.md`.+Follow the `second-brain-lint` skill.diff --git a/commands/merge.md b/commands/merge.mdnew file mode 100644index 0000000..cf11a63--- /dev/null+++ b/commands/merge.md@@ -0,0 +1,7 @@+---+description: Merge two pages+---++Merge the pages named in $ARGUMENTS following the full procedure: survivor, claims, aliases, inbound links, log entry.++Follow the `second-brain-merge` skill.diff --git a/commands/metrics.md b/commands/metrics.mdnew file mode 100644index 0000000..0ac67dd--- /dev/null+++ b/commands/metrics.md@@ -0,0 +1,7 @@+---+description: Record a dated metrics snapshot+---++Append this month's numbers to the metrics note and compare against the last entry.++Follow the `second-brain-metrics` skill.diff --git a/commands/monthly.md b/commands/monthly.mdnew file mode 100644index 0000000..d6db99e--- /dev/null+++ b/commands/monthly.md@@ -0,0 +1,7 @@+---+description: The monthly structural review+---++Metrics with trend, stale concept pages, the gaps list, and one structural thing to fix.++Follow the `second-brain-metrics` skill.diff --git a/commands/orphans.md b/commands/orphans.mdnew file mode 100644index 0000000..d47c013--- /dev/null+++ b/commands/orphans.md@@ -0,0 +1,7 @@+---+description: Find unreachable pages+---++List pages with no inbound links. For each, either propose where it should be linked from, or flag it as a deletion candidate.++Follow the `second-brain-lint` skill.diff --git a/commands/outline.md b/commands/outline.mdnew file mode 100644index 0000000..93e8f47--- /dev/null+++ b/commands/outline.md@@ -0,0 +1,7 @@+---+description: Outline a piece from your concept pages+---++Outline $ARGUMENTS from the vault. Every point tied to a page, disagreements surfaced, weak points marked.++Follow the `second-brain-write` skill.diff --git a/commands/privacy.md b/commands/privacy.mdnew file mode 100644index 0000000..b64804e--- /dev/null+++ b/commands/privacy.md@@ -0,0 +1,7 @@+---+description: Audit what should not be in the vault+---++Full privacy audit: credentials, other people's information, confidential material, repo visibility. Report by severity. Delete nothing.++Follow the `second-brain-privacy` skill.diff --git a/commands/project-status.md b/commands/project-status.mdnew file mode 100644index 0000000..c01cbb5--- /dev/null+++ b/commands/project-status.md@@ -0,0 +1,7 @@+---+description: Where a project stands+---++Read the project in $ARGUMENTS and report: goal, what is done, what is in progress, what is blocked, and what has gone stale.++Follow the `second-brain-query` skill.diff --git a/commands/project.md b/commands/project.mdnew file mode 100644index 0000000..0729914--- /dev/null+++ b/commands/project.md@@ -0,0 +1,7 @@+---+description: Create a project+---++Set up the project in $ARGUMENTS: four folders, a project CLAUDE.md with one measurable goal, and links to the concept pages it depends on.++Follow the `second-brain-project` skill.diff --git a/commands/prune.md b/commands/prune.mdnew file mode 100644index 0000000..d9fcda6--- /dev/null+++ b/commands/prune.md@@ -0,0 +1,7 @@+---+description: Find what is safe to remove+---++Find concept pages with one source and no inbound links after a year, and stubs that never got filled. Propose removals with reasoning. Delete nothing.++Follow the `second-brain-lint` skill.diff --git a/commands/publish.md b/commands/publish.mdnew file mode 100644index 0000000..a4bbf4b--- /dev/null+++ b/commands/publish.md@@ -0,0 +1,7 @@+---+description: Check what is safe to publish+---++Audit the opt-in set. Links to unpublished pages, flagged content, frontmatter to strip. Report only; do not build.++Follow the `second-brain-publish` skill.diff --git a/commands/quiz.md b/commands/quiz.mdnew file mode 100644index 0000000..06f1e5a--- /dev/null+++ b/commands/quiz.md@@ -0,0 +1,7 @@+---+description: Test yourself on your own pages+---++Generate questions from the pages on $ARGUMENTS. Withhold answers until attempted, then grade against the pages.++Follow the `second-brain-quiz` skill.diff --git a/commands/rename.md b/commands/rename.mdnew file mode 100644index 0000000..b1b1611--- /dev/null+++ b/commands/rename.md@@ -0,0 +1,7 @@+---+description: Rename a page and fix every link+---++Rename as specified in $ARGUMENTS. File, frontmatter, alias, every inbound link, log entry, then verify.++Follow the `second-brain-rename` skill.diff --git a/commands/report.md b/commands/report.mdnew file mode 100644index 0000000..4bd23ac--- /dev/null+++ b/commands/report.md@@ -0,0 +1,7 @@+---+description: Write a research report+---++Report on $ARGUMENTS. Scope against the vault first, name the gaps before writing, cite pages, state what could not be established.++Follow the `second-brain-report` skill.diff --git a/commands/retype.md b/commands/retype.mdnew file mode 100644index 0000000..63c9b1a--- /dev/null+++ b/commands/retype.md@@ -0,0 +1,7 @@+---+description: Fix a page's type+---++Check whether $ARGUMENTS is filed as the right page type, and rewrite it to that type's contract if not. A source page that explains an idea is a concept page in the wrong folder.++Follow the `second-brain-lint` skill.diff --git a/commands/review.md b/commands/review.mdindex 7681999..084c2ef 100644--- a/commands/review.md+++ b/commands/review.md@@ -1,6 +1,7 @@----description: Weekly review of what the vault learned+description: Periodic review of what the vault learned----Produce a review for the period in $ARGUMENTS, defaulting to the last seven-days, following the `second-brain-review` skill.+Review the period in $ARGUMENTS, defaulting to seven days.++Follow the `second-brain-review` skill.diff --git a/commands/rollback.md b/commands/rollback.mdnew file mode 100644index 0000000..0b2060e--- /dev/null+++ b/commands/rollback.md@@ -0,0 +1,7 @@+---+description: Undo the last run+---++Show what the last run changed, then revert it on confirmation. Record the rollback in `log.md`.++Follow the `second-brain-lint` skill.diff --git a/commands/schedule.md b/commands/schedule.mdnew file mode 100644index 0000000..a4b5a49--- /dev/null+++ b/commands/schedule.md@@ -0,0 +1,7 @@+---+description: Set up scheduled maintenance+---++Propose a schedule for ingest, link, lint and review with the right cadence for this vault's volume, and the exact prompt for each task.++Follow the `second-brain-review` skill.diff --git a/commands/schema.md b/commands/schema.mdnew file mode 100644index 0000000..e8020de--- /dev/null+++ b/commands/schema.md@@ -0,0 +1,7 @@+---+description: Check frontmatter against the schema+---++Validate frontmatter across $ARGUMENTS, or the whole wiki. Report missing required fields, wrong types, malformed dates and tags outside the vocabulary. Fix the mechanical ones.++Follow the `second-brain-lint` skill.diff --git a/commands/scope.md b/commands/scope.mdnew file mode 100644index 0000000..7e654ac--- /dev/null+++ b/commands/scope.md@@ -0,0 +1,7 @@+---+description: Pull knowledge into a project+---++Find the concept pages relevant to the project in $ARGUMENTS and save a briefing into its `Inputs/`, so work can continue with the vault scoped down.++Follow the `second-brain-query` skill.diff --git a/commands/secrets.md b/commands/secrets.mdnew file mode 100644index 0000000..4b4ba7d--- /dev/null+++ b/commands/secrets.md@@ -0,0 +1,7 @@+---+description: Scan for credentials+---++Scan the vault and `.obsidian/` for keys, tokens and passwords. Name the file and the type, never the value.++Follow the `second-brain-privacy` skill.diff --git a/commands/sources.md b/commands/sources.mdnew file mode 100644index 0000000..19a5790--- /dev/null+++ b/commands/sources.md@@ -0,0 +1,7 @@+---+description: Show what a claim rests on+---++For the claim in $ARGUMENTS, list every source page behind it with dates and confidence labels. Say whether any of it is self-reported.++Follow the `second-brain-query` skill.diff --git a/commands/split.md b/commands/split.mdnew file mode 100644index 0000000..609ae9a--- /dev/null+++ b/commands/split.md@@ -0,0 +1,7 @@+---+description: Split an overloaded page+---++Read $ARGUMENTS. If it holds more than one idea, propose the split points and the resulting page titles. Split only on approval, preserving inbound links to the original.++Follow the `second-brain-ingest` skill.diff --git a/commands/stale.md b/commands/stale.mdnew file mode 100644index 0000000..7ecb8c6--- /dev/null+++ b/commands/stale.md@@ -0,0 +1,7 @@+---+description: Find concept pages nobody has touched+---++List concept pages whose `updated` date is older than ninety days, sorted oldest first, with how many sources arrived on their topic since.++Follow the `second-brain-graph` skill.diff --git a/commands/tags.md b/commands/tags.mdnew file mode 100644index 0000000..3c8dde2--- /dev/null+++ b/commands/tags.md@@ -0,0 +1,7 @@+---+description: Audit the tag vocabulary+---++List every tag in use with its count. Flag tags used once, near-synonyms, and anything not in the vocabulary in CLAUDE.md. Propose a consolidation.++Follow the `second-brain-lint` skill.diff --git a/commands/timeline.md b/commands/timeline.mdnew file mode 100644index 0000000..5eb7396--- /dev/null+++ b/commands/timeline.md@@ -0,0 +1,7 @@+---+description: How my sources developed over time+---++Order the vault's sources on $ARGUMENTS by date and show how the claims changed.++Follow the `second-brain-query` skill.diff --git a/commands/trace.md b/commands/trace.mdnew file mode 100644index 0000000..095fee3--- /dev/null+++ b/commands/trace.md@@ -0,0 +1,7 @@+---+description: Show which pages an answer used+---++Answer $ARGUMENTS, then list every page read, in the order opened, with what each contributed.++Follow the `second-brain-query` skill.diff --git a/commands/typed-links.md b/commands/typed-links.mdnew file mode 100644index 0000000..5df2e86--- /dev/null+++ b/commands/typed-links.md@@ -0,0 +1,7 @@+---+description: Add relation types where they matter+---++Review the links in $ARGUMENTS and add types (supports, contradicts, extends, part-of, applies) only where the source states the relationship. Never infer a type.++Follow the `second-brain-ingest` skill.diff --git a/commands/weekly.md b/commands/weekly.mdnew file mode 100644index 0000000..1249b02--- /dev/null+++ b/commands/weekly.md@@ -0,0 +1,7 @@+---+description: The weekly review+---++Last seven days: what was added, where attention went, what is unresolved, three things to do next.++Follow the `second-brain-review` skill.diff --git a/docs/06-agents/agent-roles.md b/docs/06-agents/agent-roles.mdindex 1a441f1..79a08bc 100644--- a/docs/06-agents/agent-roles.md+++ b/docs/06-agents/agent-roles.md@@ -4,7 +4,7 @@ One agent doing everything produces mediocre work at every job. The instructionsthat make a good ingestor are not the ones that make a good reviewer, and stuffedinto one prompt they dilute each other.-Four roles cover a vault. The definitions are in+Six roles cover a vault, four of them read-only. The definitions are in[`agents/`](../../agents/README.md).## Ingestor@@ -48,9 +48,25 @@ Also the role you talk to most, and the one that most needs the rule about notfalling back on general knowledge. See the[query skill](../../skills/README.md).+## Graph analyst++Read-only. Runs the metrics, finds hubs, bridges and clusters, and says what the+numbers mean for retrieval. Monthly.++Separate from the linter because analysis and repair want opposite dispositions:+one should notice everything, the other should touch as little as possible.++## Curator++Read-only. Proposes what to prune, archive or merge, quarterly.++Proposals only, never actions. Deletion is the one operation you cannot recover+from by reading a diff, so it stays a decision the owner makes.+## Roles not worth creating**A deleter.** Deletion should be a decision you make, executed with a record.+The curator proposes; you dispose.**A summariser.** Summaries of pages that are already summaries produce a layerthat is less true than what is under it and gets read instead of it.diff --git a/docs/06-agents/skills-and-commands.md b/docs/06-agents/skills-and-commands.mdindex 99886f1..59b4be8 100644--- a/docs/06-agents/skills-and-commands.md+++ b/docs/06-agents/skills-and-commands.md@@ -15,9 +15,13 @@ vault".## What this repo ships-Four skills in [`skills/`](../../skills/README.md): ingest, lint, query, review.-Five commands in [`commands/`](../../commands/README.md), each a few lines-pointing at a skill.+Eighteen skills in [`skills/`](../../skills/README.md), one per workflow in this+guide. Seventy-two commands in [`commands/`](../../commands/README.md), each a+few lines pointing at a skill and setting its scope.++The ratio is deliberate. Behaviour belongs in a small number of well-written+skills; commands are cheap, so there is no reason to make you remember how to+phrase a request you make every week.Install them inside the vault at `.claude/skills/` and `.claude/commands/` sothey are versioned alongside your notes and travel with the vault.diff --git a/resources/skills.md b/resources/skills.mdindex 22af4c5..5d8b770 100644--- a/resources/skills.md+++ b/resources/skills.md@@ -8,9 +8,9 @@ tree in September 2026.| Type | Count | Where ||---|---|---|-| Skills | 4 | [`skills/`](../skills/README.md). Ingest, lint, query, review |-| Commands | 5 | [`commands/`](../commands/README.md). `/ingest`, `/ask`, `/lint`, `/review`, `/backfill` |-| Subagents | 4 | [`agents/`](../agents/README.md). Ingestor, linker, reviewer, researcher |+| Skills | 18 | [`skills/`](../skills/README.md). One per workflow in the guide |+| Commands | 72 | [`commands/`](../commands/README.md). Scoped entry points into those skills |+| Subagents | 6 | [`agents/`](../agents/README.md). Four of them read-only by design || Scripts | 4 | [`scripts/`](../scripts/README.md). Link check, stats, graph export, chat import |Plain `SKILL.md` files, so they work with any agent that reads the Agent Skillsdiff --git a/skills/README.md b/skills/README.mdindex 37fd07f..ff720f8 100644--- a/skills/README.md+++ b/skills/README.md@@ -1,30 +1,43 @@# skills-Agent skills for running the vault. They are plain `SKILL.md` files, so they-work with Claude Code, and with any other agent that supports the Agent Skills-format.--| Skill | What it does | When it fires |-|---|---|---|-| `second-brain-ingest` | Raw source into linked wiki pages | New material lands in `raw/` |-| `second-brain-lint` | Structural audit and repair | Weekly, or after a bulk import |-| `second-brain-query` | Answers grounded in your own pages | You ask the vault something |-| `second-brain-review` | Periodic review of what changed | Weekly or monthly |+Eighteen skills covering every workflow in the guide. Plain `SKILL.md` files, so+they work with Claude Code and with any agent that reads the Agent Skills format.++| Skill | What it does |+|---|---|+| `second-brain-backfill` | Backfill an archive |+| `second-brain-changed-my-mind` | Trace changed positions |+| `second-brain-chat-import` | Import chat history |+| `second-brain-graph` | Analyse the graph |+| `second-brain-ingest` | Ingest a source |+| `second-brain-lint` | Lint the vault |+| `second-brain-merge` | Merge duplicate pages |+| `second-brain-metrics` | Record metrics |+| `second-brain-privacy` | Audit privacy |+| `second-brain-project` | Set up a project |+| `second-brain-publish` | Prepare to publish |+| `second-brain-query` | Query the vault |+| `second-brain-quiz` | Quiz from your own pages |+| `second-brain-rename` | Rename a page |+| `second-brain-report` | Write a research report |+| `second-brain-review` | Review the vault |+| `second-brain-transcript` | Clean a transcript |+| `second-brain-write` | Write from the vault |## Install-Copy the folders into your skills directory:-```bashcp -r skills/* ~/.claude/skills/```-Or keep them inside the vault at `.claude/skills/` so they travel with it and-get versioned alongside your notes.+Or keep them inside the vault at `.claude/skills/` so they travel with it and get+versioned alongside your notes.++## Which ones matter most-## Editing them+`second-brain-ingest` and `second-brain-query` carry the system. The linking rule+in the first and the citation rule in the second are the two that keep a vault+from degrading into a folder of summaries; loosen either and the rest stops+paying off.-These are opinionated. The linking rules in `second-brain-ingest` and the-citation rule in `second-brain-query` are the two that matter most; loosen-those and the vault degrades into a folder of summaries. Everything else is-fair game to adapt.+Everything else is fair game to adapt. These are opinions, and yours may differ.diff --git a/skills/second-brain-backfill/SKILL.md b/skills/second-brain-backfill/SKILL.mdnew file mode 100644index 0000000..9937384--- /dev/null+++ b/skills/second-brain-backfill/SKILL.md@@ -0,0 +1,52 @@+---+name: second-brain-backfill+description: >-+ 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. Use this skill whenever the user wants to import years of+ bookmarks, an export from another notes app, a downloads folder, a chat+ history dump, or says "backfill", "bulk import", "process my archive". Do NOT+ use for ingesting one or a few new sources, which is second-brain-ingest.+---++# Backfill an archive++A backfill is where cost and quality both go wrong quietly. Done in the wrong+order it also inverts the vault's history, because later sources should update+pages that earlier ones created.++## Core rule++Oldest first, ten sources per batch, stop for a go-ahead between batches.++## Workflow++1. **Triage before ingesting.** Read titles and first paragraphs. Sort into+ worth-ingesting, keep-in-raw, and delete. Most archives are half dead links+ and things saved but never opened.+2. **Order by date, oldest first.** Run it the other way and every old source+ arrives as a contradiction against a page that already has the final answer.+3. **Batch of ten.** Ingest following `second-brain-ingest`.+4. **Checkpoint:** update `index.md`, append to `log.md`, commit with the batch+ range in the message, report counts.+5. **Stop and wait** before the next batch.+6. **Full lint at the end.** Large imports always leave orphans and duplicates.++## Output format++```+Batch <n>/<total>: <range>+Ingested: <n> sources -> <n> new pages, <n> updated, <n> links+Skipped: <n> (reason)+Running total: <n> of <n>+Next batch: <what it contains>+```++## Calibration++Read every page the first batch produced, all of them. A flaw you let through in+batch one is a flaw in four hundred pages by the end, and fixing it afterwards+costs more than the original run.++If the archive is over about two hundred sources, propose a filter before+starting rather than quoting the full cost.diff --git a/skills/second-brain-changed-my-mind/SKILL.md b/skills/second-brain-changed-my-mind/SKILL.mdnew file mode 100644index 0000000..4769ce3--- /dev/null+++ b/skills/second-brain-changed-my-mind/SKILL.md@@ -0,0 +1,55 @@+---+name: second-brain-changed-my-mind+description: >-+ Trace where the user's recorded position on something has shifted: superseded+ claims, contradictions between sources of different dates, and what evidence+ moved them. Use this skill when the user asks what they have changed their mind+ about, how their thinking on a topic developed, what they used to believe, or+ wants a quarterly look back at their own positions. Do NOT use for finding+ contradictions between sources with no time dimension, or for a current-state+ answer.+---++# Trace changed positions++This is the query a vault can answer that nothing else can, and the reason the+supersession rules exist. It only works because contradictions are recorded+rather than overwritten.++## Core rule++Report the change with both positions, both dates and the evidence between them.+A conclusion without its history is just the current claim.++## Workflow++1. **Find superseded claims** across concept pages, and contradictions where the+ sources differ in date.+2. **Reconstruct the sequence:** what the page said, when, based on what; what+ changed it, when.+3. **Distinguish real revision from correction.** A factual error being fixed is+ not a change of mind. A conclusion being revised on better evidence is.+4. **Flag unresolved ones.** Contradictions still sitting open are the most+ actionable output here.+5. **Say how firm the current position is,** based on what moved it.++## Output format++```+## <topic>+Was: <claim> (<source>, <date>)+Now: <claim> (<source>, <date>)+What moved it: <evidence>+Firmness: <what would move it again>++## Still unresolved+<contradictions with no current position>+```++## Calibration++If nothing has changed in the period, say so in one line. Manufacturing an+apparent revision from two pages that never disagreed is worse than an empty+result.++Never present the more recent source as correct by virtue of being recent.diff --git a/skills/second-brain-chat-import/SKILL.md b/skills/second-brain-chat-import/SKILL.mdnew file mode 100644index 0000000..f2dd017--- /dev/null+++ b/skills/second-brain-chat-import/SKILL.md@@ -0,0 +1,59 @@+---+name: second-brain-chat-import+description: >-+ Triage an exported chat history into what to ingest, what to archive and what+ to delete, with a privacy pass first. Use this skill when the user has exported+ their Claude or ChatGPT history, asks to import old conversations, or asks what+ in their chat archive is worth keeping. Do NOT use for ingesting a single+ pasted conversation, or for any material the user has not explicitly asked to+ bring into the vault.+---++# Import chat history++Chat history is the most underrated source a person owns and the most sensitive.+It records their reasoning, not just facts, and it also records things they would+not want in a file that gets synced, committed and backed up.++## Core rule++Privacy pass before triage, triage before ingestion. Never ingest an export+wholesale.++## Workflow++1. **Convert** with `scripts/chat_export_to_md.py` into one file per+ conversation, filtering out short exchanges.+2. **Privacy pass.** List conversations touching health, money, other people's+ private information, or confidential work. The user decides; you delete+ nothing on your own.+3. **Triage the rest** into three piles: worth ingesting (they worked something+ out, decided something, or got an explanation that landed), worth archiving+ in `raw/`, and delete.+4. **Report the lists.** Move nothing yet.+5. **On approval, ingest** the first pile, with the instruction that these are+ the user's own thinking: build pages around what they were working out and+ what they concluded, not around the assistant's explanations.++## Output format++```+Converted: <n> conversations (<n> skipped as too short)++Privacy review needed: <n>+ <title> - <why>++Worth ingesting: <n>+ <title> - <what it worked out>++Archive only: <n>+Delete suggested: <n>+```++## Calibration++Expect roughly nine in ten conversations to be throwaway lookups. A triage that+recommends ingesting most of the export has not filtered.++Record dates on every page. A position from two years ago is not a current+belief, and the vault has to be able to tell the difference.diff --git a/skills/second-brain-graph/SKILL.md b/skills/second-brain-graph/SKILL.mdnew file mode 100644index 0000000..1a5d78d--- /dev/null+++ b/skills/second-brain-graph/SKILL.md@@ -0,0 +1,55 @@+---+name: second-brain-graph+description: >-+ Analyse the vault's link graph and report on its shape: orphan rate, average+ degree, components, hubs, bridges and clusters, with what each number means for+ retrieval. Use this skill when the user asks about the health or structure of+ their graph, wants metrics, asks which pages are most connected or most+ isolated, or asks whether the vault is fragmented. Do NOT use for fixing what+ it finds, which is second-brain-lint, or for answering a content question.+---++# Analyse the graph++The graph is the search space every answer is drawn from. Its shape decides+whether retrieval reaches the relevant material in a few hops or reaches nothing.++## Core rule++Report shape and what it means, never fix anything. This skill is read-only.++## Workflow++1. **Run the scripts** rather than reading files: `scripts/vault_stats.py` for+ counts and degree, `scripts/link_check.py` for orphans and breaks,+ `scripts/graph_export.py` when deeper analysis is wanted.+2. **Compute the four metrics:** orphan rate, average degree, component count,+ stale-page rate.+3. **Identify hubs** (pages that have swallowed the graph) and **bridges**+ (pages connecting otherwise separate clusters).+4. **Name the clusters.** These are what the vault is actually about, which is+ reliably different from what the user would say it is about.+5. **Say what each number means** for answering questions, not just the value.++## Output format++```+Pages <n> | links <n> | avg degree <n>+Orphan rate <n>% (healthy under 5)+Components <n> (main holds <n>%)+Stale concepts <n>% (untouched 90+ days)++Hubs: <pages with outsized degree, and whether to split them>+Bridges: <pages connecting clusters, and what breaks if they are wrong>+Clusters: <what the vault is actually about>++What this means: <two or three sentences>+```++## Calibration++Never report page count or word count as a health signal. Both rise whether the+vault is improving or not.++A single reading says little. If the user has recorded previous numbers, compare+against them; if not, suggest recording these.diff --git a/skills/second-brain-merge/SKILL.md b/skills/second-brain-merge/SKILL.mdnew file mode 100644index 0000000..4380da9--- /dev/null+++ b/skills/second-brain-merge/SKILL.md@@ -0,0 +1,51 @@+---+name: second-brain-merge+description: >-+ Merge two pages that describe the same thing, preserving every distinct claim,+ redirecting inbound links, and recording the merge. Use this skill when the+ user approves a duplicate merge, says "these are the same page", "merge X into+ Y", or asks to clean up near-duplicates that a lint run proposed. Do NOT use+ to merge pages on your own judgement, to delete a page outright, or to split+ one page into several.+---++# Merge duplicate pages++A merge is irreversible in the way that matters: afterwards you cannot tell+which claim came from which page. Two ideas that look identical from their+summaries are often a general case and a specific one.++## Core rule++Never merge unprompted. Propose, wait for approval, then follow the procedure+exactly.++## Workflow++1. **Pick the survivor** by canonical name, not by which page is longer.+2. **Merge content.** Every distinct claim survives with its source. Overlapping+ claims collapse; differing ones both stay, following the contradiction rules.+3. **Merge aliases,** including the dead page's title as an alias on the+ survivor. This is what keeps old links and the user's memory working.+4. **Redirect inbound links** to the survivor. Check every backlink.+5. **Delete the old page,** or leave a stub only if it was linked from outside+ the vault.+6. **Record in `log.md`:** both names, the date, and why.++## Output format++```+Merged: [[old]] -> [[survivor]]+Claims kept from old page: <n>+Aliases added: <list>+Inbound links redirected: <n>+Conflicts recorded: <none | description>+```++## Calibration++If the two pages disagree about anything factual, that is a signal they may not+be duplicates. Surface the disagreement and ask before proceeding.++Never merge a page marked `maintained_by: human` into another without explicit+confirmation naming that page.diff --git a/skills/second-brain-metrics/SKILL.md b/skills/second-brain-metrics/SKILL.mdnew file mode 100644index 0000000..3da6a3c--- /dev/null+++ b/skills/second-brain-metrics/SKILL.md@@ -0,0 +1,50 @@+---+name: second-brain-metrics+description: >-+ Record a dated snapshot of the vault's health numbers and compare against+ previous snapshots so trends are visible. Use this skill for a monthly or+ quarterly check, when the user asks whether the vault is improving, or asks to+ track its numbers over time. Do NOT use for a one-off graph analysis, which is+ second-brain-graph, or for structural repairs.+---++# Record metrics++A single reading tells you almost nothing. Direction over months is the+information, and nobody remembers what last quarter's orphan rate was.++## Core rule++Four numbers, appended to a dated log, compared against the last entry. Never+page count or word count.++## Workflow++1. **Run** `scripts/vault_stats.py` and `scripts/link_check.py`.+2. **Record:** orphan rate, average degree, component count, stale-concept rate,+ with the date and total pages for context.+3. **Append** to the metrics note. Never overwrite previous entries.+4. **Compare** against the last snapshot and name what moved.+5. **Interpret only what changed.** A stable number needs no commentary.++## Output format++```+<date> | pages <n>+orphan rate <n>% (<+/-n> since <date>)+avg degree <n> (<+/-n>)+components <n> (main <n>%)+stale concepts <n>% (<+/-n>)++Moved: <what changed and the likely cause>+Watch: <the one number to fix, or none>+```++## Calibration++A rising orphan rate with a rising page count means ingestion has stopped+linking. That is the single most important pattern in this report and it should+be called out explicitly, not left in the numbers.++Do not recommend more than one thing to fix. A metrics report with five action+items gets ignored.diff --git a/skills/second-brain-privacy/SKILL.md b/skills/second-brain-privacy/SKILL.mdnew file mode 100644index 0000000..8f50c9f--- /dev/null+++ b/skills/second-brain-privacy/SKILL.md@@ -0,0 +1,49 @@+---+name: second-brain-privacy+description: >-+ Audit the vault for material that should not be in it: credentials, other+ people's private information, confidential work, and anything the user would+ not want synced or backed up. Use this skill when the user asks about privacy,+ is about to share or sync the vault, has just imported chat history or meeting+ notes, or asks what is sensitive in their notes. Do NOT use to delete anything+ on your own, or as a substitute for the publishing check.+---++# Audit privacy++A mature vault is one of the highest-signal documents about a person that+exists, and it lives in a folder that gets synced, committed, backed up and+occasionally shared. Every copy is another place the content exists.++## Core rule++Find and report. Delete nothing without an explicit instruction naming what to+remove.++## Workflow++1. **Scan for credentials:** API keys, tokens, passwords, connection strings.+ Check `.obsidian/plugins/` too, where plugin data lives.+2. **Find other people's information:** meeting transcripts, personal messages,+ anything told in confidence, health or financial detail about someone else.+3. **Find confidential work:** material under NDA or employer restriction.+4. **Check the git remote.** Private material in a public repo is the most+ expensive version of this problem.+5. **Report by severity,** with the specific file and why.++## Output format++```+Critical: <credentials, must be removed and rotated>+High: <other people's private information>+Review: <material the user should decide about>+Repo visibility: <public | private> - <verdict>+```++## Calibration++Never quote the credential itself in the report. Name the file and the type.++Redaction after ingest is unreliable, because material has already propagated+into concept pages and links. When something should not be there, say what else+would need removing with it.diff --git a/skills/second-brain-project/SKILL.md b/skills/second-brain-project/SKILL.mdnew file mode 100644index 0000000..4e2107e--- /dev/null+++ b/skills/second-brain-project/SKILL.md@@ -0,0 +1,53 @@+---+name: second-brain-project+description: >-+ 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. Use this skill when the user starts something new they will work on+ over time, says "create a project", "set up a folder for X", or asks to define+ the goal and structure of ongoing work. Do NOT use for one-off tasks, for wiki+ pages about a topic, or for scoping an existing project down to work in it.+---++# Set up a project++The knowledge layer answers what you know. The project layer answers what you+are doing this week. Merging them fills a wiki with dead task lists and buries+working files under conceptual notes.++## Core rule++One goal per project, stated in its own `CLAUDE.md`. A project with three goals+is three projects.++## Workflow++1. **Interview if needed.** What this produces, for whom, by when, and what the+ agent's role is. Vague answers produce a file that makes every future session+ worse.+2. **Create the folders:** `Inputs/`, `Process/`, `Outputs/`, `Feedback/`.+3. **Write the project `CLAUDE.md`:** what this is, the one goal with a date,+ your role, working rules, current state. Name what the agent should not do+ here as well.+4. **Link the knowledge layer.** Find concept pages the project depends on and+ reference them from the project file. Copy into `Inputs/` only the few that+ genuinely matter.+5. **Register it** in the root `CLAUDE.md` project list.++## Output format++```+Project: <name>+Goal: <one measurable outcome with a date>+Folders created: Inputs, Process, Outputs, Feedback+Concept pages linked: <list>+Agent role: <one line>+```++## Calibration++`Feedback/` is the folder people skip and the one that makes the system improve.+If the user has no idea what would go in it, that is worth surfacing: it usually+means the goal is not measurable yet.++Do not create a project for work that finishes this week. That is a task.diff --git a/skills/second-brain-publish/SKILL.md b/skills/second-brain-publish/SKILL.mdnew file mode 100644index 0000000..d15357f--- /dev/null+++ b/skills/second-brain-publish/SKILL.md@@ -0,0 +1,49 @@+---+name: second-brain-publish+description: >-+ Prepare a subset of the vault for publishing: check opt-in flags, find private+ material, and report what would leak through links before anything is exported.+ Use this skill when the user wants to publish notes as a site or digital+ garden, asks what is safe to make public, or is setting up an export. Do NOT+ use for exporting a single document, or for running the publishing tool itself.+---++# Prepare to publish++Once something is crawled, it is out. Every check here is cheap; the failure it+prevents is permanent.++## Core rule++Explicit opt-in only. A page publishes because it says `publish: true`, never+because nothing excluded it.++## Workflow++1. **List the opt-in set.** Every page marked for publication.+2. **Follow their links.** A published page linking to a private one either+ leaks the title or produces a dead link. Report both.+3. **Scan for anything that should never ship:** credentials, other people's+ private information, confidential work, personal detail in examples.+4. **Check the frontmatter** for fields not meant to be public, such as+ confidence labels or private source paths.+5. **Report, do not export.** The user runs the build.++## Output format++```+Publishable: <n> pages+Links to unpublished pages: <n>+ [[public page]] -> [[private page]]+Flagged content: <list with reasons>+Frontmatter to strip: <fields>+Verdict: <safe to build | fix these first>+```++## Calibration++Err toward flagging. A false positive costs the user ten seconds; a miss is+permanent.++If the user asks to publish the whole vault, ask what they intend to do about+the private material rather than proceeding.diff --git a/skills/second-brain-quiz/SKILL.md b/skills/second-brain-quiz/SKILL.mdnew file mode 100644index 0000000..64c28e4--- /dev/null+++ b/skills/second-brain-quiz/SKILL.md@@ -0,0 +1,54 @@+---+name: second-brain-quiz+description: >-+ Generate questions from the user's own concept pages so they can find out what+ they saved but never learned, and compare their answers against what the pages+ say. Use this skill when the user wants to test themselves, revise, make+ flashcards from their notes, or asks what they have forgotten. Do NOT use for+ generic quizzing on a topic the vault does not cover, or for answering a+ question from the vault.+---++# Quiz from your own pages++Reading something is not learning it. A vault of well-written pages nobody+revisits is a library, and libraries do not make anyone knowledgeable.++## Core rule++Questions come from the user's pages, at the depth those pages record. Never+from general knowledge about the topic.++## Workflow++1. **Pick the scope:** a topic, a cluster, or pages updated recently.+2. **Write questions of two kinds:** recall of what the page states, and+ application of the idea to a new case.+3. **Withhold answers** until the user has attempted them.+4. **Grade against the page, not against what is true.** If they answered+ correctly but the page says otherwise, that is a page problem worth+ surfacing.+5. **Report the gaps:** which pages they could not answer from. Those are things+ saved and never learned.++## Output format++```+<n> questions from <n> pages++1. <question>+...++[after answers]+Solid: <topics>+Shaky: <topics, with the pages to reread>+Page problems found: <pages that are unclear or wrong>+```++## Calibration++Keep it to a handful of pages that matter. Quizzing everything ever saved is a+job, not a habit.++A page that cannot generate a good application question is usually a page that+records the source's wording rather than an understanding of it. Say so.diff --git a/skills/second-brain-rename/SKILL.md b/skills/second-brain-rename/SKILL.mdnew file mode 100644index 0000000..03a44b1--- /dev/null+++ b/skills/second-brain-rename/SKILL.md@@ -0,0 +1,48 @@+---+name: second-brain-rename+description: >-+ Rename a page safely: update the file, fix every inbound wikilink, add the old+ name as an alias, and log it. Use this skill whenever a page needs a different+ canonical title, the user says "rename X to Y", asks to fix an inconsistent+ title, or after a lint run flags naming problems. Do NOT use for merging two+ pages, for moving a page between folders without a name change, or for+ renaming files outside the wiki.+---++# Rename a page++An agent renaming a file directly is the single most common source of broken+links in an agent-maintained vault. Obsidian fixes links when you rename inside+the app; writing the file directly does not.++## Core rule++A rename is four operations, not one. All four, or none.++## Workflow++1. **Check the new name** against existing pages and aliases. A rename that+ collides with an existing alias creates ambiguity the graph cannot resolve.+2. **Rename the file** and update the `title` in frontmatter.+3. **Add the old title to `aliases`.** This keeps external references, the+ user's memory, and any link you miss working.+4. **Update every inbound link.** Search the whole vault, including `index.md`.+5. **Log it:** old name, new name, links updated.+6. **Verify** with a link check.++## Output format++```+Renamed: [[old]] -> [[new]]+Inbound links updated: <n> across <n> pages+Alias added: <old>+Remaining references: <none | list>+```++## Calibration++Do not rename to fix a style preference on a page with many inbound links. The+cost is real and the benefit is cosmetic.++If the correct name is genuinely ambiguous, ask rather than picking. A second+rename is more disruptive than the first.diff --git a/skills/second-brain-report/SKILL.md b/skills/second-brain-report/SKILL.mdnew file mode 100644index 0000000..ab3d4ee--- /dev/null+++ b/skills/second-brain-report/SKILL.md@@ -0,0 +1,53 @@+---+name: second-brain-report+description: >-+ Produce a research report from the vault: scope the question against existing+ pages, name the gaps, and write findings with citations, disagreements and+ limits. Use this skill when the user asks for a research report, a deep write-up+ on a topic, or wants to understand a subject thoroughly using what they have+ collected. Do NOT use for a quick answer from the vault, for drafting an+ article in the user's voice, or for summarising a single source.+---++# Write a research report++A report that presents only findings looks stronger and is less useful, because+the reader cannot tell where it is load-bearing and where it is thin.++## Core rule++Scope against the vault first. Most of the work in a good report is knowing what+you do not need to look up.++## Workflow++1. **Inventory what exists.** Which pages cover this, what is thin, what is+ missing entirely. That answer is the research plan.+2. **Report the gaps before writing,** so the user can decide whether to ingest+ more first.+3. **Write from pages, citing pages.** Every claim traces to a source page with+ a URL behind it.+4. **Record disagreement** where sources conflict, with dates and who says what.+5. **State what could not be established** and what evidence would change the+ conclusion.+6. **Save to `output/`** and offer to ingest it back as a source.++## Output format++```+## Question+## What the vault covers (with [[page]] citations)+## Where sources disagree+## What I could not establish+## What would change this+## Pages read: <list>+```++## Calibration++If the vault covers less than half the question, say so at the top rather than+producing a report that reads as complete.++Never fill a gap from general knowledge without labelling it as outside the+vault. A report whose sources cannot be checked is worth less than a short one+that can.diff --git a/skills/second-brain-transcript/SKILL.md b/skills/second-brain-transcript/SKILL.mdnew file mode 100644index 0000000..315b274--- /dev/null+++ b/skills/second-brain-transcript/SKILL.md@@ -0,0 +1,55 @@+---+name: second-brain-transcript+description: >-+ Clean a raw transcript before ingestion: punctuate, paragraph, label speakers,+ fix mistranscribed technical terms, and split long recordings by topic. Use+ this skill when the user drops an auto-generated transcript, subtitle file,+ podcast or lecture transcript, meeting recording text, or asks to process a+ video or audio source. Do NOT use for text that is already prose, for+ summarising a transcript, or for the ingestion itself.+---++# Clean a transcript++Concept pages built from unpunctuated caption dumps are noticeably worse,+because the model spends its attention reconstructing sentence boundaries+instead of understanding claims.++## Core rule++Clean, never summarise. Nothing is cut. This is a formatting pass on the record,+and the record has to stay faithful.++## Workflow++1. **Punctuate and paragraph.** Sentence boundaries first, then paragraphs at+ topic shifts.+2. **Label speakers** where they change. In an interview this is most of the+ value.+3. **Fix technical terms.** Auto-captions mangle proper nouns and jargon+ consistently. Flag anything you could not resolve rather than guessing.+4. **Keep coarse timestamps** every few minutes, so a claim on a wiki page can+ be verified in ten seconds instead of a rewatch.+5. **Propose split points** if the recording covers separate topics. A+ three-hour podcast is not one source.+6. **Write frontmatter:** title, channel or speaker, URL, date.++## Output format++The cleaned transcript, then:++```+Cleaned: <source>+Speakers labelled: <n>+Terms corrected: <list>+Uncertain: <list of what could not be resolved>+Suggested splits: <topics with timestamps, or none>+```++## Calibration++Never drop filler that carries meaning, such as hedging or a speaker correcting+themselves. Those are exactly what distinguish a claim from an aside.++If the transcript is too garbled to clean reliably, say so and recommend+re-pulling it rather than producing a plausible reconstruction.diff --git a/skills/second-brain-write/SKILL.md b/skills/second-brain-write/SKILL.mdnew file mode 100644index 0000000..a4d5364--- /dev/null+++ b/skills/second-brain-write/SKILL.md@@ -0,0 +1,52 @@+---+name: second-brain-write+description: >-+ Draft from the vault: outline from concept pages, keep citations to the user's+ own sources, and surface where their material disagrees. Use this skill when+ the user wants to write an article, post, essay or newsletter based on what+ they have collected, or asks what they could write about a topic. Do NOT use+ for research reports, for writing with no grounding in the vault, or for+ editing text the user wrote themselves unless asked.+---++# Write from the vault++The research is already done, cited and connected. What is left is the argument,+and that is the part the user should keep.++## Core rule++Assemble structure and evidence. Do not hand back finished prose as if it were+theirs.++## Workflow++1. **Find the relevant concept pages** and say what they collectively argue.+2. **Surface the disagreements.** These are where the user has something to say+ that is not the consensus view, and they are the most useful part of the+ outline.+3. **Build the outline** from pages, each point tied to the page behind it.+4. **Mark the weak points:** claims resting on one source, self-reported+ figures, anything the vault flags as unverified.+5. **Draft only if asked,** and say plainly that the phrasing is a first pass to+ be rewritten in their voice.+6. **Offer to ingest the finished piece** back as a source once published.++## Output format++```+Angle: <what this piece argues that the sources do not individually>+Outline:+ 1. <point> - [[page]], [[page]]+Weak points: <claims with thin support>+Missing: <what would strengthen it>+```++## Calibration++If every point in the outline comes from one page, this is a summary of that+page, not an article. Say so.++Never introduce a specific number or quote that has no source page behind it.+That is the failure mode of writing with a model, and in a cited piece it is+the one that costs the most.