agentleFS
HighwayofLifeHighwayofLife/agent-kaizen/skills/autonomy/SKILL.md

autonomy

Skill1 starsChanged 32 days agoMITView on GitHub

Show or set how autonomously Agent Kaizen skills apply changes: propose (default), safe, or auto (alias yolo).

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Not in Claude Code?: Read docs/hosts.md in the plugin root first.

    line 11
  2. Very specific:

    Never set bypassPermissions and never add broad allow rules.

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Set the autonomy mode

Plugin root: ${CLAUDE_PLUGIN_ROOT}. If that is still a ${...} placeholder, use the folder that contains skills/ (this file is skills/<name>/SKILL.md), and substitute that path, in quotes, wherever this skill uses CLAUDE_PLUGIN_ROOT. Not in Claude Code? Read docs/hosts.md in the plugin root first. Skip steps that only work in Claude Code, and follow its propose-only rule before changing any host configuration.

The rules for each mode are in ${CLAUDE_PLUGIN_ROOT}/docs/autonomy.md. Read it before answering.

Task

  1. No arguments: show the effective mode and where it comes from, checking in order the project docs/kaizen/config.json, then the global agent-kaizen.json in your Claude config dir ($CLAUDE_CONFIG_DIR or ~/.claude), then the default. Then show the three modes in one line each, and stop.
  2. A mode given (yolo means auto): write it to agent-kaizen.json in your Claude config dir ($CLAUDE_CONFIG_DIR or ~/.claude), or to docs/kaizen/config.json with --project. Merge with the keys already there: {"autonomy": "<mode>", "maxChangesPerRun": <N, default 3>, "allowInstalls": <bool, default false>}. Validate the file with jq . <file>. --max N sets maxChangesPerRun; --allow-installs sets allowInstalls to true.
  3. When the mode is safe or auto: tell me plainly, in at most 6 lines, what that means:
    • what will be applied without asking;
    • the hard stops that still ask;
    • that every change is backed up, verified, rolled back if a check fails, and logged in the ledger;
    • /agent-kaizen:undo.
  4. Claude Code permissions: say that tool prompts still apply. Offer, but don't do it without my explicit yes, to help me run with edits auto-accepted:

    • for this session, the acceptEdits permission mode;
    • for the weekly run, ask me, then tell me to run /agent-kaizen:schedule (which uses install-schedule --auto all|none|<dir>).

    Never set bypassPermissions and never add broad allow rules.

This skill is the only place the autonomy setting changes. Other skills never change it, in any mode.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.