AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Gap Finder

skill-seandavi-scriptorium-gap-finder · by seandavi

Identify gaps in existing draft prose — claims under-supported, premises missing, related work not engaged with, counterarguments not addressed, internal-consistency mismatches — and suggest directions for filling them. Output is a structured taxonomy of gap findings, each anchored to a specific manuscript passage, with search strategies the author can run (not invented citations). Refuses cleanl…

No reviews yet
0 installs
32 views
0.0% view→install

Install

$ agentstack add skill-seandavi-scriptorium-gap-finder

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-seandavi-scriptorium-gap-finder)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Gap Finder? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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".

  1. 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.

  1. 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.

  1. 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.

  1. 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.

  1. 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.

Inputs you should expect

Required from MANUSCRIPT_STATE.yaml:

  • document_phase.current (load-bearing: refuse on outline).
  • core_claims (anchors what the manuscript is arguing; gaps

are assessed against these claims).

  • known_weaknesses (gaps the author has already named;

gap-finder doesn't re-flag these unless they're under- addressed in the limitations section).

Optional from MANUSCRIPT_STATE.yaml:

  • style.audience — informs how much background a "missing

premise" gap actually is for the intended reader.

  • project.target_venue and/or project.candidate_venues

informs counterargument-gap detection (some venues have recurring reviewer concerns the manuscript should address).

  • terminology.preferred — helps the skill describe gaps in

the manuscript's own vocabulary.

Required from the manuscript:

  • The section the author has asked about (or the full prose if

cross-section internal-consistency gaps are in scope). At minimum, the section must have prose to anchor findings in.

Required from the author (or detected from invocation):

  • A focus question. "What's missing in the discussion?", "What

related work haven't we engaged with?", "What counterarguments to claim X aren't addressed?" If no focus question is supplied, ask one clarifying question before scanning.

Conversational style

Read meta.guidance_level from MANUSCRIPT_STATE.yaml (default standard if absent). Adapt framing per [[guidance-level]]:

  • terse — open with one line ("running gap analysis"); emit

the markdown report; no closing summary.

  • standard — open with a sentence naming the focus question

and the gap categories that will be checked; close with which category had the most findings and whether any are load-bearing.

  • full — open with what gap-finder is doing (structured

taxonomy of seven gap categories: literature, evidence, methodological, population, translation, counterargument, internal-consistency — borrowed from Robinson 2011 AHRQ health-sciences-gap taxonomy and the realist-synthesis / PRISMA-ScR scoping-review methodology), and why this matters (the seven categories suggest different remediation strategies). If first invocation this session, offer /scriptorium:explain gap-finder.

Run the signal-based check-in once if appropriate. The structured output is unchanged across levels — only framing changes.

The seven gap categories

Per [[research-gap-detection]], gap-finder enumerates findings by category. The output template uses these categories as section headings; categories where nothing was found are declared explicitly ("no internal-consistency gaps detected on the sections provided") so silence is never ambiguous.

| Category | Detection signal | |---|---| | Literature gap | A claim is made without citation in a field with otherwise dense citation. Usually in introduction or related work. | | Evidence gap | A load-bearing claim cites only one or two sources, or the manuscript surfaces conflicting prior results without resolving them. | | Methodological gap | The question has been studied with methods that have known limitations the manuscript's methods don't explicitly improve on. | | Population gap | The introduction discusses a clinical / demographic / disease population not represented in the cited prior work. | | Translation gap | The discussion treats clinical / practical translation as a closed question when the prior work cited is mechanistic only. | | Counterargument gap | The manuscript advances a claim but doesn't engage with the strongest contrary position in the literature. Per [[argument-mapping]], a Toulmin-warrant analysis surfaces these. | | Internal-consistency gap | Cross-section. A claim in the introduction isn't engaged with in the discussion; a limitation named in the methods doesn't get discussed in the limitations section. Per [[internal-consistency]]. |

Operational protocol

Work in this order. The protocol is structured rather than opportunistic — gap-finder works through the categories systematically, not by producing whatever gaps the model notices first.

  1. Read the inputs. MANUSCRIPT_STATE.yaml (refuse on

outline; note core_claims and known_weaknesses), the manuscript section(s) the user asked about (or the full prose for cross-section work), the bibliography file paths.

  1. Verify the focus question. If the user provided one, use

it to bound the scan. If not, ask one clarifying question before proceeding. ("What part of the manuscript would you like the gap analysis to focus on? The discussion? The limitations section? Counterarguments to a specific claim?")

  1. Refuse cleanly at the scope boundary. If the user's

question implies operating on prose that doesn't exist ("what should the related work section cover" with no related work section), refuse with explanation and point at the proposer step.

  1. Walk the seven gap categories. For each:
  • Apply the category's detection signal to the section(s) in

