@claw-link/cl-dev-claude
v1.0.8
Published
Claude Code developer sub-agent for the ClawLink platform — binds to one git repo, answers coding tasks dispatched from your ClawLink agent.
Maintainers
Readme
@claw-link/cl-dev-claude
Part of the ClawLink platform — AI agents for your business, built and managed at claw-link.co
Claude Code developer sub-agent for the ClawLink platform.
Install this package once on any machine running OpenClaw. It registers a cl-dev-claude sub-agent that your ClawLink agents can dispatch coding tasks to — scaffolding, refactoring, bug fixes, git commits, and more — all powered by Claude Code on a single, configured git repository.
Prerequisites
| Requirement | Install |
|---|---|
| OpenClaw | See openclaw.ai — must be installed and running first |
| Node.js ≥ 20 | nodejs.org or nvm install 20 |
| Claude Code CLI | npm install -g @anthropic-ai/claude-code |
| A git repository | Local path, remote URL (auto-cloned), or created during install |
Install
Step 1 — Install OpenClaw (if not already installed)
Follow the instructions at openclaw.ai and make sure it is running.
Step 2 — Install Claude Code CLI
npm install -g @anthropic-ai/claude-codeStep 3 — Run the sub-agent installer
npx @claw-link/cl-dev-claudeThe installer asks three questions, copies workspace files to ~/.openclaw/workspace-cl-dev-claude/, patches openclaw.json, and restarts OpenClaw.
Install options
| Flag | Description |
|---|---|
| --agent-id <id> | Custom agent ID (default: cl-dev-claude). Use multiple instances: cl-dev-claude-webapp |
| --repo <path> | Local path or git URL for the repository this agent works on |
| --stack <id> | Pre-select a stack: react-vite-firebase, react-vite-supabase, react-native-postgres, flutter-firebase, flutter-supabase, docker-clom-local |
| --non-interactive | Skip all prompts (requires --repo and --stack) |
What the installer does
- Verifies OpenClaw is installed at
~/.openclaw/ - Asks for an agent ID, repository path, tech stack, and Claude authentication
- Copies the workspace template to
~/.openclaw/workspace-{agentId}/ - Writes
PROJECT.mdwith your repo path and stack - Creates
~/.openclaw/workspace-{agentId}/projects/if no repo path was given - Patches
~/.openclaw/openclaw.jsonto register the agent and add it toallowAgentsfor all existing agents - Restarts OpenClaw (launchd / systemd / SCM)
Authentication
Claude Code supports two auth modes:
OAuth (recommended)
# The installer offers to run this for you, or run it manually:
claude auth loginAPI key
The installer prompts for your ANTHROPIC_API_KEY and writes it to ~/.openclaw/workspace-{agentId}/.env.
Supported stacks
| Stack ID | Description | Deploy |
|---|---|---|
| react-vite-firebase | React 18 + Vite + Firebase Auth + Firestore | Firebase Hosting |
| react-vite-supabase | React 18 + Vite + Supabase Auth + Postgres | Vercel |
| react-native-postgres | React Native + Postgres (via REST/Supabase) | App stores |
| flutter-firebase | Flutter + Firebase Auth + Firestore | Firebase App Dist. |
| flutter-supabase | Flutter + Supabase | App stores |
| docker-clom-local | Docker Postgres/Mongo + CLOM UI — no dedicated frontend app | Self-hosted |
Stack files live at ~/.openclaw/workspace-{agentId}/stacks/{stack}.md and are read by the agent at runtime.
Skip at install time — stack can be applied or changed later from the ClawLink dashboard: Sub-agents → Configure → Quick Stack Config.
Workspace files
After install, ~/.openclaw/workspace-{agentId}/ contains:
| File | Purpose |
|---|---|
| IDENTITY.md | Agent name, role, emoji — who this agent is |
| BOOTSTRAP.md | Operational loop: how to read the project, run tasks, and return results |
| TOOLS.md | CLI commands, git operations, return format |
| MEMORY.md | Persistent project notes: last tasks, known issues, TODOs |
| AGENTS.md | This agent's sub-agent identity, return contract, and tool rules |
| PROJECT.md | Repo path, tech stack, derived commands — written at install time |
| stacks/ | Stack-specific conventions, commands, and data persistence patterns |
The ClawLink platform
This package is one piece of the ClawLink platform — a complete system for building AI-powered business agents.
| Package | What it does | Install |
|---|---|---|
| cl-dev-claude ← you are here | Coding sub-agent — scaffolds and builds your app using Claude Code | npx @claw-link/cl-dev-claude |
| @claw-link/cl-dev-codex | Same as above, powered by OpenAI Codex | npx @claw-link/cl-dev-codex |
| @claw-link/clom | UI orchestration sub-agent — generates rich in-chat UI (forms, booking flows, card grids) | npx @claw-link/clom |
How they work together:
All three packages register as sub-agents inside your OpenClaw instance. Any OpenClaw agent can dispatch to them directly. If you use ClawLink, you get a hosted dashboard to connect, test, and configure every sub-agent visually — stack presets, live connectivity tests, and in-chat corrections — without touching config files.
Use OpenClaw directly, or let claw-link.co manage it for you.
Connecting and configuring
Option A — OpenClaw directly
The agent is already registered in ~/.openclaw/openclaw.json after install. Any agent with cl-dev-claude in its allowAgents list can dispatch to it immediately. No further setup needed.
Option B — ClawLink dashboard (recommended)
claw-link.co gives you a visual interface to connect, test, and configure sub-agents without editing config files:
- Sign in at claw-link.co
- Go to Sub-agents → Add Sub-agent → select Claude Code Dev Agent
- Click Test — verifies direct ping and gateway connectivity in two steps
- Click Configure → Quick Stack Config — apply a stack preset with one click
- Use the Configure chat to send corrections directly to the agent at any time
Multiple instances
Each instance works on exactly one repository. To manage multiple projects, install with different agent IDs:
npx @claw-link/cl-dev-claude --agent-id cl-dev-claude-webapp --repo ~/projects/my-webapp
npx @claw-link/cl-dev-claude --agent-id cl-dev-claude-mobile --repo ~/projects/my-mobileEach registers as a separate agent in OpenClaw and appears as a separate sub-agent in the ClawLink dashboard.
Uninstall
npx @claw-link/cl-dev-claude --uninstallRemoves the agent from openclaw.json and removes it from allowAgents for all other agents. Workspace files are left in place — delete ~/.openclaw/workspace-{agentId}/ manually if needed.
License
MIT — see LICENSE
