Agent skill

Triage

by activeing123 in activeing123/mcptoon

Diagnose and fix broken MCP servers in mcptoon — doctor, health, per-server probes, and the common failure playbook.

Apache-2.0Auto-check passedAgent Workflows

Install Triage

skills CLI
$ npx skills add activeing123/mcptoon --skill triage -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install activeing123/mcptoon triage --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/activeing123/mcptoon.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugin/mcptoon-skills/skills/triage .claude/skills/triage && rm -rf skills-src

Use ~/.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/

Facts

Skill name
triage
GitHub stars
216
Token cost
~488 tokens
SKILL.md length
184 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
Apache-2.0

At a glance

Diagnose and fix broken MCP servers in mcptoon — doctor, health, per-server probes, and the common failure playbook.

  • Works in 3 steps: Read the config layer first → Check connectivity → Probe the tool layer
  • Tasks that involve MCP servers
  • SKILL.md covers 1. Read the config layer first, 2. Check connectivity, 3. Probe the tool layer and Common failures → fixes, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Triage is an agent skill from activeing123/mcptoon. Diagnose and fix broken MCP servers in mcptoon — doctor, health, per-server probes, and the common failure playbook.

Its SKILL.md is about 490 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 MCP servers and LLM cost and token optimization. It works with Model Context Protocol and Python. The repository describes itself as: One zero-dependency CLI for every MCP server and agent skill. Token optimization, tool discovery and context compression: 71,929 - 581 tokens (-99.2%, measured), schemas stay out… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve MCP servers
  • Tasks that involve LLM cost and token optimization

Example prompts

  • “/triage”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Read the config layer first
  2. Check connectivity
  3. Probe the tool layer

What it can do on your machine

Read from SKILL.md and the folder at commit 5f73721. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Triage loads about 488 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 184 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~488

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from activeing123/mcptoon at commit 5f73721, republished under its Apache-2.0 licence (© activeing123). 184 words, ~488 tokens.

Download SKILL.mdSave it as .claude/skills/triage/SKILL.md (or your agent's skills folder).
name
triage
description
Diagnose and fix broken MCP servers in mcptoon — doctor, health, per-server probes, and the common failure playbook.

Triage MCP server failures with mcptoon

Work top-down; stop as soon as the layer with the fault is found.

1. Read the config layer first

bash
mcptoon doctor

Catches: invalid JSON, unknown fields, missing binaries for stdio commands, malformed URLs. Fix anything reported before deeper probing.

2. Check connectivity

bash
mcptoon health            # every server, human-readable
mcptoon health --json     # CI/CD friendly, exit 1 if any dead

3. Probe the tool layer

bash
mcptoon list                       # is the server even registered?
mcptoon manifest --compact         # do its tools appear at all?
mcptoon inspect <server> <tool>    # full schema of one tool
mcptoon call <server> <tool> '{}' --toon   # minimal live call

list shows it but manifest does not → the server answers initialize but fails tools/list: read the server's own logs (run its command manually).

Common failures → fixes

SymptomLikely causeFix
doctor: binary not foundcommand not on PATHfix PATH, or install the package, or use npx/uvx
health: timeoutserver hangs on startupraise timeout, or fix slow startup; try running the command directly
call: unknown tooltool toggled offcheck the toggle on that tool in config, then mcptoon sync
call: schema errorwrong args shapemcptoon inspect the tool and match the inputSchema exactly
stdio: spawn ENOENTbad command tokencommand must be one token on PATH or ./relative; never a shell string
everything dead after editconfig overwritten by hand in agent dirre-edit ~/.mcptoon/config.json, run mcptoon sync

After fixing

bash
mcptoon sync        # push the repaired config to all agents
mcptoon health      # prove it is green

© activeing123, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugin/mcptoon-skills/skills/triage of activeing123/mcptoon.

Open the folder on GitHubat commit 5f73721

Compare with similar skills

Triage 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.

Triage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Triage this skillactiveing123/mcptoon216—~488Automated safety check: PassApache-2.0
Agentacct Workflowmikehasa/agentacct766—~1.6kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
Context Mode Output Sandboxmksglu/context-mode26k—~4.1kAutomated safety check: PassCustom licence
MemPalace Setup and OperationMemPalace/mempalace59k—~2.2kAutomated safety check: PassMIT

Similar skills

  • Agentacct Workflow

    mikehasa/agentacct

    A skill your agent uses when working in a repo with agentacct MCP configured, or when asked to track coding-agent work, smoke-test agentacct integrations, or report objective AI-agent task evidence.

    766 GitHub stars~1.6k tokensUpdated 6 days ago
    Testing & QAAuto-check passed
  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Context Mode Output Sandbox

    mksglu/context-mode

    Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.

    26k GitHub stars~4.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Installs and configures MemPalace as a private local palace, a shared-brain hub or a client of an existing hub, including MCP registration and version-correct initialization.

    59k GitHub stars~2.2k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Routing rules for using context-mode MCP tools in Antigravity CLI: sandboxed code runs, file analysis, indexed search and web fetches that keep large output out of the conversation.

    26k GitHub stars~850 tokensUpdated today
    Agent WorkflowsAuto-check passed

More from activeing123/mcptoon

  • Authoring

    activeing123/mcptoon

    Add or edit an MCP server entry in mcptoon's config correctly — stdio/streamable-http/sse shapes, command rules, placeholders, and validation.

    216 GitHub stars~559 tokensUpdated today
    Auto-check passed
  • Connect

    activeing123/mcptoon

    Connect any AI agent to MCP servers through mcptoon — one config synced everywhere, one stdio gateway, 99.2% fewer tokens on tool discovery.

    216 GitHub stars~701 tokensUpdated today
    Auto-check passed

Categories

Questions about Triage

What does Triage do?

Diagnose and fix broken MCP servers in mcptoon — doctor, health, per-server probes, and the common failure playbook. Triage is an agent skill from activeing123/mcptoon. Diagnose and fix broken MCP servers in mcptoon — doctor, health, per-server probes, and the common failure playbook.

When should I use Triage?

Triage fits situations like: tasks that involve MCP servers; tasks that involve LLM cost and token optimization.

How do I install Triage in Claude Code?

Run `npx skills add activeing123/mcptoon --skill triage -a claude-code`. Or copy the skill folder (plugin/mcptoon-skills/skills/triage in activeing123/mcptoon) into .claude/skills/triage in your project. Claude Code loads it when a task matches its description.

How do I install Triage in Codex?

Run `npx skills add activeing123/mcptoon --skill triage -a codex`. Or copy the skill folder (plugin/mcptoon-skills/skills/triage in activeing123/mcptoon) into .agents/skills/triage in your project. Codex loads it when a task matches its description.

Can I use Triage in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add activeing123/mcptoon --skill triage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/triage, .gemini/skills/triage, .github/skills/triage and .opencode/skills/triage in your project.

What does Triage need to run?

SKILL.md names no scripts, command-line tools or credentials: Triage is instructions for the agent only.

Does Triage access the network?

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.

Is Triage safe to install?

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.

What licence does Triage use?

Triage is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Triage use?

About 488 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Triage?

Skills that share tags, products or a category with Triage: Agentacct Workflow (mikehasa/agentacct, 766 stars), MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars) and Context Mode Output Sandbox (mksglu/context-mode, 26k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Triage?

activeing123 (a GitHub user) maintains it in activeing123/mcptoon, which has 216 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 9, 2026.

Source: activeing123/mcptoon on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.