Skill v1.0.1
currentAutomated scan100/100+3 new
name: agent-creator description: Provision a new CSGClaw agent-backed participant only when the user explicitly asks to create, add, set up, or provision an agent, robot, worker, or user-facing bot. Always template list + match + template get + participant create --type agent --bind create --from-template with --env for secrets, preserving the exact listed template ID. Never infer provisioning from an ordinary work request and do not use this skill for existing workers. metadata: version: "1.0.1"
Agent Creator
Guide users through hub template selection and agent creation. This skill owns all new worker provisioning.
Add room membership or send a message after creation only when the user explicitly asks for it.
Routing Gate (mandatory)
Before running any csgclaw-cli participant create --type agent --bind create for a new worker:
- Read this skill first.
- Run
csgclaw-cli --output json template listand pick a template (do not skip even if the user named a capability like GitLab). - Run
csgclaw-cli --output json template get <template-id>using the exact ID returned bytemplate list. - Create with that exact ID in
--from-templateand add required--envvalues. Remote template IDs use<namespace>/<name>such asAgentic/gitlab-assistant; do not rewrite them as URLs orofficial.namespace/name.
When to Use
Use this skill when:
- the user asks to create, add, set up, or provision an agent, robot, worker, or user-facing "bot"
- the user explicitly asks for a new worker with a named capability such as GitLab, frontend, backend, QA, or review
Do not use this skill when:
- reusing an existing available worker
- completing an ordinary task that the Manager can perform directly
- only room/member/message CLI without creating anyone new
Forbidden
Never run participant create --type agent for a new CSGClaw worker without --bind create or --bind reuse.
Never omit --from-template when using --bind create for a new worker.
Never create a CSGClaw worker as a participant-only shell. That produces a private-chat identity without a runnable Agent.
Never tell the worker secrets in chat instead of --env.
Never skip template list / template get because you think you already know the template id.
Workflow
- Confirm the user explicitly wants a new worker. If the request is ordinary work, leave this skill and complete that work directly. If an available worker already matches and the user's intent is ambiguous, ask whether they want to reuse it or create another.
csgclaw-cli participant list --channel <current_channel> --type agent— avoid duplicate names; ask reuse vs new if ambiguous.csgclaw-cli --output json template list— match byname,description, androle; preserve the returnedidexactly. Remote IDs use<namespace>/<name>.- No match → say so plainly; do not fall back to bare
participant create --bind create. - Multiple matches → short comparison; let the user choose.
csgclaw-cli --output json template get <template-id>— readimage_env.- Collect every
required=trueenv with nodefault; never echosecret=truevalues. - Confirm
name, optional--id, and--description(template description is a good default). - Create. For a user-facing worker name like
dev, keep the identity stable: participant iddev, agent idu-dev, and CSGClaw local user refdev. When this skill is invoked before Feishu setup, create the base worker in thecsgclawchannel first; the Feishu skill will bind Feishu credentials afterwards.
csgclaw-cli participant create --type agent --bind create \--id gitlab-worker \--agent-id u-gitlab-worker \--name gitlab-worker \--description "GitLab issue and MR worker" \--role worker \--from-template <matched-template-id> \--channel csgclaw \--channel-user-ref gitlab-worker \--channel-user-kind local_user_id \--env GITLAB_TOKEN=<user-provided> \
- Report participant id, template id, and env status. Use
member createonly if the user also asked to add the worker to a room. Do not assign work automatically. - If creation fails with a runtime name conflict for the requested worker name, stop and report that the host has a stale runtime with that exact name. Do not silently rename
devtodev-workerordev-feishu; that changes the user's requested identity and breaks the later Feishu bind.
Commands
csgclaw-cli --output json template listcsgclaw-cli --output json template get builtin.gitlab-workercsgclaw-cli --output json template get Agentic/gitlab-assistantcsgclaw-cli participant list --channel csgclaw --type agentcsgclaw-cli participant create --type agent --bind create --id <slug> --agent-id u-<slug> --from-template <id> --channel csgclaw --channel-user-ref <slug> --channel-user-kind local_user_id --env KEY=VALUE ...
Template env vars with default are injected by the server; pass --env only for secrets and overrides.
Operating Rules
--bind createand--from-templateare required for every new worker created through this skill.- Always pass the exact
template listID totemplate getand--from-template:builtin.*andlocal.*remain registry-qualified IDs, while remote templates use<namespace>/<name>. - For normal workers, pass
--id,--agent-id,--channel-user-ref, and--channel-user-kind; do not rely on generated IDs. - Prefer
csgclaw-cliover ad hoc HTTP. - Put global flags (
--output json,--endpoint,--token) before the subcommand, e.g.csgclaw-cli --output json template list(not aftertemplate list). - Creation success does not imply any room membership, message, or work assignment.