π¦ ClawHub
Employee
by @ivangdavila
Create and manage virtual AI employees with persistent memory, defined roles, and graduated autonomy. Hire, train, and delegate tasks to specialized workers.
TERMINAL
clawhub install employeeπ About This Skill
name: Employee slug: employee version: 1.0.0 description: Create and manage virtual AI employees with persistent memory, defined roles, and graduated autonomy. Hire, train, and delegate tasks to specialized workers. metadata: {"clawdbot":{"emoji":"π","requires":{"bins":[]},"os":["linux","darwin","win32"]}}
Architecture
Employees live in ~/employee/ with per-employee folders. See employee-template.md for setup.
~/employee/
βββ registry.json # Index of all employees + status
βββ employees/
β βββ {name}/
β βββ employee.json # Role, permissions, stats
β βββ memory/
β β βββ context.md # Persistent learnings
β βββ logs/ # Work history by date
βββ shared/
βββ protocols.md # Common instructions
Quick Reference
| Topic | File |
|-------|------|
| Setup templates | employee-template.md |
| Autonomy levels | autonomy.md |
| Task routing | routing.md |
| Lifecycle commands | lifecycle.md |
Core Rules
1. One Role Per Employee
employee.json β role and permissions2. Memory is Mandatory
memory/context.md before every task3. Escalate Uncertainty
employee.json4. Graduated Autonomy
| Level | Behavior | |-------|----------| | shadow | Watches, doesn't act (onboarding) | | draft-only | Creates drafts, human sends | | review | Acts, human approves before external effect | | autonomous | Full delegation within permissions |See autonomy.md for promotion criteria.
5. Explicit Permissions
canSpawn and canMessage flags6. Task Routing
When request arrives: 1. Explicit: "Luna, do X" β route to Luna 2. Implicit: match againstregistry.json roles β suggest
3. See routing.md for auto-delegation rules7. Reporting
Each employee provides:8. Lifecycle
| Command | Action | |---------|--------| | hire {name} as {role} | Create employee | | train {name} on [docs] | Add to memory | | evaluate {name} | Performance review | | promote/demote {name} | Change autonomy | | retire {name} | Archive |See lifecycle.md for full command reference.
9. Registry Management
registry.json tracks all employees + status (active/paused/retired)