Agent skill

Pubchem Database

by davila7 in davila7/claude-code-templates

Query PubChem via PUG-REST API/PubChemPy (110M+ compounds). An agent skill from davila7/claude-code-templates.

MITAuto-check passedResearch & Science

Install Pubchem Database

skills CLI
$ npx skills add davila7/claude-code-templates --skill pubchem-database -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davila7/claude-code-templates pubchem-database --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/scientific/pubchem-database .claude/skills/pubchem-database && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pubchem-database
GitHub stars
32k
Used in
12 other repos
Token cost
~4.1k tokens
SKILL.md length
822 words
Files
4 (incl. scripts, references)
Skills in repo
477
Repo updated
First seen
Licence
MIT

At a glance

Query PubChem via PUG-REST API/PubChemPy (110M+ compounds). An agent skill from davila7/claude-code-templates.

  • Works in 9 steps: Chemical Structure Search → Property Retrieval → Similarity Search → …
  • Tasks that involve Drug discovery and cheminformatics
  • SKILL.md covers Overview, When to Use This Skill, Core Capabilities and Installation Requirements, plus 6 more sections
  • Runs Python scripts from its folder; calls uv; reaches pubchem.ncbi.nlm.nih.gov

What it does

Pubchem Database is an agent skill from davila7/claude-code-templates. Query PubChem via PUG-REST API/PubChemPy (110M+ compounds). Search by name/CID/SMILES, retrieve properties, similarity/substructure searches, bioactivity, for cheminformatics.

Its SKILL.md is about 4.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `references/api_reference.md`, `scripts/bioactivity_query.py` and `scripts/compound_search.py`).

It sits in Research & Science, covering Drug discovery and cheminformatics and REST APIs. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • Tasks that involve Drug discovery and cheminformatics
  • Tasks that involve REST APIs

Example prompts

  • “/pubchem-database”

Requirements

  • Python 3

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Chemical Structure Search
  2. Property Retrieval
  3. Similarity Search
  4. Substructure Search
  5. Format Conversion
  6. Structure Visualization
  7. Synonym Retrieval
  8. Bioactivity Data Access
  9. Comprehensive Compound Annotations

What it can do on your machine

Read from SKILL.md and the folder at commit 14680ec. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • pubchem.ncbi.nlm.nih.gov

    Also links to:

    • pubchempy.readthedocs.io
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pubchem Database loads about 4.1k tokens when it runs, and up to ~6.7k if it reads all its reference files. Until then it costs about 48 tokens; SKILL.md has 822 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~48
When it runs · the whole SKILL.md, loaded when a task matches
~4.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from davila7/claude-code-templates at commit 14680ec, republished under its MIT licence (© davila7). 822 words, ~4,064 tokens.

Download SKILL.mdSave it as .claude/skills/pubchem-database/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
pubchem-database
description
Query PubChem via PUG-REST API/PubChemPy (110M+ compounds). Search by name/CID/SMILES, retrieve properties, similarity/substructure searches, bioactivity, for cheminformatics.

PubChem Database

Overview

PubChem is the world's largest freely available chemical database with 110M+ compounds and 270M+ bioactivities. Query chemical structures by name, CID, or SMILES, retrieve molecular properties, perform similarity and substructure searches, access bioactivity data using PUG-REST API and PubChemPy.

When to Use This Skill

This skill should be used when:

  • Searching for chemical compounds by name, structure (SMILES/InChI), or molecular formula
  • Retrieving molecular properties (MW, LogP, TPSA, hydrogen bonding descriptors)
  • Performing similarity searches to find structurally related compounds
  • Conducting substructure searches for specific chemical motifs
  • Accessing bioactivity data from screening assays
  • Converting between chemical identifier formats (CID, SMILES, InChI)
  • Batch processing multiple compounds for drug-likeness screening or property analysis

Core Capabilities

Search for compounds using multiple identifier types:

By Chemical Name:

python
import pubchempy as pcp
compounds = pcp.get_compounds('aspirin', 'name')
compound = compounds[0]

