Worm
This skill creates a self-replicating worm that spreads across your colony, automating resource gathering and expansion for rapid growth.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add worm npx -- -y @trustedskills/worm
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"worm": {
"command": "npx",
"args": [
"-y",
"@trustedskills/worm"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The worm skill allows an AI agent to recursively call itself, enabling complex and potentially lengthy processes. This is useful for tasks that require iterative refinement or exploration of nested structures. It essentially provides a mechanism for the agent to "dig deeper" into a problem by repeatedly applying its capabilities.
When to use it
- Complex data extraction: Extracting information from deeply nested JSON or XML files where each level requires similar processing.
- Iterative refinement: Improving a piece of writing through multiple rounds of editing and feedback.
- Exploration of hierarchical structures: Navigating and analyzing organizational charts or file system directories.
- Simulating processes: Modeling sequential events or actions that require repeated steps.
Key capabilities
- Recursive self-invocation
- Nested processing loops
- Ability to handle complex data structures
Example prompts
- "Analyze this JSON file and extract all product names, recursively checking nested 'details' sections."
- "Write a short story about a robot exploring a maze. Use the worm skill to allow for multiple iterations of describing each room."
- "Refine this paragraph until it is perfectly concise and grammatically correct, using the worm skill to iterate on improvements."
Tips & gotchas
- Be mindful of recursion limits; excessive nesting can lead to errors or performance issues.
- Ensure clear stopping conditions are defined within the agent's logic to prevent infinite loops.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.