maa-diagnose

maa-diagnose is a skill for Claude Code, Codex from KhazixW2/Everything-Maa. It costs 170 tokens per session (1,492 once invoked), scanned A, original, MIT.

A read-only diagnostic skill for unexplained MaaFramework failures. It uses the installed MaaEvidenceKit runtime to correlate logs, project sources, and run-state information into a bounded failure owner.

In plain words
What is it for?
Use it after a MaaFramework run, task, or test has failed and the responsible component is still unknown.
Why use it?
It helps identify whether an unknown failure comes from the runtime, project definition, environment, or test setup without changing the evidence being examined.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: $skill-name invocation.

Part of the everything-maa plugin — 14 skills, 3 MCP servers shipped together

Good fit Use it after a MaaFramework run, task, or test has failed and the responsible component is still unknown.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khazixw2/everything-maa/maa-diagnose
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 KhazixW2/Everything-Maa --skill maa-diagnose
Clone the repo
git clone --depth 1 https://github.com/KhazixW2/Everything-Maa

Made for: Claude Code, Codex.

Or install everything-maa, the plugin that ships this one along with the rest of its 14 skills, 3 MCP servers.

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 maa-diagnose

README.md
[![agentmods](https://agentmods.dev/badge/skills/khazixw2/everything-maa/maa-diagnose/github.svg)](https://agentmods.dev/skills/khazixw2/everything-maa/maa-diagnose)
Your own site
<a href="https://agentmods.dev/skills/khazixw2/everything-maa/maa-diagnose"><img src="https://agentmods.dev/badge/skills/khazixw2/everything-maa/maa-diagnose/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 maa-diagnose

Your own site · 80×15
<a href="https://agentmods.dev/skills/khazixw2/everything-maa/maa-diagnose"><img src="https://agentmods.dev/badge/skills/khazixw2/everything-maa/maa-diagnose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 170 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,492 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00170 $0.01492
Opus 5 $0.00085 $0.00746
Sonnet 5 $0.00034 $0.00298
Haiku 4.5 $0.00017 $0.00149

Measured yesterday against content hash 7e478dd4d901, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

maa-diagnose scanned grade A with 0 findings 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/find-maa-evidence-skill.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/maa-diagnose/SKILL.md · 88 lines

How it starts

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

Maa Diagnose

Drive the externally managed latest diagnostic runtime to turn an unexplained MaaFramework failure into normalized evidence and one bounded failure owner. This skill owns discovery, invocation, and normalization. It does not parse MaaFramework logs itself and does not contain a diagnostic engine.

Read references/runtime-discovery.md before the first invocation. Read references/failure-map.md before reporting an owner.

Decide whether to diagnose

Run this skill only when the failing owner is still unknown after the evidence already in hand.

  • Do not run it when $maa-pipeline-testing already attributed the failure to a node, option, state model, or integration defect. Route that evidence to the owner directly.
  • Do not run it as a routine phase of every workflow, and do not run it before a failure exists.
  • Do not run it for project scaffold or managed-file health; that is $maa-project-create doctor.
  • Do not run it for Project Interface schema review; that is $maa-interface-guide.

Broad diagnosis is for cross-tool correlation: a runtime failure whose cause could live in the logs, the static project definition, the environment, or the harness. Treat maafw.log, maafw.bak.<timestamp>.log, and another maafw.*.log path as diagnostic input only when the failure owner is still unknown.

Load the authoritative upstream Skill

Before composing a MaaEvidenceKit command, locate and read the authoritative upstream maa-evidence Skill. This handoff is part of a legitimate diagnosis; it does not broaden this Skill into an entry point for evidence extraction when no failure needs diagnosis.

  1. If the user supplies a MaaEvidenceKit checkout, package root, skill directory, or SKILL.md, pass each candidate to the locator with --root PATH.
  2. Run node scripts/find-maa-evidence-skill.mjs. The read-only locator searches installed standalone skills, project and user installations, and npm/pnpm global packages while excluding this Skill's own root.
  3. For every locator result, read the latest formal GitHub Release of Windsland52/MaaEvidenceKit, preferring its integrated maa-evidence Skill and falling back to its README. The locator result reports local candidates; it never makes a local skillPath authoritative for the latest runtime.
  4. If the latest formal release does not expose the integrated Skill or README, use the disclosed default-branch handoff.

Read the full file on GitHub · 88 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday Changed · -1 lines · +2 tokens per session 7e478dd4d901
  2. 9d ago First seen · 89 lines · 168 tokens per session scan A c725293909bd

Subscribe to this mod's changes

maa-diagnose is a skill published in the GitHub repository KhazixW2/Everything-Maa (12 stars, last pushed 2d ago), licensed MIT. It adds 170 tokens to every session and 1,492 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

browser-edge-cases

SOP for debugging browser automation failures on complex websites. Use when browser tools fail on specific sites like LinkedIn, Twitter/X, SPAs, or sites with Shadow DOM.

aden-hive/hive · 40 tokens

ios-simulator

Verify and debug native, React Native, Expo, or Flutter apps on an iOS Simulator with agent-device. Use when an agent needs to launch an app, inspect its live UI, tap, type, scroll, validate a code change, collect failure evidence, or reproduce a workflow on an iPhone or iPad Simulator.

callstack/agent-device · 69 tokens

debugging-executions

Debug failed or wrong-output workflow executions using executions tools. Load when the user reports execution failures, unexpected node output, empty parameter values after a successful run, or a node showing a red or failed expression error.

n8n-io/n8n · 48 tokens

atmos-schemas

JSON Schema for Atmos: stack-manifest and atmos.yaml config schemas, IDE auto-completion, validate stacks/schema/config, SchemaStore integration.

cloudposse/atmos · 32 tokens

issue

Use when starting a chain from a GitHub issue — turning an issue URL or number into a triaged, planned, dispatched, and reviewed pull request. Classifies the thread (bug → root-cause discipline, feature → plan chain, question → drafted reply), synthesizes a spec from the issue's own acceptance criteria, then runs the…

jeremylongshore/tons-of-skills-marketplace · 115 tokens

therapeutic-ifs

Unified inner work engine: Schema deconstruction (diagnosis) + IFS therapy (treatment). Absorbs: schema-deconstruction.

winstonkoh87/Athena-Public · 34 tokens