npx skills add ...
npx skills add openai/plugins --skill cbioportal-skill
npx skills add openai/plugins --skill cbioportal-skill
Submit compact cBioPortal API requests for studies, molecular profiles, mutations, clinical data, and samples. Use when a user wants concise cBioPortal summaries
scripts/rest_request.py for all cBioPortal API calls.base_url=https://www.cbioportal.org/api.pageSize=10 and max_items=10; single study or profile lookups usually do not need max_items.method=POST plus json_body for fetch-style endpoints such as mutation fetches.Accept: application/json in headers.... in tool previews as UI truncation, not literal request content.studies, studies/<studyId>/molecular-profiles, molecular-profiles/<profileId>/mutations/fetch, and study-level clinical or sample endpoints.save_raw=true and report the saved file path.base_url, pathmethod, params, headers, json_body, form_body, record_path, response_format, max_items, max_depth, timeout_sec, save_raw, raw_output_path{"base_url":"https://www.cbioportal.org/api","path":"studies","params":{"keyword":"breast","projection":"SUMMARY","pageSize":10},"headers":{"Accept":"application/json"},"max_items":10}{"base_url":"https://www.cbioportal.org/api","path":"molecular-profiles/brca_tcga_mutations/mutations/fetch","method":"POST","json_body":{"sampleListId":"brca_tcga_all","entrezGeneIds":[7157]},"headers":{"Accept":"application/json"},"max_items":10}ok, source, path, method, status_code, warnings, and either compact records or a compact summary.raw_output_path when save_raw=true.ok=false with error.code and error.message.scripts/rest_request.py.