By CID (Compound ID):

python
compound = pcp.Compound.from_cid(2244)  # Aspirin

By SMILES:

python
compound = pcp.get_compounds('CC(=O)OC1=CC=CC=C1C(=O)O', 'smiles')[0]

By InChI:

python
compound = pcp.get_compounds('InChI=1S/C9H8O4/...', 'inchi')[0]

By Molecular Formula:

python
compounds = pcp.get_compounds('C9H8O4', 'formula')
# Returns all compounds matching this formula
2. Property Retrieval

Retrieve molecular properties for compounds using either high-level or low-level approaches:

Using PubChemPy (Recommended):

python
import pubchempy as pcp

# Get compound object with all properties
compound = pcp.get_compounds('caffeine', 'name')[0]

# Access individual properties
molecular_formula = compound.molecular_formula
molecular_weight = compound.molecular_weight
iupac_name = compound.iupac_name
smiles = compound.canonical_smiles
inchi = compound.inchi
xlogp = compound.xlogp  # Partition coefficient
tpsa = compound.tpsa    # Topological polar surface area

Get Specific Properties:

python
# Request only specific properties
properties = pcp.get_properties(
    ['MolecularFormula', 'MolecularWeight', 'CanonicalSMILES', 'XLogP'],
    'aspirin',
    'name'
)
# Returns list of dictionaries

Batch Property Retrieval:

python
import pandas as pd

compound_names = ['aspirin', 'ibuprofen', 'paracetamol']
all_properties = []

for name in compound_names:
    props = pcp.get_properties(
        ['MolecularFormula', 'MolecularWeight', 'XLogP'],
        name,
        'name'
    )
    all_properties.extend(props)

df = pd.DataFrame(all_properties)

Available Properties: MolecularFormula, MolecularWeight, CanonicalSMILES, IsomericSMILES, InChI, InChIKey, IUPACName, XLogP, TPSA, HBondDonorCount, HBondAcceptorCount, RotatableBondCount, Complexity, Charge, and many more (see references/api_reference.md for complete list).

Find structurally similar compounds using Tanimoto similarity:

python
import pubchempy as pcp

# Start with a query compound
query_compound = pcp.get_compounds('gefitinib', 'name')[0]
query_smiles = query_compound.canonical_smiles

# Perform similarity search
similar_compounds = pcp.get_compounds(
    query_smiles,
    'smiles',
    searchtype='similarity',
    Threshold=85,  # Similarity threshold (0-100)
    MaxRecords=50
)

# Process results
for compound in similar_compounds[:10]:
    print(f"CID {compound.cid}: {compound.iupac_name}")
    print(f"  MW: {compound.molecular_weight}")

Note: Similarity searches are asynchronous for large queries and may take 15-30 seconds to complete. PubChemPy handles the asynchronous pattern automatically.

Find compounds containing a specific structural motif:

python
import pubchempy as pcp

# Search for compounds containing pyridine ring
pyridine_smiles = 'c1ccncc1'

matches = pcp.get_compounds(
    pyridine_smiles,
    'smiles',
    searchtype='substructure',
    MaxRecords=100
)

print(f"Found {len(matches)} compounds containing pyridine")

Common Substructures:

  • Benzene ring: c1ccccc1
  • Pyridine: c1ccncc1
  • Phenol: c1ccc(O)cc1
  • Carboxylic acid: C(=O)O
5. Format Conversion

Convert between different chemical structure formats:

python
import pubchempy as pcp

compound = pcp.get_compounds('aspirin', 'name')[0]

# Convert to different formats
smiles = compound.canonical_smiles
inchi = compound.inchi
inchikey = compound.inchikey
cid = compound.cid

# Download structure files
pcp.download('SDF', 'aspirin', 'name', 'aspirin.sdf', overwrite=True)
pcp.download('JSON', '2244', 'cid', 'aspirin.json', overwrite=True)
6. Structure Visualization

Generate 2D structure images:

python
import pubchempy as pcp

