lit-rescue
Skill6 starsChanged 9 months agoMITView on GitHub
Last-resort skill. Invoke when no obvious or coherent solution is available and hallucination risk is high. Searches peer-reviewed literature and validated sources (Perplexity, bioRxiv, PubMed) before attempting an answer. Generalist — applies to any domain.
In this repository27 other files it gives its agents.
- config/CLAUDE.mdCLAUDE.md
- active-learningSkill
- aseSkill
- binding-kineticsSkill
- chem-brainstormSkill
- coarse-grainedSkill
- daylight-theorySkill
- deepchemSkill
- dockingSkill
- fbddSkill
- force-fieldsSkill
- free-energySkill
- generative-designSkill
- homology-modelingSkill
- mdanalysisSkill
- mmpaSkill
- nextflowSkill
- openbabelSkill
- organic-mechanismsSkill
- pepflexSkill
- pharmacophoreSkill
- py3DmolSkill
- qm-dftSkill
- rdkitSkill
- synkitSkill
- torchdrugSkill
- uncertainty-qsarSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
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
- Distinctive: line 9
No confident answer exists from training knowledge
- Distinctive: line 15
Rule: If there is >20% chance the answer could be fabricated or outdated → invoke this skill first.
- Very specific: line 39
Load
references/perplexity-prompts.md: if Perplexity MCP is available. - Distinctive: line 51
Run MCPs in this order (stop when sufficient evidence found):
- Very specific: line 55
Check if mcp__perplexity tools are accessible.
- Distinctive: line 69
Use for: recent methods papers, benchmarks, protocols, negative results.
- Distinctive: line 89
Use for: established methods, clinical/biological protocols, theoretical foundations.
- Distinctive: line 99
After collecting hits, apply this synthesis protocol:
- Distinctive: line 105
Every claim derived from literature must carry a citation:
- Distinctive: line 111
Never cite URLs. Always use DOIs when available.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Lit-Rescue — Literature-Grounded Problem Solving
When to invoke this skill:
- No confident answer exists from training knowledge
- The problem involves a specific algorithm, parameter, protocol, or library behavior that could be misremembered
- Previous attempts at solving the problem have been inconsistent or failed
- The question is novel, niche, or at the edge of a domain
- The user is debugging something that "shouldn't happen"
Rule: If there is >20% chance the answer could be fabricated or outdated → invoke this skill first.
Step 1 — Classify the Problem
Identify the query type before formulating search queries:
| Type | Keywords | Primary MCP |
| METHOD | "which algorithm", "best approach for", "how to compute X" | Perplexity → bioRxiv |
| PARAM | "what value for", "typical hyperparameters", "threshold for" | Perplexity → PubMed |
| BUG | "why does X fail", "unexpected behavior", "error in library" | Perplexity only |
| THEORY | "physical basis of", "why does X work", "derivation" | PubMed → bioRxiv |
| PROTOCOL | "standard procedure", "step-by-step for", "pipeline for" | bioRxiv → PubMed |
| BENCHMARK | "comparison of methods", "state of the art for", "which is better" | bioRxiv → PubMed |
| DOMAIN | highly specialized jargon or niche subfield | Perplexity → PubMed |
Multiple types can apply — activate each relevant search.
Step 2 — Formulate Queries
Load references/perplexity-prompts.md if Perplexity MCP is available.
Otherwise, construct queries following these principles:
- Be maximally specific — include library name + version, domain, and exact task
- Ask for citations — request DOIs, paper titles, or package documentation references
- Anchor to peer-reviewed content — explicitly exclude opinion/blog content for scientific questions
- Specify recency — for fast-moving fields, constrain to last 2–3 years
Step 3 — Execute Search Waterfall
Run MCPs in this order (stop when sufficient evidence found):
A — Perplexity (if available)
Check if mcp__perplexity tools are accessible. If yes, use the prompts from references/perplexity-prompts.md.
Perplexity covers: documentation, GitHub issues, StackOverflow, technical blogs, and papers. Best for BUG and METHOD types.
B — bioRxiv / medRxiv MCP (always available)
bioRxiv.search_preprints(
query="[core concept] [method/tool] [domain]",
date_range="2022-2026", # recency matters for methods
limit=10
)Use for: recent methods papers, benchmarks, protocols, negative results.
Refine with category filter if domain is clear (e.g., category="bioinformatics" or "biochemistry").
For a promising hit, fetch full abstract + DOI:
bioRxiv.get_preprint(doi="10.1101/XXXX")C — PubMed MCP (always available)
PubMed.search_articles(
query="[concept] [method] [organism/domain]",
max_results=10,
sort="relevance" # or "date" for recent work
)
PubMed.get_article_metadata(pmid="XXXXXXXX")Use for: established methods, clinical/biological protocols, theoretical foundations.
For methods specifically: add "protocol" OR "method" OR "algorithm" to the query.
For benchmarks: add "comparison" OR "benchmark" OR "evaluation" to the query.
Step 4 — Synthesize Results
After collecting hits, apply this synthesis protocol:
4.1 — Extract method/answer
State the answer as found in literature. Do not infer beyond what the sources say.
4.2 — Cite properly
Every claim derived from literature must carry a citation:
[Author et al., YEAR] — DOI: 10.XXXX/XXXXX
or
[bioRxiv YEAR-MM-DD] — DOI: 10.1101/XXXXNever cite URLs. Always use DOIs when available.
4.3 — Rate confidence
★★★ — Multiple independent peer-reviewed sources agree
★★☆ — One peer-reviewed source or multiple preprints
★☆☆ — Single preprint or indirect evidence
☆☆☆ — No direct source found (see Step 5)4.4 — Flag limitations
Note explicitly:
- Whether the source is peer-reviewed or a preprint
- Recency (methods older than 5 years may have superseded alternatives)
- Whether the source matches the exact library version / domain in question
Step 5 — Honest Reporting
If evidence is found (★★☆ or better): Present the answer with citations. Note any caveats.
If evidence is partial (★☆☆): Present what was found, state clearly that evidence is thin, and describe what would be needed to confirm.
If no evidence found (☆☆☆):
⚠️ LIT-RESCUE NEGATIVE RESULT
Searched: [list of queries and MCPs used]
Result: No peer-reviewed or preprint source found for [specific question].
Options:
1. Reformulate the question — the concept may use different terminology
2. Consult domain-specific documentation directly (package docs, official manual)
3. Run an empirical test (write a minimal script to probe the behavior)
4. Ask a domain expert or post to the relevant community forum
I will NOT speculate without a source.This negative result is itself valuable — it tells the user that this is an open question or requires empirical investigation.
Decision Tree
Problem encountered
│
├─ Is the answer confidently known from verified knowledge?
│ └─ Yes → answer directly (don't invoke this skill)
│ └─ Uncertain → continue
│
├─ Classify type (Step 1)
│
├─ Is it a BUG/implementation question?
│ └─ Yes → Perplexity first (broader web coverage)
│ └─ No → bioRxiv + PubMed first
│
├─ Is the field fast-moving (ML, comp bio, cheminformatics)?
│ └─ Yes → bioRxiv (preprints = 6–18 months ahead of journals)
│ └─ No → PubMed (peer-reviewed = more reliable for established fields)
│
└─ Synthesize (Step 4) → Report honestly (Step 5)Related Skills
chem-brainstorm— for comp chem problems, run this before lit-rescue to check local toolsscientific-skills:literature-review— for systematic multi-paper literature analysisscientific-skills:pubmed-database— for complex PubMed query strategiesscientific-skills:biorxiv-database— for preprint-focused searches
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.

