skills/autonomous/SKILL.md
Execute tasks using Claude Code CLI in autonomous mode. Handles single prompts and multi-step TODO lists with iterative review, commit, and push. Use when running autonomous Claude execution from Codex CLI.
npx skillsauth add krystophny/prompts autonomousInstall 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.
Execute tasks using Claude Code CLI in autonomous mode. Handles both single prompts and multi-step TODO lists, with iterative review, commit, and push after each completion.
This command is invoked FROM Codex CLI. All execution logic is self-contained here.
User provides an explicit task as a string argument.
Example: /autonomous "Add error handling to the parser module"
The command will:
claude CLI invocation with promptUser provides path to markdown file or GitHub issue with actionable TODO items.
Example: /autonomous tasks/refactor-module.md or /autonomous 42
The command will:
TASK_INPUT (required): One of:
MISSION_CLASS (optional): implementation, review, refactor, etc.
Automatically detect input type:
Prepare Context
git rev-parse --abbrev-ref HEADgit status --shortExecute Claude CLI
claude --print --dangerously-skip-permissions "{{prompt}}"
Capture stdout, stderr, and exit code
Note: --print enables non-interactive mode, --dangerously-skip-permissions bypasses all permission checks
Parse Results
Review Against CLAUDE.md
Apply Fixes
Git Operations
git add . or git add -AReport
Initialize
gh issue view)For Each TODO Item (loop until complete)
a. Prepare Item Context
b. Execute via Claude CLI
claude --print --dangerously-skip-permissions "{{item_text}}
Context:
- Completed: {{completed_items}}
- Remaining: {{remaining_items}}
- Constraints: All CLAUDE.md standards apply
"
c. Capture and Validate
d. Review Against CLAUDE.md
e. Apply Fixes
f. Update TODO Document
g. Git Operations
h. Report Progress
Completion
claude --print --dangerously-skip-permissions "{{prompt}}"
claude --print --output-format json --dangerously-skip-permissions "{{prompt}}"
claude --print --output-format stream-json --dangerously-skip-permissions "{{prompt}}"
claude --print --permission-mode bypassPermissions "{{prompt}}"
claude --print --dangerously-skip-permissions --model sonnet "{{prompt}}"
claude --print --dangerously-skip-permissions --continue "{{prompt}}"
After every execution (single or per TODO item), review ALL changes:
git add . - forbidden!)When review identifies issues:
Categorize Issues
Apply Fixes
Re-validate
Document
Always follow this exact sequence:
Check Status
git status --short
Stage Files Explicitly
# CORRECT:
git add src/module.f90 test/test_module.f90 tasks/refactor.md
# FORBIDDEN:
git add .
git add -A
git add --all
Commit with HEREDOC
git commit -m "$(cat <<'EOF'
Brief summary of changes
Details:
- Specific change 1
- Specific change 2
Evidence: tests pass (fpm test output)
EOF
)"
Push Immediately
git push
If Claude CLI execution fails:
Capture Full Context
Assess Resolvability
Attempt Fix (if possible)
Escalate (if unresolvable)
Key distinction:
/codex: Runs FROM Claude Code, uses Codex CLI, delegates to codex agent/autonomous: Runs FROM Codex CLI, uses Claude Code CLI, self-contained logicBoth commands support dual modes (single prompt / TODO list) with identical autonomous execution guarantees and review standards.
data-ai
Delegate a bulk-work subtask to the local Qwen via one-shot pi run. Use when the subtask is high-volume but low-complexity (file scans, log parsing, large-text summaries, repetitive transforms) so it should not burn parent-model tokens.
development
Delegate a bulk-work subtask to the local Qwen via one-shot opencode run. Use when the subtask is high-volume but low-complexity (file scans, log parsing, large-text summaries, repetitive transforms) so it should not burn parent-model tokens.
development
ETL pipeline that imports manually-downloaded Discord, LinkedIn, and WhatsApp archive ZIPs into the user's brain vaults as plain files (no APIs, no tokens, no daemons). Use when the task involves processing or querying a Discord/LinkedIn/WhatsApp data export.
tools
The user's email, contacts, personal tasks/todos, and full-CRUD Google + EWS calendars. Drives the sloptools CLI (same surface as the sloppy MCP on 127.0.0.1:9420). Use for mail (Gmail / Exchange-EWS / IMAP — list, read, send, reply, forward, flag, categorize, server-side filters, delegated mailboxes, out-of-office), calendar events (create / update / delete / RSVP / freebusy / ICS export across work + private accounts), contacts and contact groups, tasks (Google Tasks, Todoist), slopshell canvas, agent handoffs, and workspace items/artifacts/actors/triage.