Display directory structure as an indented tree. Use for visualizing folder hierarchies and project structure.
Display directory structure as an indented tree. Use for visualizing folder hierarchies and project structure.
Recursively list directory contents in a tree-like format. Shows files and folders with indentation to visualize the complete directory structure.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: tree-tool
description: Display directory structure as an indented tree. Use for visualizing folder hierarchies and project structure.
---
# Tree - Directory Listing Tree
Recursively list directory contents in a tree-like format. Shows files and folders with indentation to visualize the complete directory structure.
## Usage
```bash
tree-tool [options] [path]
```
## Options
- `-L N`: Limit depth to N levels
- `-d`: Show directories only
- `-a`: Show hidden files
- `-h`: Print file sizes
- `-I pattern`: Exclude files matching pattern
## Examples
```bash
tree-tool
tree-tool -L 2 /home/user
tree-tool -d -L 1
```
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。