context-audit
Audit an agent's context layout against the four places: system prompt, tools, history, tail. Use when the user asks to audit,…
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
Claude Code
$ npx -y skills add undefined-ui/second-brain-os --skill second-brain-privacy --agent claude-code
Codex
$ npx skills add undefined-ui/second-brain-os --skill second-brain-privacy -a codex -y
Cursor
$ npx skills add undefined-ui/second-brain-os --skill second-brain-privacy -a cursor -y
Gemini CLI
$ npx skills add undefined-ui/second-brain-os --skill second-brain-privacy -a gemini-cli -y
GitHub Copilot
$ npx skills add undefined-ui/second-brain-os --skill second-brain-privacy -a github-copilot -y
OpenCode
$ npx skills add undefined-ui/second-brain-os --skill second-brain-privacy -a opencode -y
Windsurf
$ npx skills add undefined-ui/second-brain-os --skill second-brain-privacy -a windsurf -y
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.
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.
Find and report. Delete nothing without an explicit instruction naming what to remove.
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.
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>
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.
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,…