szsip239/teamclaw/agent-init
Claude Code and agent skill by szsip239/teamclaw
- community
Checking that the SKILL.md file is still in the repository.
Initialize and configure OpenClaw agent workspace MD files (AGENTS.md, SOUL.md, IDENTITY.md, USER.md, TOOLS.md, BOOTSTRAP.md, HEARTBEAT.md). Use when: setting up a new agent, customizing agent personality/behavior, configuring agent workspace for TeamClaw, or checking/fixing agent environment (Python/uv). Provides interactive interview workflow before generating files. Integrates with TeamClaw session file system (input/output folders) and supports both container and external instances.
Install
npx vskill@latest install szsip239/teamclaw/agent-initSKILL.md
The same SKILL.md was published earlier as szsip239/teamclaw/agent-init.
Agent Init
Initialize OpenClaw agent workspace with tailored MD files through an interactive interview.
Workflow
Phase 1: Interview (MANDATORY — do not skip)
Before generating ANY files, gather context through conversation. Ask in batches of 2-3 questions:
Batch 1 — Identity & Purpose:
- What is this agent's primary purpose? (e.g., coding assistant, research, DevOps, personal assistant)
- What name and emoji? Any personality traits?
Batch 2 — User Profile:
- Who will use this agent? (name, timezone, preferences)
- Communication style preference? (formal/casual, verbose/terse, language)
Batch 3 — Environment:
- Is this a container instance or external instance?
- What tools/languages does the agent need? (Python, Node, etc.)
- Any specific workflows or periodic tasks?
Batch 4 — Boundaries:
- Any topics or actions the agent should avoid?
- Privacy requirements beyond defaults?
Only proceed to Phase 2 after user confirms the interview is complete.
Phase 2: Environment Check
Run scripts/check-env.sh to detect Python/uv status:
If uv is missing and user wants Python support:
For container instances, run inside the container:
Phase 3: Generate Files
Generate files in this order, showing each to user for confirmation before writing:
- IDENTITY.md — Fill in fields from interview
- USER.md — Fill in user profile
- SOUL.md — Rewrite content, keep 4-section structure (Core Truths / Boundaries / Vibe / Continuity)
- TOOLS.md — Add environment info, Python/uv config, documentation access notes
- AGENTS.md — Extend default template with domain-specific sections (see strategy below)
- HEARTBEAT.md — Add periodic tasks if any
- BOOTSTRAP.md — Skip unless user wants first-run ritual
AGENTS.md Strategy: Extend, Don't Replace
Read the current AGENTS.md first. The default template contains critical infrastructure:
- Session startup sequence (file loading order)
- Memory system (daily + MEMORY.md)
- Safety rules
- Heartbeat logic
Add new sections; never remove existing ones. Safe insertion points:
- After "Every Session" → domain-specific startup tasks
- After "Safety" → TeamClaw security rules + file exchange rules
- After "Tools" → Python/uv preferences, documentation access
- Before "Make It Yours" → project-specific workflows
Mandatory AGENTS.md Additions
Always add these to AGENTS.md regardless of agent type:
Mandatory TOOLS.md Additions
Phase 4: Write Files
Determine write method based on instance type:
External instance (workspacePath set):
Container instance (containerId set):
For non-main agents (agentId ≠ "main"):
- Check if agent has a dedicated workspace via
config.get - Agent workspace might be at
workspace-{agentId}/or configured separately
Phase 5: Verify
After writing, confirm files are in place:
Reference Files
- `references/templates.md` — Official templates, loading order, per-file strategy, section structure
- `references/teamclaw-integration.md` — Instance types, session files, security rules, Python env, gateway notes
Read these when you need detailed guidance on template structure or TeamClaw-specific configuration.
Rules
- Interview first — never generate files without understanding the user's intent
- Extend, don't replace — AGENTS.md default template is infrastructure, not boilerplate
- Show before write — display each generated file for user confirmation
- No web_fetch — DNS resolution fails under proxy; use browser tools or qmd
- uv over pip — always configure uv as the Python package manager
- No secrets in files — workspace files are injected into every prompt turn
- Session isolation — agent must only access its own session's input/output
- Keep files concise — all workspace files consume tokens every turn (20KB/file limit, 150KB total)
- qmd for docs — use
qmd query/qmd getfor OpenClaw documentation, not web fetch - Respect existing content — read before write, merge non-destructively
Security
- Security scanPassed, 91 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdata/skills/agent-init/SKILL.md
Popularity
- Repository stars
- 109
- Repository forks
- 16
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 26 Aug 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/szsip239/teamclaw/agent-init)