[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H8F0WWXMTDWXQMQYC3PGPW":3,"skill-same:01M6H8F0WWXMTDWXQMQYC3PGPW":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6H8F0WWXMTDWXQMQYC3PGPW","rotifer-agent",null,"Build a Rotifer Agent from Genes — decompose intent into capability units, pick Genes by Arena F(g), compose a Rotifer Genome, create the Agent and test it. Use when the user is working with Rotifer specifically: \"Rotifer Agent\", \"compose Genes\", \"Rotifer Genome\", \"Gene composition\", \"rotifer agent create\". Do NOT use for general agent frameworks, or when the words Seq \u002F Par \u002F Cond \u002F Try appear as ordinary programming terms — in Rotifer those name Genome composition strategies, and this Skill applies only when the user is composing Rotifer Genes.","rotifer-protocol\u002Frotifer-playground","rotifer-protocol","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F262854335?v=4","01M6H88XQBWNQXVGHBCGZZCQVX","Rotifer Protocol","01M6H88XVXE7GHR06H8E1SP311",6,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Frotifer-protocol\u002Frotifer-playground\u002Fblob\u002Fmain\u002Fskills\u002Frotifer-agent\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"rotifer agent","do","capability","agent frameworks","when","with","programming","use","general","frameworks","for","compose","arena","as","decompose","seq","gene","intent","strategies","create","only","pick","Composition","2026-11-10 10:12:30",false,"---\nname: rotifer-agent\ndescription: >-\n  Build a Rotifer Agent from Genes — decompose intent into capability units, pick Genes by\n  Arena F(g), compose a Rotifer Genome, create the Agent and test it.\n  Use when the user is working with Rotifer specifically: \"Rotifer Agent\", \"compose Genes\",\n  \"Rotifer Genome\", \"Gene composition\", \"rotifer agent create\".\n  Do NOT use for general agent frameworks, or when the words Seq \u002F Par \u002F Cond \u002F Try appear as\n  ordinary programming terms — in Rotifer those name Genome composition strategies, and this\n  Skill applies only when the user is composing Rotifer Genes.\n---\n\n# Rotifer Agent — From Genes to Agents\n\nDecompose user intent into capability units, select Genes from the ecosystem, compose a Genome, create and validate an Agent.\n\n## Prerequisites\n\nThis Skill requires the Rotifer CLI:\n\n```bash\nnpx --yes @rotifer\u002Fplayground@0.36.1 --version\nrotifer doctor\n```\n\n`rotifer doctor` checks the TypeScript→WASM toolchain. Composing an Agent from\nNative Genes means compiling them, and without esbuild and javy that step fails\nwith an error that reads like a code problem.\n\nOr use the MCP Server for IDE integration:\n\n```json\n{\n  \"mcpServers\": {\n    \"rotifer\": {\n      \"command\": \"npx\",\n      \"args\": [\"@rotifer\u002Fmcp-server@0.20.0\"]\n    }\n  }\n}\n```\n\n---\n\n**Hierarchy**: Gene (atomic logic) → Genome (composition) → Agent (runnable entity)\n\n---\n\n## Phase 1: Intent Decomposition\n\nBreak the user's goal into independent capability units (each maps to a Gene).\n\n**Steps**:\n\n1. Confirm the Agent's input and expected output with the user\n2. Decompose the task into 2–6 capability units, each satisfying the Gene three axioms (functional cohesion, self-sufficient interface, independently evaluable)\n3. Label each unit with a domain (e.g. `content.grammar`, `security.audit`)\n4. Confirm the decomposition with the user before proceeding to Phase 2\n\n**Output format**:\n\n| # | Capability unit | Domain | Input | Output |\n|---|----------------|--------|-------|--------|\n| 1 | Grammar check | content.grammar | text | issues[], score |\n| 2 | Readability analysis | content.readability | text | grade, suggestions[] |\n\n---\n\n## Phase 2: Gene Selection\n\nMatch existing Genes to each capability unit.\n\n```bash\nrotifer list                                  # what is already in this workspace\nrotifer arena list --domain \u003Cdomain>          # ranked by F(g) within one domain\nrotifer search \u003Ccapability> --domain \u003Cdomain> # the Cloud registry — everyone else's Genes\n```\n\nThe three answer different questions, and skipping the third is how a Genome\nends up built only from what happened to be installed already.\n\n**Selection priority**:\n\n| Priority | Source | Command |\n|----------|--------|---------|\n| 1 | Local Gene with highest Arena rank | `rotifer arena list --domain \u003Cd>` |\n| 2 | Cloud Registry | `rotifer search \u003Ccapability>` → `rotifer info \u003Cref>` → `rotifer install \u003Cref>` |\n| 3 | Doesn't exist, needs creation | Proceed to Phase 3 |\n\nBefore committing a candidate to the Genome, run it on its own — a Gene that\nfails alone will fail inside a pipeline, where the error is much harder to\nlocate:\n\n```bash\nrotifer run \u003Cgene-name> --input '{\"...\": \"...\"}'\n```\n\n`run` checks the input against the Gene's inputSchema before running it and the\noutput against its outputSchema after; a mismatch fails the run and names the\nfield (an input mismatch is `INVALID_INPUT`, and the Gene does not run).\n\nShow the user candidate Genes' F(g) fitness and fidelity, let them confirm the selection.\n\n---\n\n## Phase 3: Gap Filling\n\nIf a capability unit has no existing Gene:\n\n| Approach | When to use | Action |\n|----------|------------|--------|\n| Create Wrapped Gene | External API \u002F Skill available to wrap | Route to `rotifer-gene` Skill (dev module) |\n| Create Native Gene | Pure computation, no external dependencies | Route to `rotifer-gene` Skill (dev module) |\n| Adjust decomposition | Capability unit granularity is wrong | Return to Phase 1 |\n| Merge units | Two units are too coupled, splitting makes the interface awkward | Merge into one Gene |\n\nAfter all Genes are ready, proceed to Phase 4.\n\n---\n\n## Phase 4: Genome Composition\n\nChoose a composition strategy based on relationships between capability units.\n\n### Composition Strategy Decision Table\n\n| Strategy | Semantics | Use when | Example |\n|----------|-----------|----------|---------|\n| **Seq(A, B, C)** | Pipeline: A → B → C | Previous output feeds the next | Check → Fix → Format |\n| **Par(A, B)** | Parallel: run simultaneously | Independent tasks, merge results | Grammar check + Readability analysis |\n| **Cond(p, A, B)** | Branch: if p then A else B | Input characteristics determine path | Chinese → Chinese proofing \u002F English → English proofing |\n| **Try(A, B)** | Fallback: A fails → B | Primary path unreliable | Main API → Backup API |\n| **TryPool(A, B, C)** | Failover: per domain, the active Gene runs; the others are tried one at a time, best running fitness first, only if it fails | Interchangeable implementations of one capability | Main translation service, with backups that take over when it fails |\n\nPar, Cond and Try run in the sandbox on compiled Genes: `rotifer compile` each Gene first. `agent run` refuses them otherwise, rather than running them as Seq.\n\n### Par Merge Strategies\n\nWhen using Par, specify `--par-merge`:\n\n| Strategy | Behavior | Use when |\n|----------|----------|----------|\n| `first` | Take the first completed result | Racing scenario |\n| `concat` | Concatenate all results (array) | Results are complementary |\n| `merge` | Deep-merge objects | Same structure, merge fields |\n\n### Seq Schema Compatibility\n\n> In a Seq, each Gene's output is the next Gene's input, so every field the next Gene's inputSchema requires must be in the previous Gene's outputSchema. `rotifer agent create` compares them and prints a warning such as `FAIL — missing: [text]`, but still creates the Agent; run it anyway and a Gene can get empty input and return empty output without an error.\n>\n> **Treat the warning as a blocker**: choose Genes whose fields meet, or put a Gene in between that turns one shape into the other.\n\n### Nested Composition\n\nNot supported yet. An Agent has one top-level strategy: `agent create` writes only that, and `agent run` reads only that, so `Seq(Par(A, B), C)` cannot be expressed. To get close, run `Par(A, B)` as one Agent and pass its output to C yourself.\n\n---\n\n## Phase 5: Agent Creation\n\nExecute creation after confirming the composition plan.\n\n### Manual Gene Selection\n\n```bash\nrotifer agent create \u003Cname> \\\n  --genes \u003Cgene1> \u003Cgene2> \u003Cgene3> \\\n  --composition \u003CSeq|Par|Cond|Try|TryPool> \\\n  --par-merge \u003Cfirst|concat|merge>\n```\n\n### Auto-select Genes (by domain ranking)\n\n```bash\nrotifer agent create \u003Cname> \\\n  --domain \u003Cdomain> \\\n  --top \u003Cn> \\\n  --composition \u003Cstrategy>\n```\n\nAfter creation, verify the Agent configuration file `.rotifer\u002Fagents\u002F\u003Cname>.json` is correct.\n\n---\n\n## Phase 6: Test Run\n\n```bash\nrotifer agent list\nrotifer agent run \u003Cname> --input '{\"text\": \"Test input content\"}'\n```\n\n`rotifer agent list` shows every Agent in the workspace with its state and\ngenome — use it to confirm the Agent was created with the Genes you intended\nbefore running it, and to recover the exact name when a run reports \"agent not\nfound\".\n\n**Validation checklist**:\n\n- Does the output structure match the expected schema?\n- Were all Genes executed? (check logs)\n- Is schema passing correct in Seq composition?\n- Are Par merge results complete?\n- Do error paths (Try\u002FTryPool) degrade correctly?\n\nIf results are unsatisfactory, proceed to Phase 7.\n\n---\n\n## Phase 7: Iterative Optimization\n\n| Problem | Optimization |\n|---------|-------------|\n| One Gene's output quality is poor | `rotifer arena list --domain \u003Cd>` for ranked local alternatives, or `rotifer search \u003Ccapability>` to look beyond what is installed |\n| Not sure which Gene in the pipeline is at fault | `rotifer run \u003Cgene-name> --input '{...}'` on each one in isolation |\n| Seq intermediate results missing fields | Check schema compatibility, consider inserting an adapter Gene |\n| Par merge results are messy | Switch `--par-merge` strategy |\n| Latency too high | Seq → Par (if Genes are independent) |\n| Overall below expectations | Route to `rotifer-arena` Skill for head-to-head Gene evaluation |\n\n---\n\n## Scenario Examples\n\n### Scenario 1: Document Quality Agent\n\n**Goal**: Input text, output grammar issues + readability score + tone analysis.\n\n**Decomposition**:\n\n| # | Capability | Gene | Domain |\n|---|-----------|------|--------|\n| 1 | Grammar check | grammar-checker | content.grammar |\n| 2 | Readability analysis | readability-analyzer | content.readability |\n| 3 | Tone analysis | tone-analyzer | content.tone |\n\n**Composition**: All three accept `text` input, no dependencies → Par + concat.\n\n```bash\nrotifer compile grammar-checker\nrotifer compile readability-analyzer\nrotifer compile tone-analyzer\n\nrotifer agent create doc-quality \\\n  --genes grammar-checker readability-analyzer tone-analyzer \\\n  --composition Par \\\n  --par-merge concat\n\nrotifer agent run doc-quality --input '{\"text\": \"Document content to check...\"}'\n```\n\n### Scenario 2: Code Review Agent\n\n**Goal**: Input code, output security findings + a complexity report (documentation suggestions as a separate step).\n\n| # | Capability | Gene | Domain |\n|---|-----------|------|--------|\n| 1 | Security audit | security-auditor | code.security |\n| 2 | Complexity analysis | code-complexity | code.analyze |\n| 3 | Documentation generation | docs-writer | docs.technical |\n\n**Composition**: Security audit and complexity analysis both read the code, so they run side by side → Par(1, 2), results merged. Documentation would follow both, Seq(Par(1, 2), 3), which needs nesting (not supported yet); docs-writer also takes a `subject`, which neither result carries, so run it as a separate step.\n\n```bash\nrotifer compile security-auditor\nrotifer compile code-complexity\n\nrotifer agent create code-review \\\n  --genes security-auditor code-complexity \\\n  --composition Par \\\n  --par-merge merge\n\nrotifer agent run code-review --input '{\"code\": \"...\", \"language\": \"typescript\"}'\n```\n\n### Scenario 3: Content Review Agent\n\n**Goal**: Input an article, get a quality analysis and then a prioritized list of edits.\n\n| # | Capability | Gene | Domain |\n|---|-----------|------|--------|\n| 1 | Quality analysis | content-quality-analyzer | quality.content |\n| 2 | Optimization plan | content-optimizer | quality.content |\n\n**Composition**: The analysis is exactly what the optimizer reads (readability, virality, sentiment, structure) → Seq.\n\n```bash\nrotifer agent create content-review \\\n  --genes content-quality-analyzer content-optimizer \\\n  --composition Seq\n\nrotifer agent run content-review --input '{\"text\": \"# My article\\n\\n...\", \"platform\": \"dev.to\"}'\n```\n\n---\n\n## What this Skill does on your machine\n\nIt has no code of its own — it tells your assistant which `rotifer` commands to\nrun. That is why its manifest declares process execution, filesystem read\u002Fwrite\nand outbound network access: every one of those is the CLI acting, not this\nSkill.\n\n| | |\n|---|---|\n| **Runs** | The `rotifer` CLI (`@rotifer\u002Fplayground`), fetched from npm if not installed. |\n| **Reads** | Genes and Agent definitions in the current project workspace. |\n| **Writes** | Only what the commands below write — Genes into the project's `genes\u002F`, Agent definitions into `.rotifer\u002Fagents\u002F`. Nothing outside the project. |\n| **Sends** | Cloud registry and Arena queries, to the public Rotifer API. Your code is not uploaded unless you run `rotifer publish` yourself. |\n\nCommands that install, publish or overwrite are proposed for your approval\nfirst, never run silently.\n\n---\n\n## Related Skills\n\n| Skill | Relationship | When to route |\n|-------|-------------|---------------|\n| `rotifer-gene` (dev module) | Gene creation\u002Fdevelopment | Phase 3 gap filling |\n| `rotifer-arena` | Gene comparison & evaluation | Phase 7 when replacing underperforming Genes |\n| `rotifer-genome` | Genome quality analysis | After Agent creation for overall assessment |\n\n---\n\n## Constraints\n\n- Agent configuration files are stored in `.rotifer\u002Fagents\u002F\u003Cid>.json` and should not be committed to Git\n- A single Agent should contain 2–6 Genes; more than 6 suggests splitting into multiple Agents\n- Seq schema compatibility is a known limitation — always verify manually before creating\n- Nested compositions require manual JSON editing; the CLI only supports top-level strategies\n","# Rotifer Agent — From Genes to Agents\n\nDecompose user intent into capability units, select Genes from the ecosystem, compose a Genome, create and validate an Agent.\n\n## Prerequisites\n\nThis Skill requires the Rotifer CLI:\n\n```bash\nnpx --yes @rotifer\u002Fplayground@0.36.1 --version\nrotifer doctor\n```\n\n`rotifer doctor` checks the TypeScript→WASM toolchain. Composing an Agent from\nNative Genes means compiling them, and without esbuild and javy that step fails\nwith an error that reads like a code problem.\n\nOr use the MCP Server for IDE integration:\n\n```json\n{\n  \"mcpServers\": {\n    \"rotifer\": {\n      \"command\": \"npx\",\n      \"args\": [\"@rotifer\u002Fmcp-server@0.20.0\"]\n    }\n  }\n}\n```\n\n---\n\n**Hierarchy**: Gene (atomic logic) → Genome (composition) → Agent (runnable entity)\n\n---\n\n## Phase 1: Intent Decomposition\n\nBreak the user's goal into independent capability units (each maps to a Gene).\n\n**Steps**:\n\n1. Confirm the Agent's input and expected output with the user\n2. Decompose the task into 2–6 capability units, each satisfying the Gene three axioms (functional cohesion, self-sufficient interface, independently evaluable)\n3. Label each unit with a domain (e.g. `content.grammar`, `security.audit`)\n4. Confirm the decomposition with the user before proceeding to Phase 2\n\n**Output format**:\n\n| # | Capability unit | Domain | Input | Output |\n|---|----------------|--------|-------|--------|\n| 1 | Grammar check | content.grammar | text | issues[], score |\n| 2 | Readability analysis | content.readability | text | grade, suggestions[] |\n\n---\n\n## Phase 2: Gene Selection\n\nMatch existing Genes to each capability unit.\n\n```bash\nrotifer list                                  # what is already in this workspace\nrotifer arena list --domain \u003Cdomain>          # ranked by F(g) within one domain\nrotifer search \u003Ccapability> --domain \u003Cdomain> # the Cloud registry — everyone else's Genes\n```\n\nThe three answer different questions, and skipping the third is how a Genome\nends up built only from what happened to be installed already.\n\n**Selection priority**:\n\n| Priority | Source | Command |\n|----------|--------|---------|\n| 1 | Local Gene with highest Arena rank | `rotifer arena list --domain \u003Cd>` |\n| 2 | Cloud Registry | `rotifer search \u003Ccapability>` → `rotifer info \u003Cref>` → `rotifer install \u003Cref>` |\n| 3 | Doesn't exist, needs creation | Proceed to Phase 3 |\n\nBefore committing a candidate to the Genome, run it on its own — a Gene that\nfails alone will fail inside a pipeline, where the error is much harder to\nlocate:\n\n```bash\nrotifer run \u003Cgene-name> --input '{\"...\": \"...\"}'\n```\n\n`run` checks the input against the Gene's inputSchema before running it and the\noutput against its outputSchema after; a mismatch fails the run and names the\nfield (an input mismatch is `INVALID_INPUT`, and the Gene does not run).\n\nShow the user candidate Genes' F(g) fitness and fidelity, let them confirm the selection.\n\n---\n\n## Phase 3: Gap Filling\n\nIf a capability unit has no existing Gene:\n\n| Approach | When to use | Action |\n|----------|------------|--------|\n| Create Wrapped Gene | External API \u002F Skill available to wrap | Route to `rotifer-gene` Skill (dev module) |\n| Create Native Gene | Pure computation, no external dependencies | Route to `rotifer-gene` Skill (dev module) |\n| Adjust decomposition | Capability unit granularity is wrong | Return to Phase 1 |\n| Merge units | Two units are too coupled, splitting makes the interface awkward | Merge into one Gene |\n\nAfter all Genes are ready, proceed to Phase 4.\n\n---\n\n## Phase 4: Genome Composition\n\nChoose a composition strategy based on relationships between capability units.\n\n### Composition Strategy Decision Table\n\n| Strategy | Semantics | Use when | Example |\n|----------|-----------|----------|---------|\n| **Seq(A, B, C)** | Pipeline: A → B → C | Previous output feeds the next | Check → Fix → Format |\n| **Par(A, B)** | Parallel: run simultaneously | Independent tasks, merge results | Grammar check + Readability analysis |\n| **Cond(p, A, B)** | Branch: if p then A else B | Input characteristics determine path | Chinese → Chinese proofing \u002F English → English proofing |\n| **Try(A, B)** | Fallback: A fails → B | Primary path unreliable | Main API → Backup API |\n| **TryPool(A, B, C)** | Failover: per domain, the active Gene runs; the others are tried one at a time, best running fitness first, only if it fails | Interchangeable implementations of one capability | Main translation service, with backups that take over when it fails |\n\nPar, Cond and Try run in the sandbox on compiled Genes: `rotifer compile` each Gene first. `agent run` refuses them otherwise, rather than running them as Seq.\n\n### Par Merge Strategies\n\nWhen using Par, specify `--par-merge`:\n\n| Strategy | Behavior | Use when |\n|----------|----------|----------|\n| `first` | Take the first completed result | Racing scenario |\n| `concat` | Concatenate all results (array) | Results are complementary |\n| `merge` | Deep-merge objects | Same structure, merge fields |\n\n### Seq Schema Compatibility\n\n> In a Seq, each Gene's output is the next Gene's input, so every field the next Gene's inputSchema requires must be in the previous Gene's outputSchema. `rotifer agent create` compares them and prints a warning such as `FAIL — missing: [text]`, but still creates the Agent; run it anyway and a Gene can get empty input and return empty output without an error.\n>\n> **Treat the warning as a blocker**: choose Genes whose fields meet, or put a Gene in between that turns one shape into the other.\n\n### Nested Composition\n\nNot supported yet. An Agent has one top-level strategy: `agent create` writes only that, and `agent run` reads only that, so `Seq(Par(A, B), C)` cannot be expressed. To get close, run `Par(A, B)` as one Agent and pass its output to C yourself.\n\n---\n\n## Phase 5: Agent Creation\n\nExecute creation after confirming the composition plan.\n\n### Manual Gene Selection\n\n```bash\nrotifer agent create \u003Cname> \\\n  --genes \u003Cgene1> \u003Cgene2> \u003Cgene3> \\\n  --composition \u003CSeq|Par|Cond|Try|TryPool> \\\n  --par-merge \u003Cfirst|concat|merge>\n```\n\n### Auto-select Genes (by domain ranking)\n\n```bash\nrotifer agent create \u003Cname> \\\n  --domain \u003Cdomain> \\\n  --top \u003Cn> \\\n  --composition \u003Cstrategy>\n```\n\nAfter creation, verify the Agent configuration file `.rotifer\u002Fagents\u002F\u003Cname>.json` is correct.\n\n---\n\n## Phase 6: Test Run\n\n```bash\nrotifer agent list\nrotifer agent run \u003Cname> --input '{\"text\": \"Test input content\"}'\n```\n\n`rotifer agent list` shows every Agent in the workspace with its state and\ngenome — use it to confirm the Agent was created with the Genes you intended\nbefore running it, and to recover the exact name when a run reports \"agent not\nfound\".\n\n**Validation checklist**:\n\n- Does the output structure match the expected schema?\n- Were all Genes executed? (check logs)\n- Is schema passing correct in Seq composition?\n- Are Par merge results complete?\n- Do error paths (Try\u002FTryPool) degrade correctly?\n\nIf results are unsatisfactory, proceed to Phase 7.\n\n---\n\n## Phase 7: Iterative Optimization\n\n| Problem | Optimization |\n|---------|-------------|\n| One Gene's output quality is poor | `rotifer arena list --domain \u003Cd>` for ranked local alternatives, or `rotifer search \u003Ccapability>` to look beyond what is installed |\n| Not sure which Gene in the pipeline is at fault | `rotifer run \u003Cgene-name> --input '{...}'` on each one in isolation |\n| Seq intermediate results missing fields | Check schema compatibility, consider inserting an adapter Gene |\n| Par merge results are messy | Switch `--par-merge` strategy |\n| Latency too high | Seq → Par (if Genes are independent) |\n| Overall below expectations | Route to `rotifer-arena` Skill for head-to-head Gene evaluation |\n\n---\n\n## Scenario Examples\n\n### Scenario 1: Document Quality Agent\n\n**Goal**: Input text, output grammar issues + readability score + tone analysis.\n\n**Decomposition**:\n\n| # | Capability | Gene | Domain |\n|---|-----------|------|--------|\n| 1 | Grammar check | grammar-checker | content.grammar |\n| 2 | Readability analysis | readability-analyzer | content.readability |\n| 3 | Tone analysis | tone-analyzer | content.tone |\n\n**Composition**: All three accept `text` input, no dependencies → Par + concat.\n\n```bash\nrotifer compile grammar-checker\nrotifer compile readability-analyzer\nrotifer compile tone-analyzer\n\nrotifer agent create doc-quality \\\n  --genes grammar-checker readability-analyzer tone-analyzer \\\n  --composition Par \\\n  --par-merge concat\n\nrotifer agent run doc-quality --input '{\"text\": \"Document content to check...\"}'\n```\n\n### Scenario 2: Code Review Agent\n\n**Goal**: Input code, output security findings + a complexity report (documentation suggestions as a separate step).\n\n| # | Capability | Gene | Domain |\n|---|-----------|------|--------|\n| 1 | Security audit | security-auditor | code.security |\n| 2 | Complexity analysis | code-complexity | code.analyze |\n| 3 | Documentation generation | docs-writer | docs.technical |\n\n**Composition**: Security audit and complexity analysis both read the code, so they run side by side → Par(1, 2), results merged. Documentation would follow both, Seq(Par(1, 2), 3), which needs nesting (not supported yet); docs-writer also takes a `subject`, which neither result carries, so run it as a separate step.\n\n```bash\nrotifer compile security-auditor\nrotifer compile code-complexity\n\nrotifer agent create code-review \\\n  --genes security-auditor code-complexity \\\n  --composition Par \\\n  --par-merge merge\n\nrotifer agent run code-review --input '{\"code\": \"...\", \"language\": \"typescript\"}'\n```\n\n### Scenario 3: Content Review Agent\n\n**Goal**: Input an article, get a quality analysis and then a prioritized list of edits.\n\n| # | Capability | Gene | Domain |\n|---|-----------|------|--------|\n| 1 | Quality analysis | content-quality-analyzer | quality.content |\n| 2 | Optimization plan | content-optimizer | quality.content |\n\n**Composition**: The analysis is exactly what the optimizer reads (readability, virality, sentiment, structure) → Seq.\n\n```bash\nrotifer agent create content-review \\\n  --genes content-quality-analyzer content-optimizer \\\n  --composition Seq\n\nrotifer agent run content-review --input '{\"text\": \"# My article\\n\\n...\", \"platform\": \"dev.to\"}'\n```\n\n---\n\n## What this Skill does on your machine\n\nIt has no code of its own — it tells your assistant which `rotifer` commands to\nrun. That is why its manifest declares process execution, filesystem read\u002Fwrite\nand outbound network access: every one of those is the CLI acting, not this\nSkill.\n\n| | |\n|---|---|\n| **Runs** | The `rotifer` CLI (`@rotifer\u002Fplayground`), fetched from npm if not installed. |\n| **Reads** | Genes and Agent definitions in the current project workspace. |\n| **Writes** | Only what the commands below write — Genes into the project's `genes\u002F`, Agent definitions into `.rotifer\u002Fagents\u002F`. Nothing outside the project. |\n| **Sends** | Cloud registry and Arena queries, to the public Rotifer API. Your code is not uploaded unless you run `rotifer publish` yourself. |\n\nCommands that install, publish or overwrite are proposed for your approval\nfirst, never run silently.\n\n---\n\n## Related Skills\n\n| Skill | Relationship | When to route |\n|-------|-------------|---------------|\n| `rotifer-gene` (dev module) | Gene creation\u002Fdevelopment | Phase 3 gap filling |\n| `rotifer-arena` | Gene comparison & evaluation | Phase 7 when replacing underperforming Genes |\n| `rotifer-genome` | Genome quality analysis | After Agent creation for overall assessment |\n\n---\n\n## Constraints\n\n- Agent configuration files are stored in `.rotifer\u002Fagents\u002F\u003Cid>.json` and should not be committed to Git\n- A single Agent should contain 2–6 Genes; more than 6 suggests splitting into multiple Agents\n- Seq schema compatibility is a known limitation — always verify manually before creating\n- Nested compositions require manual JSON editing; the CLI only supports top-level strategies\n",{"name":5,"description":7},"main","0f9c8363d18da79e5b5da071bedc07d280a8d95f","skills\u002Frotifer-agent",1,"https:\u002F\u002Fgithub.com\u002Frotifer-protocol\u002Frotifer-playground","https:\u002F\u002Fgithub.com\u002Frotifer-protocol","https:\u002F\u002Frotifer.dev","Open-source evolution framework for AI agents","2026-11-12 13:46:27",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add rotifer-protocol\u002Frotifer-playground --skill rotifer-agent",{"tool":62,"command":63},"bunx","bunx skills add rotifer-protocol\u002Frotifer-playground --skill rotifer-agent",{"tool":65,"command":66},"pnpm","pnpm dlx skills add rotifer-protocol\u002Frotifer-playground --skill rotifer-agent","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frotifer-protocol\u002Frotifer-playground\u002Fblob\u002Fmain\u002Fskills\u002Frotifer-agent\u002FSKILL.md",true,[70,76],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"clawhub.json","REFERENCE","参考文档",1155,"https:\u002F\u002Fgithub.com\u002Frotifer-protocol\u002Frotifer-playground\u002Fblob\u002Fmain\u002Fskills\u002Frotifer-agent\u002Fclawhub.json",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"README.md",3703,"https:\u002F\u002Fgithub.com\u002Frotifer-protocol\u002Frotifer-playground\u002Fblob\u002Fmain\u002Fskills\u002Frotifer-agent\u002FREADME.md",[81,94,118,140,160,179],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":42},"01M6H8FTYPK400JGQDW57GM49R","fixture-skill","A synthetic ClawHub skill for wrap --from-clawhub tests","https:\u002F\u002Fgithub.com\u002Frotifer-protocol\u002Frotifer-playground\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fclawhub\u002Ffixture-skill\u002FSKILL.md",[],[88,89,90,91,92,29,93],"fixture","fixture skill","wrap","tests","clawhub","synthetic",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":42},"01M6H8FPX91FF5FH8PPEW7HQSZ","rotifer-self-evolving-agent","Rank an Agent's Rotifer Genes against the Arena and swap in stronger ones, and create and run the local Agents built from those Genes. Invoked explicitly via \u002Fevolve — scan local capabilities, compare Genes, inspect fitness scores, replace weak ones with user approval (each replacement can be rolled back), write an Agent definition into the project (\u002Fevolve create-agent), and execute a local Agent's Genes in the WASM sandbox (\u002Fevolve run-agent). Not for capabilities outside Rotifer.","https:\u002F\u002Fgithub.com\u002Frotifer-protocol\u002Frotifer-playground\u002Fblob\u002Fmain\u002Fskills\u002Frotifer-self-evolving-agent\u002FSKILL.md",[],[101,102,103,104,105,106,107,108,109,110,35,111,112,31,29,113,59,114,115,24,116,117],"rotifer self evolving agent","self","self evolving","inspect","local","MCP","access","capabilities","server","run","evolve","network","scan","compare","swap","mcp-server","fitness",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":42},"01M6H8FGNKE933Q2JAAB7JY43V","rotifer-guide","Entry point for Rotifer Protocol. Onboards a user to Rotifer Genes, scaffolds a Gene from a description, diagnoses a Gene's F(g) score or compile failure, searches the Rotifer Gene registry, upgrades a Gene's fidelity from Wrapped to Native, and submits a Gene to the Arena and follows its ranking. It works by proposing `rotifer` CLI commands; the ones that install software, send work to Rotifer's servers, publish a Gene or overwrite files wait for the user's approval. Meant to be invoked explicitly when working with Rotifer, or when unsure which Rotifer capability fits. Its scope is Rotifer Genes and the Rotifer CLI; onboarding, tutorials, troubleshooting or search for anything else are outside it.","https:\u002F\u002Fgithub.com\u002Frotifer-protocol\u002Frotifer-playground\u002Fblob\u002Fmain\u002Fskills\u002Frotifer-guide\u002FSKILL.md",[],[125,126,127,128,129,130,131,35,132,20,29,133,27,26,24,134,135,136,137,138,23,21,139],"rotifer guide","guide","which","scaffolding","search","cli","native","registry","compile","protocol","troubleshooting","onboarding","rotifer gene","invoke","point",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":42},"01M6H8FBXGQM2RH27G0S6XMQ34","rotifer-gene","The Gene manual for Rotifer Protocol — write a Gene's express function and phenotype schema, run the four-layer security audit before publishing, and migrate a Gene's fidelity from Wrapped to Hybrid or Native. Invoke explicitly when building, auditing, or upgrading a Rotifer Gene. Do NOT use for general code review, dependency auditing, or framework migration — every procedure here operates on Rotifer Genes, their phenotype schemas, and the Rotifer CLI, and nothing else.","https:\u002F\u002Fgithub.com\u002Frotifer-protocol\u002Frotifer-playground\u002Fblob\u002Fmain\u002Fskills\u002Frotifer-gene\u002FSKILL.md",[],[137,35,20,31,147,29,148,149,27,150,151,152,59,26,107,153,154,155,156,157,158,159,138,23],"security audit","code review","manual","publishing","yes","schema","version","migrate","code","express","review","hybrid","submission",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":42},"01M6H8F7DZPN54N2AQC32BWEKV","rotifer-arena","Benchmark Rotifer Genes against each other in the Arena — import from ClawHub \u002F local \u002F scratch, compile, match opponents, run Arena evaluation, and produce a Markdown report with F(g) fitness and V(g) security grades. Invoke explicitly to compare or benchmark Rotifer Genes. Do NOT use for general benchmarking, load testing, or comparing anything that is not a Rotifer Gene or Agent.","https:\u002F\u002Fgithub.com\u002Frotifer-protocol\u002Frotifer-playground\u002Fblob\u002Fmain\u002Fskills\u002Frotifer-arena\u002FSKILL.md",[],[167,31,20,168,29,133,169,105,27,92,170,26,171,114,24,172,173,174,110,35,137,138,175,176,117,177,178],"rotifer arena","import","testing","produce","load","benchmarking","load testing","markdown","Evaluation","benchmark","security","scratch",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":42},"01M6H8EY0R4MMRZYYA2NBR990C","rotifer-hello","Interactive agent creation — choose from curated templates covering quality diagnosis, security scanning, content analysis, Web3 auditing, and document Q&A","https:\u002F\u002Fgithub.com\u002Frotifer-protocol\u002Frotifer-playground\u002Fblob\u002Fmain\u002Fplugins\u002Frotifer\u002Fskills\u002Fhello\u002FSKILL.md",[],[186,187,188,189,190,191,192,193,194,195,196,197,198,134,199,177,200,201],"rotifer hello","hello","creation","choose","security scanning","document","web3","analysis","interactive","scanning","diagnosis","quality","q&a","templates","content","content analysis"]