# Download compound structure as PNG
pcp.download('PNG', 'caffeine', 'name', 'caffeine.png', overwrite=True)

# Using direct URL (via requests)
import requests

cid = 2244  # Aspirin
url = f"https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/{cid}/PNG?image_size=large"
response = requests.get(url)

with open('structure.png', 'wb') as f:
    f.write(response.content)
7. Synonym Retrieval

Get all known names and synonyms for a compound:

python
import pubchempy as pcp

synonyms_data = pcp.get_synonyms('aspirin', 'name')

if synonyms_data:
    cid = synonyms_data[0]['CID']
    synonyms = synonyms_data[0]['Synonym']

    print(f"CID {cid} has {len(synonyms)} synonyms:")
    for syn in synonyms[:10]:  # First 10
        print(f"  - {syn}")
8. Bioactivity Data Access

Retrieve biological activity data from assays:

python
import requests
import json

# Get bioassay summary for a compound
cid = 2244  # Aspirin
url = f"https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/{cid}/assaysummary/JSON"

response = requests.get(url)
if response.status_code == 200:
    data = response.json()
    # Process bioassay information
    table = data.get('Table', {})
    rows = table.get('Row', [])
    print(f"Found {len(rows)} bioassay records")

For more complex bioactivity queries, use the scripts/bioactivity_query.py helper script which provides:

  • Bioassay summaries with activity outcome filtering
  • Assay target identification
  • Search for compounds by biological target
  • Active compound lists for specific assays
9. Comprehensive Compound Annotations

Access detailed compound information through PUG-View:

python
import requests

cid = 2244
url = f"https://pubchem.ncbi.nlm.nih.gov/rest/pug_view/data/compound/{cid}/JSON"

response = requests.get(url)
if response.status_code == 200:
    annotations = response.json()
    # Contains extensive data including:
    # - Chemical and Physical Properties
    # - Drug and Medication Information
    # - Pharmacology and Biochemistry
    # - Safety and Hazards
    # - Toxicity
    # - Literature references
    # - Patents

Get Specific Section:

python
# Get only drug information
url = f"https://pubchem.ncbi.nlm.nih.gov/rest/pug_view/data/compound/{cid}/JSON?heading=Drug and Medication Information"

Installation Requirements

Install PubChemPy for Python-based access:

bash
uv pip install pubchempy

For direct API access and bioactivity queries:

bash
uv pip install requests

Optional for data analysis:

bash
uv pip install pandas

Helper Scripts

This skill includes Python scripts for common PubChem tasks:

scripts/compound_search.py

Provides utility functions for searching and retrieving compound information:

Key Functions:

  • search_by_name(name, max_results=10): Search compounds by name
  • search_by_smiles(smiles): Search by SMILES string
  • get_compound_by_cid(cid): Retrieve compound by CID
  • get_compound_properties(identifier, namespace, properties): Get specific properties
  • similarity_search(smiles, threshold, max_records): Perform similarity search
  • substructure_search(smiles, max_records): Perform substructure search
  • get_synonyms(identifier, namespace): Get all synonyms
  • batch_search(identifiers, namespace, properties): Batch search multiple compounds
  • download_structure(identifier, namespace, format, filename): Download structures
  • print_compound_info(compound): Print formatted compound information

Usage:

python
from scripts.compound_search import search_by_name, get_compound_properties

# Search for a compound
compounds = search_by_name('ibuprofen')

# Get specific properties
props = get_compound_properties('aspirin', 'name', ['MolecularWeight', 'XLogP'])
scripts/bioactivity_query.py

Provides functions for retrieving biological activity data:

Key Functions:

  • get_bioassay_summary(cid): Get bioassay summary for compound
  • get_compound_bioactivities(cid, activity_outcome): Get filtered bioactivities
  • get_assay_description(aid): Get detailed assay information
  • get_assay_targets(aid): Get biological targets for assay
  • search_assays_by_target(target_name, max_results): Find assays by target
  • get_active_compounds_in_assay(aid, max_results): Get active compounds
  • get_compound_annotations(cid, section): Get PUG-View annotations
  • summarize_bioactivities(cid): Generate bioactivity summary statistics
  • find_compounds_by_bioactivity(target, threshold, max_compounds): Find compounds by target

