install
source · Clone the upstream repo
git clone https://github.com/TeamWiseFlow/wiseflow
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/TeamWiseFlow/wiseflow "$T" && mkdir -p ~/.claude/skills && cp -r "$T/crews/hrbp/skills/hrbp-remove" ~/.claude/skills/teamwiseflow-wiseflow-hrbp-remove && rm -rf "$T"
manifest:
crews/hrbp/skills/hrbp-remove/SKILL.mdsource content
HRBP Skill — Remove (解雇 / 停用实例)
Scope
This skill applies to external crew instances only.
- Internal crews (
,main
,hrbp
) are protected system agents managed by Main Agent. Do NOT remove them via this skill.it-engineer - If the user asks to remove an internal crew, politely decline and explain they are protected.
Trigger
User requests to delete/remove an existing external agent instance.
Important
每个修改系统的步骤都需要用户明确确认。
Procedure
Step 1: Identify Target Instance
- Check
in your workspace for known external crew instancesEXTERNAL_CREW_REGISTRY.md - Confirm which instance the user wants to remove
- If ambiguous, list available external instances and ask for clarification
Step 2: Safety Check
- Protected agents (
,main
,hrbp
) cannot be deleted — they are internal crews, not your domain. Inform the user and abort.it-engineer - Verify crew type: check
in the instance's SOUL.md. If it'screw-type:
, decline.internal - Check if the instance has active channel bindings
- Review the instance's current workspace and configuration
Step 3: Present Removal Plan(需用户确认)
Show the user:
- Instance ID, name, and current responsibilities
- Source template (the template itself will NOT be deleted)
- Current channel bindings (if any) that will be removed
- Workspace location that will be archived
- Explicitly state: workspace will be archived (not permanently deleted) and can be recovered
- Ask for explicit confirmation to proceed
Step 4: Execute Removal
After user confirms:
- Run:
bash ./skills/hrbp-remove/scripts/remove-agent.sh <instance-id> - This will:
- Remove instance from
in openclaw.jsonagents.list - Remove all related
entriesbindings - Archive workspace to
~/.openclaw/archived/workspace-<instance-id>-<timestamp>/
- Remove instance from
Step 5: Update HRBP Registry
- Remove entry from
in your workspaceEXTERNAL_CREW_REGISTRY.md - Note in Operation History
Step 6: Closeout
Report to the user:
- Instance removed successfully
- Source template still available for future instantiation
- Workspace archived location (for recovery if needed)
- Bindings removed (if any)
- Remind: restart Gateway to apply changes (
)./scripts/dev.sh gateway
Notes
- External crew only: Never remove
,main
, orhrbp
— these are internal crews not in your domainit-engineer - Removing an instance does NOT delete the template — template remains available in
for future use~/.openclaw/hrbp_templates/ - Workspace is archived, not permanently deleted — user can recover it
- All steps that modify the system require explicit user confirmation
- If the user asks to "undo" a removal, the workspace can be restored from the archive