Skills for Real Engineers. Straight from my .agents directory.
harness-audit
Agent skill fromundefined-ui/second-brain-os
Audit an agent's harness against the four rings: containment, guides, sensors, permissions. Use when the user asks whether their agent setup is safe, wants a review of sandboxing / permissions / hooks / AGENTS.md guardrails, or asks what a bad session could break. Read-only: reports the blast radius and a hardening list, changes nothing. Do NOT use for context layout (context-audit) or cost routing (gate-check).
How to install harness-audit
npx skills add undefined-ui/second-brain-os# or add only this skill to Claude Code: copy the folder
plugins/agents-course/skills/harness-audit/
# into
~/.claude/skills/harness-audit/ (all projects)
.claude/skills/harness-audit/ (one project)
1# Audit the four rings23Theory: [The four rings](https://secondbrainos.dev/#/read/course-4-harness/the-four-rings)4and [Harness practice](https://secondbrainos.dev/#/read/course-4-harness/harness-practice).5Build from the outside in: containment, guides, sensors, permissions. The6order matters because each ring must hold when every ring inside it fails —7a guide can be ignored, a sensor can miss, an approval can be misclicked;8a wall does not care.910## Core rule1112Report and rank; never harden anything yourself. The audit's one organising13question is the blast radius: describe the worst session possible under the14current setup and what it costs. If the user asks you to apply fixes15afterwards, that is a normal edit session, not this skill.1617## Workflow18191. **Ring one — containment: what can it physically reach?** Where does the20 agent run: the user's checkout or a worktree/container? Which credentials21 are in its environment — a read-only database user or the application's?22 Open internet or an allowlist? Real API keys or test keys? The finding is23 one sentence: "the worst session deletes X and spends Y."242. **Ring two — guides: what does it read before acting?** Find CLAUDE.md /25 AGENTS.md and tool descriptions. Every line should be a rule the agent26 can act on — flag philosophy, history, and anything over roughly a page.27 Flag missing rules for the repo's real landmines (migrations, generated28 files, deploy scripts).29…
Excerpt shown under the repository's MIT license.
More skills in second-brain-os
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
