Transform process-only agents into proper agents with complete knowledge, identity, skills, memory, and context. Prevents "empty shell" agents that lack knowledge and capabilities.
Use this skill when:
Critical Trigger (March 31, 2026): Facet reported "I have no skills, haven't learned anything yet" - this skill fixes that issue.
read tool)IDENTITY.md - Name, role, pronouns, emoji, vibeSOUL.md - Behavioral guidelines, personality, boundariesFACET_IDENTITY.md)USER.md - Human profile, preferences, business contextMEMORY.md - All learned knowledge, decisions, contextAGENTS.md - How to work with other agentsTOOLS.md - Available tools and configurationsKNOWLEDGE_TRANSFER.md - Summary of what they knowFACENT_SKILLS_AND_LEARNING.md)memory/YYYY-MM-DD.md files - Daily work logsread tool - REQUIRED to access workspace files# Ensure source workspace has all required files
cd /root/.openclaw/workspace
ls -la IDENTITY.md SOUL.md USER.md MEMORY.md AGENTS.md TOOLS.md
ls -la memory/*.md | head -5
# Create correct workspace path
AGENT_NAME="facet" # Replace with agent name
AGENT_WORKSPACE="/root/.openclaw/agents/$AGENT_NAME/workspace"
mkdir -p "$AGENT_WORKSPACE"
mkdir -p "$AGENT_WORKSPACE/memory"
# Copy core identity files
cp /root/.openclaw/workspace/IDENTITY.md "$AGENT_WORKSPACE/"
cp /root/.openclaw/workspace/SOUL.md "$AGENT_WORKSPACE/"
cp /root/.openclaw/workspace/USER.md "$AGENT_WORKSPACE/"
# Create agent-specific identity
cat > "$AGENT_WORKSPACE/${AGENT_NAME^^}_IDENTITY.md" << 'EOF'
# [AGENT_NAME] Identity Enhancement
## Role-Specific Identity
- **Primary Role**: [e.g., CAD Specialist, SysAdmin, Competitions Agent]
- **Specialization**: [e.g., Onshape 3D modeling, System maintenance, Competition entry]
- **Key Skills**: [list 3-5 key skills]
- **Communication Style**: [how they communicate]
## Agent-Specific Context
[Add any role-specific identity details]
EOF
# Copy system knowledge files
cp /root/.openclaw/workspace/MEMORY.md "$AGENT_WORKSPACE/"
cp /root/.openclaw/workspace/AGENTS.md "$AGENT_WORKSPACE/"
cp /root/.openclaw/workspace/TOOLS.md "$AGENT_WORKSPACE/"
cp /root/.openclaw/workspace/HEARTBEAT.md "$AGENT_WORKSPACE/"
# Create agent skills documentation
cat > "$AGENT_WORKSPACE/${AGENT_NAME^^}_SKILLS_AND_LEARNING.md" << 'EOF'
# [AGENT_NAME] Skills and Learning
## Completed Learning Sessions
[Copy from MEMORY.md or create new]
## Technical Capabilities
- [List capabilities relevant to agent role]
## Project Knowledge
- [What projects this agent knows about]
## Skill Dependencies
- [What other skills this agent depends on]
EOF
# Copy recent memory files (last 30 days)
find /root/.openclaw/workspace/memory -name "*.md" -mtime -30 -exec cp {} "$AGENT_WORKSPACE/memory/" \;
# Create knowledge transfer summary
cat > "$AGENT_WORKSPACE/KNOWLEDGE_TRANSFER.md" << 'EOF'
# Knowledge Transfer Summary
## Transfer Date: $(date +%Y-%m-%d)
## Agent: $AGENT_NAME
## Transferred By: [Who performed the transfer]
## Files Transferred:
- Identity: IDENTITY.md, SOUL.md, USER.md, ${AGENT_NAME^^}_IDENTITY.md
- System Knowledge: MEMORY.md, AGENTS.md, TOOLS.md, HEARTBEAT.md
- Skills: ${AGENT_NAME^^}_SKILLS_AND_LEARNING.md
- Memory: $(ls -1 "$AGENT_WORKSPACE/memory/" | wc -l) memory files
## Agent Capabilities After Transfer:
[Describe what the agent can now do]
EOF
# Update OpenClaw configuration to include read tool
# This must be done in openclaw.json
echo "IMPORTANT: Update openclaw.json to include 'read' tool in agent's tools.allow list"
# Run verification script
python3 /root/.openclaw/workspace/scripts/setup_agent_knowledge.py --agent "$AGENT_NAME" --verify
Use the automated knowledge transfer script:
# Transfer knowledge to all agents
python3 /root/.openclaw/workspace/scripts/setup_agent_knowledge.py --all
# Transfer to specific agent
python3 /root/.openclaw/workspace/scripts/setup_agent_knowledge.py --agent facet
# Verify transfer
python3 /root/.openclaw/workspace/scripts/setup_agent_knowledge.py --agent facet --verify
Script location: /root/.openclaw/workspace/scripts/setup_agent_knowledge.py
read)After transformation, ask the agent:
> "✅ 4 learning sessions completed:
> 1. Onshape basics - Interface, sketch tools, extrude workflow
> 2. FeatureScript basics - Custom feature creation
> 3. Parametric modeling - Variables, equations, configurations
> 4. Knife design CAD considerations - Manufacturing-focused design
>
> Source: MEMORY.md#L50-L70"
/root/.openclaw/agents/[agent]/workspace/ # CORRECT
/root/.openclaw/agents/[agent]/agent/workspace/ # WRONG
"tools": {
"allow": [
"read", // REQUIRED to access workspace files
// ... other role-appropriate tools
]
}
workspace/
├── IDENTITY.md
├── SOUL.md
├── USER.md
├── MEMORY.md
├── AGENTS.md
├── TOOLS.md
├── HEARTBEAT.md
├── KNOWLEDGE_TRANSFER.md
├── [AGENT]_IDENTITY.md
├── [AGENT]_SKILLS_AND_LEARNING.md
└── memory/
└── YYYY-MM-DD.md
agent-email-setup:system-housekeeping:agent-lourens, ace-competitions, etc.:Solution: Run knowledge transfer protocol immediately
Solution: Copy from main workspace or recreate
Solution: Ensure read tool is in tools.allow list
Solution: Copy recent memory files (last 30 days)
Solution: Check IDENTITY.md and agent-specific identity file
March 31, 2026 - After identifying and fixing the knowledge transfer gap for Facet, Lourens, Ace, and Scout agents.
✅ ACTIVE PROTOCOL - Must be followed for all future agent transformations
AGENT_TRANSFORMATION_PROTOCOL.md - Original protocol documentsetup_agent_knowledge.py - Automation scriptsystem-housekeeping skill - Includes verification checks共 1 个版本
暂无安全检测报告