sr-screener
SR-Screener v1.0.0 — Protocol-Driven Screening Decisions
Screening is where a systematic review quietly loses studies: criteria drift, tired reviewers,
records that fall between two batches. This skill makes each screening decision explicit and
traceable. The criteria are fixed before any record is read, every record gets two independent
decisions, disagreements go to a third reviewer, nothing is ever decided by default, and every
number in the PRISMA flow can be traced to a file. The AI reviewers support the review team;
people sign off on the final screening.
The skill sits between deep-research (question, protocol, search) and academic-paper
(writing the review). Dual review at scale uses the Workflow tool (or one Agent call per batch);
small sets work in a single session. The deterministic steps are Python scripts in this skill's
scripts/ folder (Python 3.9+, standard library only; openpyxl is optional and gives an Excel
log instead of CSV files).
Routing discipline (v3.9.2): plugin and skills-copy installs do not load this repository's.claude/CLAUDE.md, so its routing core is repeated below, identical toshared/references/routing_core.md(#892). If routing has not settled when this skill loads, apply the core before dispatching any agent.
<!-- routing-core:begin -->
Step 0 — Escape hatch check (before any classification): If the user's first message begins with [direct-mode] (case-insensitive byte-0 token, optionally preceded by whitespace/newlines that are stripped on parse), record this fact, strip the prefix and surrounding whitespace from the message, and skip directly to Step 1 explicit-intent handling on the stripped content. The literal [direct-mode] is NOT passed through to the dispatched agent. If the stripped message itself has no clear skill named, Step 1 falls through to Step 3 clarification (the escape hatch bypasses cross-phase clarification (Step 2), not all routing). When the token is honored and the named agent or skill needs inputs the message does not supply, read that agent's or skill's file and ask for what it requires, in its terms. A [direct-mode] token after any other non-whitespace character is not the escape hatch, even when the message asks to skip questions: classify the message through Steps 1-3 as if the token were absent, and do not forward the token. Without the byte-0 token, naming an agent is not explicit intent: such a message goes through Steps 1-3 like any other, so cross-phase materials still get Step 2 clarification.
Otherwise, classify the user's input:
- Explicit clear intent — user invokes a specific skill via
/ars-*slash command, or uses an unambiguous trigger keyword that maps to a single skill (e.g., "lit-review this", "review my paper", "draft an abstract"):
→ Route directly; no clarification, no orchestrator detour.
→ The request stays explicit when the mode's usual input is absent or a word in it has other everyday senses. A revision request with no reviewer comments is revision mode's "feel certain sections need improvement" case, and "revisar artículo" is the reviewer's trigger. Route to that mode and let the mode handle what is missing; do not reopen the choice of workflow.
- Cross-phase materials detected — user provides artifacts spanning ≥ 2 pipeline phases without naming a specific skill (e.g., pre-written abstract + pre-collected literature; full draft + reviewer comments + bibliography):
→ Clarify. Do NOT auto-route to a single-phase agent. List candidate workflows as a-d options in markdown body (NOT via AskUserQuestion tool). See shared/references/intent_clarification_protocol.md for the message template.
→ Reason: clarification is the safest action when materials don't unambiguously identify intent. (v3.10 active conductor (#134) will handle this via structured intake; v3.9.2 asks.)
- Ambiguous intent, no materials — user provides no artifacts and no clear request:
→ Clarify per shared/references/intent_clarification_protocol.md.
Screening boundary (sr-screener): a request to screen records the user already has (database exports, pasted abstracts, full-text PDFs) against a review's eligibility criteria, or to build a screening protocol, pilot the screening, adjudicate screening conflicts, audit exclusions, or report the selection counts, routes to sr-screener. A request to write a literature review, or to run a systematic review, meta-analysis, or PRISMA report, does not route to sr-screener. Screening starts only when the user asks for it: deep-research systematic-review mode may mention sr-screener, but never hands over to it automatically.
Anti-pattern (caused #133): Receiving a
