gap-finder

gap-finder is a skill for Claude Code, Codex from seandavi/scriptorium. It costs 144 tokens per session (3,868 once invoked), scanned A, original, MIT.

A review of existing manuscript text that identifies unsupported claims, missing reasoning, missing related work, unanswered counterarguments, and inconsistencies between sections.

In plain words
What is it for?
Use it to audit a declared draft and receive specific gaps plus suggested directions for addressing them.
Why use it?
It shows where a draft’s reasoning or evidence is incomplete without writing replacement text or inventing sources.

Skill for Claude CodeCodex

Part of the scriptorium plugin — 16 skills shipped together

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.

agentmods
npx agentmods add skills/seandavi/scriptorium/gap-finder
Any agent
npx skills add seandavi/scriptorium --skill gap-finder
Clone the repo
git clone --depth 1 https://github.com/seandavi/scriptorium

Made for: Claude Code, Codex.

Or install scriptorium, the plugin that ships this one along with the rest of its 16 skills.

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 gap-finder

README.md
[![agentmods](https://agentmods.dev/badge/skills/seandavi/scriptorium/gap-finder.svg)](https://agentmods.dev/skills/seandavi/scriptorium/gap-finder)
Your own site
<a href="https://agentmods.dev/skills/seandavi/scriptorium/gap-finder"><img src="https://agentmods.dev/badge/skills/seandavi/scriptorium/gap-finder.svg" alt="Measured on agentmods" height="20"></a>
Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,868 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00144 $0.03868
Opus 5 $0.00072 $0.01934
Sonnet 5 $0.00029 $0.00774
Haiku 4.5 $0.00014 $0.00387

Measured 3d ago against content hash 14fc6aeb7cec, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gap-finder 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 3d 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.

skills/gap-finder/SKILL.md · 375 lines

How it starts

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

Gap finder

You are running scriptorium's gap-finder skill. Your job is to identify gaps in existing draft prose — claims under-supported, premises missing, related work not engaged with, counterarguments not addressed, internal-consistency mismatches across sections — and suggest directions for filling them. You are a critique category skill: you assess; you do not modify the manuscript and you do not draft prose for the author.

Critical positioning — read before doing anything else

This skill operates on declared work. Per [[declared-work- scope]], scriptorium operates on prose the author has written or scaffolding the author has declared. Gap-finder identifies gaps in declared prose and suggests directions for closing them. It does not:

  • Draft prose to fill gaps. If a section is a stub, gap-finder names the gap and suggests directions; it does not write the section. If a section is missing entirely, gap-finder flags the absence but does not generate the section.
  • Help the author figure out what to write about. Pre-declaration ideation is out of scope. Refuse cleanly when asked.
  • Invent literature. The "Suggested directions" output produces search terms and angles; never specific citations. Per [[hallucination-in-llm-citations]] and the parallel rule in citation-audit, never let a generation step add citations.

This skill is collaborative, not adversarial. Findings are framed as opportunities to strengthen, not as deficiencies to defend against. That positioning distinguishes gap-finder from reviewer-simulation (which is adversarial by design) and is why the same author might invoke both: reviewer-simulation pressure-tests; gap-finder suggests how to fill what surfaces.

Critical constraints — read before doing anything else

  1. Refuse on outline phase. Outline-phase manuscripts are pre-declaration; gap-finder needs declared prose to anchor findings against. Refuse cleanly and point at "come back when the section exists, even as a sketchy stub".
  2. Refuse on pre-declaration questions. "What should the related work section say?" when there's no related work section yet → refuse with explanation. "Scriptorium operates on declared prose; sketch a stub for the section — even a few sentences declaring what claims it will make — and I can identify gaps against that stub." The author owns the proposer step.
  3. Every finding anchors in declared prose. Each gap cites a specific manuscript passage (with quote where useful) as the anchor. Findings that can't anchor in declared prose are out of scope. This is the structural defence against vague exhortation ("consider expanding the discussion") — every finding names where the gap is.
  4. Never invent citations. "Suggested directions" output is search terms, field operators, citation-chase directions, and tool suggestions. The skill names what to search for; the author runs the search and decides what to cite.
  5. Honest about saturation. If a focus question is not provided and the manuscript is long, the skill asks one clarifying question rather than producing an exhaustive list of every conceivable gap. Blanket-scan by default is unhelpful.
  6. Never run other skills as side effects. Gap-finder produces a structured report; the author decides what to do next. The output may suggest /scriptorium:citation-audit or /scriptorium:argumentative-flow as natural follow-ons, but never invokes them.

Read the full file on GitHub · 375 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 375 lines · 144 tokens per session scan A 14fc6aeb7cec

Subscribe to this mod's changes

gap-finder is a skill published in the GitHub repository seandavi/scriptorium (3 stars, last pushed 1mo ago), licensed MIT. It adds 144 tokens to every session and 3,868 once invoked, about $0.0007 per session on Opus 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-31.

Related

Other skills, from other repositories

skillpack-creator

Create a reusable SkillPack from a successful completed task. Use when the user wants to convert a one-off research, coding, analysis, or content workflow into a distributable local SkillPack with skillpack.json, local skills under skills/, starter prompts, start scripts, and an optional zip package.

CreminiAI/skillpack · 67 tokens

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

CreminiAI/skillpack · 64 tokens

super-design

Use when the user asks you to build, style, theme, refine, audit, or recreate UI — or uploads a screenshot to rebuild. Reads DESIGN.md as a closed token layer, detects the project's framework (Tailwind v4/v3, ShadCN, MUI, Radix, Geist), and enforces production design rules (tokens only, full state matrix, WCAG 2.2 AA…

Eldergenix/SUPER-DESIGN · 122 tokens

red-flags

Scans code against 17 design smells (the book's 14 named Red Flags plus 3 process-stage signals) and produces a structured diagnostic report. Use when reviewing a PR against a comprehensive checklist, evaluating unfamiliar code, or when the user asks for a red flags scan. Not for diagnosing why code feels complex (use…

codybrom/clairvoyance · 86 tokens

deep-modules

Measures module depth: whether the interface is simple relative to the implementation behind it. Use when an interface has too many parameters or methods, many small classes each do too little, or methods just forward calls. Not for whether adjacent layers provide different abstractions (use abstraction-quality) or…

codybrom/clairvoyance · 71 tokens

comments-docs

Reviews comment quality and documentation practices: the four comment types, comments-first workflow, and comment rot. Use when reviewing comments or docs, when comments just repeat the code, or when something is hard to describe in a sentence. Not for naming or code obviousness (use naming-obviousness).

codybrom/clairvoyance · 63 tokens