extract-futureworks
Skill8 starsChanged 2 months agoMITView on GitHub
Future-works analysis skill with two modes. Mode audit: review one manuscript's own future-works / conclusion / limitations section (.tex/.md) — presence, testability, link to a stated limitation, and novelty against the literature — and emit flagged findings for the host agent's plan. Mode mine: extract the stated future works / open problems of a corpus from full text (download via download_pdf.py any-format, parse via extract_text.py --section-scan) and synthesize a corpus future-works table (with fit to the review and a Pareto 80/20 effort-vs-impact ranking) plus a research-opportunity list. Used inside the four auditors (audit) and scopus-researcher (mine). Trigger when an agent reaches its future-works / hypothesis step.
- Reads credentials
In this repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/skills/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- aider-setupSkill
- deliberationSkill
- drawio2tikzSkill
- extract-contributionsSkill
- extract-futureworksSkill
- extract-paper-ideaSkill
- extract-statisticSkill
- form-serviceSkill
- geolocalisationSkill
- latex-hygieneSkill
- loop-engineerSkill
- narrative-cvSkill
- obsidian-cliSkill
- opt-local-stt-vramSkill
- opt-local-vram-llmSkill
- paper2talkSkill
- recommendation-letterSkill
- rt-observeSkill
- scholar-evaluationSkill
- scientific-writingSkill
- scopusSkill
- word2latexSkill
- aider-setupSkill
- deliberationSkill
- drawio2tikzSkill
- extract-contributionsSkill
- extract-paper-ideaSkill
- extract-statisticSkill
- form-serviceSkill
- geolocalisationSkill
- latex-hygieneSkill
- loop-engineerSkill
- narrative-cvSkill
- obsidian-cliSkill
- opt-local-stt-vramSkill
- opt-local-vram-llmSkill
- paper2talkSkill
- recommendation-letterSkill
- rt-observeSkill
- scholar-evaluationSkill
- scientific-writingSkill
- scopusSkill
- word2latexSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 64
Ensure each retained paper's full text is present in any format - call .claude/skills/scopus/scripts/download_pdf.py (presence-gated.
- Distinctive: line 124
Never fabricate a future-work statement or a hypothesis.
- Very specific: line 126
Every proposed hypothesis must be testable by a named method and validated for novelty against Scopus before it is offered (reuse the …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Future-works analysis (audit + corpus mining)
A reusable future-works capability invoked by the academic agents. It mirrors the
extract-statistic skill: two modes, one input contract each, and a strict boundary — it produces
findings, the host agent judges them through its own deliberation step. The full pipeline and flag
catalogue live in references/futureworks-protocol.md; the
heading cues used to locate the relevant passages live in
references/section-cues.md. Read both before using this skill. This file
is the entry point and contract.
When to use
- Mode
audit— a host auditor (paper-auditor, scopus-auditor, thesis-auditor, thesis-proposal-auditor) reaches its future-works / hypothesis step. The skill audits the work's own stated future works and is then used to validate the work's hypotheses and to propose stronger ones drawn from the cited corpus. - Mode
mine— scopus-researcher has downloaded the corpus full text and wants every paper's stated future works extracted and synthesized, so the gap map, the Pareto matrix, and the hypotheses target real, author-declared open problems for the next research project.
When NOT to use
- As a standalone command typed by the user. The skill is invoked by the agents at their future-works step, not directly. (It still runs if a user points it at a file, but its outputs feed a host pipeline.)
- For broad ideation unanchored to a manuscript or a corpus.
Cross-review boundary (do not run deliberation here)
This skill does not run a deliberation panel and does not call gemini_reviewer.py or
github_reviewer.py. The host agents already run the mandatory deliberation
step once on their near-final output; the findings produced here are merged into the host plan and
critiqued there. This keeps one panel per run.
Modes
Mode audit — one manuscript's own future works
- Input: a
.texor.mdmanuscript path. Resolve\input{}/\include{}recursively (up to 3 levels) and audit the merged document, exactly as the host auditors merge their input. - Pipeline (see the protocol reference): locate the future-works / conclusion / limitations section -> presence check -> per-statement testability and specificity audit -> link-to-limitation audit -> novelty check against Scopus -> hypothesis cross-check (validate the work's stated hypotheses against the corpus future works and propose stronger ones).
- Output:
<basename>_futurework_report.mdnext to the manuscript (orfuturework_report_<YYYY-MM-DD>.mdin the working directory for pasted text).- A list of
[FW …]flags the host folds into its plan (paper-auditor Section E, scopus-auditor Section F1, thesis / thesis-proposal Section B).
- Never modify the manuscript directly. Corrections are applied by the host plan /
latex-writer.
Mode mine — corpus future works from full text
- Input: a
.bib(preferred) or an existingrefs/directory. - Steps:
- Ensure each retained paper's full text is present in any format - call
.claude/skills/scopus/scripts/download_pdf.py(presence-gated; PDF, then the HTML/Markdown any-format tiers). - Parse every present file with
scripts/extract_text.py(--section-scanon) to get the future-work / conclusion / limitations excerpts per paper. - Synthesize a corpus future-works table (one row per stated future-work item: paper, statement, category, fit to the review theme/gap, effort 1-5, impact 1-5) and a research-opportunity list (recurring "X remains future work" across papers = high-value, author-declared gap). The host ranks the rows by a Pareto 80/20 score (lowest effort x highest impact first).
- Ensure each retained paper's full text is present in any format - call
- Presence-gated: a paper whose full text could not be retrieved (status
pdf-missing) contributes title/abstract-level future works only and is flagged[FW FULLTEXT-MISSING]; it never blocks the pipeline. - Output:
<basename>_corpus_futurework.md(human-readable ranked table + opportunity list) and<basename>_corpus_futurework.json(machine-readable, consumed by scopus-researcher). These route into scopus-researcher Step 9b (gap map), Step 9d (Pareto matrix), and Step 10 (hypotheses).
Prerequisites
- A Markdown/PDF backend importable for parsing (Docling preferred, else pymupdf4llm + pymupdf, else
the HTML tag-strip) - see
.claude/skills/extract-statistic/scripts/requirements.txt. A missing backend degrades to abstract-level future works and flags it. - For full-text retrieval in
minemode:.claude/skills/scopus/scripts/download_pdf.pyreachable,SCOPUS_API_KEYfor the Elsevier source, andUNPAYWALL_EMAILfor the Unpaywall tier (the arXiv / PMC / Semantic Scholar tiers work without a key). - For novelty / hypothesis lookups during the audit:
scopus_api.pyreachable. A network error is flagged[SCOPUS UNAVAILABLE]and the audit proceeds without references.
Invocation
# Mode audit (host auditor):
python ".claude/skills/extract-statistic/scripts/extract_text.py" text "<manuscript.tex>" --section-scan
# then apply the pipeline in references/futureworks-protocol.md and write <basename>_futurework_report.md
# Mode mine (scopus-researcher / auditor cited-corpus mining):
python ".claude/skills/scopus/scripts/download_pdf.py" bib "<corpus.bib>" --latex "<main.tex>"
python ".claude/skills/extract-statistic/scripts/extract_text.py" bib "<corpus.bib>" --latex "<main.tex>" --section-scan
# then synthesize <basename>_corpus_futurework.md + .jsonThe parser (extract_text.py) is shared with extract-statistic; this skill reuses its
--section-scan output rather than shipping its own script. Pass --stats-scan --section-scan
together when an agent mines statistics and future works in the same pass.
Resources
references/futureworks-protocol.md- the audit + mine pipelines, the[FW …]flag catalogue, the output format, and the Pareto ranking rule.references/section-cues.md- the English and French heading cues used to locate the future-work / conclusion / limitations / open-problems passages.- The shared parser
.claude/skills/extract-statistic/scripts/extract_text.py(--section-scan); it reusesdownload_pdf.pyfor any-format retrieval (it does not reimplement downloading).
Key rules
- Respond in the manuscript's language (French if the manuscript is French, English if English).
- Anti-AI-style hygiene follows
.claude/skills/scientific-writing/references/writing_principles.md(canonical): no em dashes, straight quotes only, no zero-width characters, no AI transition phrases, no overly perfect lists. Target an AI-style risk score below 10%. - Never fabricate a future-work statement or a hypothesis; if the source does not state it, mark it missing.
- Every proposed hypothesis must be testable by a named method and validated for novelty against
Scopus before it is offered (reuse the
scopus_api.py searchpattern). - The Pareto 80/20 ranking is the host's: this skill supplies the per-paper future-work rows; the host scores effort vs impact and maps each row to the review's themes and gaps.
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.

