plugins/claude-code-expert/skills/cc-autonomy-mode/SKILL.md
--- name: cc-autonomy-mode 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", "gat
npx skillsauth add markus41/claude plugins/claude-code-expert/skills/cc-autonomy-modeInstall 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) |
tools
Build Teams-native agents with the Teams SDK (formerly Teams AI Library v2) — App class, activity routing, adaptive cards, streaming, AI-generated labels, feedback, message extensions, Teams-as-MCP-server, and the bring-your-own-AI pattern with Agent Framework.
tools
Run agents on Microsoft Foundry (formerly Azure AI Foundry) Agent Service — prompt agents vs hosted agents, threads/runs and the Responses API, built-in tools (Bing grounding, code interpreter, file search, MCP, OpenAPI, A2A), connected agents, Entra agent identity, SDKs, and observability/evaluations.
tools
Build and host custom engine agents with the Microsoft 365 Agents SDK — AgentApplication, the Activity protocol, channel reach via Azure Bot Service, hosting Agent Framework or Semantic Kernel engines, and the Agents Toolkit/Playground workflow. Successor to the Bot Framework SDK.
tools
Design, govern, and extend Microsoft Copilot Studio agents — topics, generative orchestration, knowledge, tools and MCP, agent flows, autonomous triggers, publishing channels, Copilot Credits pricing, and solution-based ALM on Power Platform.