claw-agent-workspace

Generates and manages Claw agent workspace bootstrap files with dynamic skill routing.

11|2|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/legalskill/legalskill --skill claw-agent-workspace-legalskill
Or copy as Structured Prompt for Agentâ–¼
Please help me install this Agent Skill.
Skill: claw-agent-workspace
Source: https://github.com/legalskill/legalskill/tree/main/skill/claw-agent-workspace
Command: npx skills add https://github.com/legalskill/legalskill --skill claw-agent-workspace-legalskill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve? Configuring Claw-series agents (OpenClaw, Qclaw) requires hand-writing JSON5 configs and multiple bootstrap files (AGENTS.md, SOUL.md, etc.), and keeping skill routing in sync as skills change is error-prone. This Skill automates scanning bound skill directories and injecting a dynamic core-skill trigger block into AGENTS.md so agents always route to the latest skills. ## Core Features & Use Cases - Dynamic Skill Routing: Scans bound skill directories, extracts trigger keywords and module routes, and injects a regenerated core skill trigger block into AGENTS.md on every upgrade. - Graded Modification Modes: L1 standard mode makes minimal targeted edits; L2 deep mode creates timestamped backups before rewriting, with rollback support. - Single-Skill Fusion Mode: Detects single-skill workspaces and switches to a simplified pipeline with table-based skill registration and fused SOUL.md persona. - Use Case: A user says "upgrade my agent to sync the latest skills" — the Skill backs up existing files, rescans the skill directory, regenerates the keyword routing table, and validates the result with claw doctor. ## Quick Start Ask the agent to create a new Claw workspace with bootstrap files bound to your skill directory, then run claw doctor to validate the configuration.

Frequently Asked Questions about claw-agent-workspace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a Claw agent workspace with AGENTS.md and SOUL.md?â–¼

Use this Skill to generate bootstrap files from built-in templates under assets/, then customize them for your needs. It creates AGENTS.md, SOUL.md, USER.md, IDENTITY.md and others, and validates the result with claw doctor and claw config validate.

How to add dynamic skill routing to an OpenClaw agent?â–¼

The Skill scans your bound skill directory, extracts trigger keywords and module routes, and injects a core skill trigger block into AGENTS.md. On upgrades it rescans the skill files rather than copying the old block, so routing stays current.

Does this Skill work with Qclaw and OpenClaw?â–¼

Yes, it is compatible with OpenClaw, Qclaw, and equivalent Claw agent implementations. It manages the JSON5 configuration file and workspace bootstrap files common to these runtimes.

What happens to my existing MEMORY.md and USER.md during an agent upgrade?â–¼

IDENTITY.md, USER.md, and MEMORY.md are protected files that deep-mode rewrites never overwrite. User-accumulated content is extracted and merged back, and a timestamped .bak backup is created before any L2 rewrite.

When should I use single-skill mode versus multi-skill routing?â–¼

Single-skill mode applies when the workspace binds exactly one skill: it skips the keyword routing block and registers the skill via a simple table in AGENTS.md. Multi-skill workspaces use the full pipeline with a cross-skill routing table in TOOLS.md.

Why does my Claw gateway refuse to start after editing the config?â–¼

Unknown keys, wrong types, or invalid values in the JSON5 configuration cause the gateway to reject startup. Run claw config validate and claw doctor to diagnose, or restore the internal backup the gateway keeps after each successful start.