rotifer-assistant
Unified entry point for Rotifer Protocol — guide, architect, and challenge your agents
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-12
- Stars
- ★ 6
- Forks
- 1
01 前言 Front Matter
- name
- rotifer-assistant
- author
- rotifer-protocol
- version
- 0.9.13
- description
- Unified entry point for Rotifer Protocol — guide, architect, and challenge your agents
03 SKILL.md 正文
Rotifer Assistant
Describe your need, and I'll route you to the right module.
/guide — Understand Rotifer Protocol
Core Concepts in 60 Seconds
Rotifer Protocol models software capabilities as Genes — modular, fitness-evaluable logic units that evolve through competition.
Key Abstractions
| Concept | What it means |
|---|---|
| Gene | A unit of capability with express(input) → output |
| Genome | An ordered set of genes that form an Agent |
| Agent | A genome + composition strategy |
| Arena | Competitive evaluation — genes prove fitness |
| Binding | Execution environment (Local, Cloud, Web3) |
Fidelity Levels
| Level | Runs code? | Network? | Use case |
|---|---|---|---|
| Native | ✅ WASM sandbox | ❌ | Pure computation |
| Hybrid | ✅ Node.js | ✅ Controlled | API-dependent logic |
| Wrapped | ❌ Prompt only | ❌ | AI-native guidance |
Quick Commands
rotifer init my-agent # Scaffold an Agent workspace
rotifer hello --template quality-advisor # Run recommended preset Agent
rotifer gene list # See installed genes
rotifer search <keyword> # Find genes
→ Ready to build? Try /architect
/architect — Design Your Agent
From idea to running Agent in 3 steps.
Step 1: Find Genes
rotifer search security # Find security-related genes
rotifer search content # Find content analysis genes
Browse the Gene Marketplace for community genes.
Step 2: Create Agent
# Sequential pipeline (each gene feeds the next)
rotifer agent create my-auditor --genes solidity-parser vuln-detector audit-reporter
# Parallel execution (all genes run simultaneously)
rotifer agent create my-scanner --genes security-scanner code-complexity --composition Par
# Failover (try primary, fall back to secondary)
rotifer agent create my-search --genes sirchmunk-search genesis-web-search --composition Try
Step 3: Run & Iterate
rotifer agent run my-auditor --input '{"source": "..."}'
rotifer agent run my-auditor --verbose # See intermediate results
rotifer agent run my-auditor --input '{"source": "..."}' --json # Machine output
Composition Types
| Type | Pattern | When to use |
|---|---|---|
Seq |
A → B → C | Pipeline processing |
Par |
A ∥ B ∥ C | Independent analysis |
Cond |
if P then A else B | Branching logic |
Try |
A catch B | Graceful degradation |
TryPool |
A, else B, else C (same domain) | Backups for one capability |
→ Want to compare performance? Try /challenge
/challenge — Arena Evaluation
Let your genes compete. The fittest survive.
Submit to Arena
rotifer arena submit my-gene
Your gene will be evaluated against others in the same domain using the fitness function:
F(g) = S_r × log₂(1 + C_util) × (1 + R_rob)/2 × L_score × Cost_score
Each of the five factors lies in [0, 1], so F(g) does too: a perfect score is 1. The admission threshold on F(g), τ, is paused until it is recalibrated for that range; V(g) is what gates admission for now.
Watch Live Rankings
rotifer arena watch all # Live leaderboard, every domain
rotifer arena watch code.security # One domain
Head-to-Head Comparison
rotifer compare gene-a gene-b --input '{"test": "data"}'
Side-by-side execution with timing, output diff, and fitness delta.
Improvement Loop
- Submit → see ranking
- Identify weaknesses (low robustness? high cost?)
- Upgrade fidelity:
rotifer compile my-gene(Wrapped → Native) - Re-submit → compare improvement
→ New to the protocol? Start with /guide
04 同仓库更多 Skills
fixture-skill
A synthetic ClawHub skill for wrap --from-clawhub tests
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 /evolve — 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 (/evolve create-agent), and execute a local Agent's Genes in the WASM sandbox (/evolve run-agent). Not for capabilities outside Rotifer.
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.
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.
rotifer-arena
Benchmark Rotifer Genes against each other in the Arena — import from ClawHub / local / 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.
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.