openai-ncbi-blast-skill
Screenshots
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "openai-ncbi-blast-skill" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-6f3c4a9dbac4b4b55c71b64c2be2eb2269045f41c0c604c04791b8a63b8e22a4. Verify the upstream source and version against https://github.com/openai/plugins before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Submit, poll, and summarize NCBI BLAST Universal URL API (Blast.cgi) jobs for nucleotide or protein sequences. Suitable when RID status, BLAST results, or compact top-hit summaries are needed; raw text or JSON2 format data is returned only upon request.
Introduction source: third_party · openai · 0.0.1 Reference
SkillPi interpretation
- Tasks
- 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.
- Inputs and outputs
- 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, t
- Testing
- Not tested
Browse files
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.
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 NCBI BLAST API 的完整任务生命周期管理(提交、轮询、结果汇总)
- 支持核苷酸和蛋白质序列,满足生物信息学专业用户需求
- 默认返回紧凑摘要,避免信息过载,提升用户体验
Highlights
- description 清晰界定使用场景:RID 状态查询、BLAST 结果获取及顶级命中摘要
- 触发条件具体,边界明确,不易误触
Highlights
- 文档结构完整,涵盖操作规则、执行行为、输入输出定义及示例
- 提供端到端命令行调用示例,便于快速上手
- frontmatter 元数据齐全,符合 Skill 规范
Highlights
- 严格遵守 NCBI API 调用频率限制(≥10s 请求间隔,≥60s 轮询间隔)
- 自动处理依赖缺失问题(requests 库自动安装)
- 原始输出保存路径可控,避免意外覆盖
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 53
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.