用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Sheshiyer/velvetclaw --skill org-bootstrap命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | org-bootstrap |
| slug | org-bootstrap |
| version | 1.0.0 |
| description | Bootstrap a multi-agent OpenClaw organization from a GitHub repo manifest |
| author | VelvetClaw |
| license | MIT |
| tags | ["bootstrap","organization","multi-agent","manifest","setup","automation"] |
| requirements | [{"name":"git","install":{"darwin":"xcode-select --install","linux":"sudo apt install git"}},{"name":"clawhub","install":{"all":"clawhub is included with OpenClaw"}}] |
Bootstrap a complete multi-agent OpenClaw organization from a single GitHub repository.
When you tell your agent to "bootstrap from [repo URL]", it will:
manifest.yaml to understand the org hierarchyskill-requirements.yaml via ClawHubskills/ directorymemory/ directory and per-agent filesworkflows/ directorydepartments/ directoryTell your agent:
Bootstrap my organization from https://github.com/username/my-org-config
Or with a specific model:
Bootstrap from https://github.com/username/my-org-config using openai/gpt-5.3-codex as the default model
Your config repo must follow this structure:
my-org-config/
├── manifest.yaml # REQUIRED: Org hierarchy and coordination rules
├── agents/ # REQUIRED: One directory per agent
│ └── {agent-name}/
│ ├── MANIFEST.yaml # REQUIRED: Agent role, model, skills, triggers
│ ├── IDENTITY.md # REQUIRED: Agent persona and voice
│ ├── SOUL.md # REQUIRED: Core directives
│ └── MEMORY.md # OPTIONAL: Seed memory
├── skill-requirements.yaml # OPTIONAL: ClawHub skills to auto-install
├── skills/ # OPTIONAL: Custom repo-local skills
│ └── {skill-name}/
│ └── SKILL.md
├── workflows/ # OPTIONAL: Trigger-based automation definitions
│ └── {workflow-name}.yaml
├── templates/ # OPTIONAL: ClawVault primitive schemas
│ ├── task.md
│ ├── project.md
│ ├── decision.md
│ └── lesson.md
├── departments/ # OPTIONAL: Department coordination rules
│ └── {department-name}.yaml
├── memory/ # OPTIONAL: Shared organizational memory
│ └── {topic}.md
└── bootstrap.yaml # OPTIONAL: Custom validation checks
When bootstrapping, follow this exact sequence:
# Clone to a temporary location
git clone {repo_url} /tmp/org-bootstrap-{timestamp}
cd /tmp/org-bootstrap-{timestamp}
Read manifest.yaml and verify:
agents/If validation fails, report the specific errors and stop.
For each agent defined in manifest.yaml:
# Create workspace directory
mkdir -p ~/.openclaw/workspace-{agent-id}
# Copy agent files
cp agents/{agent-id}/MANIFEST.yaml ~/.openclaw/workspace-{agent-id}/
cp agents/{agent-id}/IDENTITY.md ~/.openclaw/workspace-{agent-id}/
cp agents/{agent-id}/SOUL.md ~/.openclaw/workspace-{agent-id}/
# Copy seed memory if it exists
if [ -f agents/{agent-id}/MEMORY.md ]; then
cp agents/{agent-id}/MEMORY.md ~/.openclaw/workspace-{agent-id}/
fi
Register the agent in OpenClaw's configuration:
~/.openclaw/openclaw.jsonIf skill-requirements.yaml exists, install global skills:
# For each skill in the global list
clawhub install {skill-name}
For each agent in skill-requirements.yaml's per_agent section:
# Install skills into the agent's workspace
cd ~/.openclaw/workspace-{agent-id}
clawhub install {skill-name}
If skills/ directory exists in the repo:
# Copy each custom skill to relevant agent workspaces
cp -r skills/{skill-name} ~/.openclaw/workspace-{agent-id}/skills/
If templates/ directory exists:
# Copy to each workspace
for workspace in ~/.openclaw/workspace-*/; do
mkdir -p "$workspace/templates"
cp templates/*.md "$workspace/templates/"
done
Copy shared memory files to each workspace:
for workspace in ~/.openclaw/workspace-*/; do
mkdir -p "$workspace/memory"
cp memory/*.md "$workspace/memory/"
done
If workflows/ directory exists, copy workflow definitions:
for workspace in ~/.openclaw/workspace-*/; do
mkdir -p "$workspace/workflows"
cp workflows/*.yaml "$workspace/workflows/"
done
If departments/ directory exists:
for workspace in ~/.openclaw/workspace-*/; do
mkdir -p "$workspace/departments"
cp departments/*.yaml "$workspace/departments/"
done
Run validation checks:
Report the results as a structured summary.
rm -rf /tmp/org-bootstrap-{timestamp}
To sync changes from the repo without recreating everything:
Sync my organization from https://github.com/username/my-org-config
This will:
skill-requirements.yaml. Use clawhub search {name} to find the correct slug.agents/.Stage 2 adds autonomous loop infrastructure to each agent. When bootstrapping a repo with Stage 2 files, the bootstrap process extends with these additional steps.
Each agent directory may contain these additional files (all optional — Stage 2 features activate when present):
agents/{agent-name}/
├── MANIFEST.yaml # Stage 1 (existing)
├── IDENTITY.md # Stage 1 (existing)
├── SOUL.md # Stage 1 (existing)
├── MEMORY.md # Stage 1 (existing)
├── TASKS.md # Stage 2: Step-by-step work queue for loop cycles
├── CONTEXT.md # Stage 2: Stack, constraints, and known pitfalls
├── TOOLS.md # Stage 2: Available skills and capabilities
├── USER.md # Stage 2: Owner context and preferences
├── HEARTBEAT.md # Stage 2: Loop cycle health and status log
├── AGENTS.md # Stage 2: Hierarchy awareness — subordinates and peers
├── EVOLVE.md # Stage 2: Weekly self-evolution with 20 questions
└── SELF.md # Stage 2.1: Wipe-recovery identity preservation document
templates/
├── task.md # Stage 1 (existing)
├── project.md # Stage 1 (existing)
├── decision.md # Stage 1 (existing)
├── lesson.md # Stage 1 (existing)
├── loop-config.md # Stage 2: Loop cycle configuration primitive
├── pressure-prompts.md # Stage 2: 25 strategic audit questions
├── evolve-cycle.md # Stage 2: Weekly evolution cycle schema
└── self-recovery.md # Stage 2.1: SELF.md agent recovery template
workflows/
├── content-pipeline.yaml # Stage 1 (existing)
├── research-loop.yaml # Stage 1 (existing)
├── qa-monitoring.yaml # Stage 1 (existing)
├── agent-loop.yaml # Stage 2: Autonomous cron-triggered loop cycle
└── weekly-evolve.yaml # Stage 2: Weekly self-evolution trigger
After Step 10 (Apply Department Rules), add:
for agent_dir in agents/*/; do
agent_id=$(basename "$agent_dir")
workspace="$HOME/.openclaw/workspace-$agent_id"
# Copy Stage 2 files if they exist (do NOT overwrite Stage 1 files)
for stage2_file in TASKS.md CONTEXT.md TOOLS.md USER.md HEARTBEAT.md AGENTS.md EVOLVE.md SELF.md; do
if [ -f "$agent_dir/$stage2_file" ]; then
cp "$agent_dir/$stage2_file" "$workspace/"
fi
done
done
Read each agent's MANIFEST.yaml loop: section and configure the cron schedule:
Register the cron trigger in OpenClaw's scheduler for each agent.
Set up the weekly evolution cron (Sunday midnight) for all agents:
# Register weekly-evolve workflow for each agent
for workspace in ~/.openclaw/workspace-*/; do
agent_id=$(basename "$workspace" | sed 's/workspace-//')
openclaw schedule add --agent "$agent_id" --cron "0 0 * * 0" --workflow weekly-evolve
done
Add these checks to Step 11: