analyze-results

analyze-results is a command for Claude Code from Galaxy-Dawn/claude-scholar. It costs 0 tokens per session (1,918 once invoked), scanned A, original, MIT.

A gated workflow for checking experiment evidence, running statistical analysis, creating figures, and writing a decision-focused results report.

In plain words
What is it for?
Use it to locate experiment files, validate metrics and comparisons, quarantine unreliable statistics, produce analysis appendices and figures, and report next actions.
Why use it?
It prevents incomplete, contradictory, or poorly documented data from being turned into unsupported conclusions.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-scholar plugin — 45 skills, 34 commands, 6 agents, 5 hooks shipped together

Good fit Use it to locate experiment files, validate metrics and comparisons, quarantine unreliable statistics, produce analysis appendices and figures, and report next actions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/galaxy-dawn/claude-scholar/analyze-results
About the project

Claude Scholar is a semi-automated research assistant for academic research and software development, supporting literature review, coding, experiments, reporting, writing, and project knowledge management. Computer science and AI researchers use it across the research workflow with several coding-agent platforms; the catalogue contains its skills, commands, agents, hooks, plugin, and instruction.

Galaxy-Dawn/claude-scholar · 5,431 stars · on GitHub

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.

Clone the repo
git clone --depth 1 https://github.com/Galaxy-Dawn/claude-scholar

Made for: Claude Code.

Or install claude-scholar, the plugin that ships this one along with the rest of its 45 skills, 34 commands, 6 agents, 5 hooks.

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 analyze-results

README.md
[![agentmods](https://agentmods.dev/badge/commands/galaxy-dawn/claude-scholar/analyze-results/github.svg)](https://agentmods.dev/commands/galaxy-dawn/claude-scholar/analyze-results)
Your own site
<a href="https://agentmods.dev/commands/galaxy-dawn/claude-scholar/analyze-results"><img src="https://agentmods.dev/badge/commands/galaxy-dawn/claude-scholar/analyze-results/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 analyze-results

Your own site · 80×15
<a href="https://agentmods.dev/commands/galaxy-dawn/claude-scholar/analyze-results"><img src="https://agentmods.dev/badge/commands/galaxy-dawn/claude-scholar/analyze-results.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,918 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.00000 $0.01918
Opus 5 $0.00000 $0.00959
Sonnet 5 $0.00000 $0.00384
Haiku 4.5 $0.00000 $0.00192

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

Security

Grade A, and why

analyze-results 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 12d 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.

commands/analyze-results.md · 202 lines

How it starts

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

Analyze Results Command

执行 blocker-first 实验后分析 + 报告工作流

这是用户默认应该使用的入口,但它不是无条件“一键成稿”。它必须先判断证据是否足够,再决定进入 strict analysis、read-only audit、figure generation 或 results report。

如果你只是想“跑严格统计和科研图,不写总结报告”,才单独走 results-analysis

目标

此命令负责把一次实验结果处理成两层产物:

Phase 1: strict analysis bundle

  • 严格统计分析
  • 真实科研图
  • figure interpretation checklist
  • 可追溯的统计附录

Phase 2: complete results report

  • 完整实验总结报告
  • 逐图解释与结论串联
  • 面向决策的 next actions
  • 如已绑定 Obsidian,则自动写回知识库

换句话说,/analyze-results 不只是“分析”,而是:

先做 evidence-first analysis,再基于证据生成完整实验报告。

默认编排

命令默认按以下顺序执行:

  1. Blocker-first gate
    • 锁定 primary question、primary metric、unit of analysis、seed/run/fold/subject 数、raw provenance、comparison family
    • 如果现有 stats table 的 p-value、interpretation、test method、unit of analysis 或 comparison family 互相矛盾,先 quarantine 该统计文件
    • 如果这些信息不足,先输出 blocker summary 或 read-only audit,不生成完整报告
  2. 定位输入
    • 找到实验目录、CSV/JSON、日志、图表原料与比较对象
  3. Phase 1 严格分析
    • 使用 results-analysis
    • 当用户要求 no-write / audit,或输入不足以生成分析产物时,只输出 valid/invalid statistics、claim candidates 和 blockers
  4. Phase 2 完整报告
    • 使用 results-report
    • 只在 Phase 1 产物包含 analysis-report.mdstats-appendix.mdfigure-catalog.md 和必要 provenance 时生成完整实验总结报告
  5. 知识库回写
    • 如果当前 repo 已绑定 Obsidian project memory,则写回 Results/Reports/、相关 Experiments/Daily/ 和 project memory
  6. 显式报告 blocker
    • 若统计输入不足、无法画图或命名信息缺失,必须说明阻塞点,不能伪造结论

使用方法

基本用法

/analyze-results

指定实验目录

/analyze-results path/to/experiment_dir

指定分析类型

/analyze-results path/to/results comparison

指定报告用途与轮次

/analyze-results path/to/results full transfer-summary 3 freezing

参数说明

参数 说明
data_path 实验结果路径,可为目录、CSV、JSON 或日志
analysis_type full / comparison / ablation / visualization / audit
purpose 报告用途 slug;默认自动推断,无法推断时需显式说明
round 实验轮次;用于报告命名,未知时允许暂用 r00 并注明
experiment_line 实验线 slug,如 freezingcontrastive-adversarial

Read the full file on GitHub · 202 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. 12d ago First seen · 202 lines · 0 tokens per session scan A 4894ae3c98ff

Subscribe to this mod's changes

analyze-results is a command published in the GitHub repository Galaxy-Dawn/claude-scholar (5,431 stars, last pushed 16d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,918 tokens. 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-30.