C

cbioportal-skill

Запросы к API cBioPortal

Компактные запросы к API cBioPortal: исследования, молекулярные профили, мутации, клинические данные и образцы. Подключается, когда нужны краткие сводки по cBioPortal.

Установка

$npx skills add https://github.com/openai/plugins/tree/5fd93af4cd0c623e020d0cc7e9ce178b4ac1f70f/plugins/life-science-research/skills/cbioportal-skill

Ставит скилл в текущий проект, CLI спросит, для каких агентов. С флагом -g - для всех проектов. Нужен Node.js.

Описание автора

Submit compact cBioPortal API requests for studies, molecular profiles, mutations, clinical data, and samples. Use when a user wants concise cBioPortal summaries ---

Operating rules

  • Use scripts/rest_request.py for all cBioPortal API calls.
  • Use base_url=https://www.cbioportal.org/api.
  • Collection endpoints are better with pageSize=10 and max_items=10; single study or profile lookups usually do not need max_items.
  • Use method=POST plus json_body for fetch-style endpoints such as mutation fetches.
  • Send Accept: application/json in headers.
  • Re-run requests in long conversations instead of relying on older tool output.
  • Treat displayed ... in tool previews as UI truncation, not literal request content.

Execution behavior

  • Return concise markdown summaries from the script JSON by default.
  • Prefer these paths: studies, studies/<studyId>/molecular-profiles, molecular-profiles/<profileId>/mutations/fetch, and study-level clinical or sample endpoints.
  • If the user needs the full payload, set save_raw=true and report the saved file path.

Input

  • Read one JSON object from stdin.
  • Required fields: base_url, path
  • Optional fields: method, params, headers, json_body, form_body, record_path, response_format, max_items, max_depth, timeout_sec, save_raw, raw_output_path
  • Common cBioPortal patterns:
    • {"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}

Output

  • Success returns ok, source, path, method, status_code, warnings, and either compact records or a compact summary.
  • Use raw_output_path when save_raw=true.
  • Failure returns ok=false with error.code and error.message.

Execution

echo '{"base_url":"https://www.cbioportal.org/api","path":"studies","params":{"keyword":"breast","projection":"SUMMARY","pageSize":10},"headers":{"Accept":"application/json"},"max_items":10}' | python scripts/rest_request.py

References

  • No additional runtime references are required; keep the import package limited to this file and scripts/rest_request.py.

Ещё из openai/plugins 536

  1. Aagents-sdkв один кликАгенты на Cloudflare Workers через Agents SDKopenai/plugins★ 7,3 тыс.
  2. Aandroid-emulator-qaв один кликПроверка Android-сценариев в эмулятореopenai/plugins★ 7,3 тыс.
  3. Bbuild-chatgpt-appв один кликПриложения ChatGPT на Apps SDKopenai/plugins★ 7,3 тыс.
  4. Cchatgpt-app-submissionв один кликПодготовка ChatGPT-приложения к ревьюopenai/plugins★ 7,3 тыс.
  5. Ccloudflareв один кликПлатформа Cloudflare: Workers, D1, R2openai/plugins★ 7,3 тыс.
  6. Eearnings-previewв один кликПревью отчётности компанииopenai/plugins★ 7,3 тыс.
  7. Nnotion-knowledge-captureв один кликРешения из чатов в страницы Notionopenai/plugins★ 7,3 тыс.
  8. Nnotion-meeting-intelligenceв один кликПодготовка к встречам по Notionopenai/plugins★ 7,3 тыс.
  9. Nnotion-research-documentationв один кликРесёрч по Notion и сборка документацииopenai/plugins★ 7,3 тыс.
  10. Nnotion-spec-to-implementationв один кликИз спецификаций Notion в план и задачиopenai/plugins★ 7,3 тыс.
Все скиллы openai/plugins →

Похожие скиллы

  1. CClaude Scientific SkillsНаучные скиллы и 100+ баз данныхK-Dense-AI/claude-scientific-skills★ 47,4 тыс.
  2. KK-Dense-AI/scientific-agent-skillsАгент-учёный: научные скиллы и базыK-Dense-AI/scientific-agent-skills★ 47,4 тыс.
  3. Wwanshuiyin/Auto-claude-code-research-in-sleepАвтономные ML-исследования и экспериментыwanshuiyin/Auto-claude-code-research-in-sleep★ 16,9 тыс.
  4. OOrchestra-Research/AI-Research-SKILLsБиблиотека скиллов для ИИ-исследованийOrchestra-Research/AI-Research-SKILLs★ 13,2 тыс.
  5. Jjupyter-notebookв один кликСоздание Jupyter-ноутбуковopenai/skills★ 27,8 тыс.
  6. MMy Claude Code SetupШаблон Claude Code для академиковpedrohcgs/claude-code-my-workflow★ 1,6 тыс.
  7. Aaklofas/kicad-happyПроектирование электроники в KiCadaklofas/kicad-happy★ 1,3 тыс.
  8. Hhuifer/WellAlly-healthПомощник по личному здоровью на ИИhuifer/WellAlly-health★ 959
Все скиллы раздела «Наука» →