autonomous
Exit copilot mode — return to autonomous mode with full worktree enforcement.
How do I install this agent skill?
npx skills add https://github.com/camacho/ai-skills --skill autonomousIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
The skill instructs the agent to execute a local shell script located in a hidden directory and to adopt behavioral rules from a local markdown file. This creates a potential for arbitrary command execution and indirect prompt injection if the project files are provided by an untrusted source.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Return to Autonomous Mode
Claude Code enforcement only — Codex and Cursor default to autonomous unless a future adapter uses this shared controller. Shared mode controller:
.agents/skills/autonomous/scripts/.
Shared Controller
Mode is a setting with explicit values: autonomous and copilot.
For now, this skill owns the shared mode controller because autonomous is the default and safe fallback value. /copilot is an alias that sets mode=copilot; it should not own separate mode logic.
.agents/skills/autonomous/scripts/mode.shis the sourceable mode facade for all agents and hooks..agents/skills/autonomous/scripts/set-mode.shsetsmode=autonomousormode=copilot.scripts/lib/session-state.shremains project infrastructure because status, detection, bootstrap, and hook code all use it.
Activate
REPO_ROOT="$(git rev-parse --show-toplevel)"
"$REPO_ROOT/.agents/skills/autonomous/scripts/set-mode.sh" autonomous
If the script does not exist, tell the user: "This project doesn't have mode switching scripts. You are already in autonomous mode by default."
Confirmation
After activation, print:
Mode: autonomous
Worktree enforcement active. Full workflow pipeline.
Behavior
Follow autonomous mode rules in .claude/rules/operating-mode.md.
Agents and hooks that need live mode state should source the shared helper or call scripts/session-state get mode; do not read raw mode-state files directly.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/camacho/ai-skills/autonomous">View autonomous on skillZs</a>