AgentStack
SKILL verified MIT Self-run

General Chemical Literature

skill-learningmatter-mit-atomisticskills-general-chemical-literature · by learningmatter-mit

Retrieve extensive literature (PubMed) and patent associated with a specific chemical compound via PubChem.

No reviews yet
0 installs
15 views
0.0% view→install

Install

$ agentstack add skill-learningmatter-mit-atomisticskills-general-chemical-literature

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of General Chemical Literature? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Chemical Literature and Patent Mapping

Goal

To programmatically check if a specific chemical compound exists in recent literature or patent databases. This skill uses PubChem's PUG-REST XRefs endpoint to extract an exhaustive list of associated PubMed IDs and Patent numbers.

This is incredibly useful as an autonomous "novelty check" for generated molecules.

Instructions

1. Extract Literature and Patents by CID

Provide the CID of the target molecule. By default, the script will output the absolute total number of hits but limits the JSON save array to 1000 to prevent memory flooding for ubiquitous molecules (like Aspirin, which has over 100,000 patents). Adjust --limit as needed.

# Env: base-agent
python .agents/skills/general-chemical-literature/scripts/get_xrefs.py \
  --cid 2244 \
  --limit 50 \
  --outdir research/aspirin_literature \
  --output xrefs_aspirin.json

Examples

We can pull cross-references for Aspirin (CID: 2244), saving the top 50 identifiers.

# Env: base-agent
python .agents/skills/general-chemical-literature/scripts/get_xrefs.py \
  --cid 2244 \
  --limit 50 \
  --outdir .agents/skills/general-chemical-literature/examples/aspirin \
  --output xrefs_aspirin.json

Constraints

  • Novelty Assessment Limitation: If 0 PMIDs or Patents are returned, it strongly implies the molecule is highly novel (or purely computational), but it does not guarantee absolute non-existence.
  • Link Generation: The script automatically prints actionable links (pubmed.ncbi.nlm.nih.gov/ and patents.google.com/patent/) for the top 5 results for immediate verification.
  • Network Limits: Handled internally via standard exponential backoff.


Author: Bowen Deng Contact: GitHub @learningmatter-mit

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.