AGENT SKILL

evaluate

Evaluate execution with three-stage verification pipeline

License 许可
MIT
所属仓库
agisota/old-one
最近更新
2026-07-04
Stars
★ 3
Forks
1

01 前言 Front Matter

name
evaluate
description
Evaluate execution with three-stage verification pipeline

03 SKILL.md 正文

/ouroboros:evaluate

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

Usage

/ouroboros:evaluate <session_id> [artifact]

Trigger keywords: "evaluate this", "3-stage check"

How It Works

The evaluation pipeline runs three progressive stages:

  1. Stage 1: Mechanical Verification ($0 cost)

    • Lint checks, build validation, test execution
    • Static analysis, coverage measurement
    • Fails fast if mechanical checks don't pass
  2. Stage 2: Semantic Evaluation (Standard tier)

    • AC compliance assessment
    • Goal alignment scoring
    • Drift measurement
    • Reasoning explanation
  3. Stage 3: Multi-Model Consensus (Frontier tier, optional)

    • Multiple models vote on approval
    • Only triggered by uncertainty or manual request
    • Majority ratio determines outcome

Instructions

When the user invokes this skill:

Load MCP Tools (Required first)

The Ouroboros MCP tools are often registered as deferred tools that must be explicitly loaded before use. You MUST perform this step before proceeding.

  1. Use the ToolSearch tool to find and load the evaluate MCP tool:
    ToolSearch query: "+ouroboros evaluate"
    
  2. The tool will typically be named mcp__plugin_ouroboros_ouroboros__ouroboros_evaluate (with a plugin prefix). After ToolSearch returns, the tool becomes callable.
  3. If ToolSearch finds the tool → proceed with the MCP-based evaluation below. If not → skip to Fallback section.

IMPORTANT: Do NOT skip this step. Do NOT assume MCP tools are unavailable just because they don't appear in your immediate tool list. They are almost always available as deferred tools that need to be loaded first.

Evaluation Steps

  1. Determine what to evaluate:

    • If session_id provided: Use it directly
    • If no session_id: Check conversation for recent execution session IDs
  2. Gather the artifact to evaluate:

    • If user specifies a file: Read it with Read tool
    • If recent execution output exists in conversation: Use that
    • Ask user if unclear what to evaluate
  3. Call the ouroboros_evaluate MCP tool:

    Tool: ouroboros_evaluate
    Arguments:
      session_id: <session ID>
      artifact: <the code/output to evaluate>
      seed_content: <original seed YAML, if available>
      acceptance_criterion: <specific AC to check, optional>
      artifact_type: "code"  (or "docs", "config")
      trigger_consensus: false  (true if user requests Stage 3)
    
  4. Present results clearly:

    • Show each stage's pass/fail status
    • Highlight the final approval decision
    • If rejected, explain the failure reason
    • Suggest fixes if evaluation fails
    • Always end with a 📍 suggestion based on the outcome:
      • APPROVED: 📍 Done! Your implementation passes all checks. Optional: ooo evolve to iteratively refine
      • REJECTED at Stage 1 (mechanical, code_changes_detected: true): 📍 Next: Fix the build/test failures above, then ooo evaluate — or ooo ralph for automated fix loop
      • REJECTED at Stage 1 (mechanical, code_changes_detected: false): 📍 Next: Run ooo run first to produce code, then ooo evaluate
      • REJECTED at Stage 2 (semantic): 📍 Next: ooo run to re-execute with fixes — or ooo evolve for iterative refinement
      • REJECTED at Stage 3 (consensus): 📍 Next: ooo interview to re-examine requirements — or ooo unstuck to challenge assumptions

Fallback (No MCP Server)

If the MCP server is not available, use the ouroboros:evaluator agent to perform a prompt-based evaluation:

  1. Delegate to ouroboros:evaluator agent
  2. The agent performs qualitative evaluation based on the seed spec
  3. Results are advisory (no numerical scoring without Python core)

Example

User: /ouroboros:evaluate sess-abc-123

Evaluation Results
============================================================
Final Approval: APPROVED
Highest Stage Completed: 2

Stage 1: Mechanical Verification
  [PASS] lint: No issues found
  [PASS] build: Build successful
  [PASS] test: 12/12 tests passing

Stage 2: Semantic Evaluation
  Score: 0.85
  AC Compliance: YES
  Goal Alignment: 0.90
  Drift Score: 0.08

📍 Done! Your implementation passes all checks. Optional: `ooo evolve` to iteratively refine

04 同仓库更多 Skills

agisota
agisota/old-one

zoom-out

Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.

★ 3
agisota
agisota/old-one

zeroize-audit

Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C/C++/Rust code handling secrets, keys, passwords, or other sensitive data.

★ 3
agisota
agisota/old-one

yeet

Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).

★ 3
agisota
agisota/old-one

yara-rule-authoring

Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.

★ 3
agisota
agisota/old-one

x-twitter-growth

X/Twitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X/Twitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.

★ 3
agisota
agisota/old-one

x-api

X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.

★ 3