ncbi-datasets-skill
Установка
npx skills add https://github.com/openai/plugins/tree/5fd93af4cd0c623e020d0cc7e9ce178b4ac1f70f/plugins/life-science-research/skills/ncbi-datasets-skillСтавит скилл в текущий проект - CLI спросит, для каких агентов. С флагом -g - в домашнюю папку, для всех проектов.
Установи скилл «ncbi-datasets-skill» из https://github.com/openai/plugins/tree/5fd93af4cd0c623e020d0cc7e9ce178b4ac1f70f/plugins/life-science-research/skills/ncbi-datasets-skill: скопируй эту папку целиком в .claude/skills/ncbi-datasets-skill (для Codex - в .agents/skills/ncbi-datasets-skill). Потом прочитай SKILL.md и коротко скажи, в каких задачах будешь его применять.
Вставьте в Claude Code или Codex, открытый в папке проекта.
В Библиотеке ВайбКода этот скилл открывает исходник: автоматической установки для его формата пока нет. Поставьте командой или промптом.
Скачать ВайбКод · Windows и macOS
Описание
Submit compact NCBI Datasets v2 requests for assembly, genome, taxonomy, and related metadata endpoints. Use when a user wants concise NCBI Datasets summaries; save raw JSON or text only on request.
SKILL.md
Исходник на GitHubOperating rules
- Use
scripts/ncbi_datasets.pyfor all Datasets v2 calls in this package. - Use explicit REST
pathvalues relative tohttps://api.ncbi.nlm.nih.gov/datasets/v2. - Prefer targeted metadata paths instead of broad unfiltered pulls.
- 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 output by default.
- Return raw JSON or text only if the user explicitly asks for machine-readable output.
- Prefer targeted endpoint calls instead of broad unfiltered dumps.
- If the user needs the full raw response, set
save_raw=trueand report the saved file path.
Input
- Read one JSON object from stdin.
- Required field:
path - Optional fields:
params,record_path,response_format,max_items,max_depth,timeout_sec,save_raw,raw_output_path - Common Datasets patterns:
{"path":"genome/taxon/9606/dataset_report","params":{"page_size":10},"record_path":"reports","max_items":10}{"path":"genome/accession/GCF_000001405.40/dataset_report"}{"path":"taxonomy/taxon/9606"}
Output
- Success returns
ok,source, path metadata, and either compactrecords, a compactsummary, ortext_head. - Use
raw_output_pathwhensave_raw=true. - Failure returns
ok=falsewitherror.codeanderror.message.
Execution
echo '{"path":"genome/taxon/9606/dataset_report","params":{"page_size":10},"record_path":"reports","max_items":10}' | python scripts/ncbi_datasets.py
References
- No additional runtime references are required; keep the import package limited to this file and
scripts/ncbi_datasets.py.