command-registry-integration

command-registry-integration is a skill for Claude Code from aAAaqwq/AGI-Super-Team. It costs 19 tokens per session (1,239 once invoked), scanned A, original, MIT.

A development guide for adding a real built-in chat command to OpenClaw's command registry and handling pipeline. A command is a recognised instruction such as `/foo` that can appear in the `/commands` list.

In plain words
What is it for?
Use it when adding a source-level command that must be listed in `/commands` and handled as a native command rather than as a plugin or skill command.
Why use it?
It avoids fragile text-matching shortcuts and helps a new command use the application's normal registration, argument parsing, and handler flow.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: built for openclaw.

Part of the agi-super-team plugin — 193 skills, 1 agent shipped together

Good fit Use it when adding a source-level command that must be listed in /commands and handled as a native command rather than as a plugin or skill command.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aaaaqwq/agi-super-team/command-registry-integration
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aAAaqwq/AGI-Super-Team --skill command-registry-integration
Clone the repo
git clone --depth 1 https://github.com/aAAaqwq/AGI-Super-Team

Made for: Claude Code.

Or install agi-super-team, the plugin that ships this one along with the rest of its 193 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for command-registry-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaaaqwq/agi-super-team/command-registry-integration/github.svg)](https://agentmods.dev/skills/aaaaqwq/agi-super-team/command-registry-integration)
Your own site
<a href="https://agentmods.dev/skills/aaaaqwq/agi-super-team/command-registry-integration"><img src="https://agentmods.dev/badge/skills/aaaaqwq/agi-super-team/command-registry-integration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for command-registry-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/aaaaqwq/agi-super-team/command-registry-integration"><img src="https://agentmods.dev/badge/skills/aaaaqwq/agi-super-team/command-registry-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,239 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.01239
Opus 5 $0.00010 $0.00620
Sonnet 5 $0.00004 $0.00248
Haiku 4.5 $0.00002 $0.00124

Measured 3d ago against content hash c05b52ac85de, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

command-registry-integration scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- mock `node:child_process` if bridging to CLI/Python
skills/command-registry-integration/SKILL.md · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.

command-registry-integration

Integrate a new chat command into OpenClaw’s formal command registry and command handling chain so it appears in /commands, supports native slash registration where applicable, and avoids brittle text-intercept hacks.

Use this when

  • You need a real built-in chat command such as /foo
  • The command must appear in /commands
  • The command should ride the formal command detection / registry / handler path
  • You want the smallest-source-change path for adding a command

Do NOT use this when

  • A plugin command is enough and you do not need a built-in source command
  • A skill command (/skill name) already solves the problem
  • You are trying to intercept plain text with ad-hoc regexes outside the command pipeline

Source map: where to look first

  1. src/auto-reply/commands-registry.data.ts
    • Source of truth for built-in command registry entries
    • Controls /commands visibility and native command metadata
  2. src/auto-reply/commands-registry.ts
    • Detection, normalization, arg parsing, native spec export
  3. src/auto-reply/reply/commands-core.ts
    • Main built-in handler chain
  4. src/auto-reply/reply/commands-*.ts
    • Concrete handlers; add the new command here
  5. src/auto-reply/status.ts
    • /commands and /help rendering tests depend on registry descriptions
  6. Tests:
    • src/auto-reply/commands-registry.test.ts
    • src/auto-reply/reply/commands.test.ts
    • src/auto-reply/status.test.ts

Minimal integration path

1) Add registry entry

In commands-registry.data.ts, add a defineChatCommand({...}) entry with:

  • key
  • nativeName
  • description
  • textAlias or textAliases
  • category
  • args / argsParsing / acceptsArgs only if needed

This is what makes the command:

  • detectable from text
  • eligible for native slash export
  • visible in /commands

2) Implement a focused handler

Create src/auto-reply/reply/commands-<name>.ts.

Typical shape:

  • early return if text commands disabled
  • early return if normalized command doesn’t match /name
  • auth gate via rejectUnauthorizedCommand(...) if needed
  • parse args minimally
  • return { shouldContinue: false, reply: { text } }

Read the full file on GitHub · 166 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 166 lines · 19 tokens per session scan A c05b52ac85de

Subscribe to this mod's changes

command-registry-integration is a skill published in the GitHub repository aAAaqwq/AGI-Super-Team (91 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 1,239 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

deslop

The optimization pass, defined - delete before you add, one smell class per pass, behaviour pinned by a test that ran BEFORE the edit. Lints a SKILL.md and prose by the same instinct. Use for the per-story optimization pass or when code has grown noisy without growing capable.

jjanczur/tyran · 58 tokens

root-cause

Find the mechanism behind a failure instead of patching its symptom - reproduce first, one variable per experiment with the prediction written before the run, exit by naming the mechanism and pinning it with a failing test. Use for a bug, an unexplained red test, or a failure that will not reproduce.

jjanczur/tyran · 61 tokens

guidance

Add, edit, or audit guidance docs. Default writes guidance for Claude (.claude/guidance/, Markdown, moflo universal rules). -h writes for human readers (docs/, lighter ruleset). --html emits HTML with a minimal default stylesheet instead of Markdown. -a audits the .claude/guidance/ directory.

eric-cielo/moflo · 70 tokens

eldar

Consult the Eldar — audit a project's moflo + Claude Code setup for portable, high-leverage gaps and guide remediation. Default mode is read-only audit with severity-ranked findings; --fix presents an interactive triage menu and walks the user through each chosen fix (healer, missing CLAUDE.md, sparse guidance…

eric-cielo/moflo · 115 tokens

aigon-next

Suggest the most likely next workflow action based on current context.

jayvee/aigon · 15 tokens

review-deep

Drive the deep-review phase of an automated PR review. Consumes the walkthrough, runs the deterministic deep-review workflow (parallel lenses → adversarial validation → code-enforced threshold/caps), drafts the surviving findings, and completes the review run.

ShreyPaharia/octomux · 52 tokens