Usage:

python
from scripts.bioactivity_query import get_bioassay_summary, summarize_bioactivities

# Get bioactivity summary
summary = summarize_bioactivities(2244)  # Aspirin
print(f"Total assays: {summary['total_assays']}")
print(f"Active: {summary['active']}, Inactive: {summary['inactive']}")
Show full SKILL.md (340 more words)Show less

API Rate Limits and Best Practices

Rate Limits:

  • Maximum 5 requests per second
  • Maximum 400 requests per minute
  • Maximum 300 seconds running time per minute

Best Practices:

  1. Use CIDs for repeated queries: CIDs are more efficient than names or structures
  2. Cache results locally: Store frequently accessed data
  3. Batch requests: Combine multiple queries when possible
  4. Implement delays: Add 0.2-0.3 second delays between requests
  5. Handle errors gracefully: Check for HTTP errors and missing data
  6. Use PubChemPy: Higher-level abstraction handles many edge cases
  7. Leverage asynchronous pattern: For large similarity/substructure searches
  8. Specify MaxRecords: Limit results to avoid timeouts

Error Handling:

python
from pubchempy import BadRequestError, NotFoundError, TimeoutError

try:
    compound = pcp.get_compounds('query', 'name')[0]
except NotFoundError:
    print("Compound not found")
except BadRequestError:
    print("Invalid request format")
except TimeoutError:
    print("Request timed out - try reducing scope")
except IndexError:
    print("No results returned")

Common Workflows

Workflow 1: Chemical Identifier Conversion Pipeline

Convert between different chemical identifiers:

python
import pubchempy as pcp

# Start with any identifier type
compound = pcp.get_compounds('caffeine', 'name')[0]

# Extract all identifier formats
identifiers = {
    'CID': compound.cid,
    'Name': compound.iupac_name,
    'SMILES': compound.canonical_smiles,
    'InChI': compound.inchi,
    'InChIKey': compound.inchikey,
    'Formula': compound.molecular_formula
}
Workflow 2: Drug-Like Property Screening

Screen compounds using Lipinski's Rule of Five:

python
import pubchempy as pcp

def check_drug_likeness(compound_name):
    compound = pcp.get_compounds(compound_name, 'name')[0]

    # Lipinski's Rule of Five
    rules = {
        'MW <= 500': compound.molecular_weight <= 500,
        'LogP <= 5': compound.xlogp <= 5 if compound.xlogp else None,
        'HBD <= 5': compound.h_bond_donor_count <= 5,
        'HBA <= 10': compound.h_bond_acceptor_count <= 10
    }

    violations = sum(1 for v in rules.values() if v is False)
    return rules, violations

rules, violations = check_drug_likeness('aspirin')
print(f"Lipinski violations: {violations}")
Workflow 3: Finding Similar Drug Candidates

Identify structurally similar compounds to a known drug:

python
import pubchempy as pcp

# Start with known drug
reference_drug = pcp.get_compounds('imatinib', 'name')[0]
reference_smiles = reference_drug.canonical_smiles

# Find similar compounds
similar = pcp.get_compounds(
    reference_smiles,
    'smiles',
    searchtype='similarity',
    Threshold=85,
    MaxRecords=20
)

# Filter by drug-like properties
candidates = []
for comp in similar:
    if comp.molecular_weight and 200 <= comp.molecular_weight <= 600:
        if comp.xlogp and -1 <= comp.xlogp <= 5:
            candidates.append(comp)

print(f"Found {len(candidates)} drug-like candidates")
Workflow 4: Batch Compound Property Comparison

Compare properties across multiple compounds:

python
import pubchempy as pcp
import pandas as pd

compound_list = ['aspirin', 'ibuprofen', 'naproxen', 'celecoxib']