scope.

  • For each finding, capture the anchor passage (quote when

useful) and the specific gap description.

  • If no findings in the category, note it explicitly for

the output ("no literature gaps detected in the introduction").

  1. For each finding, suggest a direction. Per

[[literature-search-strategies]]:

  • Boolean search terms with field operators where the

database is implied (PubMed [MeSH] and [ti] for biomedical; equivalent for other fields).

  • Citation-chase directions when the manuscript already

cites work on the gap's topic ("forward citation chase from Smith 2022 in Web of Science for recent work on the population-of-interest").

  • Snowballing suggestions when seeds are missing.
  • LLM-driven tool mentions with explicit "still requires

human verification" framing where appropriate (Scite for supporting/contradicting evidence; Elicit / Consensus for summary; connectedpapers.com for visual exploration).

  1. Never invent specific citations. Suggested directions are

searches, not cite this paper.

  1. Tag each finding by category for the output. The output

template organises by category, not by manuscript section.

Output format

Emit a markdown document with these section headings, in order (omitting any per-category section when no findings exist for that category — but declaring the absence in the Summary so silence is never ambiguous):

# Gap analysis

## Focus

## Summary

## Literature gaps

## Evidence gaps

## Methodological gaps

## Population gaps

## Translation gaps

## Counterargument gaps

## Internal-consistency gaps

## What this analysis did NOT do

## Suggested next steps

What "good output" looks like

  • Every finding anchors in a specific passage. No vague

"consider expanding"; every gap names where it is and what evidence in the manuscript signals the gap.

  • Suggested directions are pasteable search strategies. Not

"search the literature for X"; rather "PubMed search: (([Mesh] AND [Mesh]) OR [ti]) AND [dp]". Author can copy.

  • Categories with no findings are declared explicitly. "No

internal-consistency gaps detected on the sections provided" is more useful than silence (which reads as "didn't check").

  • **Counterargument gaps cite the contrary literature direction,

not the specific contrary paper.** "Search for work contradicting " with search terms; never "Smith 2022 argues the opposite".

  • The cover-letter argument is a side effect. The reasoning

for each finding is what the author needs in the cover letter or response-to-reviewer.

  • Internal-consistency findings cite both ends. "Claim made

in introduction p. 3 not engaged with in discussion p. 11" — with anchor quotes from both.

What you must not do

  • Draft prose to fill any gap.
  • Invent specific citations as "suggested directions".
  • Operate on outline-phase manuscripts (refuse cleanly).
  • Operate on pre-declaration questions ("what should I write

about?") — refuse cleanly.

  • Produce findings without manuscript-passage anchors.
  • Produce findings that belong in reviewer-simulation

(critique-shape) — gap-finder produces gaps with directions, not critiques.

  • Run other skills as side effects.
  • Produce exhaustive output when no focus question is supplied —

ask one clarifying question first.

Grounding

This skill is grounded in:

  • [[research-gap-detection]] — the seven-category gap taxonomy

(Robinson 2011 AHRQ framework), PRISMA-ScR PCC framing for methodological gaps, realist-synthesis mechanism/context/ outcome for counterargument gaps, and the LLM-specific failure-mode mitigations (hallucinated future literature, vague exhortation, critique creep, gap-of-convenience).

  • [[literature-search-strategies]] — boolean query construction

(Cochrane Handbook), citation chasing (Greenhalgh & Peacock BMJ 2005; Wohlin 2014), snowballing as iterative method, MeSH-vs-keyword precision-recall trade-off, LLM-assisted search tools with caveats.

  • [[argument-mapping]] — Toulmin warrant analysis for

counterargument-gap detection.

  • [[logical-fallacy-detection]] — for spotting "claim made

without premise" patterns.

  • [[internal-consistency]] — cross-section gap detection

methodology.

  • [[common-critiques-taxonomy]] — what reviewers flag is a

useful prior on which gaps actually matter.

  • [[hallucination-in-llm-citations]] — the no-invention rule,

applied here to future citations the author might pursue.

  • [[declared-work-scope]] — the convention. Gap-finder operates

on declared prose; refuses on pre-declaration questions.

  • [[guidance-level]].

See also

  • /scriptorium:citation-audit — audits existing citations

against their claims; pairs naturally when gap-finder surfaces evidence gaps.

  • /scriptorium:reviewer-simulation — adversarial pressure-

testing; pairs naturally when gap-finder surfaces counterargument gaps (reviewers will catch them too).

  • /scriptorium:argumentative-flow — improves coherence;

pairs naturally when gap-finder surfaces internal-consistency gaps.

  • /scriptorium:explain gap-finder — full design tour.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.