[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79XH1CM0SQ0SCA0SBV2M2W3":3,"skill-same:01M79XH1CM0SQ0SCA0SBV2M2W3":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M79XH1CM0SQ0SCA0SBV2M2W3","etetoolkit",null,"Phylogenetic tree toolkit (ETE). Tree manipulation (Newick\u002FNHX), evolutionary event detection, orthology\u002Fparalogy, NCBI taxonomy, visualization (PDF\u002FSVG), for phylogenomics.","KrismithReddy12\u002Fclaude-code-templates","KrismithReddy12","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F182916557?v=4","01M79T8DNGJRHG48G3H3Q02MK8","01M79TA8ZWV2PP7R4ARWVYWZFE",0,"MIT","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fetetoolkit\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: etetoolkit\ndescription: \"Phylogenetic tree toolkit (ETE). Tree manipulation (Newick\u002FNHX), evolutionary event detection, orthology\u002Fparalogy, NCBI taxonomy, visualization (PDF\u002FSVG), for phylogenomics.\"\n---\n\n# ETE Toolkit Skill\n\n## Overview\n\nETE (Environment for Tree Exploration) is a toolkit for phylogenetic and hierarchical tree analysis. Manipulate trees, analyze evolutionary events, visualize results, and integrate with biological databases for phylogenomic research and clustering analysis.\n\n## Core Capabilities\n\n### 1. Tree Manipulation and Analysis\n\nLoad, manipulate, and analyze hierarchical tree structures with support for:\n\n- **Tree I\u002FO**: Read and write Newick, NHX, PhyloXML, and NeXML formats\n- **Tree traversal**: Navigate trees using preorder, postorder, or levelorder strategies\n- **Topology modification**: Prune, root, collapse nodes, resolve polytomies\n- **Distance calculations**: Compute branch lengths and topological distances between nodes\n- **Tree comparison**: Calculate Robinson-Foulds distances and identify topological differences\n\n**Common patterns:**\n\n```python\nfrom ete3 import Tree\n\n# Load tree from file\ntree = Tree(\"tree.nw\", format=1)\n\n# Basic statistics\nprint(f\"Leaves: {len(tree)}\")\nprint(f\"Total nodes: {len(list(tree.traverse()))}\")\n\n# Prune to taxa of interest\ntaxa_to_keep = [\"species1\", \"species2\", \"species3\"]\ntree.prune(taxa_to_keep, preserve_branch_length=True)\n\n# Midpoint root\nmidpoint = tree.get_midpoint_outgroup()\ntree.set_outgroup(midpoint)\n\n# Save modified tree\ntree.write(outfile=\"rooted_tree.nw\")\n```\n\nUse `scripts\u002Ftree_operations.py` for command-line tree manipulation:\n\n```bash\n# Display tree statistics\npython scripts\u002Ftree_operations.py stats tree.nw\n\n# Convert format\npython scripts\u002Ftree_operations.py convert tree.nw output.nw --in-format 0 --out-format 1\n\n# Reroot tree\npython scripts\u002Ftree_operations.py reroot tree.nw rooted.nw --midpoint\n\n# Prune to specific taxa\npython scripts\u002Ftree_operations.py prune tree.nw pruned.nw --keep-taxa \"sp1,sp2,sp3\"\n\n# Show ASCII visualization\npython scripts\u002Ftree_operations.py ascii tree.nw\n```\n\n### 2. Phylogenetic Analysis\n\nAnalyze gene trees with evolutionary event detection:\n\n- **Sequence alignment integration**: Link trees to multiple sequence alignments (FASTA, Phylip)\n- **Species naming**: Automatic or custom species extraction from gene names\n- **Evolutionary events**: Detect duplication and speciation events using Species Overlap or tree reconciliation\n- **Orthology detection**: Identify orthologs and paralogs based on evolutionary events\n- **Gene family analysis**: Split trees by duplications, collapse lineage-specific expansions\n\n**Workflow for gene tree analysis:**\n\n```python\nfrom ete3 import PhyloTree\n\n# Load gene tree with alignment\ntree = PhyloTree(\"gene_tree.nw\", alignment=\"alignment.fasta\")\n\n# Set species naming function\ndef get_species(gene_name):\n    return gene_name.split(\"_\")[0]\n\ntree.set_species_naming_function(get_species)\n\n# Detect evolutionary events\nevents = tree.get_descendant_evol_events()\n\n# Analyze events\nfor node in tree.traverse():\n    if hasattr(node, \"evoltype\"):\n        if node.evoltype == \"D\":\n            print(f\"Duplication at {node.name}\")\n        elif node.evoltype == \"S\":\n            print(f\"Speciation at {node.name}\")\n\n# Extract ortholog groups\northo_groups = tree.get_speciation_trees()\nfor i, ortho_tree in enumerate(ortho_groups):\n    ortho_tree.write(outfile=f\"ortholog_group_{i}.nw\")\n```\n\n**Finding orthologs and paralogs:**\n\n```python\n# Find orthologs to query gene\nquery = tree & \"species1_gene1\"\n\northologs = []\nparalogs = []\n\nfor event in events:\n    if query in event.in_seqs:\n        if event.etype == \"S\":\n            orthologs.extend([s for s in event.out_seqs if s != query])\n        elif event.etype == \"D\":\n            paralogs.extend([s for s in event.out_seqs if s != query])\n```\n\n### 3. NCBI Taxonomy Integration\n\nIntegrate taxonomic information from NCBI Taxonomy database:\n\n- **Database access**: Automatic download and local caching of NCBI taxonomy (~300MB)\n- **Taxid\u002Fname translation**: Convert between taxonomic IDs and scientific names\n- **Lineage retrieval**: Get complete evolutionary lineages\n- **Taxonomy trees**: Build species trees connecting specified taxa\n- **Tree annotation**: Automatically annotate trees with taxonomic information\n\n**Building taxonomy-based trees:**\n\n```python\nfrom ete3 import NCBITaxa\n\nncbi = NCBITaxa()\n\n# Build tree from species names\nspecies = [\"Homo sapiens\", \"Pan troglodytes\", \"Mus musculus\"]\nname2taxid = ncbi.get_name_translator(species)\ntaxids = [name2taxid[sp][0] for sp in species]\n\n# Get minimal tree connecting taxa\ntree = ncbi.get_topology(taxids)\n\n# Annotate nodes with taxonomy info\nfor node in tree.traverse():\n    if hasattr(node, \"sci_name\"):\n        print(f\"{node.sci_name} - Rank: {node.rank} - TaxID: {node.taxid}\")\n```\n\n**Annotating existing trees:**\n\n```python\n# Get taxonomy info for tree leaves\nfor leaf in tree:\n    species = extract_species_from_name(leaf.name)\n    taxid = ncbi.get_name_translator([species])[species][0]\n\n    # Get lineage\n    lineage = ncbi.get_lineage(taxid)\n    ranks = ncbi.get_rank(lineage)\n    names = ncbi.get_taxid_translator(lineage)\n\n    # Add to node\n    leaf.add_feature(\"taxid\", taxid)\n    leaf.add_feature(\"lineage\", [names[t] for t in lineage])\n```\n\n### 4. Tree Visualization\n\nCreate publication-quality tree visualizations:\n\n- **Output formats**: PNG (raster), PDF, and SVG (vector) for publications\n- **Layout modes**: Rectangular and circular tree layouts\n- **Interactive GUI**: Explore trees interactively with zoom, pan, and search\n- **Custom styling**: NodeStyle for node appearance (colors, shapes, sizes)\n- **Faces**: Add graphical elements (text, images, charts, heatmaps) to nodes\n- **Layout functions**: Dynamic styling based on node properties\n\n**Basic visualization workflow:**\n\n```python\nfrom ete3 import Tree, TreeStyle, NodeStyle\n\ntree = Tree(\"tree.nw\")\n\n# Configure tree style\nts = TreeStyle()\nts.show_leaf_name = True\nts.show_branch_support = True\nts.scale = 50  # pixels per branch length unit\n\n# Style nodes\nfor node in tree.traverse():\n    nstyle = NodeStyle()\n\n    if node.is_leaf():\n        nstyle[\"fgcolor\"] = \"blue\"\n        nstyle[\"size\"] = 8\n    else:\n        # Color by support\n        if node.support > 0.9:\n            nstyle[\"fgcolor\"] = \"darkgreen\"\n        else:\n            nstyle[\"fgcolor\"] = \"red\"\n        nstyle[\"size\"] = 5\n\n    node.set_style(nstyle)\n\n# Render to file\ntree.render(\"tree.pdf\", tree_style=ts)\ntree.render(\"tree.png\", w=800, h=600, units=\"px\", dpi=300)\n```\n\nUse `scripts\u002Fquick_visualize.py` for rapid visualization:\n\n```bash\n# Basic visualization\npython scripts\u002Fquick_visualize.py tree.nw output.pdf\n\n# Circular layout with custom styling\npython scripts\u002Fquick_visualize.py tree.nw output.pdf --mode c --color-by-support\n\n# High-resolution PNG\npython scripts\u002Fquick_visualize.py tree.nw output.png --width 1200 --height 800 --units px --dpi 300\n\n# Custom title and styling\npython scripts\u002Fquick_visualize.py tree.nw output.pdf --title \"Species Phylogeny\" --show-support\n```\n\n**Advanced visualization with faces:**\n\n```python\nfrom ete3 import Tree, TreeStyle, TextFace, CircleFace\n\ntree = Tree(\"tree.nw\")\n\n# Add features to nodes\nfor leaf in tree:\n    leaf.add_feature(\"habitat\", \"marine\" if \"fish\" in leaf.name else \"land\")\n\n# Layout function\ndef layout(node):\n    if node.is_leaf():\n        # Add colored circle\n        color = \"blue\" if node.habitat == \"marine\" else \"green\"\n        circle = CircleFace(radius=5, color=color)\n        node.add_face(circle, column=0, position=\"aligned\")\n\n        # Add label\n        label = TextFace(node.name, fsize=10)\n        node.add_face(label, column=1, position=\"aligned\")\n\nts = TreeStyle()\nts.layout_fn = layout\nts.show_leaf_name = False\n\ntree.render(\"annotated_tree.pdf\", tree_style=ts)\n```\n\n### 5. Clustering Analysis\n\nAnalyze hierarchical clustering results with data integration:\n\n- **ClusterTree**: Specialized class for clustering dendrograms\n- **Data matrix linking**: Connect tree leaves to numerical profiles\n- **Cluster metrics**: Silhouette coefficient, Dunn index, inter\u002Fintra-cluster distances\n- **Validation**: Test cluster quality with different distance metrics\n- **Heatmap visualization**: Display data matrices alongside trees\n\n**Clustering workflow:**\n\n```python\nfrom ete3 import ClusterTree\n\n# Load tree with data matrix\nmatrix = \"\"\"#Names\\tSample1\\tSample2\\tSample3\nGene1\\t1.5\\t2.3\\t0.8\nGene2\\t0.9\\t1.1\\t1.8\nGene3\\t2.1\\t2.5\\t0.5\"\"\"\n\ntree = ClusterTree(\"((Gene1,Gene2),Gene3);\", text_array=matrix)\n\n# Evaluate cluster quality\nfor node in tree.traverse():\n    if not node.is_leaf():\n        silhouette = node.get_silhouette()\n        dunn = node.get_dunn()\n\n        print(f\"Cluster: {node.name}\")\n        print(f\"  Silhouette: {silhouette:.3f}\")\n        print(f\"  Dunn index: {dunn:.3f}\")\n\n# Visualize with heatmap\ntree.show(\"heatmap\")\n```\n\n### 6. Tree Comparison\n\nQuantify topological differences between trees:\n\n- **Robinson-Foulds distance**: Standard metric for tree comparison\n- **Normalized RF**: Scale-invariant distance (0.0 to 1.0)\n- **Partition analysis**: Identify unique and shared bipartitions\n- **Consensus trees**: Analyze support across multiple trees\n- **Batch comparison**: Compare multiple trees pairwise\n\n**Compare two trees:**\n\n```python\nfrom ete3 import Tree\n\ntree1 = Tree(\"tree1.nw\")\ntree2 = Tree(\"tree2.nw\")\n\n# Calculate RF distance\nrf, max_rf, common_leaves, parts_t1, parts_t2 = tree1.robinson_foulds(tree2)\n\nprint(f\"RF distance: {rf}\u002F{max_rf}\")\nprint(f\"Normalized RF: {rf\u002Fmax_rf:.3f}\")\nprint(f\"Common leaves: {len(common_leaves)}\")\n\n# Find unique partitions\nunique_t1 = parts_t1 - parts_t2\nunique_t2 = parts_t2 - parts_t1\n\nprint(f\"Unique to tree1: {len(unique_t1)}\")\nprint(f\"Unique to tree2: {len(unique_t2)}\")\n```\n\n**Compare multiple trees:**\n\n```python\nimport numpy as np\n\ntrees = [Tree(f\"tree{i}.nw\") for i in range(4)]\n\n# Create distance matrix\nn = len(trees)\ndist_matrix = np.zeros((n, n))\n\nfor i in range(n):\n    for j in range(i+1, n):\n        rf, max_rf, _, _, _ = trees[i].robinson_foulds(trees[j])\n        norm_rf = rf \u002F max_rf if max_rf > 0 else 0\n        dist_matrix[i, j] = norm_rf\n        dist_matrix[j, i] = norm_rf\n```\n\n## Installation and Setup\n\nInstall ETE toolkit:\n\n```bash\n# Basic installation\nuv pip install ete3\n\n# With external dependencies for rendering (optional but recommended)\n# On macOS:\nbrew install qt@5\n\n# On Ubuntu\u002FDebian:\nsudo apt-get install python3-pyqt5 python3-pyqt5.qtsvg\n\n# For full features including GUI\nuv pip install ete3[gui]\n```\n\n**First-time NCBI Taxonomy setup:**\n\nThe first time NCBITaxa is instantiated, it automatically downloads the NCBI taxonomy database (~300MB) to `~\u002F.etetoolkit\u002Ftaxa.sqlite`. This happens only once:\n\n```python\nfrom ete3 import NCBITaxa\nncbi = NCBITaxa()  # Downloads database on first run\n```\n\nUpdate taxonomy database:\n\n```python\nncbi.update_taxonomy_database()  # Download latest NCBI data\n```\n\n## Common Use Cases\n\n### Use Case 1: Phylogenomic Pipeline\n\nComplete workflow from gene tree to ortholog identification:\n\n```python\nfrom ete3 import PhyloTree, NCBITaxa\n\n# 1. Load gene tree with alignment\ntree = PhyloTree(\"gene_tree.nw\", alignment=\"alignment.fasta\")\n\n# 2. Configure species naming\ntree.set_species_naming_function(lambda x: x.split(\"_\")[0])\n\n# 3. Detect evolutionary events\ntree.get_descendant_evol_events()\n\n# 4. Annotate with taxonomy\nncbi = NCBITaxa()\nfor leaf in tree:\n    if leaf.species in species_to_taxid:\n        taxid = species_to_taxid[leaf.species]\n        lineage = ncbi.get_lineage(taxid)\n        leaf.add_feature(\"lineage\", lineage)\n\n# 5. Extract ortholog groups\northo_groups = tree.get_speciation_trees()\n\n# 6. Save and visualize\nfor i, ortho in enumerate(ortho_groups):\n    ortho.write(outfile=f\"ortho_{i}.nw\")\n```\n\n### Use Case 2: Tree Preprocessing and Formatting\n\nBatch process trees for analysis:\n\n```bash\n# Convert format\npython scripts\u002Ftree_operations.py convert input.nw output.nw --in-format 0 --out-format 1\n\n# Root at midpoint\npython scripts\u002Ftree_operations.py reroot input.nw rooted.nw --midpoint\n\n# Prune to focal taxa\npython scripts\u002Ftree_operations.py prune rooted.nw pruned.nw --keep-taxa taxa_list.txt\n\n# Get statistics\npython scripts\u002Ftree_operations.py stats pruned.nw\n```\n\n### Use Case 3: Publication-Quality Figures\n\nCreate styled visualizations:\n\n```python\nfrom ete3 import Tree, TreeStyle, NodeStyle, TextFace\n\ntree = Tree(\"tree.nw\")\n\n# Define clade colors\nclade_colors = {\n    \"Mammals\": \"red\",\n    \"Birds\": \"blue\",\n    \"Fish\": \"green\"\n}\n\ndef layout(node):\n    # Highlight clades\n    if node.is_leaf():\n        for clade, color in clade_colors.items():\n            if clade in node.name:\n                nstyle = NodeStyle()\n                nstyle[\"fgcolor\"] = color\n                nstyle[\"size\"] = 8\n                node.set_style(nstyle)\n    else:\n        # Add support values\n        if node.support > 0.95:\n            support = TextFace(f\"{node.support:.2f}\", fsize=8)\n            node.add_face(support, column=0, position=\"branch-top\")\n\nts = TreeStyle()\nts.layout_fn = layout\nts.show_scale = True\n\n# Render for publication\ntree.render(\"figure.pdf\", w=200, units=\"mm\", tree_style=ts)\ntree.render(\"figure.svg\", tree_style=ts)  # Editable vector\n```\n\n### Use Case 4: Automated Tree Analysis\n\nProcess multiple trees systematically:\n\n```python\nfrom ete3 import Tree\nimport os\n\ninput_dir = \"trees\"\noutput_dir = \"processed\"\n\nfor filename in os.listdir(input_dir):\n    if filename.endswith(\".nw\"):\n        tree = Tree(os.path.join(input_dir, filename))\n\n        # Standardize: midpoint root, resolve polytomies\n        midpoint = tree.get_midpoint_outgroup()\n        tree.set_outgroup(midpoint)\n        tree.resolve_polytomy(recursive=True)\n\n        # Filter low support branches\n        for node in tree.traverse():\n            if hasattr(node, 'support') and node.support \u003C 0.5:\n                if not node.is_leaf() and not node.is_root():\n                    node.delete()\n\n        # Save processed tree\n        output_file = os.path.join(output_dir, f\"processed_{filename}\")\n        tree.write(outfile=output_file)\n```\n\n## Reference Documentation\n\nFor comprehensive API documentation, code examples, and detailed guides, refer to the following resources in the `references\u002F` directory:\n\n- **`api_reference.md`**: Complete API documentation for all ETE classes and methods (Tree, PhyloTree, ClusterTree, NCBITaxa), including parameters, return types, and code examples\n- **`workflows.md`**: Common workflow patterns organized by task (tree operations, phylogenetic analysis, tree comparison, taxonomy integration, clustering analysis)\n- **`visualization.md`**: Comprehensive visualization guide covering TreeStyle, NodeStyle, Faces, layout functions, and advanced visualization techniques\n\nLoad these references when detailed information is needed:\n\n```python\n# To use API reference\n# Read references\u002Fapi_reference.md for complete method signatures and parameters\n\n# To implement workflows\n# Read references\u002Fworkflows.md for step-by-step workflow examples\n\n# To create visualizations\n# Read references\u002Fvisualization.md for styling and rendering options\n```\n\n## Troubleshooting\n\n**Import errors:**\n\n```bash\n# If \"ModuleNotFoundError: No module named 'ete3'\"\nuv pip install ete3\n\n# For GUI and rendering issues\nuv pip install ete3[gui]\n```\n\n**Rendering issues:**\n\nIf `tree.render()` or `tree.show()` fails with Qt-related errors, install system dependencies:\n\n```bash\n# macOS\nbrew install qt@5\n\n# Ubuntu\u002FDebian\nsudo apt-get install python3-pyqt5 python3-pyqt5.qtsvg\n```\n\n**NCBI Taxonomy database:**\n\nIf database download fails or becomes corrupted:\n\n```python\nfrom ete3 import NCBITaxa\nncbi = NCBITaxa()\nncbi.update_taxonomy_database()  # Redownload database\n```\n\n**Memory issues with large trees:**\n\nFor very large trees (>10,000 leaves), use iterators instead of list comprehensions:\n\n```python\n# Memory-efficient iteration\nfor leaf in tree.iter_leaves():\n    process(leaf)\n\n# Instead of\nfor leaf in tree.get_leaves():  # Loads all into memory\n    process(leaf)\n```\n\n## Newick Format Reference\n\nETE supports multiple Newick format specifications (0-100):\n\n- **Format 0**: Flexible with branch lengths (default)\n- **Format 1**: With internal node names\n- **Format 2**: With bootstrap\u002Fsupport values\n- **Format 5**: Internal node names + branch lengths\n- **Format 8**: All features (names, distances, support)\n- **Format 9**: Leaf names only\n- **Format 100**: Topology only\n\nSpecify format when reading\u002Fwriting:\n\n```python\ntree = Tree(\"tree.nw\", format=1)\ntree.write(outfile=\"output.nw\", format=5)\n```\n\nNHX (New Hampshire eXtended) format preserves custom features:\n\n```python\ntree.write(outfile=\"tree.nhx\", features=[\"habitat\", \"temperature\", \"depth\"])\n```\n\n## Best Practices\n\n1. **Preserve branch lengths**: Use `preserve_branch_length=True` when pruning for phylogenetic analysis\n2. **Cache content**: Use `get_cached_content()` for repeated access to node contents on large trees\n3. **Use iterators**: Employ `iter_*` methods for memory-efficient processing of large trees\n4. **Choose appropriate traversal**: Postorder for bottom-up analysis, preorder for top-down\n5. **Validate monophyly**: Always check returned clade type (monophyletic\u002Fparaphyletic\u002Fpolyphyletic)\n6. **Vector formats for publication**: Use PDF or SVG for publication figures (scalable, editable)\n7. **Interactive testing**: Use `tree.show()` to test visualizations before rendering to file\n8. **PhyloTree for phylogenetics**: Use PhyloTree class for gene trees and evolutionary analysis\n9. **Copy method selection**: \"newick\" for speed, \"cpickle\" for full fidelity, \"deepcopy\" for complex objects\n10. **NCBI query caching**: Store NCBI taxonomy query results to avoid repeated database access\n","# ETE Toolkit Skill\n\n## Overview\n\nETE (Environment for Tree Exploration) is a toolkit for phylogenetic and hierarchical tree analysis. Manipulate trees, analyze evolutionary events, visualize results, and integrate with biological databases for phylogenomic research and clustering analysis.\n\n## Core Capabilities\n\n### 1. Tree Manipulation and Analysis\n\nLoad, manipulate, and analyze hierarchical tree structures with support for:\n\n- **Tree I\u002FO**: Read and write Newick, NHX, PhyloXML, and NeXML formats\n- **Tree traversal**: Navigate trees using preorder, postorder, or levelorder strategies\n- **Topology modification**: Prune, root, collapse nodes, resolve polytomies\n- **Distance calculations**: Compute branch lengths and topological distances between nodes\n- **Tree comparison**: Calculate Robinson-Foulds distances and identify topological differences\n\n**Common patterns:**\n\n```python\nfrom ete3 import Tree\n\n# Load tree from file\ntree = Tree(\"tree.nw\", format=1)\n\n# Basic statistics\nprint(f\"Leaves: {len(tree)}\")\nprint(f\"Total nodes: {len(list(tree.traverse()))}\")\n\n# Prune to taxa of interest\ntaxa_to_keep = [\"species1\", \"species2\", \"species3\"]\ntree.prune(taxa_to_keep, preserve_branch_length=True)\n\n# Midpoint root\nmidpoint = tree.get_midpoint_outgroup()\ntree.set_outgroup(midpoint)\n\n# Save modified tree\ntree.write(outfile=\"rooted_tree.nw\")\n```\n\nUse `scripts\u002Ftree_operations.py` for command-line tree manipulation:\n\n```bash\n# Display tree statistics\npython scripts\u002Ftree_operations.py stats tree.nw\n\n# Convert format\npython scripts\u002Ftree_operations.py convert tree.nw output.nw --in-format 0 --out-format 1\n\n# Reroot tree\npython scripts\u002Ftree_operations.py reroot tree.nw rooted.nw --midpoint\n\n# Prune to specific taxa\npython scripts\u002Ftree_operations.py prune tree.nw pruned.nw --keep-taxa \"sp1,sp2,sp3\"\n\n# Show ASCII visualization\npython scripts\u002Ftree_operations.py ascii tree.nw\n```\n\n### 2. Phylogenetic Analysis\n\nAnalyze gene trees with evolutionary event detection:\n\n- **Sequence alignment integration**: Link trees to multiple sequence alignments (FASTA, Phylip)\n- **Species naming**: Automatic or custom species extraction from gene names\n- **Evolutionary events**: Detect duplication and speciation events using Species Overlap or tree reconciliation\n- **Orthology detection**: Identify orthologs and paralogs based on evolutionary events\n- **Gene family analysis**: Split trees by duplications, collapse lineage-specific expansions\n\n**Workflow for gene tree analysis:**\n\n```python\nfrom ete3 import PhyloTree\n\n# Load gene tree with alignment\ntree = PhyloTree(\"gene_tree.nw\", alignment=\"alignment.fasta\")\n\n# Set species naming function\ndef get_species(gene_name):\n    return gene_name.split(\"_\")[0]\n\ntree.set_species_naming_function(get_species)\n\n# Detect evolutionary events\nevents = tree.get_descendant_evol_events()\n\n# Analyze events\nfor node in tree.traverse():\n    if hasattr(node, \"evoltype\"):\n        if node.evoltype == \"D\":\n            print(f\"Duplication at {node.name}\")\n        elif node.evoltype == \"S\":\n            print(f\"Speciation at {node.name}\")\n\n# Extract ortholog groups\northo_groups = tree.get_speciation_trees()\nfor i, ortho_tree in enumerate(ortho_groups):\n    ortho_tree.write(outfile=f\"ortholog_group_{i}.nw\")\n```\n\n**Finding orthologs and paralogs:**\n\n```python\n# Find orthologs to query gene\nquery = tree & \"species1_gene1\"\n\northologs = []\nparalogs = []\n\nfor event in events:\n    if query in event.in_seqs:\n        if event.etype == \"S\":\n            orthologs.extend([s for s in event.out_seqs if s != query])\n        elif event.etype == \"D\":\n            paralogs.extend([s for s in event.out_seqs if s != query])\n```\n\n### 3. NCBI Taxonomy Integration\n\nIntegrate taxonomic information from NCBI Taxonomy database:\n\n- **Database access**: Automatic download and local caching of NCBI taxonomy (~300MB)\n- **Taxid\u002Fname translation**: Convert between taxonomic IDs and scientific names\n- **Lineage retrieval**: Get complete evolutionary lineages\n- **Taxonomy trees**: Build species trees connecting specified taxa\n- **Tree annotation**: Automatically annotate trees with taxonomic information\n\n**Building taxonomy-based trees:**\n\n```python\nfrom ete3 import NCBITaxa\n\nncbi = NCBITaxa()\n\n# Build tree from species names\nspecies = [\"Homo sapiens\", \"Pan troglodytes\", \"Mus musculus\"]\nname2taxid = ncbi.get_name_translator(species)\ntaxids = [name2taxid[sp][0] for sp in species]\n\n# Get minimal tree connecting taxa\ntree = ncbi.get_topology(taxids)\n\n# Annotate nodes with taxonomy info\nfor node in tree.traverse():\n    if hasattr(node, \"sci_name\"):\n        print(f\"{node.sci_name} - Rank: {node.rank} - TaxID: {node.taxid}\")\n```\n\n**Annotating existing trees:**\n\n```python\n# Get taxonomy info for tree leaves\nfor leaf in tree:\n    species = extract_species_from_name(leaf.name)\n    taxid = ncbi.get_name_translator([species])[species][0]\n\n    # Get lineage\n    lineage = ncbi.get_lineage(taxid)\n    ranks = ncbi.get_rank(lineage)\n    names = ncbi.get_taxid_translator(lineage)\n\n    # Add to node\n    leaf.add_feature(\"taxid\", taxid)\n    leaf.add_feature(\"lineage\", [names[t] for t in lineage])\n```\n\n### 4. Tree Visualization\n\nCreate publication-quality tree visualizations:\n\n- **Output formats**: PNG (raster), PDF, and SVG (vector) for publications\n- **Layout modes**: Rectangular and circular tree layouts\n- **Interactive GUI**: Explore trees interactively with zoom, pan, and search\n- **Custom styling**: NodeStyle for node appearance (colors, shapes, sizes)\n- **Faces**: Add graphical elements (text, images, charts, heatmaps) to nodes\n- **Layout functions**: Dynamic styling based on node properties\n\n**Basic visualization workflow:**\n\n```python\nfrom ete3 import Tree, TreeStyle, NodeStyle\n\ntree = Tree(\"tree.nw\")\n\n# Configure tree style\nts = TreeStyle()\nts.show_leaf_name = True\nts.show_branch_support = True\nts.scale = 50  # pixels per branch length unit\n\n# Style nodes\nfor node in tree.traverse():\n    nstyle = NodeStyle()\n\n    if node.is_leaf():\n        nstyle[\"fgcolor\"] = \"blue\"\n        nstyle[\"size\"] = 8\n    else:\n        # Color by support\n        if node.support > 0.9:\n            nstyle[\"fgcolor\"] = \"darkgreen\"\n        else:\n            nstyle[\"fgcolor\"] = \"red\"\n        nstyle[\"size\"] = 5\n\n    node.set_style(nstyle)\n\n# Render to file\ntree.render(\"tree.pdf\", tree_style=ts)\ntree.render(\"tree.png\", w=800, h=600, units=\"px\", dpi=300)\n```\n\nUse `scripts\u002Fquick_visualize.py` for rapid visualization:\n\n```bash\n# Basic visualization\npython scripts\u002Fquick_visualize.py tree.nw output.pdf\n\n# Circular layout with custom styling\npython scripts\u002Fquick_visualize.py tree.nw output.pdf --mode c --color-by-support\n\n# High-resolution PNG\npython scripts\u002Fquick_visualize.py tree.nw output.png --width 1200 --height 800 --units px --dpi 300\n\n# Custom title and styling\npython scripts\u002Fquick_visualize.py tree.nw output.pdf --title \"Species Phylogeny\" --show-support\n```\n\n**Advanced visualization with faces:**\n\n```python\nfrom ete3 import Tree, TreeStyle, TextFace, CircleFace\n\ntree = Tree(\"tree.nw\")\n\n# Add features to nodes\nfor leaf in tree:\n    leaf.add_feature(\"habitat\", \"marine\" if \"fish\" in leaf.name else \"land\")\n\n# Layout function\ndef layout(node):\n    if node.is_leaf():\n        # Add colored circle\n        color = \"blue\" if node.habitat == \"marine\" else \"green\"\n        circle = CircleFace(radius=5, color=color)\n        node.add_face(circle, column=0, position=\"aligned\")\n\n        # Add label\n        label = TextFace(node.name, fsize=10)\n        node.add_face(label, column=1, position=\"aligned\")\n\nts = TreeStyle()\nts.layout_fn = layout\nts.show_leaf_name = False\n\ntree.render(\"annotated_tree.pdf\", tree_style=ts)\n```\n\n### 5. Clustering Analysis\n\nAnalyze hierarchical clustering results with data integration:\n\n- **ClusterTree**: Specialized class for clustering dendrograms\n- **Data matrix linking**: Connect tree leaves to numerical profiles\n- **Cluster metrics**: Silhouette coefficient, Dunn index, inter\u002Fintra-cluster distances\n- **Validation**: Test cluster quality with different distance metrics\n- **Heatmap visualization**: Display data matrices alongside trees\n\n**Clustering workflow:**\n\n```python\nfrom ete3 import ClusterTree\n\n# Load tree with data matrix\nmatrix = \"\"\"#Names\\tSample1\\tSample2\\tSample3\nGene1\\t1.5\\t2.3\\t0.8\nGene2\\t0.9\\t1.1\\t1.8\nGene3\\t2.1\\t2.5\\t0.5\"\"\"\n\ntree = ClusterTree(\"((Gene1,Gene2),Gene3);\", text_array=matrix)\n\n# Evaluate cluster quality\nfor node in tree.traverse():\n    if not node.is_leaf():\n        silhouette = node.get_silhouette()\n        dunn = node.get_dunn()\n\n        print(f\"Cluster: {node.name}\")\n        print(f\"  Silhouette: {silhouette:.3f}\")\n        print(f\"  Dunn index: {dunn:.3f}\")\n\n# Visualize with heatmap\ntree.show(\"heatmap\")\n```\n\n### 6. Tree Comparison\n\nQuantify topological differences between trees:\n\n- **Robinson-Foulds distance**: Standard metric for tree comparison\n- **Normalized RF**: Scale-invariant distance (0.0 to 1.0)\n- **Partition analysis**: Identify unique and shared bipartitions\n- **Consensus trees**: Analyze support across multiple trees\n- **Batch comparison**: Compare multiple trees pairwise\n\n**Compare two trees:**\n\n```python\nfrom ete3 import Tree\n\ntree1 = Tree(\"tree1.nw\")\ntree2 = Tree(\"tree2.nw\")\n\n# Calculate RF distance\nrf, max_rf, common_leaves, parts_t1, parts_t2 = tree1.robinson_foulds(tree2)\n\nprint(f\"RF distance: {rf}\u002F{max_rf}\")\nprint(f\"Normalized RF: {rf\u002Fmax_rf:.3f}\")\nprint(f\"Common leaves: {len(common_leaves)}\")\n\n# Find unique partitions\nunique_t1 = parts_t1 - parts_t2\nunique_t2 = parts_t2 - parts_t1\n\nprint(f\"Unique to tree1: {len(unique_t1)}\")\nprint(f\"Unique to tree2: {len(unique_t2)}\")\n```\n\n**Compare multiple trees:**\n\n```python\nimport numpy as np\n\ntrees = [Tree(f\"tree{i}.nw\") for i in range(4)]\n\n# Create distance matrix\nn = len(trees)\ndist_matrix = np.zeros((n, n))\n\nfor i in range(n):\n    for j in range(i+1, n):\n        rf, max_rf, _, _, _ = trees[i].robinson_foulds(trees[j])\n        norm_rf = rf \u002F max_rf if max_rf > 0 else 0\n        dist_matrix[i, j] = norm_rf\n        dist_matrix[j, i] = norm_rf\n```\n\n## Installation and Setup\n\nInstall ETE toolkit:\n\n```bash\n# Basic installation\nuv pip install ete3\n\n# With external dependencies for rendering (optional but recommended)\n# On macOS:\nbrew install qt@5\n\n# On Ubuntu\u002FDebian:\nsudo apt-get install python3-pyqt5 python3-pyqt5.qtsvg\n\n# For full features including GUI\nuv pip install ete3[gui]\n```\n\n**First-time NCBI Taxonomy setup:**\n\nThe first time NCBITaxa is instantiated, it automatically downloads the NCBI taxonomy database (~300MB) to `~\u002F.etetoolkit\u002Ftaxa.sqlite`. This happens only once:\n\n```python\nfrom ete3 import NCBITaxa\nncbi = NCBITaxa()  # Downloads database on first run\n```\n\nUpdate taxonomy database:\n\n```python\nncbi.update_taxonomy_database()  # Download latest NCBI data\n```\n\n## Common Use Cases\n\n### Use Case 1: Phylogenomic Pipeline\n\nComplete workflow from gene tree to ortholog identification:\n\n```python\nfrom ete3 import PhyloTree, NCBITaxa\n\n# 1. Load gene tree with alignment\ntree = PhyloTree(\"gene_tree.nw\", alignment=\"alignment.fasta\")\n\n# 2. Configure species naming\ntree.set_species_naming_function(lambda x: x.split(\"_\")[0])\n\n# 3. Detect evolutionary events\ntree.get_descendant_evol_events()\n\n# 4. Annotate with taxonomy\nncbi = NCBITaxa()\nfor leaf in tree:\n    if leaf.species in species_to_taxid:\n        taxid = species_to_taxid[leaf.species]\n        lineage = ncbi.get_lineage(taxid)\n        leaf.add_feature(\"lineage\", lineage)\n\n# 5. Extract ortholog groups\northo_groups = tree.get_speciation_trees()\n\n# 6. Save and visualize\nfor i, ortho in enumerate(ortho_groups):\n    ortho.write(outfile=f\"ortho_{i}.nw\")\n```\n\n### Use Case 2: Tree Preprocessing and Formatting\n\nBatch process trees for analysis:\n\n```bash\n# Convert format\npython scripts\u002Ftree_operations.py convert input.nw output.nw --in-format 0 --out-format 1\n\n# Root at midpoint\npython scripts\u002Ftree_operations.py reroot input.nw rooted.nw --midpoint\n\n# Prune to focal taxa\npython scripts\u002Ftree_operations.py prune rooted.nw pruned.nw --keep-taxa taxa_list.txt\n\n# Get statistics\npython scripts\u002Ftree_operations.py stats pruned.nw\n```\n\n### Use Case 3: Publication-Quality Figures\n\nCreate styled visualizations:\n\n```python\nfrom ete3 import Tree, TreeStyle, NodeStyle, TextFace\n\ntree = Tree(\"tree.nw\")\n\n# Define clade colors\nclade_colors = {\n    \"Mammals\": \"red\",\n    \"Birds\": \"blue\",\n    \"Fish\": \"green\"\n}\n\ndef layout(node):\n    # Highlight clades\n    if node.is_leaf():\n        for clade, color in clade_colors.items():\n            if clade in node.name:\n                nstyle = NodeStyle()\n                nstyle[\"fgcolor\"] = color\n                nstyle[\"size\"] = 8\n                node.set_style(nstyle)\n    else:\n        # Add support values\n        if node.support > 0.95:\n            support = TextFace(f\"{node.support:.2f}\", fsize=8)\n            node.add_face(support, column=0, position=\"branch-top\")\n\nts = TreeStyle()\nts.layout_fn = layout\nts.show_scale = True\n\n# Render for publication\ntree.render(\"figure.pdf\", w=200, units=\"mm\", tree_style=ts)\ntree.render(\"figure.svg\", tree_style=ts)  # Editable vector\n```\n\n### Use Case 4: Automated Tree Analysis\n\nProcess multiple trees systematically:\n\n```python\nfrom ete3 import Tree\nimport os\n\ninput_dir = \"trees\"\noutput_dir = \"processed\"\n\nfor filename in os.listdir(input_dir):\n    if filename.endswith(\".nw\"):\n        tree = Tree(os.path.join(input_dir, filename))\n\n        # Standardize: midpoint root, resolve polytomies\n        midpoint = tree.get_midpoint_outgroup()\n        tree.set_outgroup(midpoint)\n        tree.resolve_polytomy(recursive=True)\n\n        # Filter low support branches\n        for node in tree.traverse():\n            if hasattr(node, 'support') and node.support \u003C 0.5:\n                if not node.is_leaf() and not node.is_root():\n                    node.delete()\n\n        # Save processed tree\n        output_file = os.path.join(output_dir, f\"processed_{filename}\")\n        tree.write(outfile=output_file)\n```\n\n## Reference Documentation\n\nFor comprehensive API documentation, code examples, and detailed guides, refer to the following resources in the `references\u002F` directory:\n\n- **`api_reference.md`**: Complete API documentation for all ETE classes and methods (Tree, PhyloTree, ClusterTree, NCBITaxa), including parameters, return types, and code examples\n- **`workflows.md`**: Common workflow patterns organized by task (tree operations, phylogenetic analysis, tree comparison, taxonomy integration, clustering analysis)\n- **`visualization.md`**: Comprehensive visualization guide covering TreeStyle, NodeStyle, Faces, layout functions, and advanced visualization techniques\n\nLoad these references when detailed information is needed:\n\n```python\n# To use API reference\n# Read references\u002Fapi_reference.md for complete method signatures and parameters\n\n# To implement workflows\n# Read references\u002Fworkflows.md for step-by-step workflow examples\n\n# To create visualizations\n# Read references\u002Fvisualization.md for styling and rendering options\n```\n\n## Troubleshooting\n\n**Import errors:**\n\n```bash\n# If \"ModuleNotFoundError: No module named 'ete3'\"\nuv pip install ete3\n\n# For GUI and rendering issues\nuv pip install ete3[gui]\n```\n\n**Rendering issues:**\n\nIf `tree.render()` or `tree.show()` fails with Qt-related errors, install system dependencies:\n\n```bash\n# macOS\nbrew install qt@5\n\n# Ubuntu\u002FDebian\nsudo apt-get install python3-pyqt5 python3-pyqt5.qtsvg\n```\n\n**NCBI Taxonomy database:**\n\nIf database download fails or becomes corrupted:\n\n```python\nfrom ete3 import NCBITaxa\nncbi = NCBITaxa()\nncbi.update_taxonomy_database()  # Redownload database\n```\n\n**Memory issues with large trees:**\n\nFor very large trees (>10,000 leaves), use iterators instead of list comprehensions:\n\n```python\n# Memory-efficient iteration\nfor leaf in tree.iter_leaves():\n    process(leaf)\n\n# Instead of\nfor leaf in tree.get_leaves():  # Loads all into memory\n    process(leaf)\n```\n\n## Newick Format Reference\n\nETE supports multiple Newick format specifications (0-100):\n\n- **Format 0**: Flexible with branch lengths (default)\n- **Format 1**: With internal node names\n- **Format 2**: With bootstrap\u002Fsupport values\n- **Format 5**: Internal node names + branch lengths\n- **Format 8**: All features (names, distances, support)\n- **Format 9**: Leaf names only\n- **Format 100**: Topology only\n\nSpecify format when reading\u002Fwriting:\n\n```python\ntree = Tree(\"tree.nw\", format=1)\ntree.write(outfile=\"output.nw\", format=5)\n```\n\nNHX (New Hampshire eXtended) format preserves custom features:\n\n```python\ntree.write(outfile=\"tree.nhx\", features=[\"habitat\", \"temperature\", \"depth\"])\n```\n\n## Best Practices\n\n1. **Preserve branch lengths**: Use `preserve_branch_length=True` when pruning for phylogenetic analysis\n2. **Cache content**: Use `get_cached_content()` for repeated access to node contents on large trees\n3. **Use iterators**: Employ `iter_*` methods for memory-efficient processing of large trees\n4. **Choose appropriate traversal**: Postorder for bottom-up analysis, preorder for top-down\n5. **Validate monophyly**: Always check returned clade type (monophyletic\u002Fparaphyletic\u002Fpolyphyletic)\n6. **Vector formats for publication**: Use PDF or SVG for publication figures (scalable, editable)\n7. **Interactive testing**: Use `tree.show()` to test visualizations before rendering to file\n8. **PhyloTree for phylogenetics**: Use PhyloTree class for gene trees and evolutionary analysis\n9. **Copy method selection**: \"newick\" for speed, \"cpickle\" for full fidelity, \"deepcopy\" for complex objects\n10. **NCBI query caching**: Store NCBI taxonomy query results to avoid repeated database access\n",{"name":5,"description":7},"main","e3744adb7654df443f12927f3e001252b3a26b6d","cli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fetetoolkit","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates","https:\u002F\u002Fgithub.com\u002FKrismithReddy12","2026-07-29 08:15:10",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add KrismithReddy12\u002Fclaude-code-templates --skill etetoolkit",{"tool":35,"command":36},"bunx","bunx skills add KrismithReddy12\u002Fclaude-code-templates --skill etetoolkit",{"tool":38,"command":39},"pnpm","pnpm dlx skills add KrismithReddy12\u002Fclaude-code-templates --skill etetoolkit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fetetoolkit\u002FSKILL.md",true,[43,49,53,57,63],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"references\u002Fapi_reference.md","REFERENCE","参考文档",12736,"https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fetetoolkit\u002Freferences\u002Fapi_reference.md",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fvisualization.md",19529,"https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fetetoolkit\u002Freferences\u002Fvisualization.md",{"path":54,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fworkflows.md",18933,"https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fetetoolkit\u002Freferences\u002Fworkflows.md",{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"scripts\u002Fquick_visualize.py","SCRIPT","脚本",7156,"https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fetetoolkit\u002Fscripts\u002Fquick_visualize.py",{"path":64,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":65,"sourceHtmlUrl":66},"scripts\u002Ftree_operations.py",8235,"https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fetetoolkit\u002Fscripts\u002Ftree_operations.py",[68,75,84,91,98,105],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M79YMXJ07S2BQVB7JAM3657Q","zapier-make-patterns","No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points.  This skill covers when to use which platform, how to build reliable automations, and when to graduate to code-based solutions. Key insight: Zapier optimizes for simplicity and integrations (7000+ apps), Make optimizes for power","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fzapier-make-patterns\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":79,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M79YMVPMK3Y4JDP2KDJKQ2ZD","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M79YMMQ4XXMPJHDQHY8FR7ME","workflow-automation","Workflow automation is the infrastructure that makes AI agents reliable. Without durable execution, a network hiccup during a 10-step payment flow means lost money and angry customers. With it, workflows resume exactly where they left off.  This skill covers the platforms (n8n, Temporal, Inngest) and patterns (sequential, parallel, orchestrator-worker) that turn brittle scripts into production-grade automation.  Key insight: The platforms make different tradeoffs. n8n optimizes for accessibility","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fworkflow-automation\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M79YMHQY3CP1XXMQ00TGQFAW","trigger-dev","Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Ftrigger-dev\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":18},"01M79YME4Z3DRW0MT6BNYW1D7P","slack-automation","Automate Slack workspace operations including messaging, search, channel management, and reaction workflows through Composio's Slack toolkit.","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fslack-automation\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":18},"01M79YMAX7NFYDFXFZH2TJS7SS","planning-with-files","Transforms workflow to use Manus-style persistent markdown files for planning, progress tracking, and knowledge storage. Use when starting complex tasks, multi-step projects, research tasks, or when the user mentions planning, organizing work, tracking progress, or wants structured output.","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fplanning-with-files\u002FSKILL.md",[],[]]