[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DCMZF7F1CFM8PQGXVF0DXW":3,"skill-same:01M7DCMZF7F1CFM8PQGXVF0DXW":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7DCMZF7F1CFM8PQGXVF0DXW","clinical-trials-database",null,"Query ClinicalTrials.gov via APIv2. Use when you want to search for trials by condition, drug, location, status, or phase; retrieve trial details by NCT ID; check eligibility\u002Finclusion criteria; count trials across conditions or time periods; identify a sponsor's trial portfolio; find recruiting trials for patient matching.","Marvellbrazil\u002Fmy-agentic-skills","Marvellbrazil","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184349613?v=4","01M7DCJPCRHP7SZS0T5H1GJZ8F","Marvello Faisal","01M7DCJPDCZDB94VG0QXGC6RC3",5,"MIT","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Farchive\u002Fbioinformatics\u002Fclinical_trials_database\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: clinical-trials-database\ndescription: >\n  Query ClinicalTrials.gov via APIv2. Use when you want to search for trials by\n  condition, drug, location, status, or phase; retrieve trial details by NCT ID;\n  check eligibility\u002Finclusion criteria; count trials across conditions or time\n  periods; identify a sponsor's trial portfolio; find recruiting trials for\n  patient matching.\n---\n\n# Clinical Trials Database\n\n## Prerequisites\n\n1.  **`uv`**: Read the `uv` skill and follow its Setup instructions to ensure\n    `uv` is installed and on PATH.\n2.  **User Notification**: If .licenses\u002Fclinical_trials_database_LICENSE.txt\n    does not already exist in the workspace root directory then (1) prominently\n    notify the user to check the terms at https:\u002F\u002Fclinicaltrials.gov\u002F, then (2)\n    create the file recording the notification text and timestamp.\n\n## Overview\n\nAccess worldwide clinical trial data from ClinicalTrials.gov via the REST API\nv2. The CLI script at `scripts\u002Fclinical_trials_api.py` wraps the API with\ndedicated flags for common filters (phase, age group, status, intervention,\nsponsor, etc.) so you rarely need to construct raw queries.\n\n## Core Rules\n\n-   **Use the Wrapper**: ALWAYS execute the provided helper scripts to query the\n    database rather than accessing the database directly. The scripts\n    automatically enforce the required rate limit gracefully.\n-   **Always use `--fields`** — trial JSON records can be very large; restrict\n    to the data points you need.\n-   **Use `--count-total` first** — check result volume before fetching all\n    records.\n-   **Paginate large result sets** — use `--limit` with `--page-token` to\n    iterate.\n-   **Trust Search Filters**: Do not manually re-filter results unless\n    explicitly asked to verify detailed eligibility.\n-   **Notification**: If this skill is used, ensure this is mentioned in the\n    output.\n\n## Context Efficiency Warning\n\nTrial JSON records can be very large. **Always** use the `--fields` parameter to\nrestrict the response to only the data points you need. After writing to file,\nread only the fields you need rather than the entire file.\n\n> [!TIP] Use `references\u002Fstudies_schema.md` to identify exact field paths for\n> `--fields`.\n\n## Response Layout Summary\n\nAPI responses contain a list of studies (usually in a `studies[]` array). Each\nstudy is split into `protocolSection` and optional `resultsSection`.\n\n> [!Tip] Use the **shorthand aliases** below with the `--fields` parameter to\n> request specific data and keep responses small.\n\n### Top-Level Fields\n\n-   `totalCount` — Total studies matching query (integer)\n-   `studies[]` — Array of study objects\n-   `nextPageToken` — cursor string for pagination\n\n### Common Study Fields (and shorthand alias)\n\n-   **Identification**\n    -   `protocolSection.identificationModule.nctId` (`NCTId`) — Unique trial ID\n    -   `protocolSection.identificationModule.briefTitle` (`BriefTitle`) — Short\n        title\n-   **Status**\n    -   `protocolSection.statusModule.overallStatus` (`OverallStatus`) —\n        Recruitment status\n-   **Description**\n    -   `protocolSection.descriptionModule.briefSummary` (`BriefSummary`) —\n        Short description\n-   **Arms & Interventions**\n    -   `protocolSection.armsInterventionsModule.interventions`\n        (`ArmsInterventionsModule`)\n-   **Eligibility**\n    -   `protocolSection.eligibilityModule.eligibilityCriteria`\n        (`EligibilityCriteria`) — Inclusion\u002FExclusion\n    -   `protocolSection.eligibilityModule.stdAges` (`StdAge`) — CHILD, ADULT,\n        etc.\n\nConsult `references\u002Fstudies_schema.md` for full paths (Locations, Outcomes,\nResults) and common `--fields` recipes.\n\n## Commands\n\n### Search for studies\n\nUse for: finding trials by disease, drug, phase, status, age group, or any\ncombination of these filters.\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"\u003Cdisease>\" \\\n  --intervention \"\u003Cdrug_or_treatment>\" \\\n  --status \"\u003Cstatus>\" \\\n  --phase \"\u003Cphase>\" \\\n  --age-group \"\u003Cage_group>\" \\\n  --study-type \"\u003Cstudy_type>\" \\\n  --sponsor \"\u003Csponsor_name>\" \\\n  --has-results \\\n  --sort \"\u003Cfield>:\u003Casc|desc>\" \\\n  --fields \"\u003Cfields>\" \\\n  --limit \u003CN> \\\n  --count-total \\\n  --page-token \"\u003Ctoken>\" \\\n  --output \u002Ftmp\u002Fsearch_results.json\n```\n\nAll flags are optional and combine via AND logic.\n\n**Flag reference:**\n\n-   `--condition` — Disease or condition to search for (e.g. `\"cystic\n    fibrosis\"`).\n-   `--intervention` — Drug, device, or treatment name (e.g. `\"pembrolizumab\"`).\n-   `--status` — Recruitment status filter. Values: RECRUITING, COMPLETED,\n    NOT_YET_RECRUITING, ACTIVE_NOT_RECRUITING, ENROLLING_BY_INVITATION,\n    TERMINATED, SUSPENDED, WITHDRAWN.\n-   `--phase` — Trial phase filter. Values: PHASE1, PHASE2, PHASE3, PHASE4,\n    EARLY_PHASE1, NA.\n-   `--age-group` — Patient age group filter. Values: CHILD (0–17), ADULT\n    (18–64), OLDER_ADULT (65+).\n-   `--study-type` — Type of study. Values: INTERVENTIONAL, OBSERVATIONAL,\n    EXPANDED_ACCESS.\n-   `--sponsor` — Lead sponsor or institution name (e.g. `\"National Cancer\n    Institute\"`).\n-   `--has-results` — Boolean flag (no value needed). When present, filters for\n    studies that have results available on ClinicalTrials.gov.\n-   `--sort` — Sort order as `FieldName:asc` or `FieldName:desc`. Common fields:\n    `LastUpdatePostDate`, `EnrollmentCount`, `StudyFirstPostDate`, `StartDate`.\n-   `--fields` — Comma-separated list of JSON field names to include in the\n    response. Use this to keep responses small (e.g.\n    `\"NCTId,BriefTitle,OverallStatus,Phase\"`). See\n    `references\u002Fstudies_schema.md` for available field paths.\n-   `--limit` — Maximum number of studies to return per request (1–1000, default\n    10).\n-   `--count-total` — Boolean flag (no value needed). When present, the response\n    includes a `totalCount` field showing the total number of matching studies\n    across all pages.\n-   `--page-token` — An opaque cursor string used to fetch the next page of\n    results. Obtain this value from the `nextPageToken` field in a previous\n    search response. Do not construct this string yourself; always copy it\n    verbatim from the API response. See the Pagination section below.\n-   `--advanced` — Raw Essie filter expression for structured queries beyond the\n    dedicated flags (e.g. `\"AREA[LocationCountry]United States\"`). Combined with\n    other flags via AND. See `references\u002Fclinical_trials_api.md` for syntax.\n-   `--output` — **(Required)** File path where the JSON response is written.\n\n**Example — actively recruiting Phase 3 pediatric cystic fibrosis trials:**\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"cystic fibrosis\" \\\n  --status RECRUITING \\\n  --phase PHASE3 \\\n  --age-group CHILD \\\n  --fields \"NCTId,BriefTitle,OverallStatus,Phase\" \\\n  --limit 10 \\\n  --output \u002Ftmp\u002Fcf_trials.json\n```\n\n**Example — recruiting atezolizumab trials for esophageal cancer:**\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"esophageal cancer\" \\\n  --intervention \"Atezolizumab\" \\\n  --status RECRUITING \\\n  --fields \"NCTId,BriefTitle,Phase\" \\\n  --limit 10 \\\n  --output \u002Ftmp\u002Fatezolizumab_trials.json\n```\n\n### Retrieve a study by NCT ID\n\nUse for: fetching full details of a specific trial when you already have the NCT\nidentifier.\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py get-study \\\n  \u003Cnct_id> [--fields \"\u003Cfields>\"] \\\n  --output \u002Ftmp\u002Fstudy.json\n```\n\nReturns a useful default set of fields if `--fields` is omitted:\n`NCTId,BriefTitle,OverallStatus,Phase,BriefSummary,`\n`ConditionsModule,ArmsInterventionsModule,EligibilityModule`\n\n**Structure of the default response:**\n\n```json\n{\n  \"protocolSection\": {\n    \"identificationModule\": {\n      \"nctId\": \"NCT00000000\",\n      \"briefTitle\": \"Study Title\"\n    },\n    \"statusModule\": {\n      \"overallStatus\": \"RECRUITING\"\n    },\n    \"descriptionModule\": {\n      \"briefSummary\": \"This study is about...\"\n    },\n    \"conditionsModule\": {\n      \"conditions\": [ \"Condition Name\" ]\n    },\n    \"armsInterventionsModule\": {\n      \"interventions\": [ { \"type\": \"DRUG\", \"name\": \"Drug Name\" } ]\n    },\n    \"eligibilityModule\": {\n      \"eligibilityCriteria\": \"Inclusion:\\n- ...\",\n      \"stdAges\": [ \"ADULT\" ]\n    }\n  }\n}\n```\n\n### Get eligibility \u002F inclusion criteria\n\nUse for: pulling inclusion\u002Fexclusion rules, age ranges, and sex requirements for\npatient-matching tasks.\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py \\\n  get-eligibility \u003Cnct_id> \\\n  --output \u002Ftmp\u002Feligibility.json\n```\n\nShortcut that returns title and the full eligibility module (inclusion\u002Fexclusion\ncriteria, age range, sex).\n\n**Example — inclusion criteria for NCT04886804:**\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py \\\n  get-eligibility NCT04886804 \\\n  --output \u002Ftmp\u002Feligibility_NCT04886804.json\n```\n\n### Count matching studies\n\nUse for: exploring the trial landscape — checking how many trials exist for a\ncondition, phase, or status before fetching full records.\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py count \\\n  --condition \"\u003Cdisease>\" \\\n  [--status \"\u003Cstatus>\"] [--phase \"\u003Cphase>\"] ... \\\n  --output \u002Ftmp\u002Fcount.json\n```\n\nReturns only the total count of clinical trials matching the search criteria\nwithout fetching study records. Accepts the same filter flags as `search`.\n\n### Search by location \u002F geography\n\nUse for: narrowing trials to a specific country, state, or city.\n\nUse `--advanced` with `AREA[LocationCountry]` or `AREA[LocationCity]` to\nrestrict results by geography:\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"cystic fibrosis\" \\\n  --status RECRUITING \\\n  --advanced \"AREA[LocationCity]New York\" \\\n  --fields \"NCTId,BriefTitle\" \\\n  --limit 20 \\\n  --output \u002Ftmp\u002Fnyc_cf_trials.json\n```\n\n### Search by sponsor \u002F organization\n\nUse for: identifying a sponsor's or institution's trial portfolio.\n\nUse `--sponsor` to find trials run by a specific institution or company:\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --sponsor \"National Cancer Institute\" \\\n  --fields \"NCTId,BriefTitle,LeadSponsorName\" \\\n  --limit 20 \\\n  --output \u002Ftmp\u002Fnci_trials.json\n```\n\n### Combined multi-criteria search\n\nUse for: complex queries that layer multiple filters (condition and drug and\nphase and geography and sponsor, etc.).\n\nAll flags combine via AND, so you can layer conditions, interventions, status,\nphase, geography, and sponsor in a single query:\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"pancreatic cancer\" \\\n  --intervention \"immunotherapy\" \\\n  --status RECRUITING \\\n  --phase PHASE3 \\\n  --advanced \"AREA[LocationCountry]United States\" \\\n  --fields \"NCTId,BriefTitle,Phase,LeadSponsorName\" \\\n  --limit 20 \\\n  --output \u002Ftmp\u002Fpanc_trials.json\n```\n\n### Raw API query (escape hatch)\n\nUse for: uncommon endpoints or parameter combinations not covered by the\ndedicated flags.\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py raw-query \\\n  --endpoint \u003Cpath> \\\n  --params '\u003Cjson_dict>' \\\n  --output \u002Ftmp\u002Fraw_result.json\n```\n\n## Pagination\n\nWhen results exceed `--limit`, the response includes a `nextPageToken`. Pass it\nwith `--page-token` to fetch the next page:\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"breast cancer\" \\\n  --status RECRUITING \\\n  --limit 50 --count-total \\\n  --output \u002Ftmp\u002Fbreast_cancer_p1.json\n\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"breast cancer\" \\\n  --status RECRUITING \\\n  --limit 50 --page-token \"CAo=\" \\\n  --output \u002Ftmp\u002Fbreast_cancer_p2.json\n```\n\n## Advanced Querying\n\nFor complex filtering beyond the dedicated flags, use `--advanced` with an Essie\nexpression.\n\n**What is an Essie Expression?** Essie is the search engine powering\nClinicalTrials.gov. An Essie expression is a structured query that targets\nspecific fields (e.g., country, phase) rather than doing general keyword\nsearches.\n\n-   **`AREA[Field]Value`**: Targets a specific field.\n    -   `AREA[LocationCountry]United States`\n    -   `AREA[Phase]PHASE3`\n-   **Boolean operators**: Combine with `AND`, `OR`, `NOT`.\n-   **`RANGE[min, max]`**: For numeric\u002Fdate fields (e.g. `RANGE[500, MAX]`).\n\nSee `references\u002Fclinical_trials_api.md` for syntax and available fields.\n\nIt is combined with other flags via AND:\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"diabetes\" \\\n  --advanced \"AREA[LocationCountry]United States \\\n    AND AREA[EnrollmentCount]RANGE[500, MAX]\" \\\n  --fields \"NCTId,BriefTitle,EnrollmentCount\" \\\n  --output \u002Ftmp\u002Fdiabetes_us_large.json\n```\n\n## References\n\n-   **API parameters, enum values, and Essie syntax:**\n    `references\u002Fclinical_trials_api.md`\n-   **JSON field paths and `--fields` recipes:** `references\u002Fstudies_schema.md`\n","# Clinical Trials Database\n\n## Prerequisites\n\n1.  **`uv`**: Read the `uv` skill and follow its Setup instructions to ensure\n    `uv` is installed and on PATH.\n2.  **User Notification**: If .licenses\u002Fclinical_trials_database_LICENSE.txt\n    does not already exist in the workspace root directory then (1) prominently\n    notify the user to check the terms at https:\u002F\u002Fclinicaltrials.gov\u002F, then (2)\n    create the file recording the notification text and timestamp.\n\n## Overview\n\nAccess worldwide clinical trial data from ClinicalTrials.gov via the REST API\nv2. The CLI script at `scripts\u002Fclinical_trials_api.py` wraps the API with\ndedicated flags for common filters (phase, age group, status, intervention,\nsponsor, etc.) so you rarely need to construct raw queries.\n\n## Core Rules\n\n-   **Use the Wrapper**: ALWAYS execute the provided helper scripts to query the\n    database rather than accessing the database directly. The scripts\n    automatically enforce the required rate limit gracefully.\n-   **Always use `--fields`** — trial JSON records can be very large; restrict\n    to the data points you need.\n-   **Use `--count-total` first** — check result volume before fetching all\n    records.\n-   **Paginate large result sets** — use `--limit` with `--page-token` to\n    iterate.\n-   **Trust Search Filters**: Do not manually re-filter results unless\n    explicitly asked to verify detailed eligibility.\n-   **Notification**: If this skill is used, ensure this is mentioned in the\n    output.\n\n## Context Efficiency Warning\n\nTrial JSON records can be very large. **Always** use the `--fields` parameter to\nrestrict the response to only the data points you need. After writing to file,\nread only the fields you need rather than the entire file.\n\n> [!TIP] Use `references\u002Fstudies_schema.md` to identify exact field paths for\n> `--fields`.\n\n## Response Layout Summary\n\nAPI responses contain a list of studies (usually in a `studies[]` array). Each\nstudy is split into `protocolSection` and optional `resultsSection`.\n\n> [!Tip] Use the **shorthand aliases** below with the `--fields` parameter to\n> request specific data and keep responses small.\n\n### Top-Level Fields\n\n-   `totalCount` — Total studies matching query (integer)\n-   `studies[]` — Array of study objects\n-   `nextPageToken` — cursor string for pagination\n\n### Common Study Fields (and shorthand alias)\n\n-   **Identification**\n    -   `protocolSection.identificationModule.nctId` (`NCTId`) — Unique trial ID\n    -   `protocolSection.identificationModule.briefTitle` (`BriefTitle`) — Short\n        title\n-   **Status**\n    -   `protocolSection.statusModule.overallStatus` (`OverallStatus`) —\n        Recruitment status\n-   **Description**\n    -   `protocolSection.descriptionModule.briefSummary` (`BriefSummary`) —\n        Short description\n-   **Arms & Interventions**\n    -   `protocolSection.armsInterventionsModule.interventions`\n        (`ArmsInterventionsModule`)\n-   **Eligibility**\n    -   `protocolSection.eligibilityModule.eligibilityCriteria`\n        (`EligibilityCriteria`) — Inclusion\u002FExclusion\n    -   `protocolSection.eligibilityModule.stdAges` (`StdAge`) — CHILD, ADULT,\n        etc.\n\nConsult `references\u002Fstudies_schema.md` for full paths (Locations, Outcomes,\nResults) and common `--fields` recipes.\n\n## Commands\n\n### Search for studies\n\nUse for: finding trials by disease, drug, phase, status, age group, or any\ncombination of these filters.\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"\u003Cdisease>\" \\\n  --intervention \"\u003Cdrug_or_treatment>\" \\\n  --status \"\u003Cstatus>\" \\\n  --phase \"\u003Cphase>\" \\\n  --age-group \"\u003Cage_group>\" \\\n  --study-type \"\u003Cstudy_type>\" \\\n  --sponsor \"\u003Csponsor_name>\" \\\n  --has-results \\\n  --sort \"\u003Cfield>:\u003Casc|desc>\" \\\n  --fields \"\u003Cfields>\" \\\n  --limit \u003CN> \\\n  --count-total \\\n  --page-token \"\u003Ctoken>\" \\\n  --output \u002Ftmp\u002Fsearch_results.json\n```\n\nAll flags are optional and combine via AND logic.\n\n**Flag reference:**\n\n-   `--condition` — Disease or condition to search for (e.g. `\"cystic\n    fibrosis\"`).\n-   `--intervention` — Drug, device, or treatment name (e.g. `\"pembrolizumab\"`).\n-   `--status` — Recruitment status filter. Values: RECRUITING, COMPLETED,\n    NOT_YET_RECRUITING, ACTIVE_NOT_RECRUITING, ENROLLING_BY_INVITATION,\n    TERMINATED, SUSPENDED, WITHDRAWN.\n-   `--phase` — Trial phase filter. Values: PHASE1, PHASE2, PHASE3, PHASE4,\n    EARLY_PHASE1, NA.\n-   `--age-group` — Patient age group filter. Values: CHILD (0–17), ADULT\n    (18–64), OLDER_ADULT (65+).\n-   `--study-type` — Type of study. Values: INTERVENTIONAL, OBSERVATIONAL,\n    EXPANDED_ACCESS.\n-   `--sponsor` — Lead sponsor or institution name (e.g. `\"National Cancer\n    Institute\"`).\n-   `--has-results` — Boolean flag (no value needed). When present, filters for\n    studies that have results available on ClinicalTrials.gov.\n-   `--sort` — Sort order as `FieldName:asc` or `FieldName:desc`. Common fields:\n    `LastUpdatePostDate`, `EnrollmentCount`, `StudyFirstPostDate`, `StartDate`.\n-   `--fields` — Comma-separated list of JSON field names to include in the\n    response. Use this to keep responses small (e.g.\n    `\"NCTId,BriefTitle,OverallStatus,Phase\"`). See\n    `references\u002Fstudies_schema.md` for available field paths.\n-   `--limit` — Maximum number of studies to return per request (1–1000, default\n    10).\n-   `--count-total` — Boolean flag (no value needed). When present, the response\n    includes a `totalCount` field showing the total number of matching studies\n    across all pages.\n-   `--page-token` — An opaque cursor string used to fetch the next page of\n    results. Obtain this value from the `nextPageToken` field in a previous\n    search response. Do not construct this string yourself; always copy it\n    verbatim from the API response. See the Pagination section below.\n-   `--advanced` — Raw Essie filter expression for structured queries beyond the\n    dedicated flags (e.g. `\"AREA[LocationCountry]United States\"`). Combined with\n    other flags via AND. See `references\u002Fclinical_trials_api.md` for syntax.\n-   `--output` — **(Required)** File path where the JSON response is written.\n\n**Example — actively recruiting Phase 3 pediatric cystic fibrosis trials:**\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"cystic fibrosis\" \\\n  --status RECRUITING \\\n  --phase PHASE3 \\\n  --age-group CHILD \\\n  --fields \"NCTId,BriefTitle,OverallStatus,Phase\" \\\n  --limit 10 \\\n  --output \u002Ftmp\u002Fcf_trials.json\n```\n\n**Example — recruiting atezolizumab trials for esophageal cancer:**\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"esophageal cancer\" \\\n  --intervention \"Atezolizumab\" \\\n  --status RECRUITING \\\n  --fields \"NCTId,BriefTitle,Phase\" \\\n  --limit 10 \\\n  --output \u002Ftmp\u002Fatezolizumab_trials.json\n```\n\n### Retrieve a study by NCT ID\n\nUse for: fetching full details of a specific trial when you already have the NCT\nidentifier.\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py get-study \\\n  \u003Cnct_id> [--fields \"\u003Cfields>\"] \\\n  --output \u002Ftmp\u002Fstudy.json\n```\n\nReturns a useful default set of fields if `--fields` is omitted:\n`NCTId,BriefTitle,OverallStatus,Phase,BriefSummary,`\n`ConditionsModule,ArmsInterventionsModule,EligibilityModule`\n\n**Structure of the default response:**\n\n```json\n{\n  \"protocolSection\": {\n    \"identificationModule\": {\n      \"nctId\": \"NCT00000000\",\n      \"briefTitle\": \"Study Title\"\n    },\n    \"statusModule\": {\n      \"overallStatus\": \"RECRUITING\"\n    },\n    \"descriptionModule\": {\n      \"briefSummary\": \"This study is about...\"\n    },\n    \"conditionsModule\": {\n      \"conditions\": [ \"Condition Name\" ]\n    },\n    \"armsInterventionsModule\": {\n      \"interventions\": [ { \"type\": \"DRUG\", \"name\": \"Drug Name\" } ]\n    },\n    \"eligibilityModule\": {\n      \"eligibilityCriteria\": \"Inclusion:\\n- ...\",\n      \"stdAges\": [ \"ADULT\" ]\n    }\n  }\n}\n```\n\n### Get eligibility \u002F inclusion criteria\n\nUse for: pulling inclusion\u002Fexclusion rules, age ranges, and sex requirements for\npatient-matching tasks.\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py \\\n  get-eligibility \u003Cnct_id> \\\n  --output \u002Ftmp\u002Feligibility.json\n```\n\nShortcut that returns title and the full eligibility module (inclusion\u002Fexclusion\ncriteria, age range, sex).\n\n**Example — inclusion criteria for NCT04886804:**\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py \\\n  get-eligibility NCT04886804 \\\n  --output \u002Ftmp\u002Feligibility_NCT04886804.json\n```\n\n### Count matching studies\n\nUse for: exploring the trial landscape — checking how many trials exist for a\ncondition, phase, or status before fetching full records.\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py count \\\n  --condition \"\u003Cdisease>\" \\\n  [--status \"\u003Cstatus>\"] [--phase \"\u003Cphase>\"] ... \\\n  --output \u002Ftmp\u002Fcount.json\n```\n\nReturns only the total count of clinical trials matching the search criteria\nwithout fetching study records. Accepts the same filter flags as `search`.\n\n### Search by location \u002F geography\n\nUse for: narrowing trials to a specific country, state, or city.\n\nUse `--advanced` with `AREA[LocationCountry]` or `AREA[LocationCity]` to\nrestrict results by geography:\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"cystic fibrosis\" \\\n  --status RECRUITING \\\n  --advanced \"AREA[LocationCity]New York\" \\\n  --fields \"NCTId,BriefTitle\" \\\n  --limit 20 \\\n  --output \u002Ftmp\u002Fnyc_cf_trials.json\n```\n\n### Search by sponsor \u002F organization\n\nUse for: identifying a sponsor's or institution's trial portfolio.\n\nUse `--sponsor` to find trials run by a specific institution or company:\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --sponsor \"National Cancer Institute\" \\\n  --fields \"NCTId,BriefTitle,LeadSponsorName\" \\\n  --limit 20 \\\n  --output \u002Ftmp\u002Fnci_trials.json\n```\n\n### Combined multi-criteria search\n\nUse for: complex queries that layer multiple filters (condition and drug and\nphase and geography and sponsor, etc.).\n\nAll flags combine via AND, so you can layer conditions, interventions, status,\nphase, geography, and sponsor in a single query:\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"pancreatic cancer\" \\\n  --intervention \"immunotherapy\" \\\n  --status RECRUITING \\\n  --phase PHASE3 \\\n  --advanced \"AREA[LocationCountry]United States\" \\\n  --fields \"NCTId,BriefTitle,Phase,LeadSponsorName\" \\\n  --limit 20 \\\n  --output \u002Ftmp\u002Fpanc_trials.json\n```\n\n### Raw API query (escape hatch)\n\nUse for: uncommon endpoints or parameter combinations not covered by the\ndedicated flags.\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py raw-query \\\n  --endpoint \u003Cpath> \\\n  --params '\u003Cjson_dict>' \\\n  --output \u002Ftmp\u002Fraw_result.json\n```\n\n## Pagination\n\nWhen results exceed `--limit`, the response includes a `nextPageToken`. Pass it\nwith `--page-token` to fetch the next page:\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"breast cancer\" \\\n  --status RECRUITING \\\n  --limit 50 --count-total \\\n  --output \u002Ftmp\u002Fbreast_cancer_p1.json\n\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"breast cancer\" \\\n  --status RECRUITING \\\n  --limit 50 --page-token \"CAo=\" \\\n  --output \u002Ftmp\u002Fbreast_cancer_p2.json\n```\n\n## Advanced Querying\n\nFor complex filtering beyond the dedicated flags, use `--advanced` with an Essie\nexpression.\n\n**What is an Essie Expression?** Essie is the search engine powering\nClinicalTrials.gov. An Essie expression is a structured query that targets\nspecific fields (e.g., country, phase) rather than doing general keyword\nsearches.\n\n-   **`AREA[Field]Value`**: Targets a specific field.\n    -   `AREA[LocationCountry]United States`\n    -   `AREA[Phase]PHASE3`\n-   **Boolean operators**: Combine with `AND`, `OR`, `NOT`.\n-   **`RANGE[min, max]`**: For numeric\u002Fdate fields (e.g. `RANGE[500, MAX]`).\n\nSee `references\u002Fclinical_trials_api.md` for syntax and available fields.\n\nIt is combined with other flags via AND:\n\n```bash\nuv run scripts\u002Fclinical_trials_api.py search \\\n  --condition \"diabetes\" \\\n  --advanced \"AREA[LocationCountry]United States \\\n    AND AREA[EnrollmentCount]RANGE[500, MAX]\" \\\n  --fields \"NCTId,BriefTitle,EnrollmentCount\" \\\n  --output \u002Ftmp\u002Fdiabetes_us_large.json\n```\n\n## References\n\n-   **API parameters, enum values, and Essie syntax:**\n    `references\u002Fclinical_trials_api.md`\n-   **JSON field paths and `--fields` recipes:** `references\u002Fstudies_schema.md`\n",{"name":5,"description":7},"main","42203fde5eb692ba254e058168ee1af75855fcb4","archive\u002Fbioinformatics\u002Fclinical_trials_database",0,"https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills","skills.marvellofaisal.me","https:\u002F\u002Fgithub.com\u002FMarvellbrazil","marvellofaisal.me","Software Engineering Student | Backend & API Developer | Tech Enthusiast | Homelabber","2026-10-23 22:23:52",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Marvellbrazil\u002Fmy-agentic-skills --skill clinical-trials-database",{"tool":40,"command":41},"bunx","bunx skills add Marvellbrazil\u002Fmy-agentic-skills --skill clinical-trials-database",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Marvellbrazil\u002Fmy-agentic-skills --skill clinical-trials-database","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Farchive\u002Fbioinformatics\u002Fclinical_trials_database\u002FSKILL.md",true,[48,54,58,62],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fcitation.bib","REFERENCE","参考文档",376,"https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Farchive\u002Fbioinformatics\u002Fclinical_trials_database\u002Freferences\u002Fcitation.bib",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fclinical_trials_api.md",6331,"https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Farchive\u002Fbioinformatics\u002Fclinical_trials_database\u002Freferences\u002Fclinical_trials_api.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fstudies_schema.md",5146,"https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Farchive\u002Fbioinformatics\u002Fclinical_trials_database\u002Freferences\u002Fstudies_schema.md",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Fclinical_trials_api.py","SCRIPT","脚本",11639,"https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Farchive\u002Fbioinformatics\u002Fclinical_trials_database\u002Fscripts\u002Fclinical_trials_api.py",[69,76,83,90,97,104],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7DDQP2F4E42AMTGY0VCJ6G2","writing-guidelines","Review docs\u002Fprose for Writing Guidelines compliance. Use when asked to \"review my docs\", \"check writing style\", \"audit prose\", \"review docs voice and tone\", or \"check this page against the writing handbook\".","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-guidelines\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7DDQM00XGSGT8V797C89R2E","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7DDQEF1HP9CMH88HMN9MCBA","wrangler","Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwrangler\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7DDQA32ZAG7J4PMRXRSQ3NQ","workers-best-practices","Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-best-practices\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7DDQ5482QSC0FC4NX107FVY","web-perf","Analyzes web performance using Chrome DevTools MCP. Measures Core Web Vitals (LCP, INP, CLS) and supplementary metrics (FCP, TBT, Speed Index), identifies render-blocking resources, network dependency chains, layout shifts, caching issues, and accessibility gaps. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed. Biases towards retrieval from current documentation over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-perf\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7DDQ1GZ7Z2Y67460SJJEMC0","using-agent-skills","Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of work at hand. This is the meta-skill that governs how all other skills are discovered and invoked.","https:\u002F\u002Fgithub.com\u002FMarvellbrazil\u002Fmy-agentic-skills\u002Fblob\u002Fmain\u002Fskills\u002Fusing-agent-skills\u002FSKILL.md",[],[]]