本文へスキップ
Skillpedia
エージェント6.3k · #14347

evaluate

できること

完成した実行結果を、それを作るために使った仕様と照らし合わせて検証します。テストが通ったことだけでなく、作業が本当に終わったことの証明がほしい人向けです。

使う場面

  • ✓完成した作業が受け入れ基準を満たしているか確認したいとき。
  • ✓ある結果を、仕様と照らして独立に確認したいとき。
  • ✓以前の実行が却下され、まだ何を直す必要があるかを知りたいとき。

スキルのリンク

https://github.com/Q00/ouroboros/blob/main/skills/evaluate/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/Q00/ouroboros/blob/main/skills/evaluate/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“完成した実行を仕様と照らし合わせて確認し、まだ満たされていない受け入れ基準を教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

スキルは、まずlint、ビルド、テストなどの機械的なチェックを実行します。そのあと、結果を各基準と照らしてレビューし、答えが確かでない場合は別のモデルにセカンドオピニオンを求めることがあります。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

/ouroboros:evaluate

Evaluate an execution session with the three-stage verification pipeline.

/ouroboros:evaluate <session_id> [artifact]

Stage authority

  1. Mechanical (lint, build, test, static analysis, coverage; no model cost): the only stage that can grant approval. At least one configured check must run and all must pass.
  2. Semantic (AC compliance, goal alignment, drift): advisory. Can withhold approval and give feedback; cannot grant it.
  3. Consensus (multi-model, only on uncertainty or request): advisory. A rejection withholds approval; an approval cannot grant it or lift a Stage 2 block.

Without an executed Stage 1 check the outcome is acceptance_state: unverified (not approved), with the model review attached as feedback.

Instructions

Loading MCP tools (deferred-schema guard)

Ouroboros tools may be deferred, and a schema loaded on one turn can unload by the next. Immediately before each ouroboros_* call, load it with the active runtime's tool-discovery capability: "+ouroboros evaluate" for ouroboros_start_evaluate; "+ouroboros job" for ouroboros_job_wait, ouroboros_job_status, and ouroboros_job_result. A call whose schema is not loaded fails with "Invalid tool parameters". If the tool is already callable, discovery is a no-op and an empty result is expected. Use the fallback only when the tool is genuinely absent.

Steps

  1. Session: use the given session_id, else the most recent execution session id in the conversation.
  2. Artifact: a file the user names (read it with the active runtime's inspect_code capability), else recent execution output; ask with ask_user if unclear. 2.5. Acting verification (behavior-bearing work): Stage 1 already runs build/test, so go further when the runtime can act. Run the result and observe the real effect (command output with run_shell, the endpoint's response, the rendered UI) instead of reasoning over the diff, ideally in one verification child via orchestrate_subagents, or inline when spawning is restricted. Probe the ACs against observed behavior and the adversarial classes (misleading_output, hung_command, stale_state, dirty_worktree, ...). Put the captured evidence (commands, outputs, artifact paths) into artifact. If the runtime cannot act, say behavior was not observed.
  3. Start the background evaluation so a rejected verdict can continue through the configured Ralph chain:
    Tool: ouroboros_start_evaluate
    Arguments:
      session_id: <session ID>
      artifact: <the code/output to evaluate, plus observed-behaviour evidence from 2.5>
      seed_content: <original seed YAML, if available>
      acceptance_criterion: <specific AC to check, optional>
      artifact_type: "code"  (or "docs", "config")
      working_dir: <absolute project root, recommended>
      trigger_consensus: false  (true if user requests Stage 3)
      auto_evolve: <optional override; omit to use execution.auto_evolve>
    
    working_dir sets both Stage 1 command execution and Stage 2 source visibility; pass the absolute project root whenever known.
  4. Observe the job: the start result carries the observer contract in response.meta.job_observer and in a final <!-- ouroboros-job-observer-v1 base64 ... --> content sentinel. If the structured meta is missing, recover the contract from the sentinel and fail closed unless there is exactly one sentinel at the end of the text, its bounded payload decodes to an object whose only key is job_observer, that contract passes canonical v1 validation (it equals, field for field, the v1 contract the server builds from its own job_id, cursor, session_id, execution_id, and follow_result_job_keys), its job identity matches the visible start receipt, and it does not differ from any structured contract; never rebuild it from visible IDs. With a valid contract, hand it unchanged to exactly one read-only observer child; its instructions already follow chained_ralph_job_id through follow_result_job_keys, and the main session must not poll the same job. Without a child session, catch up with ouroboros_job_status / ouroboros_job_result on the next turn or an explicit status request, and wait live with ouroboros_job_wait only when the user asked to watch. Present the convergence outcome only after any chained Ralph job is terminal. chained_ralph_skipped: seed_unavailable means no Seed was available: keep the rejected verdict and say continua
よくある質問

テストが通っただけで承認されますか?

承認できるのは機械的なチェックだけで、少なくとも1つのチェックが実行され、通っている必要があります。

結果が却下されたらどうなりますか?

自動進化が有効なら、仕様のある却下された結果は修正のループに続くことがあります。

セッションIDが必要ですか?

はい。実行のセッションIDを渡します。成果物を追加することもできます。

詳細

作者による元の説明

Use when the user wants proof that finished work meets its acceptance criteria, not just that tests pass: 'verify it is actually done', 'check it against the spec', 'evaluate the run'. Runs mechanical checks, a semantic review per criterion, and multi-model consensus when uncertain. With execution.auto_evolve on (the default), a rejected result with a Seed continues into a Ralph fix loop; pass auto_evolve: false to verify only.

repo: Q00/ouroboros

人気

GitHubのスター
6.3k
ランキング
#14347
ライセンス
MIT
更新日
2026/11/1

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル