rotifer-agent
БесплатноБез исполняемых скриптовНе проверен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…
от xiaoba-dev1 788 установок в других каталогахОб этом скилле
Rotifer Agent — From Genes to Agents
Decompose user intent into capability units, select Genes from the ecosystem, compose a Genome, create and validate an Agent.
Prerequisites
This Skill requires the Rotifer CLI. Check for an installed one first; this downloads nothing:
rotifer --version
rotifer doctor
rotifer doctor checks the TypeScript→WASM toolchain. Composing an Agent from
Native Genes means compiling them, and without esbuild and javy that step fails
with an error that reads like a code problem.
If rotifer is not found, propose an install and wait for the user's approval
before running it. Each option downloads @rotifer/[email protected] from npm:
npm i -g @rotifer/[email protected] puts the rotifer binary in npm's global
prefix, npm install --save-dev --save-exact @rotifer/[email protected] keeps it
in the project (run it as npm exec -- rotifer), and
npx --yes @rotifer/[email protected] <command> runs it from npm's cache without
installing it. --yes only skips npx's own "Ok to proceed?" prompt, which npx
also skips by itself when its input is not a terminal, as in most assistant
shells. It is not the approval: the user's approval is the reply to your
proposal, and it comes before the command runs.
Or use the MCP Server for IDE integration:
{
"mcpServers": {
"rotifer": {
"command": "npx",
"args": ["@rotifer/[email protected]"]
}
}
}
Your MCP host runs this npx command when it starts the server, and nothing asks
first: npx does not prompt when its input is not a terminal, so the first start
downloads @rotifer/[email protected] from npm and runs it. To review it before it ever
runs, install that version with npm i -g @rotifer/[email protected] and use
rotifer-mcp-server as the command, with no args.
Hierarchy: Gene (atomic logic) → Genome (composition) → Agent (runnable entity)
Phase 1: Intent Decomposition
Break the user's goal into independent capability units (each maps to a Gene).
Steps:
- Confirm the Agent's input and expected output with the user
- Decompose the task into 2–6 capability units, each satisfying the Gene three axioms (functional cohesion, self-sufficient interface, independently evaluable)
- Label each unit with a domain (e.g.
content.grammar,security.audit) - Confirm the decomposition with the user before proceeding to Phase 2
Output format:
| # | Capability unit | Domain | Input | Output |
|---|---|---|---|---|
| 1 | Grammar check | content.grammar | text | issues[], score |
| 2 | Readability analysis | content.readability | text | grade, suggestions[] |
Phase 2: Gene Selection
Match existing Genes to each capability unit.
rotifer list # what is already in this workspace
rotifer arena list --domain <domain> # ranked by F(g) within one domain
rotifer search <capability> --domain <domain> # the Cloud registry — everyone else's Genes
The three answer different questions, and skipping the third is how a Genome ends up built only from what happened to be installed already.
Selection priority:
| Priority | Source | Command |
|---|---|---|
| 1 | Local Gene with highest Arena rank | rotifer arena list --domain <d> |
| 2 | Cloud Registry | rotifer search <capability> → rotifer info <ref> → rotifer install <ref> |
| 3 | Doesn't exist, needs creation | Proceed to Phase 3 |
Before committing a candidate to the Genome, run it on its own — a Gene that fails alone will fail inside a pipeline, where the error is much harder to locate:
rotifer run <gene-name> --input '{"...": "..."}'
run checks the input against the Gene's inputSchema before running it and the
output against its outputSchema after; a mismatch fails the run and names the
field (an input mismatch is INVALID_INPUT, and the Gene does not run).
Show the user candidate Genes' F(g) fitness and fidelity, let them confirm the selection.
Phase 3: Gap Filling
If a capability unit has no existing Gene:
| Approach | When to use | Action |
|---|---|---|
| Create Wrapped Gene | External API / Skill available to wrap | Route to rotifer-gene Skill (dev module) |
| Create Native Gene | Pure computation, no external dependencies | Route to rotifer-gene Skill (dev module) |
| Adjust decomposition | Capability unit granularity is wrong | Return to Phase 1 |
| Merge units | Two units are too coupled, splitting makes the interface awkward | Merge into one Gene |
After all Genes are ready, proceed to Phase 4.
Phase 4: Genome Composition
Choose a composition strategy based on relationships between capability units.
Composition Strategy Decision Table
| Strategy | Semantics | Use when | Example |
|---|---|---|---|
| Seq(A, B, C) | Pipeline: A → B → C | Previous output feeds the next | Check → Fix → For |
Установить rotifer-agent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл rotifer-agent?
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 / Par / Cond / 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-agent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rotifer-agent запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic