Skip to content
Back to skills

Agent Control

ASecurity

Manage OpenClaw isolated agents from chat with short commands. Use when the user asks to create/list/switch/bind/delete agents, route channels to a specific agent, or set an agent identity without manually typing full CLI syntax.

  • 33 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 5, 2026
toolsshell

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill agent-control --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Control?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Control
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-agent-control/badge)](https://www.skillsdirectory.com/skills/dvcrn-agent-control)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-control
description: "Manage OpenClaw isolated agents from chat with short commands. Use when the user asks to create/list/switch/bind/delete agents, route channels to a specific agent, or set an agent identity without manually typing full CLI syntax."
---

# Agent Control

Translate short chat commands into OpenClaw CLI agent operations.

## Command grammar

Accept these commands (case-insensitive, trim extra spaces):

- `agent list`
- `agent create <name> [workspace=<path>] [model=<id>]`
- `agent switch <name> [channel=<channel[:accountId]>]`
- `agent bind <name> <channel[:accountId]>`
- `agent unbind <name> <channel[:accountId]>`
- `agent delete <name>`
- `agent identity <name> [display="..."] [emoji=🗡️] [avatar=<path>]`

If input is ambiguous, ask one focused question.

## Execution mapping

Run these exact command patterns:

- List:
  - `openclaw agents list`
- Create:
  - `openclaw agents add <name> --workspace <path> --model <id>`
  - Omit optional flags when missing.
  - Default workspace when omitted: `~/clawd/agents/<name>`.
- Switch (route this channel/account to an agent):
  - `openclaw agents bind --agent <name> --bind <channel[:accountId]>`
  - If channel is omitted, infer from current surface when possible (e.g. `webchat`).
- Bind / unbind:
  - `openclaw agents bind --agent <name> --bind <binding>`
  - `openclaw agents unbind --agent <name> --bind <binding>`
- Delete:
  - Require explicit confirmation in the same turn for destructive action.
  - Then run: `openclaw agents delete <name>`
- Identity:
  - `openclaw agents set-identity --agent <name> [--name <display>] [--emoji <emoji>] [--avatar <path>]`

## Response style

After each operation, return:
1. A one-line result (success/failure)
2. The next useful command for the user

Keep it brief and practical.

## Safety rules

- Treat `agent delete` as destructive: confirm before running.
- Never run unrelated shell commands.
- If a command fails, show the error and one concrete fix.

## scripts/

Use `scripts/example.py` as a deterministic helper wrapper for command parsing/execution when needed.

Files in this skill

  • SKILL.md2.1 KB
  • scripts/example.py2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…