用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jleechanorg/claude-commands --skill autonomous-execution命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Token-efficient second opinion slash command /advice. Extracts decision point + artifact (≤150 lines), then fans out in parallel: (1) Opus subagent reviewer with fallback chain codex→agy→cursor, (2) /research on the decision topic, (3) /secondo multi-model opinion. Use instead of advisor() which ships the full conversation uncached.
Use this skill when working in repositories managed by Agent Orchestrator or when the user asks how to use `ao` properly. Covers the default AO workflow: bootstrap with `ao start`, dispatch work with `ao spawn`, inspect progress with `ao status` or `ao session ls`, steer sessions with `ao send`, and recover or clean up sessions safely. Includes strict parameter fidelity, pre-spawn cap cleanup, quota-wall fallback, and post-spawn verification.
Generate a full agento PR status report — draft readiness, canonical /green, zero-touch rate, inline display, and Slack summary.
基于 SOC 职业分类
正在显示 SKILL.md
| name | autonomous-execution |
| description | Guidelines for autonomous execution in automation/orchestration contexts |
| type | usage |
| scope | project |
Provide clear guidelines for agents running in autonomous automation contexts (tmux sessions, background agents, orchestration workflows) where human interaction is not available.
Success = Remote commits pushed
In autonomous contexts:
If you encounter unexpected staged changes or modified files after checkout:
# Step 1: Inspect to understand context
git status
git diff --stat
# Step 2: Decide based on context
# - Previous failed run artifacts? → Clean
# - Irrelevant files (.beads/, temp files)? → Clean
# - Related to current PR? → Inspect and integrate
# Step 3: Clean automatically (NEVER ask user)
git reset --hard origin/<branch-name>
git clean -fd
# Step 4: Proceed with task
CRITICAL:
Make autonomous decisions within task scope:
Only ask questions for:
NEVER ask about:
In automation contexts, assume:
/tmp/worldarchitect.ai/pr-*)Therefore:
When encountering issues:
# WRONG: Stop and ask
"I hit an error. Should I retry or abort?"
# RIGHT: Attempt recovery automatically
try_alternative_approach()
if still_fails:
log_error_and_exit_1() # Let orchestration system handle fallback
Only exit 0 if:
Exit 1 if:
NEVER:
# Agent encounters dirty state
git status
# On branch feature-x
# Changes not staged for commit:
# modified: mvp_site/agents.py
# modified: .beads/issues.jsonl
# Agent analyzes context
git diff --stat
# mvp_site/agents.py | 2 +-
# .beads/issues.jsonl | 1 +
# Agent decides: artifacts from previous run, safe to clean
git reset --hard origin/feature-x
git clean -fd
# Agent proceeds with task
gh pr checkout 123
# ... continues fixing PR
# ... makes commits
git push
# ✅ Exit 0 with commits made
# Agent encounters dirty state
git status
# Changes not staged for commit:
# modified: mvp_site/agents.py
# Agent stops and asks
"I hit unexpected local changes. Per instructions, I have to stop.
Do you want me to: 1) keep, 2) stash, 3) discard?"
# ❌ Exit 0 without making commits
# This is a FAILURE in automation context
# Agent fixing PR with multiple test failures
# Analyzes failures
./run_tests.sh mvp_site/tests/test_agents.py
# FAILED: test_faction_enablement (wrong field name)
# FAILED: test_minigame_settings (wrong field name)
# Makes autonomous decisions
# - Both failures: same root cause (factionMinigameEnabled → faction_minigame_enabled)
# - Fix: change all instances to snake_case
# - Tests to run: test_agents.py (directly affected)
# Implements fix
Edit mvp_site/agents.py (change field names)
Edit mvp_site/tests/test_agents.py (change test field names)
# Verifies
./run_tests.sh mvp_site/tests/test_agents.py
# ✅ All tests pass
# Commits and pushes
git add -A
git commit -m "[codex-automation-commit] fix PR #4018: correct field name to faction_minigame_enabled"
git push
# ✅ Exit 0 with commits made
When running autonomously, provide clear logging:
echo "[AUTONOMOUS] Detected dirty state, cleaning automatically"
echo "[AUTONOMOUS] Decided to reset to origin/branch-name"
echo "[AUTONOMOUS] Proceeding with PR fixes after clean"
This helps debugging while maintaining autonomous execution.
In autonomous contexts:
Remember: Automation contexts have no human watching. Asking questions = blocking forever = failure.