rootcause-mcp: Skill for Codex

.codex/skills/academic-figure-drawing-harness/SKILL.md

academic-figure-drawing-harness is a skill for Codex from u9401066/rootcause-mcp. It costs 44 tokens per session (698 once invoked), scanned A, a copy of academic-figure-drawing-harness, Apache-2.0.

A drawing harness for creating academic figures such as charts, plots, diagrams, and scientific illustrations. It combines code-based drawing with generated images and can use PubMed, a database of biomedical research articles, for figure references.

In plain words
What is it for?
Creating flowcharts, data visualizations, Mermaid or SVG diagrams, biomedical illustrations, figure captions, and citation-ready academic graphics.
Why use it?
It helps choose a suitable way to make a figure and supports iterative review and refinement with source information.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: mentions Codex.

This is u9401066/rootcause-mcp's own configuration. It tells Codex 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/.codex/skills/academic-figure-drawing-harness/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/u9401066/rootcause-mcp

Made for: 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 academic-figure-drawing-harness

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/u9401066/rootcause-mcp/academic-figure-drawing-harness"><img src="https://agentmods.dev/badge/skills/u9401066/rootcause-mcp/academic-figure-drawing-harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 698 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.00044 $0.00698
Opus 5 $0.00022 $0.00349
Sonnet 5 $0.00009 $0.00140
Haiku 4.5 $0.00004 $0.00070

Measured 10d ago against content hash 31946190f65b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

academic-figure-drawing-harness 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 10d 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 academic-figure-drawing-harness — 1 line 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.

.codex/skills/academic-figure-drawing-harness/SKILL.md · 35 lines

What it actually says

Academic Figures MCP: Codex Drawing Harness

這個技能專為整合 Codex 原生繪圖能力與 MCP 提供的 Gemini 圖像生成、PubMed 學術圖表檢索而設計。

核心策略 (Core Strategies)

  1. 原生與生成結合 (Hybrid Rendering)

    • 結構化與流程圖: 優先使用 Codex 原生的 Markdown mermaid 語法、SVG 或 Python matplotlib/plotly 繪製精確的架構圖、長條圖、散佈圖與數據模型。
    • 複雜醫學/生物插圖: 使用 MCP 工具(如 mcp_academic-figu_generate_figure 或 Gemini tools)生成高度複雜的 3D 解剖圖、顯微組織圖、或不規則概念圖。
    • 雙重驗證: 如果需要,使用 mcp_academic-figu_plan_figure 來規劃最適切的呈現路由(決定應該用程式繪圖還是 AI 生成)。
  2. 學術級距要求 (Citation-Ready & Provenance)

    • 引用的出處必須準確,可利用 PubMed 工具 unified_search 或 get_article_figures 索取參考來源或範例圖片。
    • 生成的文字標題 (Caption) 必須符合學術期刊規範 (包含圖號、簡短標題、詳細說明、與 PMID 出處)。
  3. 編輯與優化 (Iterative Refinement)

    • 當產生初步圖表後,利用互動工具 mcp_academic-figu_evaluate_figure (8 維度品質評估) 或 mcp_academic-figu_edit_figure 根據使用者回饋進行微調 (例如改顏色、調佈局)。
    • 原生 SVG/Mermaid 代碼請直接利用 Codex 的 text edit 能力與 replace_string_in_file 重構並更新。

操作流程 (Workflow)

  • Step 1: 規劃圖表 (Plan) 取得需求或文獻內容後,分析合適的圖表類型 (figure_type: flowchart, mechanism, comparison, data_visualization 等)。
  • Step 2: 選擇路由 (Route Selection)
    • 若能用程式化表達 (如統計數據),引導 Codex 撰寫 Python 腳本或 Mermaid。
    • 若需精美點陣圖,呼叫 generate_figure。
  • Step 3: 附加上下文與組裝 (Assemble) 產生最終圖片的 Markdown 嵌入格式 Figure Name,並加上完整的學術來源與 PICO/MeSH 背景說明。
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. 10d ago First seen · 35 lines · 44 tokens per session scan A 31946190f65b

Subscribe to this mod's changes

academic-figure-drawing-harness is a skill published in the GitHub repository u9401066/rootcause-mcp (0 stars, last pushed 8d ago), licensed Apache-2.0. It adds 44 tokens to every session and 698 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 academic-figure-drawing-harness, differing in 1 line, and is treated as a copy.

Related

Other skills, from other repositories

ai-figure-generation

Generate scientific figures, diagrams, and illustrations using AI image models (DALL-E, Midjourney, Stable Diffusion) from research content. Use when creating visuals for slides, papers, or posters. Converts technical concepts into publication-ready imagery through structured prompts.

kinhluan/skills · 57 tokens

paper-illustration-image2

Generate publication-quality academic illustrations through a local Codex app-server bridge that uses Codex native image generation. This is a separate experimental alternative to paper-illustration, intended for Claude Code users who want a GPT-image-style renderer without modifying the original skill.

wanshuiyin/Auto-claude-code-research-in-sleep · 59 tokens

annotating-variants

Annotates VCF variants and normalizes HGVS nomenclature with public, license-free annotators (Ensembl VEP REST, VEP/SnpEff/ANNOVAR offline) and links variants to gnomAD population frequencies and the clinical context OpenMed extracts. Use when the user wants to predict variant consequences, map HGVS to genomic…

maziyarpanahi/openmed · 179 tokens

batch-processing-clinical-text

Run large-scale batch NER, PII extraction, or de-identification over many clinical notes on-device with OpenMed, with sharding, checkpointing, resumability, and append-only JSONL output. Use when the user needs to process a corpus or folder of notes, de-identify a dataset, run NER over thousands of documents, build a…

maziyarpanahi/openmed · 161 tokens

coding-hcc-risk-adjustment

Maps chronic conditions extracted by OpenMed to CMS-HCC V28 risk-adjustment categories and estimates a RAF (Risk Adjustment Factor) score as decision support. Use when the user wants to surface risk-adjustable diagnoses from notes, map ICD-10-CM codes to HCC categories, estimate or reconcile a patient/panel RAF, find…

maziyarpanahi/openmed · 200 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