Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

etetoolkit — Claude Code skill: phylogenetic tree analysis with ETE 4

Analyzes phylogenetic trees with the ETE 4 library: compares topologies, annotates nodes, detects gene duplications, queries NCBI and GTDB taxonomy, and renders publication figures.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add K-Dense-AI/scientific-agent-skills --skill etetoolkit -a claude-code
Open on GitHub

What etetoolkit does

The skill applies ETE 4.4.0 tools to trees already built by alignment and inference software. It reads Newick and Nexus formats, prunes branches while preserving pairwise distances, finds common ancestors, and calculates Robinson-Foulds distance between topologies. For gene trees, it detects duplication and speciation events using a custom naming function.

Requires Python 3.10+ and the ete4==4.4.0 package. Visualization works through two paths: SmartView with the ete4[render-sm] extra for PNG screenshots, or the Qt renderer ete4[treeview] for PDF and SVG; the Qt option needs Chrome or Chromium. If you start with raw sequences, run alignment (MAFFT) and tree inference (IQ-TREE 2, FastTree) first—the skill picks up after that.

Public taxonomy downloads from NCBI and GTDB require internet access and consume substantial disk space, worth checking before the first update.

What it helps with

  • compare two topologies and calculate normalized RF distance
  • prune a tree to selected species while preserving pairwise branch lengths
  • detect duplication and orthology events in a gene tree
  • annotate nodes with metadata and write NHX format
  • query TaxID by species name in a local NCBI database

Example prompts for the agent

  • Read the tree from `tree.nw` with parser=1, prune to the species list in `species.txt`, and save to `pruned.nw`
  • Compare topologies in `tree_a.nw` and `tree_b.nw`, print RF distance and common leaves
  • Find duplications in `gene_tree.nw` where the prefix before `|` is the species code

How to install etetoolkit

1Skills CLI (Vercel)

npx skills add K-Dense-AI/scientific-agent-skills --skill etetoolkit -a claude-code

2Manually: put the files in place

~/.claude/skills/etetoolkit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/etetoolkit/

From the same set120

The whole set →
scientific-visualization K-Dense-AI Generates and audits publication-ready scientific figures in Matplotlib, Seaborn, and Plotly, focusing on truthful data encoding and accessibility. Claude Code CX Codex Cursor +1 2,400installs scientific-writing K-Dense-AI This skill drafts and audits scientific manuscripts and reports while tying claims to verified evidence. Use it for sections, references, declarations, and submission checks. Claude Code CX Codex Cursor +1 2,400installs statistical-analysis K-Dense-AI Runs hypothesis tests with assumption checking, effect sizes, and APA-formatted reports. Covers t-tests, ANOVA, correlation, regression, non-parametric and Bayesian methods. Claude Code CX Codex Cursor +1 2,300installs scientific-brainstorming K-Dense-AI Structures early-stage research ideation through independent idea generation, transparent scoring, and adversarial review. Useful for ranking hypotheses without premature consensus. Claude Code CX Codex Cursor +1 2,300installs literature-review K-Dense-AI This skill searches and synthesizes research literature, checks citations, and prepares Markdown or PDF reviews. Use it for reproducible searches and screening. Claude Code CX Codex Cursor +1 2,300installs scientific-critical-thinking K-Dense-AI Evaluates scientific claims, research methodology, and evidence quality. Applies GRADE and Cochrane Risk of Bias frameworks. Claude Code CX Codex Cursor +1 2,300installs scientific-schematics K-Dense-AI Creates PNG drafts of scientific diagrams and runs a separate quality review. Use it for neural network architectures, flowcharts, system diagrams, and biological pathways. Claude Code CX Codex Cursor +1 2,200installs scikit-learn K-Dense-AI A skill for Python machine learning tasks: classification, regression, clustering, preprocessing, and building ML pipelines with scikit-learn 1.9.1. Claude Code CX Codex Cursor +1 2,200installs

Similar

sr-screener Imbad0202 Applies protocol-driven screening to study records for reviews. It manages double-blind screening of titles, abstracts, and full texts. Claude Code CX Codex Cursor +1 449installs typst-author jihe520 Generates, edits, and troubleshoots Typst markup while enforcing syntax rules and formatting checks. Keeps agents grounded against hallucinations. Claude Code CX Codex Cursor +1 1,800installs anysearch anysearch-ai This skill gives an agent web search, domain-specific queries, parallel batch search, and page extraction. Use it when a task needs current information or a claim needs checking. Claude Code CX Codex Cursor +1 38,500installs academic-paper Imbad0202 This skill runs a 12-agent academic pipeline across 11 modes. It guides projects from literature searches and outlines to citation audits and rebuttal reviews. Claude Code CX Codex Cursor +1 10,800installs nature-figure Yuan1z0825 A skill that builds, revises and audits scientific figures for manuscripts in Python or R. Useful when plots go to submission, not to a report. Claude Code CX Codex Cursor +1 18,700installs academic-paper-reviewer Imbad0202 This skill reviews an academic paper through five role-based perspectives. Use it for peer review, revision checks, or a focused methodology assessment. Claude Code CX Codex Cursor +1 9,800installs nature-polishing Yuan1z0825 A skill that polishes, translates and tightens existing academic prose. Facts, terminology and evidence boundaries stay intact. Claude Code CX Codex Cursor +1 17,400installs nature-citation Yuan1z skill, refactored into static/dynamic layers Finds Nature and CNS-family papers for manuscript claims, maps claims to sources, and prepares a reference-manager export. Use it when the journal scope matters. Claude Code CX Codex Cursor +1 15,600installs

Questions about etetoolkit

How to install etetoolkit in Claude Code?

Run npx skills add K-Dense-AI/scientific-agent-skills --skill etetoolkit -a claude-code. The skill will appear in ~/.claude/skills/etetoolkit/SKILL.md.

What does etetoolkit do?

It analyzes phylogenetic trees already built: compares topologies, prunes branches, detects gene duplication events, queries NCBI and GTDB taxonomy, and renders trees to PNG, PDF, or SVG.

Can etetoolkit build a tree from sequences?

No, the skill works with trees already constructed. For raw sequences, run alignment (MAFFT) and phylogenetic inference (IQ-TREE 2, FastTree) first, then load the result into ETE 4.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor