One sidebar. Every command. AI-powered.
CommandTree scans your project and surfaces all runnable commands across 22 tool types in a single tree view. Filter by tag, and run in terminal or debugger.
When GitHub Copilot is installed, CommandTree automatically generates plain-language summaries of every discovered command. Hover over any command to see what it does, without reading the script. Commands that perform dangerous operations (like rm -rf or force-push) are flagged with a security warning.
Summaries are stored locally and only regenerate when the underlying script changes.
- AI Summaries - GitHub Copilot describes each command in plain language, with security warnings for dangerous operations
- Auto-discovery - 22 command types including shell scripts, npm, Make, Python, PowerShell, Gradle, Cargo, Maven, Docker Compose, .NET, C# Script, F# Script, Mise, and more
- Quick Launch - Pin frequently-used commands to a dedicated panel at the top
- Tagging - Right-click any command to add or remove tags
- Filtering - Filter the tree by tag
- Run anywhere - Execute in a new terminal, the current terminal, or launch with the debugger
- Folder grouping - Commands grouped by directory with collapsible nested hierarchy
- Parameterized commands - Prompt for arguments before execution
- File watching - Automatic refresh when scripts or config files change
| Type | Source |
|---|---|
| Shell Scripts | .sh, .bash, .zsh files |
| NPM Scripts | package.json scripts |
| Makefile Targets | Makefile / makefile targets |
| VS Code Tasks | .vscode/tasks.json |
| Launch Configs | .vscode/launch.json |
| Python Scripts | .py files |
| PowerShell Scripts | .ps1 files |
| Gradle Tasks | build.gradle, build.gradle.kts |
| Cargo Tasks | Cargo.toml (Rust) |
| Maven Goals | pom.xml |
| Ant Targets | build.xml |
| Just Recipes | justfile |
| Taskfile Tasks | Taskfile.yml, Taskfile.yaml |
| Deno Tasks | deno.json, deno.jsonc |
| Rake Tasks | Rakefile (Ruby) |
| Composer Scripts | composer.json (PHP) |
| Docker Compose | docker-compose.yml, compose.yml |
| .NET Projects | .csproj, .fsproj |
| C# Scripts | .csx files |
| F# Scripts | .fsx files |
| Mise Tasks | .mise.toml, mise.toml, .mise/*.toml |
| Markdown Files | .md files |
Install from the VS Code Marketplace, or from source:
npm install
npm run package
code --install-extension commandtree-*.vsixOpen a workspace and the CommandTree panel appears in the sidebar. All discovered commands are listed by category.
- Run a command - Click the play button or right-click > "Run Command"
- Run in current terminal - Right-click > "Run in Current Terminal"
- Debug - Launch configurations run with the VS Code debugger
- Star a command - Click the star icon to pin it to Quick Launch
- Filter - Use the toolbar icons to filter by tag
- Tag commands - Right-click > "Add Tag" to group related commands
| Setting | Description | Default |
|---|---|---|
commandtree.enableAiSummaries |
Copilot-powered plain-language summaries and security warnings | true |
commandtree.excludePatterns |
Glob patterns to exclude from discovery | **/node_modules/**, **/.git/**, etc. |
commandtree.sortOrder |
Sort commands by folder, name, or type |
folder |
See CONTRIBUTING.md for development setup and guidelines. All pull requests must pass make ci before merging.
