arcinstitute/sragent/claude-skill
Claude Code and agent skill by arcinstitute/sragent
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Query the Sequence Read Archive (SRA), retrieve scientific publications, and analyze genomics metadata using the SRAgent toolkit. Supports accession conversion (GSE→SRX→SRR), BigQuery metadata queries, manuscript downloads from multiple sources, and scRNA-seq technology identification. Use when working with SRA/GEO datasets, finding publications, or analyzing single-cell sequencing experiments.
Install
npx vskill@latest install arcinstitute/sragent/claude-skillSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
SRAgent: Sequence Read Archive Data and Publication Retrieval
Overview
SRAgent is an agentic workflow system for working with the NCBI Sequence Read Archive (SRA) and Gene Expression Omnibus (GEO) databases. It automates literature discovery, metadata extraction, and manuscript retrieval for genomics datasets.
Setup Instructions
1. Install SRAgent
SRAgent requires Python ≥3.11. Check to see if SRAgent is already installed:
If SRAgent is not installed, follow the instructions below.
Install using uv:
Verify installation:
2. Configure environment variables
The following environment variables are required:
OPENAI_API_KEY=sk-openai-...- Needed to use OpenAI models
ANTHROPIC_API_KEY=sk-ant-...- Needed to use Claude models
DYNACONF- Needed to switch between Claude and OpenAI models
EMAIL=user@example.com- Needed for using the Entrez API
NCBI_API_KEY=your-ncbi-key- Optional for increased rate limits when using the Entrez API
CORE_API_KEY=your-core-key- Optional for paper downloads from the CORE API
GCP_PROJECT_ID=your-project-id- Needed for using Google BigQuery
GOOGLE_APPLICATION_CREDENTIALS=/path/to/key.json- Needed for using Google BigQuery
Prompt the user to provide the environment variables if they are not already set as environment variables: export MY_SECRET_VAR=my-secret-value.
3. Configure Settings
SRAgent uses a settings file (settings.yml) to configure models and behavior. The default configuration works for most users, but you can customize it.
Option A: Use Default Settings
No action needed - SRAgent ships with sensible defaults.
Option B: Custom Settings File
See ./references/example-settings.yml for an example settings file that you can modify as needed.
4. Verify Setup
Test your configuration:
Core Capabilities
1. Accession Conversion
Convert between different genomics database accession formats:
- GEO Series: GSE → SRA Study (SRP)
- SRA Study: SRP/PRJNA → SRA Experiments (SRX*)
- SRA Experiment: SRX/ERX → SRA Runs (SRR/ERR)
2. Metadata Extraction
Query comprehensive metadata from SRA/GEO:
- Sequencing platform (Illumina, PacBio, Oxford Nanopore)
- Library preparation technology (10X Genomics, Smart-seq, etc.)
- Organism, tissue, cell type
- Study design and experimental details
- Single-cell vs bulk RNA-seq identification
3. BigQuery Analysis
Leverage NCBI's BigQuery dataset for large-scale queries:
- Batch accession conversions
- Technology identification across studies
- Filtering by platform, assay type, organism
- Study/experiment/run relationship mapping
4. Publication Retrieval
Automatically find and download manuscripts:
- Link SRA accessions to PubMed publications
- Extract DOIs from PubMed records
- Download full-text PDFs from multiple sources:
- Preprint servers (arXiv, bioRxiv, medRxiv)
- CORE API
- Europe PMC
- Unpaywall
- Batch processing with CSV input
When to Use This Skill
Use SRAgent when the user:
- Mentions SRA, GEO, or genomics accessions (GSE, SRP, SRX, SRR)
- Needs to convert between accession formats
- Wants metadata about sequencing experiments
- Needs to find or download papers associated with datasets
- References the Sequence Read Archive (SRA), European Nucleotide Archive (ENA), or Gene Expression Omnibus (GEO)
Available Commands
Command 1: SRAgent entrez
Purpose: Low-level NCBI Entrez database queries
Best for:
- Simple accession conversions
- Quick dataset summaries
- Cross-database linking
- When you know exactly what Entrez tool to use (esearch, efetch, elink)
Examples:
Command 2: SRAgent sragent
Purpose: Comprehensive metadata extraction with multiple tools
Best for:
- Complex metadata queries
- Technology identification
- When simple Entrez queries aren't enough
- Determining if data is single-cell
Tools available:
- Entrez agent (all databases)
- BigQuery (large-scale queries)
- NCBI web scraping
- sra-stat (direct sequence file analysis)
Examples:
Command 3: SRAgent papers
Purpose: Find and download manuscripts associated with SRA accessions
Best for:
- Downloading papers for datasets
- Batch retrieval of publications
- Enriching CSV files with DOIs and download paths
Input formats:
- Single accession:
SRX4967527 - Study accession:
SRP167700orPRJNA498286 - CSV file with
accessioncolumn
Examples:
Output:
- PDFs saved to
--output-dir/<accession>/ - Console summary showing:
- PubMed IDs found
- DOIs extracted
- Download success/failure status
- Updated CSV (when input is CSV) with columns:
pubmed_iddoidownload_path
Usage Patterns
Pattern 1: Dataset Investigation Workflow
Pattern 2: Technology Verification
Pattern 3: Batch Processing
Pattern 4: Study-Level Analysis
Implementation Guide for Claude
Running SRAgent Commands
When the user needs SRAgent functionality, use the bash tool:
Working with CSV Files
When processing batch data:
Accession Format Reference
GEO (Gene Expression Omnibus)
- Series:
GSE+ 5-7 digits (e.g.,GSE121737) - Sample:
GSM+ 6-7 digits (e.g.,GSM3457845)
SRA (Sequence Read Archive)
- Study:
SRP+ 6 digits (e.g.,SRP167700) - Or BioProject:
PRJNA+ 6 digits (e.g.,PRJNA498286) - Experiment:
SRX+ 7-8 digits (e.g.,SRX4967527) - Run:
SRR+ 7-8 digits (e.g.,SRR8124405)
ENA (European Nucleotide Archive)
- Study:
ERP+ 6 digits orPRJEB+ 6 digits - Experiment:
ERX+ 7-8 digits (e.g.,ERX11887200) - Run:
ERR+ 7-8 digits
Hierarchical Relationships
Common Single-Cell Technologies
SRAgent can identify these scRNA-seq technologies:
10X Genomics
- Chromium Single Cell 3' (v1, v2, v3)
- Chromium Single Cell 5'
- Chromium Single Cell ATAC
- Chromium Single Cell Multiome
- Visium Spatial
Other Platforms
- Smart-seq2 / Smart-seq3
- Drop-seq
- inDrop
- Seq-Well
- CEL-Seq2
- MARS-seq
- Quartz-Seq
Detection Strategy
SRAgent uses multiple signals:
- Library prep metadata fields
- Study descriptions and titles
- PubMed abstracts
- Sequence file characteristics (when using sra-stat)
Working Without BigQuery
If you don't have Google Cloud credentials:
Performance Optimization
Troubleshooting
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingclaude-skill/SKILL.md
Popularity
- Repository stars
- 158
- Repository forks
- 32
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/arcinstitute/sragent/claude-skill)