Rotifer Guide

v1.0.3

Unified user-facing entry point for Rotifer Protocol: interactive onboarding, natural-language scaffolding, diagnostics, ecosystem search, and fidelity upgra...

0· 86·0 current·0 all-time
byXiaoba@xiaoba-dev

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for xiaoba-dev/rotifer-guide.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Rotifer Guide" (xiaoba-dev/rotifer-guide) from ClawHub.
Skill page: https://clawhub.ai/xiaoba-dev/rotifer-guide
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install rotifer-guide

ClawHub CLI

Package manager switcher

npx clawhub@latest install rotifer-guide
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
Name/description match the instructions: onboarding, scaffolding, diagnostics, search, and upgrade workflows that call the Rotifer CLI and related developer tools. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md stays within developer-oriented tasks (running rotifer/rotifer-playground commands, scanning/wrapping skills, testing/compiling/publishing). It does not instruct reading arbitrary host files or exfiltrating secrets. It may direct the agent to clone repos, run npm installs, and check cloud credentials when publishing — expected for a tooling skill.
Install Mechanism
No explicit install spec in the registry (instruction-only). The skill relies on npx (and potentially git clone + npm install) to fetch the Rotifer tooling at runtime and explicitly states that packages resolve to the latest release automatically (no version pinning). This is a supply-chain risk: an attacker compromising the npm package or its latest tag could alter behavior.
Credentials
The skill declares no required environment variables or credentials. The instructions reference checking 'Cloud credentials' only in the context of publishing, which is proportionate to the stated functionality — but the skill could prompt the user/agent to use or provide such credentials during publish flows.
Persistence & Privilege
always is false and the skill does not request persistent system-level privileges or modify other skills' configs. It is a normal, user-invocable developer skill without elevated platform privileges.
Assessment
This skill appears to be what it claims: a Rotifer onboarding and developer helper that drives the Rotifer CLI and related workflows. Before using it, be aware it recommends fetching packages via `npx` and cloning/building repos without fixed version pins. If you care about supply-chain safety, prefer pinning releases (specific package versions or Git tags) and review the repository you clone and the npm package contents before running `npm install`/`npx`. Also be cautious when providing cloud credentials for publishing — only use credentials with the minimum necessary scope and consider using temporary or scoped tokens.

Like a lobster shell, security has layers — review code before you run it.

latestvk97ct2kr10tm4dby247nm9ves184xqg0
86downloads
0stars
4versions
Updated 1w ago
v1.0.3
MIT-0

Rotifer Guide — User Entry Point

This Skill handles intent recognition and workflow routing. Deep technical details are delegated to specialized Skills.

Prerequisites

Before using this Skill, ensure the Rotifer CLI is available:

npx @rotifer/playground --version

If you prefer MCP integration instead of CLI, add this to your MCP config:

{
  "mcpServers": {
    "rotifer": {
      "command": "npx",
      "args": ["@rotifer/mcp-server"]
    }
  }
}

No version pinning needed — both packages resolve to the latest release automatically.


Intent Router

User signalSub-capabilityAction
How to / getting started / tutorial / beginner / what is a GeneonboardingInteractive walkthrough
Create / make a XX / new / init / I want ascaffoldNatural-language scaffolding
Score is 0 / publish failed / something's wrong / why / diagnose / checkdoctorDiagnostics & repair
Any gene for / recommend / search / find one that does XXexplorerEcosystem search
Upgrade / Wrapped to Native / fidelity / evolve / rewriteupgradeFidelity evolution

When intent is unclear, list all five sub-capabilities and let the user choose.

Related Skills

SkillRelationshipWhen to route
gene-dev/SKILL.mdDeep technical manual for scaffold / onboardingUser needs full development workflow details
gene-migration/SKILL.mdDeep migration manual for upgradeAfter user confirms migration plan
rotifer-arena/SKILL.mdComparison & evaluation entryUser wants to compare Genes / run Arena
genome/SKILL.mdGene compositionUser wants to combine multiple Genes into an Agent

1. onboarding — Interactive Walkthrough

Phase 1: Environment Check

cd rotifer-playground
node dist/index.js --version
node dist/index.js list

If not installed, guide: git clonenpm installnpm run build.

Phase 2: Core Concepts

ConceptOne-linerAnalogy
GeneSelf-contained logic unit: express(input) → outputFunction
FidelityNative > Hybrid > Wrapped — higher = more secureCompiler optimization level
ArenaGenes compete for ranking via F(g) fitness scoreLeaderboard
DomainTwo-level category like content.grammarNamespace
phenotype.jsonGene metadatapackage.json
R(g) / V(g)Reputation score / Security scoreCredit rating

Phase 3: Hands-on Experience

Walk the user through a Gene's complete lifecycle:

