agent-deploy
Deploy a new isolated OpenClaw agent with its own Telegram bot, workspace, and session storage.
Skill by Fadil369
Chalk Labs
Need help deploying agent-deploy?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fadil369-agent-deploy-aec033
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
agent-deploy- Description
- Deploy a new isolated OpenClaw agent with its own Telegram bot, workspace, and session storage. Use when user asks to create a new agent, add a new bot, or set up multi-agent routing. Uses openclaw config set for safe config updates with doctor validation and auto-rollback.
- License
- MIT
- Instructions
- 115 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (7)
- origin.json · .clawhub/
- SKILL.md
- _meta.json
- deploy.sh · scripts/
- deploy_helper.py · scripts/
- list.sh · scripts/
- remove.sh · scripts/
SKILL.md (first lines)
# Agent Deploy & Isolation Skill
## WHEN TO USE THIS SKILL
Use this skill when the user says ANY of the following (or similar):
- "deploy a new agent"
- "add a new agent"
- "create a new agent"
- "set up a new bot"
- "bind a bot to a new agent"
- "add a telegram bot"
- "list agents" or "show agents"
- "remove agent" or "delete agent"
## WHAT YOU NEED FROM THE USER
Before running any deploy script, you MUST collect these two values from the user:
| Required | Example | How to get it |
|----------|---------|---------------|
| **agentId** | `research` | Ask: "What should I name this agent?" (lowercase, no spaces, no special chars) |
| **botToken** | `123456:ABC-xyz` | Ask: "What is the Telegram Bot Token?" (user gets this from @BotFather) |
If the user provides both in their message, proceed immediately.
If the user is missing one or both, ask for the missing value(s) before proceeding.
## HOW TO EXECUTE
### Action: DEPLOY a new agent
Run this exact command, replacing `<agentId>` and `<botToken>` with the user's values:
```bash
bash {baseDir}/scripts/deploy.sh <agentId> <botToken>
```
**Example:** If user says "deploy agent called research with token 123456:ABCdef":
```bash
bash {baseDir}/scripts/deploy.sh research 123456:ABCdef
```
After the script finishes:
- If output contains "SUCCESS": tell the user the agent is deployed.
- If output contains "CONFLICT": tell the user the agent already exists.
- If output contains "ERROR": tell the user what went wrong.
- If output contains "ROLLING BACK": tell the user the change was safely reverted.
DO NOT run `systemctl restart` unless the script output explicitly says to.
The script handles hot-reload automatically for channels and bindings.
### Action: LIST all agents
```bash
bash {baseDir}/scripts/list.sh
```
Show the output table to the user as-is.
### Action: REMOVE an agent
Run this exact command, replacing `<agentId>`:
```bash
bash {baseDir}/scripts/remove.sh <agentId>
```
**Example:** If user says "remove the research agent":
```bash
bash {baseDir}/scripts/remove.sh research
```
## STRICT RULES ??DO NOT VIOLATE
1. **NEVER edit openclaw.json directly.** Do not use `write`, `edit`, `apply_patch`, or any file editing tool on `openclaw.json`. The deploy script uses `openclaw config set` which is the only safe way.
2. **NEVER skip the pre-flight check.** Always run the full deploy.sh script. Do not try to run individual `openclaw config set` commands yourself.
3. **NEVER change the agentId format.** It must be lowercase letters, numbers, and hyphens only. No spaces, no uppercase, no special characters.
4. **NEVER deploy without a valid bot token.** The token must match the format: `digits:alphanumeric` (e.g., `123456789:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw`).
5. **NEVER modify the main agent.** The `remove.sh` script refuses to remove the main agent. Do not try to work around this.
## WHAT THE SCRIPT DOES AUTOMATICALLY
You do NOT need to do any of these manually. The script handles everything:
- Creates isolated workspace at `~/.openclaw/workspace-<agentId>/`
- Adds agent to `agents.list` with safe defaults:
- `tools.deny: ["gateway"]` (agent cannot modify core config)
- `sandbox.mode: "non-main"` (non-main sessions are sandboxed)
- `sandbox.scope: "agent"` (one container per agent)
- `sandbox.workspaceAccess: "none"` (sandbox cannot access host workspace)
- Adds routing binding: `<agentId>` -> `telegram:<agentId>`
- Adds Telegram account with the bot token
- Validates with `openclaw doctor`
- Auto-rollbacks on any failure
- Merges API keys from BOTH global config (`openclaw.json` auth.profiles) AND main agent's auth-profiles.json
- Migrates from single-bot to multi-account mode if needed
## TROUBLESHOOTING
If the user says the new bot is not responding after deploy:
1. First, check logs: `journalctl --user -u openclaw-gateway --no-pager -n 20`
2. Look for `[telegram] [<agentId>] starting provider` in logs
3. If NOT found, restart: `systemctl --user restart openclaw-gateway`
4. If still not working, run: `bash {baseDir}/scripts/list.sh` to verify config
## ENVIRONMENT VARIABLES
These are optional. The scripts use sensible defaults:
| Variable | Default | Description |
|----------|---------|-------------|
| `OPENCLAW_CONFIG_PATH` | `~/.openclaw/openclaw.json` | Custom config file path |
| `OPENCLAW_BIN` | `openclaw` | Custom openclaw CLI path |From Fadil369/opal, MIT.
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 12, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Fadil369/opal
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from Fadil369
- 0.556score
Clinical Risk Score Calculator
Fadil369
Checklist-style clinical decision calculators (for example pulmonary embolism and pneumonia severity items) with an AI assistant.
ArtifactAIhealth lifestyle - 0.556score
Platform Image Resizer
Fadil369
Uploads an image and produces resized copies using platform presets or a custom width and height.
ArtifactNo sign-updesign media - 0.553score
Writing Assistant Editor
Fadil369
Text editor with font and line-spacing controls plus Claude-powered help for improving what you write.
ArtifactAItext writing - 0.502score
cloudflare-dns
Fadil369
Manage Cloudflare DNS records via API.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
agent-deploy
Fadil369
Deploy a new isolated OpenClaw agent with its own Telegram bot, workspace, and session storage.
SkillCFreshness: C★ 1Claude Code +9 - 0.498score
cloudflare-image-gen
Fadil369
Generate images using Cloudflare Workers AI flux-1-schnell model.
SkillCFreshness: C★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get agent-deploy running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
agent-deploy skill. Agent Mart. https://agentmart.dev/skills/fadil369-agent-deploy-aec033 (last updated 2026-10-24)