properties_list = []
for name in compound_list:
    try:
        compound = pcp.get_compounds(name, 'name')[0]
        properties_list.append({
            'Name': name,
            'CID': compound.cid,
            'Formula': compound.molecular_formula,
            'MW': compound.molecular_weight,
            'LogP': compound.xlogp,
            'TPSA': compound.tpsa,
            'HBD': compound.h_bond_donor_count,
            'HBA': compound.h_bond_acceptor_count
        })
    except Exception as e:
        print(f"Error processing {name}: {e}")

df = pd.DataFrame(properties_list)
print(df.to_string(index=False))
Workflow 5: Substructure-Based Virtual Screening

Screen for compounds containing specific pharmacophores:

python
import pubchempy as pcp

# Define pharmacophore (e.g., sulfonamide group)
pharmacophore_smiles = 'S(=O)(=O)N'

# Search for compounds containing this substructure
hits = pcp.get_compounds(
    pharmacophore_smiles,
    'smiles',
    searchtype='substructure',
    MaxRecords=100
)

# Further filter by properties
filtered_hits = [
    comp for comp in hits
    if comp.molecular_weight and comp.molecular_weight < 500
]

print(f"Found {len(filtered_hits)} compounds with desired substructure")

Reference Documentation

For detailed API documentation, including complete property lists, URL patterns, advanced query options, and more examples, consult references/api_reference.md. This comprehensive reference includes:

  • Complete PUG-REST API endpoint documentation
  • Full list of available molecular properties
  • Asynchronous request handling patterns
  • PubChemPy API reference
  • PUG-View API for annotations
  • Common workflows and use cases
  • Links to official PubChem documentation

Troubleshooting

Compound Not Found:

  • Try alternative names or synonyms
  • Use CID if known
  • Check spelling and chemical name format

Timeout Errors:

  • Reduce MaxRecords parameter
  • Add delays between requests
  • Use CIDs instead of names for faster queries

Empty Property Values:

  • Not all properties are available for all compounds
  • Check if property exists before accessing: if compound.xlogp:
  • Some properties only available for certain compound types

Rate Limit Exceeded:

  • Implement delays (0.2-0.3 seconds) between requests
  • Use batch operations where possible
  • Consider caching results locally

Similarity/Substructure Search Hangs:

  • These are asynchronous operations that may take 15-30 seconds
  • PubChemPy handles polling automatically
  • Reduce MaxRecords if timing out

Additional Resources

© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in cli-tool/components/skills/scientific/pubchem-database of davila7/claude-code-templates.

  • SKILL.md
  • references/api_reference.md
  • scripts/bioactivity_query.py
  • scripts/compound_search.py

Open the folder on GitHubat commit 14680ec

Used in 12 other repositories

We found 15 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 12 other GitHub owners. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Pubchem Database next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pubchem Database compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pubchem Database this skilldavila7/claude-code-templates32k12 repos~4.1kAutomated safety check: PassMIT
Fda Databasejaechang-hits/SciAgent-Skills3701 repos~4.5kAutomated safety check: PassCC0-1.0
Dailymed Databasejaechang-hits/SciAgent-Skills3701 repos~6kAutomated safety check: PassCC0-1.0
Ddinter Databasejaechang-hits/SciAgent-Skills3701 repos~7.3kAutomated safety check: PassCC-BY-4.0
Unichem Databasejaechang-hits/SciAgent-Skills3701 repos~8.8kAutomated safety check: PassApache-2.0
Drugbank Database Accessjaechang-hits/SciAgent-Skills3701 repos~5.8kAutomated safety check: PassCustom licence