rotifer init hello-world --domain content.greeting --fidelity Wrapped
rotifer test hello-world
rotifer compile hello-world
rotifer arena submit hello-world
rotifer arena list --domain content.greeting

After each step, explain the output and confirm the user understands before proceeding.

Phase 4: Next Steps

Recommend based on user background:

  • Has an existing SKILL.md → scaffold (rotifer wrap)
  • Wants to browse the ecosystem → explorer
  • Wants to dive deeper → route to gene-dev/SKILL.md

2. scaffold — Natural-Language Scaffolding

Phase 1: Intent Extraction

Extract from the user's natural-language description:

ParameterExtraction methodDefault
nameGenerate kebab-case from descriptionMust confirm
domainInfer two-level domain from functionalityMust confirm
fidelityNeeds external API → Hybrid, pure computation → Native, quick prototype → WrappedWrapped

Phase 2: Confirm Parameters

Present inferred results to the user, wait for confirmation before executing.

Phase 3: Scaffold Generation

From scratch:

rotifer init <name> --domain <domain> --fidelity <fidelity>

From an existing SKILL.md:

rotifer scan --skills
rotifer wrap <name> --from-skill <path>

From ClawHub:

rotifer wrap <name> --from-clawhub <slug>

Phase 4: Verification

rotifer test <name>
rotifer compile <name>

After compilation passes, prompt: publish to Cloud (rotifer publish) or submit to Arena (rotifer arena submit).

For deeper development details (inputSchema design, express function implementation) → route to gene-dev/SKILL.md.


3. doctor — Diagnostics & Repair

Decision Tree

User reports a problem
 |
 +-- F(g) = 0 or abnormally low score
 |   +-- Does rotifer test <name> pass?
 |   |   +-- Fails → Check if express() return value matches outputSchema
 |   |   +-- Passes → Check if phenotype.json domain is reasonable
 |   +-- Are there competitors in the same domain?
 |       +-- Yes → Analyze competitor strengths, suggest optimizations
 |
 +-- Publish failed
 |   +-- Does rotifer compile <name> succeed?
 |   |   +-- Fails → Check for syntax errors, missing dependencies
 |   |   +-- Succeeds → Check network connection, Cloud credentials
 |   +-- Is phenotype.json format valid?
 |
 +-- Compilation failed
 |   +-- Check the exported express function signature in index.ts
 |   +-- Check inputSchema / outputSchema in phenotype.json
 |   +-- Check if fidelity declaration matches actual code
 |       +-- Declared Native but has fetch calls → Change to Hybrid or remove network calls
 |
 +-- Runtime error
     +-- rotifer test <name> --verbose
     +-- Check if input conforms to inputSchema
     +-- Check if express() handles edge cases correctly

Common Diagnostic Commands

rotifer test <name>
rotifer list
rotifer arena list --domain <domain>

Quick Reference

SymptomRoot causeFix
F(g) = 0express() returns empty or format mismatchFix return value to match outputSchema
Compilation failedTypeScript type errorCheck express function signature
Publish timeoutCloud credentials expiredRefresh Cloud credentials
Arena ranking droppedStronger competitor appeared in same domainOptimize algorithm or upgrade fidelity
Fidelity mismatchNative declared but has fetch callsRemove network calls or change declaration to Hybrid

4. explorer — Ecosystem Search

Phase 1: Understand the Need

Extract from user description: functionality keywords, target domain, fidelity preference.

Phase 2: Search

rotifer arena list
rotifer arena list --domain <domain>
rotifer list

Phase 3: Result Analysis

Display search results in a table:

FieldDescription
nameGene name
domainCategory
fidelityNative / Hybrid / Wrapped
F(g)Fitness score
R(g)Reputation score

Phase 4: Recommendation

  • Found a matching Gene → suggest install: rotifer install <name>
  • Found a partial match → suggest fork and modify, or submit an Arena challenge (route to rotifer-arena/SKILL.md)
  • Nothing found → suggest creating a new Gene (route to scaffold)

5. upgrade — Fidelity Evolution

Phase 1: Assess Current State

rotifer list

Check the target Gene's phenotype.json — confirm current fidelity and express() implementation.

Phase 2: Migration Path Decision

CurrentTargetConditionPath
WrappedNativeFunctionality can be implemented as pure computationRewrite express(), remove all external calls
WrappedHybridMust call external APIsAdd WASM shell + allowedDomains whitelist
HybridNativeCan internalize API dependenciesReplace API calls with local algorithms

Phase 3: Execute Migration

After confirming the migration plan, route to gene-migration/SKILL.md for the full migration workflow.

Phase 4: Verification

rotifer test <name>
rotifer compile <name>
rotifer arena submit <name>

Compare F(g) scores before and after migration to confirm ranking continuity.

Comments

Loading comments...