Skip to content
Agentmart
Submit a tool

debug-route

解释一条用户消息为什么会命中某个 skill/command/MCP,或为什么被放行。用于排查误路由和回归测试。

Skill by DZMing

IndexedMIT★ 1
Write a review

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/dzming-debug-route

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.

We use your email only for this newsletter. Privacy

About

解释一条用户消息为什么会命中某个 skill/command/MCP,或为什么被放行。用于排查误路由和回归测试。

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/debug-route

Tools it pre-approves 2

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash
  • Read

What's inside

Skill name
debug-route
Description
解释一条用户消息为什么会命中某个 skill/command/MCP,或为什么被放行。用于排查误路由和回归测试。
License
MIT
Allowed tools
Bash, Read
Instructions
24 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves any shell command

Files (1)

  • SKILL.md

SKILL.md (first lines)

## explain 示例

!`node "${CLAUDE_SKILL_DIR}/../../scripts/debug-route-example.cjs"`

<!-- Codex: 如果上方命令未自动执行,请用 Bash 运行: node ~/.codex/plugins/cache/capability-orchestrator/scripts/debug-route-example.cjs -->

---

## 你的任务

当用户调用 `/debug-route` 时:

1. 取本次请求中要分析的那条用户消息作为目标 prompt;如果用户没有单独给出,就用当前请求里除 `/debug-route` 之外的内容。
2. 调用 `node scripts/route-matcher.cjs --explain`,输入与 hook 相同的 JSON:
   - `prompt`: 目标消息
   - `cwd`: 当前项目目录
3. 把 explain JSON 翻译成简短中文,至少说明:
   - 这是路由还是放行
   - 命中了什么目标(skill / command / mcp)
   - 命中的关键词
   - 如果没命中,是 `escaped` / `too-short` / `no-match` 哪一种
4. 不修改任何文件,不执行 install / uninstall,不改 `settings.json`。

From DZMing/capability-orchestrator, MIT.

Signals

Stars
1
Forks
1
Open issues
1
Last commit (this folder)
Apr 20, 2026 (6 months ago)
Last release
Jun 10, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from DZMing

Cite this page

debug-route skill. Agent Mart. https://agentmart.dev/skills/dzming-debug-route (last updated 2026-10-24)