openai-ncbi-blast-skill
预览截图
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "openai-ncbi-blast-skill":https://skillpi.com/zh/skills/deepskill-6f3c4a9dbac4b4b55c71b64c2be2eb2269045f41c0c604c04791b8a63b8e22a4。安装前核对上游来源和版本:https://github.com/openai/plugins。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
提交、轮询并汇总 NCBI BLAST 通用 URL API(Blast.cgi)任务,用于核苷酸或蛋白质序列。适用于在需要获取 RID 状态、BLAST 结果或紧凑顶级命中摘要时使用;仅在请求时返回原始文本或 JSON2 格式数据。
介绍来源: third_party · openai · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 为核苷酸或蛋白质序列提交,民意调查,并总结NCBI BLAST 常见的 URL API 工作(Blast.cgi). 当用户想要 RID 状态时使用, BLAST 结果, 或紧凑的顶击摘要; 仅在请求时获取原始文本/ JSON2 。
- 输入和输出
- 剧本从Stdin读取了一个JSON对象. `action` 必须是其中之一 `submit` , (中文). `status` , (中文). `fetch` ,或 `run` 。 。 。 `submit` 和 `run` 需求 `program` , (中文). `database` , (中文). `query_fasta` ,以及 `email` (或 `NCBI_EMAIL` ) (中文(简体) ). `status` 和 `fetch` 需求 `rid` 。 。 。 `program` 必须是其中之一 `blastn` , (中文). `blastp` , (中文). `blastx` , (中文). `tblastn` ,或 `tblastx` 。 。 。 `result_format` 默认为 `json2` (单位:千美元) `run` 和 `fetch` 。 。 。 `tool` 默认为 `NCBI_TOOL` ,则 `ncbi-blast-skill` 。 。 。 `max_hits` 默认为 `5` · ; `max_queries` 默认为 `5` 。 。 。 `hitlist_size` 默认为 `50` · ; `descriptions` 和 `alignments` 默认为 `5` 。 。 。 `wait_timeout_sec` 默认为 `900` 。 。 。 `save_raw` 默认为 `false` 如果 `save_raw=true` 和 `raw_output_path` 省略, t
- 实测状态
- 未测试
文件浏览
Frontmatter
name: ncbi-blast-skill
description: Submit, poll, and summarize NCBI BLAST Common URL API jobs (Blast.cgi) for nucleotide or protein sequences. Use when a user wants RID status, BLAST results, or compact top-hit summaries; fetch raw Text/JSON2 only on request.Operating rules
- Use
scripts/ncbi_blast.pyfor all concrete BLAST work. - Honor NCBI limits:
>=10sbetween requests and>=60sbetween polls for the same RID. - Always surface the
RIDin the response so the job can be resumed or refetched later. - If the conversation is long or multiple tool calls have occurred, refetch from the
RIDinstead of trusting older context. - If a prior turn saved raw output to disk, do not read it back into context unless the user asks for a specific follow-up.
Execution behavior
- Return compact BLAST summaries first.
- Do not paste full
JSON2or long Text alignments into chat by default. - Default to
max_hits=5andmax_queries=5. - If the user asks for raw output, write it to a file and report the path.
- Only provide Python code when the user explicitly asks for code or execution is unavailable.
- For normal user-facing answers, summarize the script JSON in markdown; if the user explicitly asks for machine-readable output, return the JSON verbatim.
Input
- The script reads one JSON object from stdin.
actionmust be one ofsubmit,status,fetch, orrun.submitandrunrequireprogram,database,query_fasta, andemail(orNCBI_EMAIL).statusandfetchrequirerid.programmust be one ofblastn,blastp,blastx,tblastn, ortblastx.result_formatdefaults tojson2forrunandfetch.tooldefaults toNCBI_TOOL, thenncbi-blast-skill.max_hitsdefaults to5;max_queriesdefaults to5.hitlist_sizedefaults to50;descriptionsandalignmentsdefault to5.wait_timeout_secdefaults to900.save_rawdefaults tofalse.- If
save_raw=trueandraw_output_pathis omitted, the script writes to/tmp/ncbi-blast-<rid>.<json|txt>. query_fastamay contain multi-FASTA input; compact summaries still cap per-query output withmax_hitsandmax_queries.
Output
- Common success fields:
ok,source,action,warnings. submitreturnsrid,rtoe_seconds, andstatus="SUBMITTED".statusreturnsrid, normalizedstatus, andhas_hits.runandfetchwithresult_format=json2returnrid,status,has_hits,result_format,query_count_returned,query_count_available,query_summaries_truncated,query_summaries, andraw_output_path.- Each
query_summarycontainsquery_title,hit_count_returned,hit_count_available,truncated, andtop_hits. - Each
top_hitcontainsrank,accession,title,evalue, andbit_score. fetchwithresult_format=textreturnstext_headcapped at 800 characters unlesssave_raw=true; whensave_raw=true, it returns only the artifact path.- Failures return
ok=false,error.code,error.message, andwarnings.
Execution
- Run
python scripts/ncbi_blast.py. - If
requestsis missing, install it once before first use withpython -m pip install requests.
echo '{"action":"run","program":"blastp","database":"swissprot","query_fasta":">q1\nMTEYK...","email":"you@example.com"}' | python scripts/ncbi_blast.py
References
- Load
references/blast-common-url-api.txtonly for parameter details or uncommon BLAST options. - Do not load
references/intent-notes.txtduring normal skill execution; it is not runtime guidance.
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供 NCBI BLAST API 的完整任务生命周期管理(提交、轮询、结果汇总)
- 支持核苷酸和蛋白质序列,满足生物信息学专业用户需求
- 默认返回紧凑摘要,避免信息过载,提升用户体验
亮点
- description 清晰界定使用场景:RID 状态查询、BLAST 结果获取及顶级命中摘要
- 触发条件具体,边界明确,不易误触
亮点
- 文档结构完整,涵盖操作规则、执行行为、输入输出定义及示例
- 提供端到端命令行调用示例,便于快速上手
- frontmatter 元数据齐全,符合 Skill 规范
亮点
- 严格遵守 NCBI API 调用频率限制(≥10s 请求间隔,≥60s 轮询间隔)
- 自动处理依赖缺失问题(requests 库自动安装)
- 原始输出保存路径可控,避免意外覆盖
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 53 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。