CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

searching-clinicaltrials

Searches ClinicalTrials.gov for studies by condition, intervention, and recruitment status using the modern v2 REST API with cursor (pageToken) pagination. Use when the user wants to find trials for a diagnosis or drug, screen patients against open studies, build a trial-matching feature, or pull a trial corpus for analysis. Trigger keywords: clinical trial, ClinicalTrials.gov, NCT number, trial search, recruiting studies, eligibility, query.cond, query.intr, pageToken, v2 API. Pairs adjacent to OpenMed: take Disease/Pharmaceutical entities from openmed.analyze_text and turn them into query.cond / query.intr filters; the returned eligibility text feeds parsing-trial-eligibility. ClinicalTrials.gov API v2 is fully public — no API key, no license.

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

82%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A strong, dense, immediately usable skill body: executable Python and cURL covering the core search and pagination patterns, concrete gotchas (status enums, token expiry, pageSize clamp), and a clear OpenMed hand-off. The only slack is minor duplication between sections and slightly distributed validation guidance.

Suggestions

State the 'fully public, no API key' fact once (e.g., in the intro) and drop the repetition in the Quick start line, or fold the cURL variant into a one-line note instead of a full parallel example.

Fold the token-rejection restart and 'cap total pulls' guidance directly into the Workflow's step 2 ("Page through") so the error-recovery checkpoints live inline in the sequence rather than in a separate Edge cases section.

DimensionReasoningScore

Conciseness

The body is lean and API-specific — no explanation of what a clinical trial is or how requests works; every section (response shape, pagination, gotchas) carries non-obvious information. Minor trimming is possible: the "fully public — no API key" fact is stated twice, and the cURL example repeats the Python example's parameters, keeping it just below the every-token-earns-its-place anchor.

4 / 5

Actionability

Fully executable, copy-paste-ready code: a complete search function with real parameters, a working example call ("breast cancer" / "trastuzumab"), an equivalent cURL command, a full cursor-pagination generator, and concrete `fields` trimming — specific examples cover the common cases, matching the top anchor.

5 / 5

Workflow Clarity

The Workflow section gives a clear 4-step sequence (build query from OpenMed facts → page through with cursor → persist fields → optionally re-NER) with error-recovery guidance in Edge cases ("restart the query if a token is rejected", "cap total pulls") and `raise_for_status()` in code. It is a read-only search skill with no destructive step, so the validation cap does not apply, but the checkpoints are distributed across sections rather than inline in the workflow — minor validation gaps versus the explicit feedback-loop anchor.

4 / 5

Progressive Disclosure

The single SKILL.md is well organized into clear sections (When to use, Quick start, Response shape, Cursor pagination, Workflow, Hand-off, Edge cases, Standards & references) with real external links for deeper material, and no bundle files are claimed so nothing is orphaned. The inline response-shape table and gotcha list are compact enough to be appropriately placed here, though a longer field-path reference could eventually justify a separate file — minor organization gaps, matching the anchor 4 example.

4 / 5

Total

17

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An exemplary description: third-person voice, concrete capabilities, an explicit 'Use when' clause with concrete trigger phrases, natural keyword coverage with synonyms and technical terms, and a clearly bounded niche. No fluff or over-claims.

DimensionReasoningScore

Specificity

Multiple concrete, specific actions are stated: "Searches ClinicalTrials.gov for studies by condition, intervention, and recruitment status using the modern v2 REST API with cursor (pageToken) pagination", plus "find trials for a diagnosis or drug, screen patients against open studies, build a trial-matching feature, or pull a trial corpus for analysis" — comprehensive coverage of concrete capabilities, matching the anchor for multiple specific actions.

5 / 5

Completeness

Both questions are explicitly answered: the "what" in the first sentence (searches by condition, intervention, recruitment status via the v2 API) and an explicit "Use when the user wants to..." clause with four concrete trigger scenarios, exactly matching the anchor for clearly and explicitly answering both what and when.

5 / 5

Trigger Term Quality

Natural phrases a user would actually say are well covered — "clinical trial, ClinicalTrials.gov, NCT number, trial search, recruiting studies, eligibility" — alongside technical variants ("query.cond, query.intr, pageToken, v2 API"), giving comprehensive coverage including synonyms, matching the top anchor.

5 / 5

Distinctiveness Conflict Risk

The niche is unambiguous — ClinicalTrials.gov / NCT numbers / trial search — with a distinctive trigger vocabulary that is unlikely to fire for other skills; adjacent OpenMed integration is explicitly framed as pairing rather than overlap, giving minimal conflict risk.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

maziyarpanahi/openmed

Path

skills/searching-clinicaltrials/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.