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 ma-compbio-lab/SkillFoundry --skill clinicaltrials-study-searchgit clone --depth 1 https://github.com/ma-compbio-lab/SkillFoundryWrote 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/ma-compbio-lab/skillfoundry/clinicaltrials-study-search)<a href="https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/clinicaltrials-study-search"><img src="https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/clinicaltrials-study-search/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/ma-compbio-lab/skillfoundry/clinicaltrials-study-search"><img src="https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/clinicaltrials-study-search.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.00044 | $0.00416 |
| Opus 5 | $0.00022 | $0.00208 |
| Sonnet 5 | $0.00009 | $0.00083 |
| Haiku 4.5 | $0.00004 | $0.00042 |
Grade A, and why
clinicaltrials-study-search 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 9d 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
Purpose
Query the current ClinicalTrials.gov v2 API and save structured study metadata for a condition or free-text term.
When to use
- You need official clinical study metadata.
- You want a lightweight search path for cohort or intervention discovery.
When not to use
- You need patient-level data.
- You are working against deprecated ClinicalTrials.gov API examples.
Inputs
- A condition query or a general term query
- Optional page size and output path
Outputs
- JSON payload containing
studies
Requirements
- Python 3.13+
- Network access to
clinicaltrials.gov
Procedure
- Run
python3 skills/clinical-biomedical-data-science/clinicaltrials-study-search/scripts/search_clinicaltrials.py --condition melanoma --page-size 3 --out skills/clinical-biomedical-data-science/clinicaltrials-study-search/assets/melanoma_studies.json. - Inspect the first
protocolSection.identificationModuleblock. - Use the result list for follow-up triage or cohort narrowing.
Validation
- Command exits successfully.
- Output contains
studies. - A common query returns at least one study.
Failure modes and fixes
- 404 or legacy errors: use
api/v2endpoints only. - No results: switch between
--conditionand--term.
Safety and limits
- Public study metadata only.
- This skill does not provide patient-level or operational medical guidance.
Examples
python3 .../search_clinicaltrials.py --term melanoma --page-size 2
Provenance
- ClinicalTrials.gov API overview: https://clinicaltrials.gov/data-api/about-api
Related skills
ncbi-pubmed-search
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago First seen · 54 lines · 44 tokens per session scan A 4f7d86b7cc4d
clinicaltrials-study-search is a skill published in the GitHub repository ma-compbio-lab/SkillFoundry (38 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 44 tokens to every session and 416 once invoked, about $0.0002 per session on Opus 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-08-30.
Other skills, from other repositories
academic-email
Professional academic email workflow (≤200 words). Invokes AcademicEmailAgent to draft a concise email with subject line and follow-up action for one of five standard email types: collaboration, question, interview, recommendation, or application. Output carries HUMAN REVIEW REQUIRED; no auto-send (§16.3).
arxiv-search
Skill "arxiv-search" from TaewoooPark/MagLab, covering category scoping, query families (3–6 per topic), version and doi resolution, tier classification and output contract.
cover-letter
Journal submission cover letter workflow (≤250 words). Invokes CoverLetterAgent to draft a concise novelty-focused cover letter from the author's key results. Output carries HUMAN REVIEW REQUIRED; no auto-send. All personal/institutional fields are marked [FILL] for the author to complete (§16.3).
revision-letter
Point-by-point peer-review response letter workflow for journal resubmission. Invokes RevisionLetterAgent to quote each reviewer comment verbatim, draft a response, and add a change-location marker. Outputs carry HUMAN REVIEW REQUIRED; no auto-send. A DOI or manuscript location is required for every factual response…
literature-review
Systematic literature review workflow — search → screening → quality assessment → topic-centred synthesis. Includes local-gap analysis. A DOI citation is required for every factual claim (§14.7). Activated by the maglab lit search command and the synthesis-editor agent.
literature-search
Broad literature search for magnetism & spintronics — OpenAlex REST query strategy, query family generation, tier classification, and evidencematrix construction (§14.3·§14.7). Activated by the maglab lit search command and the research orchestration search-scout agent.