rootcause-mcp: Skill for Claude Code

.claude/skills/pipeline-persistence/SKILL.md

pipeline-persistence is a skill for Claude Code from u9401066/rootcause-mcp. It costs 49 tokens per session (3,034 once invoked), scanned A, a copy of pipeline-persistence, Apache-2.0.

A way to save structured search workflows as reusable YAML plans. A workflow is a sequence of search steps that can be run again later.

In plain words
What is it for?
Saving, loading, validating, and reusing search plans, including scheduled searches and multi-step workflows.
Why use it?
It avoids rebuilding complex searches from scratch and keeps repeat searches consistent.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is u9401066/rootcause-mcp's own configuration. It tells Claude Code how to work on rootcause-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rootcause-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to u9401066/rootcause-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/u9401066/rootcause-mcp/master/.claude/skills/pipeline-persistence/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/u9401066/rootcause-mcp

Made for: Claude Code.

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 pipeline-persistence

README.md
[![agentmods](https://agentmods.dev/badge/skills/u9401066/rootcause-mcp/pipeline-persistence/github.svg)](https://agentmods.dev/skills/u9401066/rootcause-mcp/pipeline-persistence)
Your own site
<a href="https://agentmods.dev/skills/u9401066/rootcause-mcp/pipeline-persistence"><img src="https://agentmods.dev/badge/skills/u9401066/rootcause-mcp/pipeline-persistence/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 pipeline-persistence

Your own site · 80×15
<a href="https://agentmods.dev/skills/u9401066/rootcause-mcp/pipeline-persistence"><img src="https://agentmods.dev/badge/skills/u9401066/rootcause-mcp/pipeline-persistence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,034 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.
Origin 100% copy Near-identical to another mod 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.00049 $0.03034
Opus 5 $0.00024 $0.01517
Sonnet 5 $0.00010 $0.00607
Haiku 4.5 $0.00005 $0.00303

Measured 8d ago against content hash b48c7ad9ccbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

pipeline-persistence 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 8d 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.

Origin

This is a copy

100% identical to pipeline-persistence — 63 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/pipeline-persistence/SKILL.md · 432 lines

How it starts

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

Pipeline 持久化 — 結構化搜尋計畫管理

描述

將複雜的搜尋流程保存為可重複使用的 Pipeline YAML 配置。支援:

  • 從模板快速建立(PICO、comprehensive、exploration、gene_drug)
  • 自訂 DAG(有向無環圖)多步驟管道
  • 雙層儲存(workspace + global)
  • 自動驗證 + 激進式自動修正(21 條規則)

觸發條件

  • 「把這個搜尋存起來」、「建立搜尋計畫」
  • 「每週跑一次這個搜尋」、「保存這個 pipeline」
  • 「列出我的管道」、「上次的搜尋可以再跑嗎」
  • 「把剛才的搜尋轉成 search plan」

🌟 快速開始

方法 1: 用模板(最簡單)

# 保存一個 PICO 模板 pipeline
save_pipeline(
    name="icu_remimazolam_vs_propofol",
    config="""
template: pico
params:
  P: ICU patients requiring sedation
  I: remimazolam
  C: propofol
  O: delirium incidence, sedation quality
""",
    tags="anesthesia,sedation,ICU",
    description="Weekly monitoring: remimazolam vs propofol ICU sedation"
)

# 執行已保存的 pipeline
unified_search(pipeline="saved:icu_remimazolam_vs_propofol")

方法 2: 自訂 DAG(完整控制)

save_pipeline(
    name="brca1_comprehensive",
    config="""
steps:
  - id: expand
    action: expand
    params:
      topic: BRCA1 breast cancer
  - id: pubmed
    action: search
    params:
      query: BRCA1 breast cancer
      sources: pubmed
      limit: 50
  - id: expanded
    action: search
    inputs: [expand]
    params:
      strategy: mesh
      sources: pubmed,openalex
      limit: 50
  - id: merged
    action: merge
    inputs: [pubmed, expanded]
    params:
      method: rrf
  - id: enriched
    action: metrics
    inputs: [merged]
output:
  format: markdown
  limit: 30
  ranking: quality
""",
    tags="genetics,oncology",
    description="BRCA1 breast cancer comprehensive search with MeSH expansion"
)

6 個 MCP 工具

save_pipeline — 保存管道

save_pipeline(
    name="weekly_remimazolam",     # 唯一名稱 (英數 + _ -, max 64)
    config="<YAML or JSON>",       # Pipeline 配置
    tags="tag1,tag2",              # 逗號分隔標籤
    description="...",             # 人類可讀描述
    scope="auto"                   # "workspace" | "global" | "auto"
)

自動修正範例:

  • action: "find" → 自動修正為 action: "search"(別名解析)
  • action: "serach" → 自動修正為 action: "search"(模糊匹配)
  • 缺少 step ID → 自動生成 step_1, step_2...
  • 重複 step ID → 自動重命名 s1s1_2
  • 循環依賴 → 自動移除問題引用

Read the full file on GitHub · 432 lines

Files

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.

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. 8d ago First seen · 432 lines · 49 tokens per session scan A b48c7ad9ccbe

Subscribe to this mod's changes

pipeline-persistence is a skill published in the GitHub repository u9401066/rootcause-mcp (0 stars, last pushed 5d ago), licensed Apache-2.0. It adds 49 tokens to every session and 3,034 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to pipeline-persistence, differing in 63 lines, and is treated as a copy.

Related

Other skills, from other repositories

detecting-pv-signals

Computes disproportionality signals — PRR, ROR, EBGM, and IC (BCPNN) — over FAERS / OpenFDA drug-event data to flag potential safety signals. Use when the user wants to mine spontaneous-report data for drug-reaction associations, build a 2x2 contingency table, compute a Proportional Reporting Ratio or Reporting Odds…

maziyarpanahi/openmed · 218 tokens

structuring-radiology-reports

Converts free-text radiology narratives into structured findings and impression — with measurements, laterality, anatomy, and follow-up recommendations — after OpenMed NER. Use when the user has a CT/MRI/X-ray/ultrasound/mammography report and needs the sections split (technique, comparison, findings, impression)…

maziyarpanahi/openmed · 195 tokens

coding-icd10

Suggests candidate ICD-10-CM diagnosis codes (and ICD-10-PCS procedure codes) for diagnoses and procedures extracted by OpenMed, with rationale and a human-coder caveat. Use when the user wants to code a problem list, map a diagnosis span to a billable ICD-10-CM code, route a finding to the right chapter, cross-walk…

maziyarpanahi/openmed · 209 tokens

deidentifying-clinical-text

Remove, mask, or replace PHI/PII in clinical free text on-device with OpenMed's deidentify(). Use when the user needs to de-identify medical notes, strip patient identifiers, redact PHI before sharing or analysis, anonymize discharge summaries, or pick a de-id method (mask vs remove vs replace vs hash vs shiftdates).…

maziyarpanahi/openmed · 144 tokens

evaluating-with-leakage-gates

Evaluate an OpenMed de-identification or clinical NER model against the leakage-first release gates G1a through G8, which gate releases on residual PHI leakage rather than on F1. Use when the user wants to run the OpenMed eval harness on a synthetic golden set, decide whether a de-id model is RELEASABLE or…

maziyarpanahi/openmed · 158 tokens

extracting-sdoh

Extracts social determinants of health (SDOH) — housing instability, food insecurity, unemployment, transportation barriers, social isolation, financial strain — from clinical narrative and maps the spans to ICD-10-CM Z-codes (Z55–Z65). Use after running OpenMed NER when the user wants SDOH surfacing, Z-code…

maziyarpanahi/openmed · 163 tokens