1-osp-summary

1-osp-summary is a command for Claude Code from amirkiarafiei/open-scholar-peer. It costs 14 tokens per session (1,112 once invoked), scanned C, original, MIT.

A command for the first summary stage of a paper-review workflow. It extracts a research paper's main claims, method, and evidence into a structured summary for later stages.

In plain words
What is it for?
Use it to summarise a paper after review-session setup, using an existing text file or converting a PDF, DOCX, or LaTeX source into readable text.
Why use it?
It gives later reviewers a consistent description of the paper and checks that readable paper text is available before processing begins. bioRxiv, journals, and other sources may provide papers as PDFs, but this workflow needs their text converted first.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Good fit Use it to summarise a paper after review-session setup, using an existing text file or converting a PDF, DOCX, or LaTeX source into readable text.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/amirkiarafiei/open-scholar-peer/1-osp-summary
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/amirkiarafiei/open-scholar-peer

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 1-osp-summary

README.md
[![agentmods](https://agentmods.dev/badge/commands/amirkiarafiei/open-scholar-peer/1-osp-summary/github.svg)](https://agentmods.dev/commands/amirkiarafiei/open-scholar-peer/1-osp-summary)
Your own site
<a href="https://agentmods.dev/commands/amirkiarafiei/open-scholar-peer/1-osp-summary"><img src="https://agentmods.dev/badge/commands/amirkiarafiei/open-scholar-peer/1-osp-summary/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 1-osp-summary

Your own site · 80×15
<a href="https://agentmods.dev/commands/amirkiarafiei/open-scholar-peer/1-osp-summary"><img src="https://agentmods.dev/badge/commands/amirkiarafiei/open-scholar-peer/1-osp-summary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 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,112 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00014 $0.01112
Opus 5.5 $0.00006 $0.00445
Sonnet 5.5 $0.00003 $0.00222
Haiku 4.5 $0.00001 $0.00111

Measured 1mo ago against content hash 35667295c886, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

1-osp-summary scanned grade C with 1 finding 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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

that the venue is unknown. Mention `/0-osp-onboarding` once. Do not insist, and do not refuse.
extensions/.claude/commands/1-osp-summary.md · 84 lines

How it starts

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

/1-osp-summary — Internal Compression

Extracts the paper's claims, method, and evidence into a structured summary Ŝ that downstream personas rely on.

Activation

Invoke the osp-summary-agent skill. The agent assumes the Summary Agent persona and follows that skill's protocol exactly.

Inputs — none of these is a gate

  • phases.onboarding.status == "completed" in session.json. If onboarding was skipped you have no venue and no review guidelines; extract the summary anyway, and record under NOTE and in Provenance that the venue is unknown. Mention /0-osp-onboarding once. Do not insist, and do not refuse.

The one thing that cannot be worked around

Every other input in this protocol is optional. This one is not: with no readable text of the paper there is nothing to review, so this guard stops — and it is the only place in Open ScholarPeer that does.

PDF/DOCX/TEX in .brain/input/ is not enough on its own; a binary path handed to the agent is the single biggest cause of silent downstream failure.

Before activating the skill, verify in this order:

  1. .brain/input/paper.md exists and is readable — ideal case, proceed.
  2. .brain/input/paper.md is missing but a PDF/DOCX exists — try to convert it now using the markitdown MCP tool (convert_to_markdown). Save the result to .brain/input/paper.md. Update session.json.paper.parsed_path.
  3. markitdown MCP is unavailable AND only a PDF/DOCX is present — stop here, and say why in one line: there is no readable text to summarise. Print:

    Paper at .brain/input/<file> is in a binary format and markitdown MCP is not available. Either: (a) install markitdown — uvx markitdown-mcp --help confirms it is fetchable; plain uvx markitdown-mcp starts the server and waits, which looks like a hang — or (b) convert the paper manually and place the markdown at .brain/input/paper.md, or (c) if your host tool reads this format natively (Claude Code reads PDFs, for one), read it yourself, write the extracted text to .brain/input/paper.md, and re-run.

  4. Nothing in .brain/input/ — stop here too; there is no paper. Point at /0-osp-onboarding, which will help locate it.

Read the full file on GitHub · 84 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. 1mo ago Changed · +22 lines scan A → C 35667295c886
  2. 2mo ago First seen · 62 lines · 14 tokens per session scan A a136ef944176

Subscribe to this mod's changes

1-osp-summary is a command published in the GitHub repository amirkiarafiei/open-scholar-peer (51 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 1,112 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

1-osp-summary compared with commands from other repositories

1-osp-summary next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
1-osp-summaryamirkiarafiei/open-scholar-peerCommand51yesterdayMITC14Claude Code
ars-mark-readImbad0202/academic-research-skillsCommand56k2d agononeA23Claude Code
ars-cache-invalidateImbad0202/academic-research-skillsCommand56k2d agononeA20Claude Code
ars-disclosureImbad0202/academic-research-skillsCommand56k2d agononeA21Claude Code
ars-revision-coachImbad0202/academic-research-skillsCommand56k2d agononeA27Claude Code
ars-abstractImbad0202/academic-research-skillsCommand56k2d agononeA17Claude Code
ars-fullImbad0202/academic-research-skillsCommand56k2d agononeA16Claude Code