openai-ncbi-blast-skill

提交、轮询并汇总 NCBI BLAST 通用 URL API(Blast.cgi)任务,用于核苷酸或蛋白质序列。适用于在需要获取 RID 状态、BLAST 结果或紧凑顶级命中摘要时使用;仅在请求时返回原始文本或 JSON2 格式数据。

仓库最近推送
GitHub Stars
8,491
Forks
1,134
Issues / PRs
0

预览截图

来自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 格式数据。

0 下载

介绍来源: 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
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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.py for all concrete BLAST work.
  • Honor NCBI limits: >=10s between requests and >=60s between polls for the same RID.
  • Always surface the RID in 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 RID instead 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 JSON2 or long Text alignments into chat by default.
  • Default to max_hits=5 and max_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.
  • action must be one of submit, status, fetch, or run.
  • submit and run require program, database, query_fasta, and email (or NCBI_EMAIL).
  • status and fetch require rid.
  • program must be one of blastn, blastp, blastx, tblastn, or tblastx.
  • result_format defaults to json2 for run and fetch.
  • tool defaults to NCBI_TOOL, then ncbi-blast-skill.
  • max_hits defaults to 5; max_queries defaults to 5.
  • hitlist_size defaults to 50; descriptions and alignments default to 5.
  • wait_timeout_sec defaults to 900.
  • save_raw defaults to false.
  • If save_raw=true and raw_output_path is omitted, the script writes to /tmp/ncbi-blast-<rid>.<json|txt>.
  • query_fasta may contain multi-FASTA input; compact summaries still cap per-query output with max_hits and max_queries.

Output

  • Common success fields: ok, source, action, warnings.
  • submit returns rid, rtoe_seconds, and status="SUBMITTED".
  • status returns rid, normalized status, and has_hits.
  • run and fetch with result_format=json2 return rid, status, has_hits, result_format, query_count_returned, query_count_available, query_summaries_truncated, query_summaries, and raw_output_path.
  • Each query_summary contains query_title, hit_count_returned, hit_count_available, truncated, and top_hits.
  • Each top_hit contains rank, accession, title, evalue, and bit_score.
  • fetch with result_format=text returns text_head capped at 800 characters unless save_raw=true; when save_raw=true, it returns only the artifact path.
  • Failures return ok=false, error.code, error.message, and warnings.

Execution

  • Run python scripts/ncbi_blast.py.
  • If requests is missing, install it once before first use with python -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.txt only for parameter details or uncommon BLAST options.
  • Do not load references/intent-notes.txt during normal skill execution; it is not runtime guidance.

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供 NCBI BLAST API 的完整任务生命周期管理(提交、轮询、结果汇总)
  • 支持核苷酸和蛋白质序列,满足生物信息学专业用户需求
  • 默认返回紧凑摘要,避免信息过载,提升用户体验
触发精准90/100

亮点

  • description 清晰界定使用场景:RID 状态查询、BLAST 结果获取及顶级命中摘要
  • 触发条件具体,边界明确,不易误触
结构规范95/100

亮点

  • 文档结构完整,涵盖操作规则、执行行为、输入输出定义及示例
  • 提供端到端命令行调用示例,便于快速上手
  • frontmatter 元数据齐全,符合 Skill 规范
执行可靠90/100

亮点

  • 严格遵守 NCBI API 调用频率限制(≥10s 请求间隔,≥60s 轮询间隔)
  • 自动处理依赖缺失问题(requests 库自动安装)
  • 原始输出保存路径可控,避免意外覆盖
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 安装或获取外部依赖

    使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。

    主文档提及 · 第 53 行

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。