diagnose

diagnose is a skill for Claude Code, Codex from MagicKidd/Rokid-agentic-workflow. It costs 66 tokens per session (1,643 once invoked), scanned A, original, no licence file.

A structured method for investigating difficult bugs and slowdowns. It works through reproducing the problem, narrowing it down, testing possible causes, measuring the code, fixing it, and adding a regression test.

In plain words
What is it for?
It is for debugging broken features, errors, and performance regressions in software.
Why use it?
It replaces guesswork with a repeatable process and helps ensure that a bug or performance problem does not return unnoticed.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

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.

agentmods
npx agentmods add skills/magickidd/rokid-agentic-workflow/diagnose
Any agent
npx skills add MagicKidd/Rokid-agentic-workflow --skill diagnose
Clone the repo
git clone --depth 1 https://github.com/MagicKidd/Rokid-agentic-workflow

Made for: Claude Code, Codex.

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 diagnose

README.md
[![agentmods](https://agentmods.dev/badge/skills/magickidd/rokid-agentic-workflow/diagnose.svg)](https://agentmods.dev/skills/magickidd/rokid-agentic-workflow/diagnose)
Your own site
<a href="https://agentmods.dev/skills/magickidd/rokid-agentic-workflow/diagnose"><img src="https://agentmods.dev/badge/skills/magickidd/rokid-agentic-workflow/diagnose.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,643 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00066 $0.01643
Opus 5 $0.00033 $0.00822
Sonnet 5 $0.00013 $0.00329
Haiku 4.5 $0.00007 $0.00164

Measured 5d ago against content hash 28886402bbfa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/hitl-loop.template.sh), 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.

en/skills/diagnose/SKILL.md · 118 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

1 file 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. 5d ago First seen · 118 lines · 66 tokens per session scan A 28886402bbfa

Subscribe to this mod's changes

diagnose is a skill published in the GitHub repository MagicKidd/Rokid-agentic-workflow (3 stars, last pushed 2mo ago), with no licence file. It adds 66 tokens to every session and 1,643 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

hns-lsel-curator

Local Self-Evolution Loop (LSEL) curator — the CLUSTER + drain engine for the GOOS-local PROPOSE→APPLY seam closure (SPEC-LSEL-LOCAL-EVOLUTION-001). Companion-offset drain of .moai/lessons-inbox.jsonl with a drain-side severity filter that drops the 65% Bash-timeout/sandbox noise, eventkey clustering with a frequency…

modu-ai/moai-adk · 135 tokens

moai-workflow-ddd

Domain-Driven Development workflow specialist using ANALYZE-PRESERVE-IMPROVE cycle for behavior-preserving code transformation. Use when refactoring legacy code or reducing technical debt safely.

modu-ai/moai-adk · 44 tokens

moai-workflow-loop

Ralph Engine - Automated feedback loop with LSP diagnostics and AST-grep integration for continuous code quality improvement. Use when implementing error-driven development, automated fixing, or continuous quality validation workflows.

modu-ai/moai-adk · 44 tokens

moai-workflow-testing

Use when writing tests, measuring coverage, or running characterization, performance, or PR-review QA. Comprehensive specialist combining DDD testing, characterization tests, performance profiling, and TRUST 5 quality-assurance validation.

modu-ai/moai-adk · 47 tokens

swiftui-debugging

Use when debugging SwiftUI issues in this macOS app — views not updating, layout problems, unnecessary re-renders, state ownership bugs, Preview crashes, or NSHostingView/NSPanel quirks. Covers both general SwiftUI debugging and macOS-specific patterns.

st0012/cctop · 58 tokens

pdlc-perf

Skill "pdlc-perf" from kanfu-panda/pdlc-skills, covering 性能优化, 分析维度, 后端性能, 前端性能 and 工作流程.

kanfu-panda/pdlc-skills · 8 tokens