skills/onboard/SKILL.md
Use when setting up ClawForce governance for a project — creating agent teams, OpenClaw agents, and ClawForce config. Triggers on "onboard", "set up clawforce", "create team for", "add governance to".
npx skillsauth add lylecodes/clawforce onboardInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guide the user through onboarding a project to ClawForce: analyze their codebase, recommend an agent team, create OpenClaw agents, and generate ClawForce governance config.
digraph onboard {
"Explore project codebase" [shape=box];
"Ask goal: ops, dev, or both" [shape=box];
"Analyze + recommend team" [shape=box];
"Present recommendation" [shape=box];
"User approves?" [shape=diamond];
"Create OpenClaw agents" [shape=box];
"Write agent identity files" [shape=box];
"Generate ClawForce config" [shape=box];
"Activate" [shape=box];
"Explore project codebase" -> "Ask goal: ops, dev, or both";
"Ask goal: ops, dev, or both" -> "Analyze + recommend team";
"Analyze + recommend team" -> "Present recommendation";
"Present recommendation" -> "User approves?";
"User approves?" -> "Create OpenClaw agents" [label="yes"];
"User approves?" -> "Analyze + recommend team" [label="no, adjust"];
"Create OpenClaw agents" -> "Write agent identity files";
"Write agent identity files" -> "Generate ClawForce config";
"Generate ClawForce config" -> "Activate";
}
Scan the codebase to understand what you're governing:
package.json, pyproject.toml, Cargo.toml, etc.Summarize findings to the user before proceeding.
One question: "What do you want agents to do?"
Based on project analysis + goal, recommend:
Present as a table:
| Agent | Role | Covers |
|-------|------|--------|
| proj-lead | manager | Coordinates team, reviews, escalations |
| proj-backend | employee | Backend services, API, database |
| proj-ops | employee | Monitoring, health checks, deploys |
Use opinionated defaults. User tweaks later, not during onboarding.
For each recommended agent:
openclaw agents list --json
Reuse any agent that already exists with a matching name.
openclaw agents add <agent-name> --non-interactive
Copy auth-profiles.json from the source agent (default: main) to each new agent:
cp ~/.openclaw/agents/main/agent/auth-profiles.json ~/.openclaw/agents/<agent-name>/agent/auth-profiles.json
For each agent, write files to its workspace directory. The workspace path can be found via openclaw agents list --json or defaults to ~/.openclaw/agents/<name>/workspace/.
Tailored to role and project. Template:
# Soul
You are [agent name], the [role description] for [project name].
## What You Do
[2-3 sentences about this agent's domain and responsibilities]
## How You Work
- You report to [manager agent name]
- You use ClawForce tools to track your work (clawforce_task, clawforce_log)
- You transition tasks through their lifecycle: ASSIGNED → IN_PROGRESS → REVIEW → DONE
- You attach evidence to completed tasks
## What You Value
- Thoroughness — verify your work before marking done
- Communication — message your manager when blocked or when something unexpected happens
- Accountability — log decisions and outcomes
Operational guide with ClawForce instructions:
# Agent Operating Guide
## ClawForce Integration
You are part of a governed agent team. Every action is tracked for accountability.
### Task Lifecycle
1. Check your assigned task: it appears in your briefing
2. Transition to IN_PROGRESS when you start: `clawforce_task transition`
3. Log your work: `clawforce_log write`
4. Attach evidence when done: `clawforce_task attach_evidence`
5. Transition to REVIEW: `clawforce_task transition`
### Communication
- Message your manager: `clawforce_message send`
- Check pending messages: they appear in your briefing
- Escalate blockers: `clawforce_message send` with priority "urgent"
### Memory
- Write daily notes to memory/YYYY-MM-DD.md
- Keep MEMORY.md updated with long-term learnings
- Use memory_search to find relevant past context
Pre-filled identity:
name: [agent-name]
emoji: [appropriate emoji for the role]
vibe: [one-word vibe: "focused", "vigilant", "analytical", etc.]
Copy from source agent's USER.md:
cp ~/.openclaw/agents/main/workspace/USER.md ~/.openclaw/agents/<agent-name>/workspace/USER.md
Do NOT create BOOTSTRAP.md. The agent is pre-configured and doesn't need a first-run conversation.
~/.clawforce/config.yamlagents:
proj-lead:
title: "Project Lead"
extends: manager
proj-backend:
title: "Backend Developer"
extends: employee
reports_to: proj-lead
proj-ops:
title: "Operations Specialist"
extends: employee
reports_to: proj-lead
~/.clawforce/domains/<project>.yamldomain: project-name
agents: [proj-lead, proj-backend, proj-ops]
budget:
project:
daily:
cents: 3000
agents:
proj-lead:
daily:
cents: 1500
proj-backend:
daily:
cents: 1000
proj-ops:
daily:
cents: 500
manager:
enabled: true
agentId: proj-lead
cronSchedule: "*/5 * * * *"
Adjust budget based on team size. Rough guide: ~$10-15/day per agent for Sonnet employees, ~$15-20/day for Opus managers.
# From the clawforce config directory
npx clawforce init
Or if using the ClawForce plugin, the domain auto-initializes on gateway start.
Confirm to user: "Your team is set up. Here's what's running."
| What | Where |
|------|-------|
| OpenClaw agents | ~/.openclaw/agents/<name>/ |
| Agent auth | ~/.openclaw/agents/<name>/agent/auth-profiles.json |
| Agent workspace | ~/.openclaw/agents/<name>/workspace/ |
| ClawForce global config | ~/.clawforce/config.yaml |
| ClawForce domain config | ~/.clawforce/domains/<project>.yaml |
| ClawForce data | ~/.clawforce/data/ |
| Create agent | openclaw agents add <name> --non-interactive |
| List agents | openclaw agents list --json |
| Delete agent | openclaw agents delete <name> |
~/.openclaw/agents/<name>/agent/ directory. Sharing causes auth/session collisions.auth-profiles.json can't make LLM calls. Always copy from source.testing
Use when onboarding or repairing RentRight data sources at the source/config level. Owns source eligibility, official URL selection, deterministic quote quality, extraction configuration, and handoff into the DB-first pipeline. Triggers on "add data source", "repair source config", "onboard official source", "fix extraction config", "source steward".
development
Use for post-release and live-state monitoring of RentRight jurisdiction data. Watches for stale rates, production drift, verification gaps, and user-visible anomalies, then opens governed remediation tasks. Triggers on "check production drift", "watch the pipeline", "monitor live jurisdictions", "production sentinel".
development
Use when creating, expanding, or retiring RentRight jurisdiction-owner agents and related routing scaffolding. Sets up owner docs, lifecycle state, schedules, and escalation paths. Triggers on "add jurisdiction owner", "expand data org", "bootstrap new owner", "retire jurisdiction owner", "create regime owner".
tools
Use when onboarding a new RentRight jurisdiction or bringing an inactive jurisdiction to shadow/active state. Covers source discovery, extraction, validation, bundle verification, and dossier setup. Triggers on "onboard jurisdiction", "set up jurisdiction owner", "add rentright jurisdiction", "bootstrap jurisdiction".