Communitygithub.com

自動研究 (Autoresearch)

有狀態的單一任務改進循環,具有嚴格的評估合約、Markdown 決策日誌和最大執行時間停止行為。

自動研究 (Autoresearch) 是什麼?

Autoresearch 是一個狀態化技能,專為有界、由評估器驅動的迭代改進而設計。它一次只掌管一個任務,持續迭代處理未通過評估的結果,並將每次評估和決策記錄為持久化的工件,僅在達到明確的最大執行時間上限或其他明確的終止條件時停止。此技能適用於已經透過 `/deep-interview --autoresearch` 獲得任務和評估器的情境,並確保所有實驗日誌(位於 `.omc/autoresearch/` 目錄下)都是持久的。其合約規定評估器的輸出必須是結構化的 JSON,其中包含必需的布林值 `pass` 和可選的數字 `score`,並且非通過的迭代不會導致運行停止。Claude Code 的原生 Cron 功能被支援作為定期任務增強的整合點,但需保持每個排程作業對應一個任務,並維持相同的任務和評估器合約。執行政策禁止將控制權交回給已棄用的 `omc autoresearch` CLI 流程,也禁止建立多任務協調功能。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Yeachan-Heo/oh-my-claudecode/tree/main/skills/autoresearch

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

<目的> Autoresearch 是一個狀態化技能,專為有界、由評估器驅動的迭代改進而設計。它一次只掌管一個任務,持續迭代處理未通過評估的結果,並將每次評估和決策記錄為持久化的工件,僅在達到明確的最大執行時間上限或其他明確的終止條件時停止。 </目的>

<使用時機>

  • 您已經透過 /deep-interview --autoresearch 獲得任務和評估器
  • 您想要持久的單一任務改進,並附帶嚴格的評估
  • 您需要在 .omc/autoresearch/ 下建立持久的實驗日誌
  • 您希望透過 Claude Code 原生 Cron 功能進行定期重新執行的支援路徑 </使用時機>

<不使用時機>

  • 您需要在執行時生成評估器 — 請先使用 /deep-interview --autoresearch
  • 您需要同時協調多個任務 — v1 禁止這樣做
  • 您想要使用已棄用的 omc autoresearch CLI 流程 — 它不再是權威來源 </不使用時機>

<合約>

  • v1 僅支援單一任務
  • 任務設定和評估器生成保留在 deep-interview --autoresearch 中
  • 評估器輸出必須是結構化的 JSON,包含必需的布林值 pass 和可選的數字 score
  • 非通過的迭代不會停止執行
  • 停止條件是明確且有界的,其中最大執行時間是主要且嚴格的停止鉤子 </合約>

<必要工件> 規範的持久化儲存位於 .omc/autoresearch/<任務代號>/ 和/或 .omc/logs/autoresearch/<執行-id>/ 下。

最低必要工件:

  • 任務規格書
  • 評估器腳本或指令參考
  • 每次迭代的評估 JSON
  • Markdown 決策日誌

建議的規範結構:

.omc/autoresearch/<任務代號>/
  mission.md
  evaluator.json
  runs/<執行-id>/
    evaluations/
      iteration-0001.json
      iteration-0002.json
    decision-log.md

盡可能重用現有的執行時期工件,而非不必要地重複建立它們。 </必要工件>

<工作流程>

  1. 確認存在單一任務,且評估器設定已就緒。
  2. 確保模式/狀態已啟用 autoresearch,並記錄:
    • 任務代號/目錄
    • 評估器參考
    • 迭代次數
    • 開始/更新時間戳
    • 明確的最大執行時間或截止時間
  3. 在每次迭代中:
    • 執行恰好一個實驗/變更循環
    • 執行評估器
    • 持久化機器可讀的評估 JSON
    • 附加一條人類可讀的 Markdown 決策日誌條目
    • 即使評估未通過也繼續執行
  4. 在以下情況停止:
    • 達到最大執行時間上限
    • 使用者明確取消
    • 執行時期記錄了其他明確的終止條件 </工作流程>

<Cron 整合> Claude Code 原生 Cron 功能是支援的定期任務增強整合點。在 v1 中,優先記錄/設定 Cron 輸入,而非建立大型排程器 UI。

若使用 Cron:

  • 每個排程作業保持一個任務
  • 維持相同的任務和評估器合約
  • 附加新的執行工件,而非覆蓋先前的實驗 </Cron 整合>

<執行政策>

  • 不要將控制權交回給 omc autoresearch
  • 不要建立多任務協調功能
  • 在已有 src/autoresearch/* 執行時期/結構輔助工具且其符合更嚴格合約時,優先重用它們
  • 保持日誌對人類有用,而不僅是對機器 </執行政策>

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

agent-doc-discipline

Writing-time discipline for documents agents consume (the five surfaces, specs, tickets, .omc/skills/) — every rule checkable and carrying a why, steps before reference, one meaning in one home, no restating what the environment already says. Mandatory at drydock seed generation and the launch C5 sediment pass; opt-in for any other agent-facing doc edit. The companion of minimal-code-discipline: that one disciplines code, this one disciplines papers.

ai-slop-cleaner

Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode

ask

Process-first advisor routing for Claude, Codex, Gemini, Antigravity, Grok, or Cursor via `omc ask`, with artifact capture and no raw CLI assembly

ask-navigator

Shipyard

autopilot

Full autonomous execution from idea to working code

cancel

Cancel any active OMC mode (autopilot, ralph, ultragoal, swarm, ultrapilot, pipeline, team) and clean up retired legacy state

configure-notifications

Configure notification integrations (Telegram, Discord, Slack) via natural language

debug

Diagnose the current OMC session or repo state using logs, traces, state, and focused reproduction

deepinit

Deep codebase initialization with hierarchical AGENTS.md documentation

deep-interview

Socratic deep interview with mathematical ambiguity gating before explicit execution approval

drydock

Lay the keel of the shipyard harness in any repo — the 4-pillar shared environment (Context, Rules, Tools, Standards) across 5 surfaces (CLAUDE.md, skills, design-system, mcp/cli, shared context) so that every human and agent inherits the same design language and anyone can ship. Run once per repo; re-run with --check to audit drift.

execute

Carry an approved task through to working, verified code

external-context

Invoke parallel document-specialist agents for external web searches and documentation lookup

graph

Deterministic orchestration graph runtime - declarative DAG pipelines with journal-based crash recovery

harbor

Harbor intake for external work — the captain only handles unresolved decisions. Sweeps incoming issues and PRs, verifies every claim before disposition, reuses every decision already made, and hands the maintainer a docket whose pending items each carry one question with options, recommendation, impact and evidence. Agent-autonomous for facts and for actions covered by standing authorization; signed for every new judgment. Never merges.

hud

Configure HUD display options (layout, presets, display elements)

launch

Shipyard

loft

Loft the shape before cutting steel — answer a design question that prose cannot settle by building a throwaway artifact: a pure logic module in a clickable shell, or structurally different UI variants behind one route. The captain reacts to the artifact; the answer folds into the decision; the artifact never docks. Use when a design question stalls in words, when a navigator map carries a loft ticket, or when a spec discussion reaches

minimal-code-discipline

YAGNI-ladder coding discipline for writing changes — existence-first, reuse before writing, dependency ladder, shortest correct diff, with non-negotiables that must never be minimized away

omc-doctor

Diagnose and fix oh-my-claudecode installation issues

相關技能