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.
npx agentmods add skills/thuong-nc/perlytics-skill/root-cause-analysisnpx skills add thuong-nc/perlytics-skill --skill root-cause-analysisgit clone --depth 1 https://github.com/thuong-nc/perlytics-skillWrote 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.
[](https://agentmods.dev/skills/thuong-nc/perlytics-skill/root-cause-analysis)<a href="https://agentmods.dev/skills/thuong-nc/perlytics-skill/root-cause-analysis"><img src="https://agentmods.dev/badge/skills/thuong-nc/perlytics-skill/root-cause-analysis.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.00596 |
| Opus 5 | $0.00020 | $0.00298 |
| Sonnet 5 | $0.00008 | $0.00119 |
| Haiku 4.5 | $0.00004 | $0.00060 |
Grade A, and why
root-cause-analysis 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.
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.
How it starts
The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Root Cause Analysis
Purpose
Diagnose a KPI movement in a way that is analytically disciplined and decision-ready.
When to use
Use this skill when:
- a metric moved unexpectedly
- the user asks "why did this change," "what drove this drop," or "what explains these numbers"
- a dataset, export, or KPI table shows a clear spike, drop, or concentration that needs explanation
- someone wants an explanation, not just a trend report
- there are multiple candidate drivers to evaluate
When not to use
Do not use this skill when:
- you only need to define the metric
- there is not enough evidence to go beyond framing and hypothesis generation
Required thinking discipline
- Keep observation, inference, hypothesis, and recommendation separate.
- Include measurement risk as a possible explanation.
- Avoid causal certainty unless evidence supports it.
- Evidence constraint: Every conclusion must cite specific data — a number, a rate, a segment, or a timeframe. Do not speculate without evidential basis. If data is insufficient, state what is missing rather than asserting an unsupported inference.
Workflow
- State the metric, timeframe, and baseline.
- Summarize what changed in direct observational terms.
- Break down the change by key segments or driver components.
- Evaluate candidate causes against the available evidence.
- State confidence level for each likely driver.
- End with recommended next checks or actions.
Output format
- Metric change summary
- Key observations
- Likely drivers
- Alternative explanations
- Confidence and uncertainty
- Recommended next steps
Good example
Observation: refund-adjusted revenue fell 9% week over week, concentrated in two EU markets.
Inference: the decline is unlikely to be broad-based demand weakness.
Hypothesis: a payment routing issue is the leading candidate because authorization rate fell at the same time.
Recommendation: confirm processor logs and compare fallback success by country.
What ships with it
2 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.
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.
- 5d ago First seen · 83 lines · 41 tokens per session scan A efd8301785c2
root-cause-analysis is a skill published in the GitHub repository thuong-nc/perlytics-skill (5 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 41 tokens to every session and 596 once invoked, about $0.0002 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.
Other skills, from other repositories
happiness-skill
当用户问「怎么才能更幸福/为什么得到了还不满足/怎么减少焦虑」时调用。 核心理念: 幸福是缺憾感清空的默认状态, 是可训练的技能; 欲望是与自己的契约(得到前不快乐), 同时只留一个重大欲望; 活在当下。 不适用于: 临床抑郁等需要专业治疗的场景(本书方法不能替代医疗)。 Triggers: 幸福/不快乐/欲望/焦虑/知足/活在当下/happiness/desire/anxiety.
docx-comment-reply
Reply to comments (批注) in Word .docx/.doc files: extract comment context, draft replies, write threaded replies back, and validate OOXML.
sn-image-imitate
Generates a new image that imitates the style of a reference image while updating content based on user intent. Uses a three-stage pipeline: image annotation (long caption), caption rewriting, and image generation. Use when user asks to "imitate style", "保持这个风格重画", "按这张图风格生成", or "style transfer with new content".
pcbway
PCBWay PCB fabrication and assembly — turnkey/consigned assembly, design rules, ordering workflow. Alternative to JLCPCB for manufacturing. Use with KiCad. Use this skill when the user mentions PCBWay, needs turnkey assembly (PCBWay sources parts by MPN), has parts not available on LCSC, needs assembled boards with…
explaining-machine-learning-models
Explain trained machine learning models through feature attribution, local explanations, and behavior summaries. Use as an explicit/manual helper once a model already exists, not for training ownership, leakage auditing, or general ML strategy selection.
jobs-to-be-done
Discover what customers truly need by analyzing the "job" they hire your product to do. Use when the user mentions "customer discovery", "why customers churn", "what job does this solve", "competing against luck", "product-market fit", "switching behavior", "milkshake moment", or "functional vs emotional jobs". Also…