0-osp-onboarding

0-osp-onboarding is a command for Claude Code from amirkiarafiei/open-scholar-peer. It costs 14 tokens per session (2,508 once invoked), scanned A, original, MIT.

An onboarding stage in Open ScholarPeer, a workflow for reviewing research papers. It identifies the review venue, finds the paper, converts it to readable text when needed, and prepares review criteria.

In plain words
What is it for?
It is for locating papers, creating .brain/input/paper.md, and scaffolding venue-specific review guidelines and questions.
Why use it?
It removes the setup work needed before analyzing a paper and gives later stages a consistent input file.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It is for locating papers, creating .brain/input/paper.md, and scaffolding venue-specific review guidelines and questions.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/amirkiarafiei/open-scholar-peer/0-osp-onboarding"><img src="https://agentmods.dev/badge/commands/amirkiarafiei/open-scholar-peer/0-osp-onboarding.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 2,508 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.02508
Opus 5.5 $0.00006 $0.01003
Sonnet 5.5 $0.00003 $0.00502
Haiku 4.5 $0.00001 $0.00251

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

Security

Grade A, and why

0-osp-onboarding scanned grade A 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

.open-scholar-peer/mcp/.venv/bin/python -c "import urllib.request as u;r=u.Request('https://api.openalex.org/works?per-page=1',headers={'User-Agent':'open-scholar-peer'});u.urlopen(r,timeout=5).read(1);print('NET_OK')" 2
extensions/.claude/commands/0-osp-onboarding.md · 173 lines

How it starts

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

/0-osp-onboarding — Stage 0: Onboarding

Prepares the review environment. Recommended first — every later phase runs without it, on generic criteria and with no venue.

Activation

Invoke the osp-orchestrator skill (no domain persona needed for this step).

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 1 of 7 (onboarding); read the rail's state from session.json. Values:

  DOING    set the venue, find the paper, scaffold criteria
  READS    .brain/input/   whatever you put there
  WRITES   .brain/raw/00_review_guidelines.md
           .brain/session.json
  COST     ~1 min, one web search

Steps

1. Read session state

  • Read .brain/session.json. If it is missing, write it yourself from the v2 schema and carry on — the installer's scripts are not kept in the user's project, so do not send them looking for one.
  • If phases.onboarding.status == "completed" and qa_criteria is non-empty, ask the user whether to re-run (which would overwrite 00_review_guidelines.md and any pre-scaffolded 05_qa_*.md files). If they decline, exit.

2. Locate the paper and ensure a readable text version

  • Check .brain/input/ for a paper file. Common extensions: .pdf, .md, .tex, .docx.
  • If empty, look in the project root as well — the installer tells the user to put the paper there. Ignore README, AGENTS, CLAUDE and similar. Show what you found and ask them to confirm.
  • Whenever the user points at a file, wherever it is, copy it into .brain/input/ yourself. The same applies to any supporting material they offer later. Never ask them to move a file by hand.
  • Always produce .brain/input/paper.md (the canonical readable form):
    • If the original is .md, ensure it's named paper.md (rename if necessary).
    • If the original is .pdf / .docx / .tex, attempt conversion with the markitdown MCP tool (convert_to_markdown). Save output to .brain/input/paper.md.
    • If markitdown is unavailable, do not silently advance. A readable paper is the one input the protocol cannot work around. Tell the user so, and offer two routes: (a) install markitdown (uvx markitdown-mcp --help confirms it is fetchable), or (b) hand over a markdown conversion of their own. Wait for one of them. This and the same guard in /1-osp-summary are the only two places in Open ScholarPeer that stop. Everything else recommends and carries on.
  • Save paper.path (original) and paper.parsed_path (the canonical .brain/input/paper.md) into session.json.

Read the full file on GitHub · 173 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 · +73 lines dc5bf101817e
  2. 2mo ago First seen · 100 lines · 14 tokens per session scan A 308b2c166d85

Subscribe to this mod's changes

0-osp-onboarding 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 2,508 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

0-osp-onboarding compared with commands from other repositories

0-osp-onboarding next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
0-osp-onboardingamirkiarafiei/open-scholar-peerCommand51yesterdayMITA14Claude 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