research-framework-figure

research-framework-figure is a skill for Claude Code, Codex from Nero1688/claude-academic-skills. It costs 546 tokens per session (2,537 once invoked), scanned A, original, MIT.

A generator for editable research diagrams that show proposed relationships between concepts, such as one factor affecting another through an intermediate factor. It produces SVG and PowerPoint files, which are vector formats that can be edited without treating the figure as a fixed image.

In plain words
What is it for?
Use it to draw mediation, moderation, sequential mediation, and related research models for papers, presentations, and thesis defenses.
Why use it?
It helps researchers turn a hypothesis or conceptual model into a consistent, editable figure while checking layout issues and being honest about available fonts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to draw mediation, moderation, sequential mediation, and related research models for papers, presentations, and thesis defenses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nero1688/claude-academic-skills/research-framework-figure
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 Nero1688/claude-academic-skills --skill research-framework-figure
Clone the repo
git clone --depth 1 https://github.com/Nero1688/claude-academic-skills

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 research-framework-figure

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nero1688/claude-academic-skills/research-framework-figure"><img src="https://agentmods.dev/badge/skills/nero1688/claude-academic-skills/research-framework-figure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 546 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,537 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 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.00546 $0.02537
Opus 5 $0.00273 $0.01269
Sonnet 5 $0.00109 $0.00507
Haiku 4.5 $0.00055 $0.00254

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

Security

Grade A, and why

research-framework-figure 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 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/framework_figure.py, scripts/svg2drawingml.py), 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/research-framework-figure/SKILL.md · 126 lines

How it starts

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

研究架構圖產生器(Research Framework Figure)

與同族 skill 分工

需求 該用
已經有迴歸係數/CI,要畫統計結果圖(森林圖、交互作用圖、倒U轉折點、邊際效果) management-figure
還沒跑資料,要畫假說關係的概念圖(X→M→Y、H1/H2/H3) 本 skill
要決定用什麼識別策略(DiD/IV/RDD)、模型該怎麼設定 causal-inference-architect
要把圖放進簡報、決定簡報整體結構 academic-pptx(本 skill 產圖供其嵌入)

一句話:有係數了找 management-figure,還在畫假說找我。 Claude Code 環境呼叫同族技能須加 anthropic-skills: 前綴。

核心原則

  1. 模型邏輯由研究者定,我只負責畫。 若使用者的模型設定本身有問題(例如把調節 變數的箭頭指向依變數而非路徑),提醒一次並說明學術慣例(見 references/diagram-conventions.md),但最終照使用者決定畫。
  2. 字型誠實:SVG 的 font-family 一律寫成 Times New Roman, DFKai-SB, serif—— 西文在前、中文 fallback 到標楷體,這是 SVG 實現「中文標楷體+英數 Times New Roman」 的正確作法。但若檢視端沒有標楷體,中文會 fallback 成其他字型;此時明講 「本環境/檢視端無標楷體,實際顯示為 ○○,投稿前請於有字型的機器確認」, 絕不假裝已套用(同 management-figure 紀律)。
  3. 產出必須可再編輯:一律給向量格式。SVG 給編修與插入 Word;PPTX 給口試前微調。 不以 PNG 為主要交付(點陣圖改不動,口試前臨時要改字會卡死)。
  4. 不塞爆版面:控制變數多於 12 項時,建議改列在圖下方註解或表格,不要硬塞進框內 (框會長到破壞版面比例)。這是版面判斷,要主動提醒。
  5. 產圖後必須實際檢視:產出 SVG 後,用瀏覽器或 --check 幾何驗證確認無重疊、 無出界、箭頭端點正確,再交付。不要只憑「腳本沒報錯」就宣稱圖是好的。

工作流程

Step 1|辨識模型類型

從使用者的假說敘述判斷屬於哪一種,對應到 template

使用者的講法 template
「X 透過 M 影響 Y」「中介效果」,且每個依變數各有一組控制變數 mediation_dual_controls(台灣商管論文最常見)
「X 透過 M 影響 Y」,控制變數只列一組或不畫 mediation
「W 會調節 X 對 Y 的影響」「交互作用」 moderation
「中介效果會因 W 而異」「第一階段被調節」 moderated_mediation
「X→M1→M2→Y」「連續兩個中介」 serial_mediation

不確定時問一個問題:「你的控制變數是每條迴歸式各一組,還是全模型共用一組?」 ——這個答案直接決定要不要用雙控制框版式。

Step 2|蒐集規格內容

需要問齊:自變數名稱、中介/調節變數(可多項)、應變數名稱、假說編號(H1/H2/H3…)、 控制變數清單(分別對應哪個依變數)。使用者若已有舊圖,照著複述一遍確認再畫。

Step 3|寫 JSON 規格並產圖

規格格式見 references/framework-figure-spec.md。指令:

python scripts/framework_figure.py spec.json -o fig.svg
python scripts/framework_figure.py spec.json -o fig.pptx --format pptx

Step 4|檢視與微調

產出後實際看圖(瀏覽器開 SVG,或把 SVG 包進 HTML 檢視)。檢查:

  • 方框有無重疊、文字有無溢出框外
  • 箭頭是否連到正確的框、假說標籤有沒有被線壓到
  • 控制變數框是否過大而搶走視覺重心 不滿意就調 style 區塊(字級、行高、邊距)或縮減條列文字後重出。

Read the full file on GitHub · 126 lines

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. 6d ago First seen · 126 lines · 546 tokens per session scan A 98638ca88ee2

Subscribe to this mod's changes

research-framework-figure is a skill published in the GitHub repository Nero1688/claude-academic-skills (6 stars, last pushed 8d ago), licensed MIT. It adds 546 tokens to every session and 2,537 once invoked, about $0.0027 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-09-05.

Related

Other skills, from other repositories

information-architecture

Design the structure of a website or product including sitemap, navigation, URL structure, content types, taxonomy, and labeling. Use this skill whenever the user asks to plan a sitemap, design navigation, structure URLs, define content types, build taxonomies, design site search, or organize content at the system…

rampstackco/claude-skills · 131 tokens

journey-mapping

Build customer journey maps and service blueprints that visualize the end-to-end user experience including touchpoints, emotions, friction, and underlying systems. Use this skill whenever the user wants to map a customer journey, build a service blueprint, identify friction across an experience, align teams on the…

rampstackco/claude-skills · 131 tokens

brand-style-guide

Build or audit a comprehensive brand style guide that documents the full brand system including story, logo system, color, typography, imagery, voice, applications, and dos/don'ts. Use this skill whenever the user wants to create brand guidelines, document an existing brand, build a brand book, audit an existing style…

rampstackco/claude-skills · 138 tokens

visual-qa

Runs rigorous visual QA across web, terminal, and paginated surfaces with screenshot evidence and a verdict. Use for any UI build or change, or when asked whether a page, component, or TUI looks right.

code-yeongyu/oh-my-openagent · 47 tokens

frontend

Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.

code-yeongyu/oh-my-openagent · 49 tokens

interaction-skill

Layer A interaction-mechanics reference anchored to the beui.dev catalog. Stacks on any style skill whenever work adds or changes motion or interaction — micro-interactions, animated components, transitions, gestures, hover/press/state feedback, loading/success/error morphs, 'make it feel alive'. Mandates reading the…

code-yeongyu/oh-my-openagent · 104 tokens