/claude-code-expert:cc-autonomy-modefrom claude-code-expert
Configures Claude Code's autonomous operating mode with profile selection (conservative, balanced, aggressive, unattended-review), permission blocks, and three gate agents (planner, verifier, reviewer).
Ships in claude-code-expert. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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) |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
autonomy, autonomous-mode, gate-agents, permissions, profiles
21 skills in this plugin
/cc-agentic-patternsSelect and wire an agentic design pattern (reflection, prompt chaining, routing, parallelization, orchestrator-workers, evaluator-optimizer, ReAct, blackboard) into the 5-layer Claude Code stack. Use this skill whenever deciding how to structure a multi-step task, whether to spawn subagents, how to run parallel review, or when to use which pattern. Triggers on: "which pattern", "orchestrate", "parallel review", "self-review", "chain of thought", "eval-optimizer loop", "blackboard", "ReAct", "how to decompose this task"./cc-agent-teamsSelect and coordinate multi-agent teams (topology kits, role-based squads, lifecycle, worktree isolation). Use this skill whenever launching parallel agents, designing a review board, running a debug council, scheduling an orchestrator-workers team, configuring agent tool restrictions, or deciding between solo and team execution. Triggers on: "launch a team", "parallel agents", "review board", "debug council", "architect-implementer-reviewer", "swarm", "multi-agent", "subagents for X", "team topology", "agent lifecycle"./cc-auto-modeAuto mode permission handling — classifier-based approvals, PermissionDenied hook, defer permissionDecision, and autonomy profiles for hands-off Claude Code usage/cc-context-budgetingManage Claude Code's context window — token arithmetic, /compact strategy, anchor preservation, progressive loading, session analytics. Use this skill whenever a session gets long, context approaches limits, after /compact, when deciding what to load into CLAUDE.md vs leave in references, or when analyzing session cost/token usage. Triggers on: "context full", "compact", "too many tokens", "budget", "session analytics", "save tokens", "context window", "/compact strategy"./cc-deep-code-intelligenceEvidence-driven deep analysis for hard coding problems — architecture decisions, root-cause investigation, high-stakes refactor planning, performance bottleneck isolation. Use this skill whenever the user asks for "the best approach", a "deep analysis", "root cause", "principal engineer review", or runs /cc-intel. Also triggers on hard debugging questions, major architectural choices, tricky performance problems, or any task where a hypothesis tree and evidence table matter more than a fast answer./cc-hook-authoringDesign, install, and debug Claude Code hooks across the full lifecycle (PreToolUse, PostToolUse, PostToolUseFailure, UserPromptSubmit, Notification, Stop, SessionStart, SessionEnd, PreCompact, SubagentStart, SubagentStop, TeammateIdle, PermissionRequest, Setup). Use this skill whenever a user asks to "install hooks", "add a pre-tool hook", "format on save", "block dangerous commands", "protect sensitive files", "restore context after compact", "enforce tests before stop", capture subagent telemetry, or runs /cc-hooks. Also triggers on "hooks not firing", "hook keeps blocking", or any configuration of .claude/settings.json hook sections.npx claudepluginhub thelobbi/claude --plugin claude-code-expertOther plugins' skills for the same job