Kimi Code Delegation
CherryHQ/cherry-studio
Delegates one bounded repository task to Kimi Code in non-interactive prompt mode and reads back the final result from its JSON event stream.
Multi-agent orchestration enforcement for /team command. An agent skill from MadAppGang/claude-code.
$ npx skills add MadAppGang/claude-code --skill agent-enforcement -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install MadAppGang/claude-code agent-enforcement --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/multimodel/skills/agent-enforcement .claude/skills/agent-enforcement && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "agent-enforcement" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/multimodel/skills/agent-enforcement into .claude/skills/agent-enforcement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-enforcement", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/MadAppGang/claude-code/tree/main/plugins/multimodel/skills/agent-enforcementType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add MadAppGang/claude-code --skill agent-enforcement -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install MadAppGang/claude-code agent-enforcement --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/multimodel/skills/agent-enforcement .agents/skills/agent-enforcement && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "agent-enforcement" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/multimodel/skills/agent-enforcement into .agents/skills/agent-enforcement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-enforcement", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MadAppGang/claude-code --skill agent-enforcement -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install MadAppGang/claude-code agent-enforcement --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/multimodel/skills/agent-enforcement .cursor/skills/agent-enforcement && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "agent-enforcement" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/multimodel/skills/agent-enforcement into .cursor/skills/agent-enforcement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-enforcement", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/MadAppGang/claude-code.git --path plugins/multimodel/skills/agent-enforcement--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add MadAppGang/claude-code --skill agent-enforcement -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install MadAppGang/claude-code agent-enforcement --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/multimodel/skills/agent-enforcement .gemini/skills/agent-enforcement && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "agent-enforcement" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/multimodel/skills/agent-enforcement into .gemini/skills/agent-enforcement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-enforcement", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install MadAppGang/claude-code agent-enforcementInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add MadAppGang/claude-code --skill agent-enforcement -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/multimodel/skills/agent-enforcement .github/skills/agent-enforcement && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "agent-enforcement" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/multimodel/skills/agent-enforcement into .github/skills/agent-enforcement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-enforcement", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MadAppGang/claude-code --skill agent-enforcement -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install MadAppGang/claude-code agent-enforcement --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/multimodel/skills/agent-enforcement .opencode/skills/agent-enforcement && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "agent-enforcement" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/multimodel/skills/agent-enforcement into .opencode/skills/agent-enforcement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-enforcement", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
agent-enforcementMulti-agent orchestration enforcement for /team command. An agent skill from MadAppGang/claude-code.
Agent Enforcement is an agent skill from MadAppGang/claude-code. Multi-agent orchestration enforcement for /team command. Provides claudish CLI validation, validates session directory paths, and ensures /team internal Tasks use dev:researcher. Use when debugging /team orchestration failures.
Its SKILL.md is about 900 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Multi-agent orchestration. It works with Bash. The repository describes itself as: claude code plugins marketplace. The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6097ad4. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bashFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Agent Enforcement loads about 895 tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 298 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from MadAppGang/claude-code at commit 6097ad4, republished under its MIT licence (© MadAppGang). 298 words, ~895 tokens.
.claude/skills/agent-enforcement/SKILL.md (or your agent's skills folder).Two-layer defense against orchestration violations in /team:
hooks/enforce-team-rules.sh) — runtime violation blockerteam.md: model: opus) — better instruction following| Model Type | Method | Tool | Reliability |
|---|---|---|---|
| Internal (Claude) | Task(dev:researcher) | Task tool | High (same process) |
| External (Grok, Gemini, etc.) | Bash(claudish --model) | Bash tool | 100% (deterministic CLI) |
External models are called via claudish CLI directly from Bash — no LLM delegation needed.
The PreToolUse hook intercepts Task and Bash tool calls at runtime:
| Rule | Condition | Action |
|---|---|---|
| 1 | /team Task with wrong agent | DENY (must be dev:researcher) |
| 2 | /tmp/ in Task prompt | DENY |
Detects /team workflows by vote template pattern in Task prompts. Blocks:
dev:researcher is allowed for internal model Tasks/tmp/ paths in Task prompts (use ai-docs/sessions/)The /team command uses model: opus (Opus 4.6) which follows complex XML instructions
much more reliably than Sonnet (~90% vs ~33% compliance).
| Task Type | Primary Agent | Alternatives |
|---|---|---|
| Investigation | dev:researcher | dev:debugger |
| Review | agentdev:reviewer | frontend:reviewer |
| Architecture | dev:architect | frontend:architect, agentdev:architect |
| Implementation | dev:developer | frontend:developer, agentdev:developer |
| Testing | dev:test-architect | frontend:test-architect |
| DevOps | dev:devops | — |
| UI/Design | dev:ui | frontend:designer, frontend:ui-developer |
The /team command can optionally call resolve-agents.sh to determine agent and method
for each model before launching:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/resolve-agents.sh" \
--models "internal,x-ai/grok-code-fast-1" \
--task-type "investigation"Output:
{
"sessionDir": "ai-docs/sessions/team-slug-timestamp-random",
"taskType": "investigation",
"resolutions": [
{ "modelId": "internal", "method": "direct", "agent": "dev:researcher" },
{ "modelId": "x-ai/grok-code-fast-1", "method": "cli", "agent": "dev:researcher" }
]
}Methods:
"direct" — Internal Claude via Task(agent)"cli" — External model via Bash(claudish --model)Run the test suite to verify enforcement:
cd autotest/team && bash run-tests.shHook blocking legitimate calls: The hook triggers on /team vote template patterns in Task prompts and claudish in Bash commands. Normal Task usage (without vote templates) is never affected.
resolve-agents.sh not found:
The /team command uses its own built-in logic. The hook still provides runtime protection.
Hook behavior:
The hook skips existence checks (which claudish, command -v claudish).
© MadAppGang, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/multimodel/skills/agent-enforcement of MadAppGang/claude-code.
Open the folder on GitHubat commit 6097ad4
Agent Enforcement next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Agent Enforcement this skillMadAppGang/claude-code | 285 | — | ~895 | Automated safety check: Pass | MIT | |
| Kimi Code DelegationCherryHQ/cherry-studio | 53k | — | ~504 | Automated safety check: Pass | AGPL-3.0 | |
| Agentlas Core Engine Meta Agentagentlas-ai/Agentlas-OS | 1.6k | — | ~467 | Automated safety check: Pass | Apache-2.0 | |
| Benchmark Agentsvercel/vercel-plugin | 301 | — | ~3.6k | Automated safety check: Pass | Custom licence | |
| Cc GodmodeLeoYeAI/openclaw-master-skills | 2.2k | — | ~5k | Automated safety check: Pass | MIT | |
| Orca CLIstablyai/orca | 89k | 2 repos | ~593 | Automated safety check: Pass | MIT |
CherryHQ/cherry-studio
Delegates one bounded repository task to Kimi Code in non-interactive prompt mode and reads back the final result from its JSON event stream.
agentlas-ai/Agentlas-OS
A skill your agent uses when creating a single Agentlas agent, creating a multi-agent team, or packaging an existing local/external agent into Agentlas architecture.
vercel/vercel-plugin
Advanced AI agent benchmark scenarios that push Vercel's cutting-edge platform features — Workflow SDK, AI Gateway, MCP, Chat SDK, Queues, Flags, Sandbox, and multi-agent orchestration.
LeoYeAI/openclaw-master-skills
Self-orchestrating multi-agent development workflows. An agent skill from LeoYeAI/openclaw-master-skills.
stablyai/orca
Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…
KKKKhazix/khazix-skills
Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.
MadAppGang/claude-code
Content brief template and creation methodology for SEO-optimized content.
MadAppGang/claude-code
A skill your agent uses when detecting project technology stack from files/configs/directory structure, auto-loading framework-specific skills, or analyzing multi-stack fullstack projects (e.g…
MadAppGang/claude-code
On-page SEO optimization techniques including keyword density, meta tags, heading structure, and readability.
MadAppGang/claude-code
Techniques for expanding seed keywords and clustering by topic and intent.
MadAppGang/claude-code
SERP analysis techniques for intent classification, feature identification, and competitive intelligence.
MadAppGang/claude-code
A skill your agent uses when deciding whether to launch an agent, selecting which agent to use, or coordinating multiple agents.
Works with
Multi-agent orchestration enforcement for /team command. An agent skill from MadAppGang/claude-code. Agent Enforcement is an agent skill from MadAppGang/claude-code. Multi-agent orchestration enforcement for /team command.
Agent Enforcement fits situations like: debugging /team orchestration failures; tasks that involve Multi-agent orchestration.
Run `npx skills add MadAppGang/claude-code --skill agent-enforcement -a claude-code`. Or copy the skill folder (plugins/multimodel/skills/agent-enforcement in MadAppGang/claude-code) into .claude/skills/agent-enforcement in your project. Claude Code loads it when a task matches its description.
Run `npx skills add MadAppGang/claude-code --skill agent-enforcement -a codex`. Or copy the skill folder (plugins/multimodel/skills/agent-enforcement in MadAppGang/claude-code) into .agents/skills/agent-enforcement in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MadAppGang/claude-code --skill agent-enforcement -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-enforcement, .gemini/skills/agent-enforcement, .github/skills/agent-enforcement and .opencode/skills/agent-enforcement in your project.
Going by SKILL.md and its folder, Agent Enforcement needs the command-line tools its instructions call (bash).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Agent Enforcement is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 895 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Agent Enforcement: Kimi Code Delegation (CherryHQ/cherry-studio, 53k stars), Agentlas Core Engine Meta Agent (agentlas-ai/Agentlas-OS, 1.6k stars), Benchmark Agents (vercel/vercel-plugin, 301 stars) and Cc Godmode (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
MadAppGang (a GitHub organization) maintains it in MadAppGang/claude-code, which has 285 GitHub stars. The repository holds 69 skills in this directory. The repository was last updated on March 15, 2026.
Source: MadAppGang/claude-code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.