agentleFS
SurajGThakkarSurajGThakkar/agent-skills/skills/knowledge-management/second-brain/SKILL.md

second-brain

Skill2 starsChanged 5 months agoMITView on GitHub

Set up, maintain, or operate a personal wiki vault (second brain). Three branches: **Setup**, **Maintain**, **Operate**. Trigger for: "set up my second brain", "lint my wiki", "schedule my vault operator", "check wiki health", "operate my second brain", or any vault bootstrap, maintenance, or operator task — even phrased casually.

15 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    TaskCreate visible: Use TaskCreate to make stages visible to the user on every branch.

    line 21
  2. Very specific:

    Completion: Every phase (Discovery → Scaffold → Interview → Inject → Build → Orient) completed.

    line 32

“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Second Brain

Bootstrap, maintain, or operate an LLM-managed personal wiki using the LLM Wiki at Scale pattern. The LLM incrementally builds a persistent, interlinked wiki from raw sources — knowledge compiled once, kept current, compounding with every ingest.

Three branches. Read the disclosed file before executing.


Shared Rules

  • TaskCreate visible. Use TaskCreate to make stages visible to the user on every branch.
  • Scripts propose, LLM disposes. Deterministic scripts hand clean worklists; the LLM exercises judgment. Never blind-apply script output.
  • Anti-bleed rule. "Lean" applies ONLY to operational files (AGENTS.md, playbooks, scripts). Content generation — ingestion, entity extraction, concept pages — must be relentless: sprawling, exhaustive, granular. A rich source spawns 10-15 pages. If you produce one summary page, you are committing premature completion and stranding knowledge. The schema is lean so the content can be massive.
  • Handoff. Day-to-day ingest and query run through the vault's own AGENTS.md (or CLAUDE.md) playbooks once live — not this skill.

Branch: Setup

When: User wants a new vault, or to continue a partial bootstrap. Read: references/setup.md Completion: Every phase (Discovery → Scaffold → Interview → Inject → Build → Orient) completed. Zero {...} placeholders remaining in generated files. User oriented with core commands and a suggested first action.


Branch: Maintain

When: User asks to lint, health-check, rebuild index, rotate logs, calibrate confidence, or normalize tags. Read: references/maintenance.md Completion: Lint loop exits with zero criticals. Index rebuilt. Log entry appended. Every worklist item accepted, modified, or declined by the user.


Branch: Operate

When: User wants to build or schedule an autonomous wiki-maintenance Operator. Read: references/operator.md Completion: Operator prompt saved with zero {{...}} placeholders. Schedule wired via the schedule skill. User told the cadence and how to manage the trigger. Scope: Pure wiki upkeep, scheduled and unattended — lint, the three safe fixers, index rebuild, log rotation, source-queue and scratch visibility — run locally against the vault with no external connectors and no MCP. It never resolves judgment calls (broken links, contradictions, tag drift) and never auto-ingests; both stay queued for a supervised session. Optionally researches open questions into raw/scratch/ for later review — never into wiki/, and off by default.


Reference Files

Progressive disclosure — load only for the active branch or on demand.

FilePurposeBranch
references/setup.mdFull setup workflow (Phases 0–E)Setup
references/maintenance.mdLint loop, script table, fix patternsMaintain
references/operator.mdOperator build + schedule (Phases 0–4)Operate
references/AGENTS-template.mdSchema template for new vaultsSetup
references/llm-wiki-at-scale.mdArchitecture philosophyAny (on demand)
references/playbooks/*.mdVault playbook templatesSetup
references/formats/*.mdPage/index/log/tag format specsSetup
references/operator-prompt-template.mdRendered wiki-maintenance operator promptOperate

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.