基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jleechanorg/claude-commands --skill autor-bench-eloop命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
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.
| name | autor-bench-eloop |
| description | Run the autor research and SWE-bench benchmark loop. |
Loop interval: 30m | Max duration: 12h (24 iterations)
Drive the autor research + benchmarking pipeline: run run_autor_experiment.py for technique comparison, evaluate against SWE-bench, and build the bandit state for technique selection.
run_autor_experiment.py exists and passes python3 -m py_compile~/.swes/ai_orch accessible at ~/worktrees/pr6270-swebench/orchestration/tmux list-sessions for autor-* sessions)technique_bandit/bandit_state.json readable# Check active autor runs
tmux list-sessions 2>/dev/null | grep -E "autor-|swebench-" || echo "no active sessions"
# Check latest score files
ls -t research-wiki/scores/SR-*.json 2>/dev/null | head -5
# Check SWE-bench eval status
ls -t ~/.swes/eval_results/ 2>/dev/null | head -3 || echo "no eval results yet"
# Check bandit state
python3 -c "import json; d=json.load(open('technique_bandit/bandit_state.json')); [print(f'{k}: n={v[\"n\"]}, mean={v[\"mean\"]:.2f}') for k,v in d['techniques'].items()]"
Primary metric: rubric mean across techniques in bandit_state.json.
Secondary metric: SWE-bench resolution rate (instances solved / total evaluated).
# Compute current technique means
python3 -c "
import json
d = json.load(open('technique_bandit/bandit_state.json'))
for k, v in sorted(d['techniques'].items(), key=lambda x: -x[1].get('mean',0)):
print(f'{k}: n={v[\"n\"]}, mean={v[\"mean\"]:.2f}')
"
# Check SWE-bench results if available
if [ -f ~/.swes/eval_results/latest.json ]; then
python3 -c "import json; d=json.load(open('$HOME/.swes/eval_results/latest.json')); print(f'SWE-bench: {d[\"resolved\"]}/{d[\"total\"]} = {d[\"resolved\"]/max(d[\"total\"],1)*100:.1f}%')"
fi
Decision tree:
run_autor_experiment.py --technique <technique> --prs 6265,6261,6245,6269 --n 1swebench-tester subagentai_orch --agent-cli claude vs run_autor_experiment.py comparisonBased on diagnose, pick ONE of:
python scripts/run_autor_experiment.py --technique SR-multi-exemplar --prs 6265,6261,6245,6269 --n 1python scripts/run_autor_experiment.py --technique SR-prtype --prs 6265,6261,6245,6269 --n 1swebench-tester subagentaiorch-cli-tester subagentAppend to wiki/syntheses/et_logs/eloop_cycles.md:
## YYYY-MM-DD HH:MM cycle
### Quality metric: technique means from bandit_state.json
### SWE-bench: X resolved / Y evaluated
### Live vs computed gap: ±X points
### New runs dispatched: [list]
### Findings: [observations]
touch /tmp/autor_bench_eloop_last_run
6a. Run autor experiment:
cd $HOME/llm-wiki-autor-phase3
python scripts/run_autor_experiment.py --technique <chosen> --prs 6265,6261,6245,6269 --n 1 --outdir research-wiki/scores
6b. Run SWE-bench comparison if dispatched:
Use swebench-tester subagent — runs predictions through SWE-bench harness.
6c. Run ai_orch CLI comparison if dispatched: Compare raw CLI output (claude/codex/gemini via ai_orch) vs autor harness on same SWE-bench instances.
## Autor-Bench Loop Cycle — HH:MM
- Best technique: X @ Y.mean (n=Z)
- Live vs computed: ±X pts
- SWE-bench: X% resolution (N/M)
- Next run: technique=Z
| Metric | Source | Healthy threshold |
|---|---|---|
| SR-multi-exemplar mean | bandit_state.json | >86 (Phase 7 live target) |
| Live vs computed gap | run output vs phase7_results.md | <3 pts |
| SWE-bench resolution | ~/.swes/eval_results/latest.json | >15% (beats SWE-agent) |
# Start the loop (via /loop skill)
/loop 30m /autor-bench-eloop
# Or manually for one cycle
/autor-bench-eloop
scripts/run_autor_experiment.py — deterministic autor harnesstechnique_bandit/bandit_state.json — bandit state + technique scoresresearch-wiki/scores/SR-*.json — score artifactswiki/syntheses/phase7_results.md — Phase 7 synthesis~/.swes/ — SWE-bench evaluation suite~/worktrees/pr6270-swebench/orchestration/ — ai_orch CLI orchestration