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.
git clone --depth 1 https://github.com/amirkiarafiei/open-scholar-peerWrote 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/commands/amirkiarafiei/open-scholar-peer/3-osp-historian)<a href="https://agentmods.dev/commands/amirkiarafiei/open-scholar-peer/3-osp-historian"><img src="https://agentmods.dev/badge/commands/amirkiarafiei/open-scholar-peer/3-osp-historian/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.
<a href="https://agentmods.dev/commands/amirkiarafiei/open-scholar-peer/3-osp-historian"><img src="https://agentmods.dev/badge/commands/amirkiarafiei/open-scholar-peer/3-osp-historian.svg" alt="Reviewed on agentmods" width="80" 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.00013 | $0.00849 |
| Opus 5.5 | $0.00005 | $0.00340 |
| Sonnet 5.5 | $0.00003 | $0.00170 |
| Haiku 4.5 | $0.00001 | $0.00085 |
Grade A, and why
3-osp-historian 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 1mo 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 — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/3-osp-historian — Sub-Domain Historian
Compresses the retrieved literature into a chronological narrative that mimics a senior researcher's mental model of the sub-domain.
Activation
Invoke the osp-historian-agent skill.
Inputs — none of these is a gate
phases.literature.status == "completed"and02_retrieved_literature.mdexists. Without it you have no retrieved corpus, so the narrative rests on your own knowledge alone — which has a cutoff and will miss recent work. Build it anyway, mark the phase's own limits in Provenance, and say plainly in the narrative that no literature was retrieved. Recommend/2-osp-literatureonce.
Record any skip before you start. The orchestrator is not in the loop when the user runs this
command directly, so it falls to you: for every earlier phase still pending, set
phases.<name>.status = "skipped" and phases.<name>.skip_reason to their reason, or
"user ran /3-osp-historian first". A phase left pending reads as "not reached yet", and the final review
cannot tell the difference.
Opening block (print before step 1)
Render the opening block exactly as .claude/defaults/phase_block_template.md defines it — that
file holds the rail, the rules and the widths, and it is the only place they are written down.
This is phase 4 of 7 (historian); read the rail's state from session.json. Values:
DOING build the sub-field's chronological narrative
READS .brain/raw/01_structured_summary.md
.brain/raw/02_retrieved_literature.md
WRITES .brain/raw/03_domain_narrative.md
COST ~2 min, no external calls
Steps
- Read
.brain/session.json,.brain/raw/01_structured_summary.md,.brain/raw/02_retrieved_literature.md. - Activate the
osp-historian-agentskill. - The skill builds a chronological narrative grouped by inflection points (eras), each characterized by its dominant approach and what triggered the transition out.
- The skill places the paper under review in the narrative — same era it claims, or a different one — and identifies its closest precedents.
- Write
.brain/raw/03_domain_narrative.md. - Update
session.json:phases.historian.status = "completed"phases.historian.completed_at = <now>phases.historian.notes = "<N> eras identified; paper placed in era <N>"resume_from = "baseline_scout"
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.
- 1mo ago Changed · +24 lines e03cc52c59de
- 2mo ago First seen · 46 lines · 13 tokens per session scan A 01f3726b5452
3-osp-historian is a command published in the GitHub repository amirkiarafiei/open-scholar-peer (51 stars, last pushed yesterday), licensed MIT. It adds 13 tokens to every session and 849 once invoked, about $0.0001 per session on Opus 5.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-30.
3-osp-historian compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| 3-osp-historianamirkiarafiei/open-scholar-peer | Command | 51 | yesterday | MIT | A | 13 | Claude Code |
| run-experimentEvoClaw/amplify | Command | 11 | 8mo ago | MIT | A | 9 | Claude Code |
| write-paperEvoClaw/amplify | Command | 11 | 8mo ago | MIT | A | 13 | Claude Code |
| ars-planImbad0202/academic-research-skills | Command | 56k | 2d ago | none | A | 19 | Claude Code |
| plotzhouziyue233/great-econometrics | Command | 8 | 6mo ago | none | A | 44 | Claude Code |
| graphite-morphology-classifyDaxxSec/cognitropy-lab | Command | 1 | 4mo ago | none | A | 0 | Claude Code |
| checklistgithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |