Skills for Real Engineers. Straight from my .agents directory.
decision-tree-analysis
Agent skill fromaipoch/medical-research-skills
Use when building a decision tree model in R and generating feature importance ranking outputs. Supports classification and regression, automatic task detection, parameter validation, model evaluation summaries, and exports of feature-importance tables and figures.
How to install decision-tree-analysis
npx skills add aipoch/medical-research-skills# or add only this skill to Claude Code: copy the folder
awesome-med-research-skills/Data Analysis/decision-tree-analysis/
# into
~/.claude/skills/decision-tree-analysis/ (all projects)
.claude/skills/decision-tree-analysis/ (one project)
1> **Source**: [https://github.com/aipoch/medical-research-skills](https://github.com/aipoch/medical-research-skills)23# Decision Tree Analysis45Use this skill to train a decision tree model from a tabular file and export feature importance ranking results.67## Use This Skill When89- You need a decision tree workflow in R for either classification or regression.10- You need feature importance ranking as a table and a figure.11- You need a command-line workflow with parameter validation and standardized output folders.1213## Primary Command1415```bash16Rscript scripts/main.R \17 --data_file <input_file> \18 --target_var <target_column> \19 --task_type <auto|classification|regression> \20 --output_dir <output_dir>21```2223## Prerequisites2425- `Rscript` is available in the shell.26- Required R packages: `optparse`, `data.table`, `rpart`.27- Install missing packages with `Rscript -e 'install.packages(c("optparse", "data.table", "rpart"), repos="https://cloud.r-project.org")'`.2829## Core Arguments3031| Argument | Required | Description |32|----------|----------|-------------|33| `--data_file` | Yes | Input data file in CSV, TXT, or TSV format |34| `--target_var` | Yes | Target column to predict |35| `--task_type` | No | `auto`, `classification`, or `regression`. Default `auto` |36| `--output_dir` | No | Output directory, default `./Decision_Tree_Results` |37| `--train_ratio` | No | Train set ratio between 0 and 1, default `0.7` |38| `--max_depth` | No | Maximum tree depth, default `5` |39…
Excerpt shown under the repository's MIT license.
More skills in medical-research-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
