lattice-find-papers
Skill0 starsChanged 5 months agoMITView on GitHub
Use when the user wants to search papers, audit literature coverage, deduplicate and screen papers, import DOI-selected papers into Zotero, check full-text availability, generate runs/run_id/request_PDF/doi_list.md, or prepare compact evidence handoff for gap discovery.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/lattice-research.mdcCursor rule
- lattice-gapsSkill
- lattice-honestySkill
- lattice-research-skillSkill
- lattice-wordingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 12 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Create or reuse this structure:
- Very specific: line 42
Only request_PDF/ stays at the run root.
- Distinctive: line 48
Ask only if missing boundaries would change search strategy.
- Distinctive: line 51
Use multiple source blocks when available: OpenAlex, Crossref, Semantic Scholar, Google Scholar or equivalent academic search, publisher …
- Distinctive: line 57
Write only the minimal tables needed for deduplication, full-text status, Request PDF generation, and later gap discovery.
- Distinctive: line 59
Import selected DOI records into Zotero.
- Very specific: line 61
Import only screened, relevant records: include_core, include_variable, include_method, include_parameter, and need_full_text.
- Very specific: line 62
Use Lattice 母文献库 as the parent collection when collection control is available.
- Very specific: line 63
Use date naming by default: YYYY-MM-DD.
- Distinctive: line 65
If Zotero write/import is blocked, record the blocker and continue to Request PDF generation.
- Distinctive: line 68
Check Zotero after DOI import to identify imported items with attached PDFs, metadata-only items, and manual-download items.
- Distinctive: line 70
Do not scan a full Zotero/library-wide corpus unless the user explicitly asks.
- Very specific: line 75
Write the user-facing download file at request_PDF/doi_list.md.
- Very specific: line 79
If the user asks for full evidence mapping, produce mechanism maps, variable relations, experiment audit, normalization blockers, and final …
- Very specific: line 83
Keep resume_state.json at the run root.
- Distinctive: line 88
Use these scripts when appropriate:
- Distinctive: line 98
No full text, no deep data or mechanism conclusion.
- Distinctive: line 99
No Methods, no experiment audit.
- Very specific: line 100
No figures/tables/SI, no quantitative extraction.
- Very specific: line 103
Do not call a broad phrase a research gap.
- Very specific: line 109
run id and request_PDF/ path.
- Distinctive: line 115
Do not show long retrieval logs or table dumps unless the user asks.
≈ “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
Lattice Find Papers
Purpose
Lattice Find Papers owns the pipeline from a research topic to a clean Zotero/request-PDF handoff. Its main deliverables are:
runs/<run_id>/request_PDF/doi_list.md
runs/<run_id>/find_papers_outputs/tables/zotero_import_manifest.csvThe user downloads missing PDFs into that same request_PDF/ folder. Lattice Gaps later reads request_PDF/ and the relevant Zotero collection/readable attachments as its evidence set.
Mechanism maps, data tables, variable relations, experiment audit tables, and logs are optional side products. Do not generate or show them by default unless they directly unblock a requested gap check or the user asks for full evidence mapping. Keep them out of the run root.
Run Layout
Create or reuse this structure:
runs/<run_id>/
run_manifest.json
resume_state.json
request_PDF/
doi_list.md
*.pdf
find_papers_outputs/
request_queue/
logs/
tables/
zotero_import_manifest.csv
outputs/
inputs/
intermediate_tables/Only request_PDF/ stays at the run root. Put every other Lattice Find Papers output under find_papers_outputs/.
Workflow
- Lock the topic.
- Identify research object, core phenomenon, material/system, mechanisms, variables, methods, and date/field boundaries.
- Ask only if missing boundaries would change search strategy.
- Plan and run retrieval.
- Use multiple source blocks when available: OpenAlex, Crossref, Semantic Scholar, Google Scholar or equivalent academic search, publisher pages, domain databases, review papers, user seed papers, backward/forward citations, and adjacent terminology.
- Split queries by object, mechanism, variable, method, parameter, controversy, and benchmark.
- Build and audit the candidate pool.
- Deduplicate by DOI, normalized title, author-year, and source URL.
- Screen title/abstract only for relevance; do not make data, methods, or mechanism conclusions from abstracts.
- Write only the minimal tables needed for deduplication, full-text status, Request PDF generation, and later gap discovery.
- Import selected DOI records into Zotero.
- Read
references/ZOTERO_IMPORT_PROTOCOL.md. - Import only screened, relevant records:
include_core,include_variable,include_method,include_parameter, andneed_full_text. - Use
Lattice 母文献库as the parent collection when collection control is available. - Use date naming by default:
YYYY-MM-DD; useYYYY-MM-DD - project_namefor cross-project or project-specific batches. - Write
find_papers_outputs/tables/zotero_import_manifest.csv. - If Zotero write/import is blocked, record the blocker and continue to Request PDF generation.
- Read
- Check full-text availability.
- Check Zotero after DOI import to identify imported items with attached PDFs, metadata-only items, and manual-download items.
- Then check online full text, local PDF folders, local supplement folders, and manual source lists as needed.
- Do not scan a full Zotero/library-wide corpus unless the user explicitly asks.
- Generate Request PDF output.
- Write
find_papers_outputs/request_queue/full_text_requests.csv. - Write
find_papers_outputs/outputs/request_literature_list.md. - Write the user-facing download file at
request_PDF/doi_list.md. doi_list.mdmust contain a DOI list and a Web Links list. Keep it clean and suitable for downloading PDFs.
- Write
- Generate optional side products only when requested.
- If the user asks for full evidence mapping, produce mechanism maps, variable relations, experiment audit, normalization blockers, and final reports under
find_papers_outputs/. - In the default compact workflow, only record blockers that affect Request PDF or later Lattice Gaps review.
- If the user asks for full evidence mapping, produce mechanism maps, variable relations, experiment audit, normalization blockers, and final reports under
- Save resume state.
- Keep
resume_state.jsonat the run root. - Record missing PDFs, blocked phases, and next resume phase.
- Keep
Scripts
Use these scripts when appropriate:
scripts/init_run.py: create the run layout.scripts/build_full_text_request_queue.py: build Request CSV/MD and rootrequest_PDF/doi_list.md.scripts/match_uploaded_full_text.py: match user-provided PDFs after download.scripts/render_final_outputs.py: render side-product summary underfind_papers_outputs/outputs/.scripts/resume_run.py: inspect or update resume state.
Evidence Rules
- No full text, no deep data or mechanism conclusion.
- No Methods, no experiment audit.
- No figures/tables/SI, no quantitative extraction.
- Missing full text means generate Request PDF, not a fake conclusion.
- DOI import into Zotero is a literature-management and full-text-acquisition aid; it is not evidence that full text was read.
- Do not call a broad phrase a research gap; leave gap discovery to
lattice-gaps.
Output To User
Default visible output:
- run id and
request_PDF/path; - Zotero import collection/target and manifest path;
- number of requested PDFs;
- optional note only if side products were explicitly generated;
- next action: download PDFs into
request_PDF/or resolvemanual_pdf_requireditems in Zotero.
Do not show long retrieval logs or table dumps unless the user asks.
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.

