plugins/claude-code-expert/skills/autonomy/SKILL.md
--- name: autonomy description: Configure Claude Code's autonomous operating mode — profile selection (conservative, balanced, aggressive, unattended-review), permission blocks, and the three gate agents (planner, verifier, reviewer). Use this skill whenever enabling autonomous mode, switching profiles, tightening permissions for production branches, or setting up unattended execution. Triggers on: "autonomy", "unattended mode", "auto-approve", "permission mode", "autonomy profile", "gates", "/c
npx skillsauth add markus41/claude plugins/claude-code-expert/skills/autonomyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Autonomous mode lets Claude Code execute tasks end-to-end with minimal human-in-the-loop. Safety comes from two things:
Fetch full profile via cc_kb_autonomy_profile(profile). Summary:
| Profile | Risk | Permissions shape | Gates |
|---|---|---|---|
| conservative | Minimal | Read-only default; ask on any write | planner + verifier + reviewer (all enabled, 10 block criteria) |
| balanced | Default | Free writes in project; ask on network/publish/push | planner + verifier; reviewer optional |
| aggressive | High trust | Most tools allowed; deny only destructive | planner only |
| unattended-review | Hybrid | Same as aggressive at runtime; reviewer gates commit/push | planner + reviewer |
All three are installed as regular agents — autonomous mode just wires them into the flow.
autonomy-planner (Opus)When: runs first, before any implementation.
Writes: .claude/active-task.md — explicit plan with:
Hard rule: no code touches disk until .claude/active-task.md exists.
autonomy-verifier (Sonnet)When: runs after each implementation phase.
Reads: .claude/active-task.md verification block.
Runs: 5 built-in checks (configurable via profile):
tsc --noEmit (TypeScript projects)eslint (JS/TS projects)pytest / jest / project test runnergit diff --stat sanity checktrufflehog, gitleaks)Output: { pass: boolean, failures: [...] }. If pass: false, halt and surface to caller.
autonomy-reviewer (Opus)When: runs before commit/push in conservative and unattended-review profiles. Checks 10 block criteria:
.env or credential file addedBREAKING CHANGE: footerTODO or FIXME on a security-relevant lineconsole.log / print of sensitive variablesOutput: { approve: boolean, blocks: [...] }. Any block = stop.
Each profile provides a session_init_command. Example for balanced:
claude --permission-mode acceptEdits --dangerously-skip-permissions=false
For unattended-review:
claude --permission-mode acceptEdits --enable-reviewer-gate
/cc-autonomy enable <profile> generates a settings.json block:
{
"permissions": {
"allow": [ /* from profile */ ],
"deny": [ /* from profile */ ],
"ask": [ /* from profile */ ]
}
}
Merges into existing settings.json without overwriting unrelated sections.
Each profile includes memory discipline. Conservative requires saving every decision (including rejected options). Balanced is lighter. Aggressive is the standard engram protocol.
| Need | Tool |
|---|---|
| Fetch profile details | cc_kb_autonomy_profile(profile) |
| Plan for an unattended task | cc_docs_autonomy_plan(task, repo_signals) |
| Model for gate agents | cc_docs_model_recommend(task, budget) |
development
Enhanced plan-authoring skill with Pre-Writing context gathering, task metadata, non-TDD templates, Red Flags, telemetry, and an automated plan linter. Use when you have a spec or requirements for a multi-step task, before touching code.
tools
Documentation intelligence engine with graph-based API docs, algorithm library, and drift detection
tools
Ultraplan cloud planning — kick off a plan in the cloud from your terminal, review and revise in the browser, then execute remotely or send back to CLI
tools
--- name: mcp description: Configure MCP servers for Claude Code — stdio vs HTTP, authentication, Tools/Resources/Prompts distinction, channels (CI webhook, mobile relay, Discord bridge, fakechat), and cost of always-loaded tools. Use this skill whenever adding an MCP server, debugging connection issues, choosing between MCP Tools vs Prompts vs Resources, installing channel servers, or managing .mcp.json. Triggers on: "MCP server", "mcp config", "add Obsidian MCP", "install context7", "channels"