Similar skills

  • Fda Database

    jaechang-hits/SciAgent-Skills

    Query openFDA REST API for adverse events (FAERS), labeling, product info, recalls, enforcement.

    370 GitHub starsUsed in 1 repo~4.5k tokens
    Research & ScienceAuto-check passed
  • Dailymed Database

    jaechang-hits/SciAgent-Skills

    Query FDA drug labels (DailyMed) via REST API. An agent skill from jaechang-hits/SciAgent-Skills.

    370 GitHub starsUsed in 1 repo~6k tokens
    Research & ScienceAuto-check passed
  • Ddinter Database

    jaechang-hits/SciAgent-Skills

    Query DDInter drug-drug interactions via REST API (1.7M+ interactions, 2,400+ drugs).

    370 GitHub starsUsed in 1 repo~7.3k tokens
    Research & ScienceAuto-check passed
  • Unichem Database

    jaechang-hits/SciAgent-Skills

    Cross-reference compound IDs across 20+ databases (ChEMBL, DrugBank, PubChem, ChEBI, PDB, SureChEMBL, HMDB, DrugCentral, BindingDB) via UniChem REST API.

    370 GitHub starsUsed in 1 repo~8.8k tokens
    Research & ScienceAuto-check passed
  • Drugbank Database Access

    jaechang-hits/SciAgent-Skills

    Parse local DrugBank XML for drug info, interactions, targets, and properties.

    370 GitHub starsUsed in 1 repo~5.8k tokens
    Research & ScienceAuto-check passed
  • Emdb Database

    jaechang-hits/SciAgent-Skills

    Look up EMDB cryo-EM density maps and fitted atomic models via the entry REST API + EBI Search WS.

    370 GitHub starsUsed in 1 repo~4.9k tokens
    Research & ScienceAuto-check passed

More from davila7/claude-code-templates

All 477 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    32k GitHub starsUsed in 12 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    32k GitHub starsUsed in 10 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    32k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    32k GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    32k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    32k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Questions about Pubchem Database

What does Pubchem Database do?

Query PubChem via PUG-REST API/PubChemPy (110M+ compounds). An agent skill from davila7/claude-code-templates. Pubchem Database is an agent skill from davila7/claude-code-templates. Query PubChem via PUG-REST API/PubChemPy (110M+ compounds).

When should I use Pubchem Database?

Pubchem Database fits situations like: tasks that involve Drug discovery and cheminformatics; tasks that involve REST APIs.

How do I install Pubchem Database in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill pubchem-database -a claude-code`. Or copy the skill folder (cli-tool/components/skills/scientific/pubchem-database in davila7/claude-code-templates) into .claude/skills/pubchem-database in your project. Claude Code loads it when a task matches its description.

How do I install Pubchem Database in Codex?

Run `npx skills add davila7/claude-code-templates --skill pubchem-database -a codex`. Or copy the skill folder (cli-tool/components/skills/scientific/pubchem-database in davila7/claude-code-templates) into .agents/skills/pubchem-database in your project. Codex loads it when a task matches its description.

Can I use Pubchem Database in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill pubchem-database -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pubchem-database, .gemini/skills/pubchem-database, .github/skills/pubchem-database and .opencode/skills/pubchem-database in your project.

What does Pubchem Database need to run?

Going by SKILL.md and its folder, Pubchem Database needs Python for the scripts in its folder and the command-line tools its instructions call (uv). Our summary lists: Python 3.

Does Pubchem Database access the network?

SKILL.md names 3 domains. In commands or code: pubchem.ncbi.nlm.nih.gov; the agent is likely to contact it when it follows the instructions. As links in the text: pubchempy.readthedocs.io and github.com. This is read from the text; nothing was executed.

Is Pubchem Database safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Pubchem Database use?

Pubchem Database is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pubchem Database use?

About 4.1k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.7k tokens, read only when the agent opens those files.

What are the alternatives to Pubchem Database?

Skills that share tags, products or a category with Pubchem Database: Fda Database (jaechang-hits/SciAgent-Skills, 370 stars), Dailymed Database (jaechang-hits/SciAgent-Skills, 370 stars), Ddinter Database (jaechang-hits/SciAgent-Skills, 370 stars) and Unichem Database (jaechang-hits/SciAgent-Skills, 370 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pubchem Database?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,463 GitHub stars. The repository holds 477 skills in this directory. The repository was last updated on October 8, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.