drug-bioactivity-assay
Skill174 starsChanged 6 months agoMITView on GitHub
Fetch biological assays and target proteins a chemical has been tested against via PubChem.
In this repository133 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/atomisticskills.mdcCursor rule
- .cursor/rules/use-agent-skills.mdcCursor rule
- chem-bond-dissociationSkill
- chem-conformer-searchSkill
- chem-db-mofSkill
- chem-db-qmofSkill
- chem-db-spectraSkill
- chem-dft-orca-advanced-calculationSkill
- chem-dft-orca-optimizationSkill
- chem-dft-orca-singlepointSkill
- chem-docking-voidSkill
- chem-hazard-toxicitySkill
- chem-irc-verificationSkill
- chem-msms-predictSkill
- chem-neb-barrierSkill
- chem-nmr-analysisSkill
- chem-nmr-predictSkill
- chem-react-otSkill
- chem-similarity-searchSkill
- chem-solution-mdSkill
- chem-sorption-gcmcSkill
- chem-sorption-relaxSkill
- chem-sorption-widomSkill
- chem-spectrum-matcherSkill
- chem-thermochemistrySkill
- chem-ts-optimizationSkill
- chem-vibrationSkill
- drug-admet-predictionSkill
- drug-binding-site-definitionSkill
- drug-complex-system-builderSkill
- drug-db-chemblSkill
- drug-db-pdbSkill
- drug-db-pubchemSkill
- drug-docking-analysisSkill
- drug-docking-vinaSkill
- drug-ligand-prepSkill
- drug-mmpbsa-gbsaSkill
- drug-molecular-fingerprintsSkill
- drug-pocket-detectionSkill
- drug-pose-validationSkill
- drug-protein-ligand-mdSkill
- drug-protein-prepSkill
- drug-redocking-rmsdSkill
- drug-retrosynthesisSkill
- drug-trajectory-analysisSkill
- general-arxiv-searchSkill
- general-biorxiv-searchSkill
- general-chemical-literatureSkill
- general-chemical-pricingSkill
- general-deep-researchSkill
- general-fair-data-reviewSkill
- general-patent-searchSkill
- general-peer-reviewSkill
- general-plot-digitizerSkill
- general-presentationSkill
- general-property-unitsSkill
- general-publisher-access-guardSkill
- general-query-literature-databaseSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Use the --active_only flag to strictly return assays where the compound was marked as "Active" or showed positive binding/inhibition.
≈ “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
Bioactivity and Assay Data Retrieval
Goal
To programmatically retrieve the testing history of a specific chemical compound against biological targets using PubChem's Assay Summary endpoint. This skill allows filtering for "Active" outcomes, providing assay IDs (AIDs), target GeneIDs, and micromolar activity values to assess a compound's promiscuity or target specificity.
Instructions
1. Extract All Assays
Retrieve all assays for a given compound (CID), regardless of outcome:
# Env: base-agent
python .agents/skills/drug-bioactivity-assay/scripts/get_assays.py \
--cid 2244 \
--limit 50 \
--outdir research/aspirin_assays \
--output aspirin_all_assays.json2. Extract Only 'Active' Results
Use the --active_only flag to strictly return assays where the compound was marked as "Active" or showed positive binding/inhibition.
# Env: base-agent
python .agents/skills/drug-bioactivity-assay/scripts/get_assays.py \
--cid 5291 \
--active_only \
--limit 50 \
--outdir research/imatinib_assays \
--output imatinib_active_assays.jsonParameters:
--cid: PubChem CID of the target molecule (e.g., 5291 for Imatinib).--outdir: Directory to save the resulting JSON file.--active_only: (Optional) Flag to strictly filter results to assays where the test outcome was "Active".--limit: (Optional) Maximum number of assays to retrieve (default: 1000) to keep JSON sizes manageable.--output: (Optional) Output filename (default:assay_summary.json).
Examples
We can test extracting known active targets for the cancer drug Imatinib (CID: 5291).
# Env: base-agent
python .agents/skills/drug-bioactivity-assay/scripts/get_assays.py \
--cid 5291 \
--active_only \
--limit 20 \
--outdir .agents/skills/drug-bioactivity-assay/examples/imatinib \
--output assays_imatinib_active.jsonConstraints
- Assay Availability: Compounds with no biological testing history in PubChem will return 0 results.
- Reporting Variations: High-throughput screening (HTS) assay results often lack explicit target GeneIDs or quantitative Activity Values compared to confirmatory literature assays. The script retrieves whatever is available natively in the column.
- Network Limits: PubChem can sporadically drop connections when rendering very large assay summaries. The script automatically handles connection drops and
HTTP 503blocking via exponential backoff.
Author: Bowen Deng Contact: GitHub @learningmatter-mit
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.

