Agent skill · Audited from source
Ncbi Blast Api
skill · brycewang-stanford/Auto-Empirical-Research-SkillsNOASSERTION licenceAudited 8 Oct 2026 · source e1ba289846fd
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit e1ba289846fd and found no filesystem, network or shell access and no hard-coded secrets. What it does: Run sequence similarity searches via the NCBI BLAST REST API
Cite
Cite this page
ModelsAtlas. “Ncbi Blast Api (brycewang-stanford/Auto-Empirical-Research-Skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/brycewang-stanford/ncbi-blast-api
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha e1ba289846fd · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherbrycewang-stanford GitHub userOwner of the repository this skill is read from
- Source folderbrycewang-stanford/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/domains/biomedical/ncbi-blast-apiThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdicte1ba289846fdA new audit runs when the source changes
- Repository statusNot archivedLast push 3 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Run sequence similarity searches via the NCBI BLAST REST API
---
name: ncbi-blast-api
description: "Run sequence similarity searches via the NCBI BLAST REST API"
metadata:
openclaw:
emoji: "🧪"
category: "domains"
subcategory: "biomedical"
keywords: ["BLAST", "sequence alignment", "NCBI", "homology search", "protein similarity", "nucleotide search"]
source: "https://blast.ncbi.nlm.nih.gov/"
---
# NCBI BLAST REST API
## Overview
BLAST (Basic Local Alignment Search Tool) is the most widely used bioinformatics tool, comparing nucleotide or protein sequences against databases to find regions of similarity. The NCBI BLAST REST API enables programmatic submission of searches, status polling, and result retrieval. Free, no authentication required (but rate-limited).
## API Workflow
BLAST searches are asynchronous: submit → poll → retrieve.
### Step 1: Submit Search
```bash
# Nucleotide BLAST (blastn)
curl -X POST "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi" \
-d "CMD=Put&PROGRAM=blastn&DATABASE=nt&QUERY=ATGCGATCGATCG..."
# Protein BLAST (blastp)
curl -X POST "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi" \
-d "CMD=Put&PROGRAM=blastp&DATABASE=nr&QUERY=MKTLLLTLVVVTIVCL..."
# BLAST with specific parameters
curl -X POST "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi" \
-d "CMD=Put&PROGRAM=blastn&DATABASE=nt&QUERY=SEQUENCE&\
EXPECT=0.001&WORD_SIZE=11&HITLIST_SIZE=50"
```
### Step 2: Check Status
```bash
# Poll for completion (returns XML with Status field)
curl "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi?CMD=Get&FORMAT_OBJECT=SearchInfo&RID=YOUR_RID"
```
### Step 3: Retrieve Results
```bash
# Get results in XML
curl "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi?CMD=Get&FORMAT_TYPE=XML&RID=YOUR_RID"
# Get results in JSON
curl "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi?CMD=Get&FORMAT_TYPE=JSON2_S&RID=YOUR_RID"
# Get results in tabular format
curl "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi?CMD=Get&FORMAT_TYPE=Tabular&RID=YOUR_RID"
```
### BLAST Programs
| Program | Query → Database | Use case |
|---------|-----------------|----------|
| `blastn` | Nucleotide → Nucleotide | DNA/RNA similarity |
| `blastp` | Protein → Protein | Protein homology |
| `blastx` | Translated nuc → Protein | Find protein homologs of DNA |
| `tblastn` | Protein → Translated nuc | Find DNA encoding similar protein |
| `tblastx` | Translated nuc → Translated nuc | Compare at protein level |
### Common Databases
| Database | Content |
|----------|---------|
| `nt` | All GenBank nucleotide sequences |
| `nr` | Non-redundant protein sequences |
| `refseq_rna` | RefSeq RNA sequences |
| `refseq_protein` | RefSeq protein sequences |
| `swissprot` | UniProtKB/Swiss-Prot (curated) |
| `pdb` | Protein Data Bank sequences |
### Key Parameters
| Parameter | Description | Default |
|-----------|-------------|---------|
| `PROGRAM` | BLAST program | Required |
| `DATABASE` | Target database | Required |
| `QUERY` | Sequence or accession | Required |
| `EXPECT` | E-value threshold | `10` |
| `WORD_SIZE` | Word size | `11` (blastn), `6` (blastp) |
| `HITLIST_SIZE` | Max results | `100` |
| `MATRIX` | Scoring matrix (protein) | `BLOSUM62` |
| `FILTER` | Low complexity filter | `L` |
| `ENTREZ_QUERY` | Restrict to organism | `Homo sapiens[ORGN]` |
## Python Usage
```python
import time
import requests
from xml.etree import ElementTree
BLAST_URL = "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi"
def submit_blast(sequence: str, program: str = "blastn",
database: str = "nt",
evalue: float = 0.001) -> str:
"""Submit a BLAST search, return Request ID."""
resp = requests.post(BLAST_URL, data={
"CMD": "Put",
"PROGRAM": program,
"DATABASE": database,
"QUERY": sequence,
"EXPECT": evalue,
"HITLIST_SIZE": 50,
})
resp.raise_for_status()
for line in resp.text.split("\n"):
if "RID = " in line:
return line.split("=")[1].strip()
raise ValueError("No RID in response")
def wait_for_results(rid: str, poll_interval: int = 15,
max_wait: int = 300) -> bool:
"""Poll until BLAST search completes."""
elapsed = 0
while elapsed < max_wait:
resp = requests.get(BLAST_URL, params={
"CMD": "Get",
"FORMAT_OBJECT": "SearchInfo",
"RID": rid,
})
if "Status=READY" in resp.text:
return True
if "Status=FAILED" in resp.text:
raise RuntimeError("BLAST search failed")
time.sleep(poll_interval)
elapsed += poll_interval
raise TimeoutError(f"BLAST timed out after {max_wait}s")
def get_results(rid: str) -> list:
"""Retrieve BLAST results as parsed hits."""
resp = requests.get(BLAST_URL, params={
"CMD": "Get",
"FORMAT_TYPE": "XML",
"RID": rid,
})
resp.raise_for_status()
root = ElementTree.fromstring(resp.text)
ns = ""
hits = []
for hit in root.iter(f"{ns}Hit"):
hsps = hit.find(f"{ns}Hit_hsps")
hsp = hsps.find(f"{ns}Hsp") if hsps is not None else None
hits.append({
"accession": hit.findtext(f"{ns}Hit_accession", ""),
"description": hit.findtext(f"{ns}Hit_def", ""),
"length": int(hit.findtext(f"{ns}Hit_len", "0")),
"evalue": float(hsp.findtext(f"{ns}Hsp_evalue", "999"))
if hsp is not None else 999,
"identity": float(hsp.findtext(f"{ns}Hsp_identity", "0"))
if hsp is not None else 0,
"score": float(hsp.findtext(f"{ns}Hsp_bit-score", "0"))
if hsp is not None else 0,
})
return hits
# Example: BLAST a short DNA sequence
rid = submit_blast("ATGCGATCGATCGATCGATCGATCG", program="blastn")
print(f"Submitted BLAST search: {rid}")
wait_for_results(rid)
hits = get_results(rid)
for h in hits[:5]:
print(f"{h['accession']}: {h['description'][:60]}...")
print(f" E-value: {h['evalue']:.2e}Excerpt, first 6,001 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit e1ba289
git clone https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills git -C Auto-Empirical-Research-Skills checkout e1ba289846fd
The author documents no install command, so this uses the repository directly. Our verdict covers commit e1ba289846fd only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| OpenClaw | Mentioned in its text, not tested | Skills for OpenClaw · About OpenClaw |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
e1ba289846fd
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/brycewang-stanford/ncbi-blast-api/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
brycewang-stanford/Auto-Empirical-Research-Skills
GIS analysis and remote sensing workflows for geospatial research applications
brycewang-stanford/Auto-Empirical-Research-Skills
Run and manage Google Colab notebooks for Python and ML research
brycewang-stanford/Auto-Empirical-Research-Skills
Advanced Google Scholar search techniques for comprehensive literature discovery
brycewang-stanford/Auto-Empirical-Research-Skills
Ethical Google Scholar data collection techniques and best practices
brycewang-stanford/Auto-Empirical-Research-Skills
Autonomous agent for comprehensive deep research on any topic
brycewang-stanford/Auto-Empirical-Research-Skills
Practical advice for thriving in PhD programs and academic research
Add this badge to your README
[](https://modelsatlas.com/skills/brycewang-stanford/ncbi-blast-api/)
<a href="https://modelsatlas.com/skills/brycewang-stanford/ncbi-blast-api/"><img src="https://modelsatlas.com/skills/brycewang-stanford/ncbi-blast-api/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Ncbi Blast Api
What does the Ncbi Blast Api skill do?
Is Ncbi Blast Api safe to install?
What can Ncbi Blast Api access on my machine?
Which assistants does Ncbi Blast Api work with?
How current is this page?
Sources
- github.com/brycewang-stanford/Auto-Empirical-Research-Skills/tre — the audited source at commit e1ba289846fd and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Ncbi Blast Api skill do?
- Is Ncbi Blast Api safe to install?
- What can Ncbi Blast Api access on my machine?