gap-analysis
Skill10 starsChanged 4 days agoMITView on GitHub
Identify and validate engineering literature gaps using scholarly triangulation. Use when the user invokes /gap-analysis, asks to find research gaps in an engineering field (e.g. FRP-to-concrete bonding in civil structures, fatigue life, a material system), or when a discipline skill hits an evidence dead-end (no code provision, paper, or dataset addresses the question). Wraps the scholarly-research skill for source discovery and adds gap-specific methodology: narrow-query hit thresholds, cross-source triangulation, and structured dossier output. Do NOT use for non-engineering literature surveys or when the user already has a specific gap in mind and wants it filled.argument-hint: "<discipline> <sub-topic> [--deep | --quick]"
21 other projects use a version of this.
Adopted by
Most recently taken up by
- DatasiteAI/mcp-skillstheir own version, first seen Nov 3, 2026
- MarieLynneBlock/arcanum-artifextheir own version, first seen Nov 1, 2026
- Happy-Technologies-LLC/happy-platform-skillstheir own version, first seen Nov 1, 2026
- richardochristjia/skillstheir own version, first seen Nov 1, 2026
- TanStack/aitheir own version, first seen Oct 22, 2026
- justice8096/dyscalculia-support-skilltheir own version, first seen Oct 13, 2026
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 21
- TanStack/ai★ 3.3ksame name
- magnus919/agent-skills★ 172same name
- zrosenfield/sharepoint-ai-skills★ 96same name
- Happy-Technologies-LLC/happy-platform-skills★ 41same name
- agent-ix/quoin★ 20same name
- afonsoft/skills★ 14same name
- excatt/superclaude-plusplus★ 14same name
- DatasiteAI/mcp-skills★ 5same name
- kevinlin/skills★ 5same name
- MarieLynneBlock/arcanum-artifex★ 4same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- architecturalSkill
- artifact-readingSkill
- auditSkill
- civilSkill
- compareSkill
- design-alternativesSkill
- electricalSkill
- eli5Skill
- engineering-researchSkill
- evidence-rankingSkill
- fmea-brainstormSkill
- habitSkill
- hypothesis-generationSkill
- mechanicalSkill
- peer-reviewSkill
- proposalSkill
- research-to-postSkill
- reviewSkill
- scholarly-researchSkill
- simplified-technical-englishSkill
- softwareSkill
- standards-lookupSkill
- summarizeSkill
- verifierSkill
- vitruvius-helpSkill
- vitruviusSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 4 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 20 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Run a systematic literature gap analysis for an engineering sub-topic.
- Distinctive: line 29
Before searching, name the question, the artifact/scope (or say it is a literature review), the jurisdiction/edition, and the effort budget …
- Distinctive: line 62
Name the corpus: Search surfaces, query families, hit counts, and the date.
- Distinctive: line 89
Gap signal: If the narrow query returns 0–5 hits, and the top hits are off-topic, low-citation (<5), or only tangentially related — this is …
- Very specific: line 103
If triangulation fails, the gap is unverified — report it as a suspected gap with lower confidence.
- Very specific: line 151
Write the dossier to outputs/gap-analysis/<slug>.md and a provenance sidecar to outputs/gap-analysis/<slug>.provenance.md.
- Very specific: line 164
Retry logic: If quality gate fails, re-run the search phase once with the specific failure as feedback.
- Distinctive: line 173
Never fabricate a gap. If the literature adequately covers the topic, say so.
- Very specific: line 174
When a source is paywalled or unreachable, cite from metadata and mark blocked.
“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- VITRUVIUS-COMPILED-SKILL:BEGIN v1 sha256=9f82197dfbf8ed1c2ddb7902480e5aa05c5dad9d2092013c2335f930d8e10122 -->Gap Analysis
Run a systematic literature gap analysis for an engineering sub-topic. This
skill wraps scholarly-research for source discovery and adds the gap-validation
methodology on top.
Input Gate
Before searching, name the question, the artifact/scope (or say it is a
literature review), the jurisdiction/edition, and the effort budget (user-set or
thorough). Ask ONE clarifying question if the ask is too vague, then proceed.
See references/input-gate.md.
Workflow
flowchart LR
Input["Discipline + Sub-topic"] --> Search["Narrow-Query Search"]
Search --> Triangulate["Triangulate Sources"]
Triangulate --> Validate["Validate Gap Signal"]
Validate --> Dossier["Gap Dossier + Provenance"]Invocation
/gap-analysis <discipline> <sub-topic> [--deep | --quick]- discipline: one of
civil,mechanical,electrical,software,architectural - sub-topic: narrow focus within the discipline (e.g.,
FRP-bonding,hydrogen-embrittlement). Required — if the user doesn't provide one, ask. --deep: Force parallel verification lanes for all gap validation claims.--quick: Skip parallel verification, use single-source checks only.- No flag: Auto-scale based on gap criticality (safety-related gaps get parallel verification).
Methodology (Execute This)
Phase 0 — Define the corpus before claiming a gap
A gap is a statement about a body of literature, so the body comes first.
- Name the corpus. Search surfaces, query families, hit counts, and the date. A gap claim without a corpus is unfalsifiable.
- Separate coverage gaps from literature gaps. Paywalled, rate-limited, or
non-indexed work you could not reach is a limit of the search, not evidence
that nothing exists. Record it as
blockedcoverage. - Map the trajectory before the hole. Method families, the performance range they cover, and what changed direction. A gap is what the trajectory cannot reach — never a single empty query.
- A zero-hit query counts only after (1)–(3). State the query and the surface; an unqualified "no papers found" is the claim this phase exists to prevent.
Phase 1 — Narrow-Query Search (wrap scholarly-research)
For the target sub-topic, construct a narrow search query and run it through
OpenAlex using title_and_abstract.search:
GET https://api.openalex.org/works?filter=title_and_abstract.search:<urlencoded terms>&per-page=20&select=id,display_name,publication_year,cited_by_count,doi,open_access,best_oa_location,authorshipsThen run the same query on arXiv:
GET https://export.arxiv.org/api/query?search_query=all:<terms>&max_results=20Gap signal: If the narrow query returns 0–5 hits, and the top hits are off-topic, low-citation (<5), or only tangentially related — this is evidence of a gap.
Phase 2 — Triangulation
A gap is validated only if all three source tiers agree:
| Source | What to check |
| OpenAlex | Narrow query returns 0–5 relevant hits |
| arXiv | Related preprints are absent or tangential |
| Web search | ≥2 independent "open problem" signals (committee reports, program descriptions, standards documents naming the gap explicitly) |
If triangulation fails, the gap is unverified — report it as a suspected
gap with lower confidence.
Phase 3 — Edge Paper Identification
Find 4–7 papers that touch the edges of the gap — they address adjacent problems but do not fill the gap. For each, annotate:
- Title, authors, year, DOI
- Covers: what this paper addresses (the adjacent territory)
- Misses: what it does not address (the gap itself)
- Evidence quality tier (see below)
Phase 4 — Evidence Quality Tiers
Score each source using the tier system defined in
references/evidence-quality-tiers.md. Summary:
- Tier 1 (authoritative): standard/code provision, or high-impact verified source
- Tier 2 (reliable): peer-reviewed with clear methodology
- Tier 3 (supporting): preprint, conference, or tangential paper
- Tier 4 (weak): vendor doc, low-citation, or methodologically thin
Weight: source tier > methodology > citation authority > reproducibility > recency.
Output
Inline Summary (chat response)
- Gap statement (1-2 sentences)
- Confidence: High | Medium | Low (based on triangulation completeness)
- Validation counts: OpenAlex hits, arXiv hits, web "open problem" signals
- Top 3 edge papers: [first author, year] — covers X, misses Y [Tier N]
- 3-5 concrete, answerable research questions
- Path to full dossier on disk
Full Dossier (saved to disk)
Match the structure of existing gap-analysis/<discipline>/<NN>-<slug>.md files in
this repository. Required sections:
- What's Missing — specific knowledge gap description
- Why It Matters — safety, economic, societal stakes
- Suggested Research Questions — 3-5 concrete, answerable
- Key Papers (Touching the Edges) — 4-7 papers with Authors, Year, DOI/URL, Covers, Misses, Tier
- Validation — OpenAlex query + hits + date, arXiv query + hits + date, web sources, open problem signals
- Confidence — High | Medium | Low with justification
Write the dossier to outputs/gap-analysis/<slug>.md and a provenance sidecar
to outputs/gap-analysis/<slug>.provenance.md.
Quality Gate (mandatory before returning)
Self-check the output. If any check fails, retry once with feedback:
- Gap count — at least 3 distinct gaps identified. If < 3, re-search with broader terms.
- Source count — at least 4 key papers referenced. If < 4, expand search to additional databases.
- Triangulation — at least 2 source tiers represented (e.g., OpenAlex + arXiv). If only 1, search missing tier.
- Research questions — at least 3 concrete, answerable questions. If < 3, refine gap analysis.
- Confidence justification — Confidence level has explicit justification. If missing, add reasoning.
Retry logic: If quality gate fails, re-run the search phase once with the specific failure as feedback. If it fails again, return the best output with a PARTIAL confidence and list the unresolved issues in provenance.
Scope and Boundaries
- This skill identifies gaps — it does not fill them. For filling gaps,
dispatch to
engineering-research. - Output is research-only, not design or implementation guidance.
- Fail-closed: if triangulation cannot be completed, mark the gap
unverifiedrather than claiming it exists. - Never fabricate a gap. If the literature adequately covers the topic, say so.
- When a source is paywalled or unreachable, cite from metadata and mark
blocked. Seereferences/blocked-access-policy.mdfor the full rules.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

