AGENT SKILL

seed

Generate validated Seed specifications from interview results

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

01 前言 Front Matter

name
seed
mcp_args
{ "session_id": "$1" }
mcp_tool
ouroboros_generate_seed
description
Generate validated Seed specifications from interview results

03 SKILL.md 正文

/ouroboros:seed

Generate validated Seed specifications from interview results.

Usage

ooo seed [session_id]
/ouroboros:seed [session_id]

Trigger keywords: "crystallize", "generate seed"

Instructions

When the user invokes this skill:

Load MCP Tools (Required before Path A/B decision)

The Ouroboros MCP tools are often registered as deferred tools that must be explicitly loaded before use. You MUST perform this step before deciding between Path A and Path B.

  1. Use the ToolSearch tool to find and load the seed generation MCP tool:
    ToolSearch query: "+ouroboros seed"
    
  2. The tool will typically be named mcp__plugin_ouroboros_ouroboros__ouroboros_generate_seed (with a plugin prefix). After ToolSearch returns, the tool becomes callable.
  3. If ToolSearch finds the tool → proceed to Path A. If not → proceed to Path B.

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.

Path A: MCP Mode (Preferred)

If the ouroboros_generate_seed MCP tool is available (loaded via ToolSearch above):

  1. Determine the interview session:

    • If session_id provided: Use it directly
    • If no session_id: Check conversation for a recent ouroboros_interview session ID
    • If none found: Ask the user
  2. Call the MCP tool:

    Tool: ouroboros_generate_seed
    Arguments:
      session_id: <interview session ID>
    
  3. The tool extracts requirements from the interview, calculates ambiguity score, and generates the Seed YAML.

  4. Present the generated seed to the user.

Advantages of MCP mode: Automated ambiguity scoring (must be <= 0.2), structured extraction from persisted interview state, reproducible.

Path B: Plugin Fallback (No MCP Server)

If the MCP tool is NOT available, fall back to agent-based generation:

  1. Read src/ouroboros/agents/seed-architect.md and adopt that role
  2. Extract structured requirements from the interview Q&A in conversation history
  3. Generate a Seed YAML specification
  4. Present the seed to the user

Seed Components

The seed contains:

  • GOAL: Clear primary objective
  • CONSTRAINTS: Hard limitations (e.g., Python >= 3.12, no external DB)
  • ACCEPTANCE_CRITERIA: Measurable success criteria
  • ONTOLOGY_SCHEMA: Data structure definition (name, fields, types)
  • EVALUATION_PRINCIPLES: Quality principles with weights
  • EXIT_CONDITIONS: When the workflow should terminate
  • METADATA: Version, timestamp, ambiguity score, interview ID

Example Output

goal: Build a CLI task management tool
constraints:
  - Python >= 3.12
  - No external database
  - SQLite for persistence
acceptance_criteria:
  - Tasks can be created
  - Tasks can be listed
  - Tasks can be marked complete
ontology_schema:
  name: TaskManager
  description: Task management domain model
  fields:
    - name: tasks
      type: array
      description: List of tasks
    - name: title
      type: string
      description: Task title
metadata:
  ambiguity_score: 0.15

After Seed Generation

On successful seed generation, first announce:

Your seed has been crystallized!

Then check ~/.ouroboros/prefs.json for star_asked. If star_asked is not set to true, use the AskUserQuestion tool with this single question:

{
  "questions": [{
    "question": "If Ouroboros helped clarify your thinking, a GitHub star supports continued development. Ready to unlock Full Mode?",
    "header": "Next step",
    "options": [
      {
        "label": "\u2b50 Star & Setup",
        "description": "Star on GitHub + run ooo setup to enable run, evaluate, status"
      },
      {
        "label": "Just Setup",
        "description": "Skip star, go straight to ooo setup for Full Mode"
      }
    ],
    "multiSelect": false
  }]
}
  • Star & Setup: Run gh api -X PUT /user/starred/Q00/ouroboros, merge {"star_asked": true} into ~/.ouroboros/prefs.json, then read and execute skills/setup/SKILL.md
  • Just Setup: Merge {"star_asked": true} into ~/.ouroboros/prefs.json, then read and execute skills/setup/SKILL.md
  • Other (user provides custom text): Merge {"star_asked": true} into ~/.ouroboros/prefs.json, skip setup

Create ~/.ouroboros/ directory if it doesn't exist. Preserve existing keys such as welcomeShown, welcomeCompleted, and welcomeVersion when updating star_asked:

python3 - <<'PY'
import json, os
path = os.path.expanduser('~/.ouroboros/prefs.json')
os.makedirs(os.path.dirname(path), exist_ok=True)
try:
    with open(path, encoding='utf-8') as f:
        prefs = json.load(f)
    if not isinstance(prefs, dict):
        prefs = {}
except Exception:
    prefs = {}
prefs['star_asked'] = True
with open(path, 'w', encoding='utf-8') as f:
    json.dump(prefs, f, indent=2)
    f.write('\n')
PY

If star_asked is already true, skip the question and just announce:

Your seed has been crystallized!
📍 Next: `ooo run` to execute this seed (requires `ooo setup` first)

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