context-audit
Audit an agent's context layout against the four places: system prompt, tools, history, tail. Use when the user asks to audit,…
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
Claude Code
$ npx -y skills add undefined-ui/second-brain-os --skill second-brain-write --agent claude-code
Codex
$ npx skills add undefined-ui/second-brain-os --skill second-brain-write -a codex -y
Cursor
$ npx skills add undefined-ui/second-brain-os --skill second-brain-write -a cursor -y
Gemini CLI
$ npx skills add undefined-ui/second-brain-os --skill second-brain-write -a gemini-cli -y
GitHub Copilot
$ npx skills add undefined-ui/second-brain-os --skill second-brain-write -a github-copilot -y
OpenCode
$ npx skills add undefined-ui/second-brain-os --skill second-brain-write -a opencode -y
Windsurf
$ npx skills add undefined-ui/second-brain-os --skill second-brain-write -a windsurf -y
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.
The research is already done, cited and connected. What is left is the argument, and that is the part the user should keep.
Assemble structure and evidence. Do not hand back finished prose as if it were theirs.
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.
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>
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.
Guides and resources for AI engineers: a course on building agents, five handbooks that go deep on one layer each, hands-on projects, and the links worth your time.
Audit an agent's context layout against the four places: system prompt, tools, history, tail. Use when the user asks to audit,…
Scaffold a first eval suite for an agent: mine real failures into cases, write behavioural checks over traces, and generate the…
Find the decisions in a pipeline that do not need the expensive model and propose the gate for each: a rule, a classic…
Turn a vague task into a testable definition of done and generate an executable goal-test script for it, optionally with a…
Audit an agent's harness against the four rings: containment, guides, sensors, permissions. Use when the user asks whether their…
Import a large archive into the vault in controlled batches: triage what is worth ingesting, process oldest first, checkpoint…
Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…