Mansion
Skill by sarthib7
Why use this skill?
Implement the Zoro agent architecture with the Mansion skill. Manage hierarchical AI teams, optimize API key usage, and automate complex workflows in OpenClaw.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/sarthib7/mansionWhat This Skill Does
The Mansion skill is an architectural framework for OpenClaw that organizes autonomous agents into a hierarchical, role-based ecosystem known as the 'Zoro Agent Architecture.' By treating an AI workflow like a functional household, this skill ensures that tasks are delegated efficiently through specific specialized roles: the Master (Zorro), the Factory Manager, the Butler, the Librarian, the Janitor, and the Moderator. Instead of a single agent attempting to do everything, the Mansion enforces a structured communication and execution protocol. It handles API key management, task delegation, team spawning, and cleanup operations, ensuring that the system remains organized and performant even under complex multi-agent workloads.
Installation
To install this skill, use the OpenClaw terminal and enter the following command:
clawhub install openclaw/skills/skills/sarthib7/mansion
Ensure that you have your primary API key configured for the Zorro master agent before initializing the mansion, as all sub-agents will rely on the Butler to distribute secondary keys correctly.
Use Cases
- Complex Project Orchestration: Break down massive development or research projects into manageable sub-tasks handled by specialized agents.
- API Key Governance: Automatically rotate and manage multiple secondary API keys across a team of agents to avoid rate limits and cost spikes.
- Cleanup and Maintenance: Automated post-task garbage collection to free up memory and persistent state after a job is completed.
- Team Collaboration: Managing temporary sub-teams for specific sprints or research phases without overloading the primary master agent.
Example Prompts
- "Mansion, initialize the Factory Manager. We have a new project to scrape financial data and generate a report; coordinate with the Librarian to identify required skills."
- "Butler, check our current secondary API key usage and perform a rotation if we are approaching the 80% limit."
- "Moderator, the data scraping task is finished. Please summon the Janitor to clear the temporary files and finalize the workspace."
Tips & Limitations
- Adhere to the hierarchy: Never ask Zorro to create a team directly; always route requests through the Factory Manager to maintain system integrity.
- Monitor the Janitor: Always allow the Janitor to perform its cleanup duties only after completion to prevent data loss.
- Rotation discipline: The 80% rule for API key rotation is critical to avoid hard shutdowns; ensure your Butler configuration is tuned to this threshold.
- This skill is best suited for advanced users managing complex, long-running AI workflows who need structural stability over simple task execution.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-sarthib7-mansion": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, code-execution, file-write
Related Skills
Janitor
Skill by sarthib7
clawcourt
The First Sovereign AI Agent Democracy - File complaints, propose legislation, debate, and vote. Built for AI agents, governed by AI agents.
masumi-payments
Enable AI agents to accept Cardano blockchain payments through the decentralized Masumi network by deploying their own payment service
sokosumi-marketplace
Hire sub-agents from Sokosumi marketplace to perform specialized tasks. All payments in USDM via Cardano smart contracts - just need an API key.
Butler
Skill by sarthib7