xuzhougeng/wispterm/tbtools
- community
Checking that the SKILL.md file is still in the repository.
Use when the user asks about TBtools, TBtools-II, TBtools RPC API, TBtools CLI, or bioinformatics operations available through TBtools such as sequence manipulation, BLAST, GFF/GTF/GXF processing, expression tables, heatmaps, trees, MCScanX, DIAMOND, HMMER, MUSCLE, and IQ-TREE.
Install
npx vskill@latest install xuzhougeng/wispterm/tbtoolsSKILL.md
TBtools
Overview
TBtools-II is a Java-based bioinformatics toolkit that runs on Windows and macOS. Prefer TBtools' own bundled Java/RPC/CLI tools. Do not introduce Python, R, Conda, or other dependencies unless the user explicitly asks.
Honor TBTOOLS_HOME or TBTOOLS_JAR if set; fall back to the platform default.
Setup
Windows (PowerShell)
macOS / Linux (bash)
Use bin/ (bin\ on Windows) tools directly when the task is a standard external tool workflow:
RPC Server
Windows (PowerShell)
Direct form:
macOS / Linux (bash)
Default URLs:
| Purpose | URL | |
|---|---|---|
| Health check | http://127.0.0.1:8765/health | |
| JSON-RPC | http://127.0.0.1:8765/rpc |
rpcPort is configurable in TBtools config. rpcBindAddress is normalized to loopback only (127.0.0.1 or ::1); do not expose the RPC server on 0.0.0.0.
RPC Helper
Windows (PowerShell)
macOS / Linux (bash + curl)
Discovery:
RPC Workflow
- Create deterministic workspace folders and pass absolute host-local file paths. RPC bodies carry paths, not file content.
- Call
system.listMethodsandsystem.describeMethodfor candidate methods. Usesystem.toolsJsonwhen many method schemas are needed. - Prefer a matching
*.validateParamsor*.validateInputbefore*.processwhen available. - Treat validation failures carefully: validate methods may return
result.ok = false/validated = falsewith structured errors instead of a JSON-RPCerror. - For long BLAST, tree, heatmap, NCBI, or large file jobs, raise client timeout and reduce concurrency.
- If JSON-RPC error
-32603haserror.data.reason = rpc pool busy, back off and retry with lower concurrency.
RPC Protocol Notes
| Topic | Contract | |
|---|---|---|
| Request | HTTP POST /rpc, JSON-RPC 2.0 object with method, params, id | |
| Batch | JSON array of request objects; response array is in order and omits notifications | |
| Empty batch | HTTP 200 with body [] | |
| Health | GET /health returns HTTP 200 body OK | |
| Success | result object, usually at least ok: true | |
| Errors | HTTP 200 with error.code, error.message, optional error.data |
Common error codes: -32700 parse error, -32600 invalid request, -32601 method not found, -32602 invalid params, -32603 internal error, -32000 timeout.
Common RPC Methods
| Area | Methods | |
|---|---|---|
| Sequence files | FastaStat.process, FastaSeqManipulator.process, AmazingFastaExtract.process, FastaExtract.process, FastxExtract.process, FastxIndex.process, FastaIDTools.* | |
| FASTA conversion | FastaToTable.process, TableToFasta.process, CdsToProtein.process, FastaMerge.process, FastaSplitByCount.process, FastaSplitAsOneSeq.process | |
| Annotation | GXFFix.process, GffCdsPhase.process, GxfSeqExtract.process, GxfFilter.process, GffFeatureExtract.process, GtfFeatureExtract.process, GxfStat.process | |
| Tables | TableTools.transpose, TableTools.mergeByKeyMulti, TableTools.selectRows, TableTools.selectColumnsByList, TableTools.groupAggregate, TableRowManipulator.process | |
| Expression | ExpressionFpkmToTpm.process, ExpressionRpkm.process, ExpressionTpm.process, ExpressionTau.process, ExpressionCorrMatrix.process, GeneExpFilter.process, GenePairCorr.process | |
| Alignment and trees | BlastCompareTwoSeqSet.process, BlastXmlToTable.process, ReciprocalBlast.process, OneStepBuildATree.process, TrimMsaSimple.process, TrimMsaGblocks.process, BlatAlign.process | |
| Visualization and misc | AmazingHeatMap.process, MemeSuiteXmlToTab.process, PlantCareClassify.process, SendEmail.process, TodoList.* |
Examples
FASTA statistics (Windows PowerShell):
FASTA statistics (macOS / Linux bash):
Extract FASTA records with a prewritten ID list (Windows PowerShell):
Validate then run a tree pipeline (Windows PowerShell):
Validate then run a tree pipeline (macOS / Linux bash):
Operating Rules
- Detect the platform first: use PowerShell helpers on Windows, bash + curl on macOS/Linux.
- Use TBtools bundled
bin/tools before suggesting external installs. - Keep stderr/error details visible for external tools and RPC errors.
- Do not assume a method exists from memory; discover it through
system.listMethods. - Do not assume
system.listMethodsreturns a raw array; the canonical result is an object withmethods. - Do not use Python helpers for normal TBtools work in this environment.
- Use forward-slash paths (
/data/...) in RPC calls even on Windows — TBtools accepts them.
Security
- Security scanPassed, 90 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 repositoryCheckingplugins/skills/tbtools/SKILL.md
Popularity
- Repository stars
- 265
- Repository forks
- 16
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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/xuzhougeng/wispterm/tbtools)