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.
npx skills add tiptreesystems/lacuna-research-mcp --skill lacuna-code-to-papergit clone --depth 1 https://github.com/tiptreesystems/lacuna-research-mcpWrote 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.
[](https://agentmods.dev/skills/tiptreesystems/lacuna-research-mcp/lacuna-code-to-paper)<a href="https://agentmods.dev/skills/tiptreesystems/lacuna-research-mcp/lacuna-code-to-paper"><img src="https://agentmods.dev/badge/skills/tiptreesystems/lacuna-research-mcp/lacuna-code-to-paper/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/tiptreesystems/lacuna-research-mcp/lacuna-code-to-paper"><img src="https://agentmods.dev/badge/skills/tiptreesystems/lacuna-research-mcp/lacuna-code-to-paper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.00441 |
| Opus 5.5 | $0.00021 | $0.00176 |
| Sonnet 5.5 | $0.00011 | $0.00088 |
| Haiku 4.5 | $0.00005 | $0.00044 |
Grade A, and why
lacuna-code-to-paper 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.
What it actually says
Trace code to papers
If Lacuna tools are unavailable, point to the setup instructions and stop the Lacuna lookup.
- Identify the resource from the user's URL or local README and dependency metadata. Query public resource names only; do not send private code or URLs.
- Use
search_lacunawithsearch_type="resource"and the matchingresource_kind:"codebase"for repositories,"dataset"for datasets, or"model"for models. Match the returned provider, key, title, and URL to the intended resource; rank and stars do not establish identity. Renames can leave old provider keys, so verify aliases against recorded URLs or the original repository. If no candidate matches, retry once withoutresource_kind, keepingsearch_type="resource"and the same identity checks. If no match is established or several remain plausible, show the candidates and stop before attributing papers. - Use
get_resourceto inspectpublications, relationship labels,evidence_url, any recordedbasis, and the collection timestamp. A README mention is not a recordedofficial_code_forrelationship; other labels may describe different connections. - Follow relevant
paper_idvalues withget_paper. Check original sources before making implementation claims, and distinguish the original paper from follow-ups.
Return the resource, relevant papers, relationship labels, recorded basis, and evidence links. Distinguish recorded relationships from independently verified connections or inferences. If no publication link is recorded, say so; separate paper-search results are candidates until verified. Search counts and detail collections can differ; neither establishes complete coverage.
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.
- 3d ago First seen · 36 lines · 53 tokens per session scan A 1707e5daddd3
lacuna-code-to-paper is a skill published in the GitHub repository tiptreesystems/lacuna-research-mcp (57 stars, last pushed yesterday), licensed MIT. It adds 53 tokens to every session and 441 once invoked, about $0.0002 per session on Opus 5.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-11-03.
lacuna-code-to-paper compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lacuna-code-to-papertiptreesystems/lacuna-research-mcp | Skill | 57 | yesterday | MIT | A | 53 | Claude Code, Codex |
| prismdbcls/togomcp | Skill | 21 | 2d ago | MIT | A | 209 | Claude Code, Codex |
| disease-analysisdbcls/togomcp | Skill | 21 | 2d ago | MIT | A | 149 | Claude Code, Codex |
| research-article-analysisdbcls/togomcp | Skill | 21 | 2d ago | MIT | A | 147 | Claude Code, Codex |
| query-provenancedbcls/togomcp | Skill | 21 | 2d ago | MIT | A | 188 | Claude Code, Codex |
| ml_inference_optimizationLeeroo-AI/leeroopedia-mcp | Skill | 14 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| leeroopedia-mcpLeeroo-AI/leeroopedia-mcp | Skill | 14 | 1mo ago | MIT | A | 42 | Claude Code, Codex |