Agent skill
tree-view
Display directory tree structure with customizable depth, using fd and Python3 for fast and beautiful tree visualization.
Install this agent skill to your Project
npx add-skill https://github.com/Dwsy/agent/tree/main/skills/tree-view
SKILL.md
Tree View
Fast directory tree visualization using fd + Python3.
When to Use
- Need a quick overview of directory structure
- Want to see files organized hierarchically
- Default
treecommand is not available or too slow - Need customizable depth limits
Usage
# Show directory tree (default 2 levels)
bun ~/.pi/agent/skills/tree-view/cli.ts
# Show 3 levels deep
DEPTH=3 bun ~/.pi/agent/skills/tree-view/cli.ts
# Show 4 levels deep
DEPTH=4 bun ~/.pi/agent/skills/tree-view/cli.ts
Features
- Fast: Uses
fdfor efficient file discovery - Depth control: Environment variable
DEPTHcontrols levels - Clean output: Proper tree structure with branch characters
- Smart truncation: Long filenames are truncated for readability
Requirements
bun- Bun runtimefd- Fast alternative tofindpython3- For tree formatting
Output Format
docs/
├── adr/
│ └── 20240210-decision.md
├── issues/
│ ├── frontend/
│ │ └── 20240210-task.md
│ └── backend/
└── guides/
Notes
- Directories are shown with trailing
/ - Files are shown without trailing slash
- Names longer than 30 characters are truncated (
prefix...suffix)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
undo-redo
Use the undo_redo tool to rewind or reapply buffered file changes or inspect diffs without UI navigation. Use when you need to adjust or verify changes in the current session history.
exa
使用 Exa.ai API 进行高质量的互联网搜索。需要 EXA_API_KEY 环境变量。
backend-unit-test
后端单元测试技能。触发场景: - 用户要求运行/创建单元测试 - 用户要求验证数据 - 用户要求用 Maven 运行测试 - 关键词:test, maven test, junit, springboot test, 单元测试, 测试验证 核心:不改 pom,用 reactor 模式运行。
mermaid-flow-image
将流程需求整理为可渲染的 Mermaid(简化版/详细版),并通过 Kroki 生成可发送的高分辨率 PNG 图片。适用于“把架构流程画出来并直接发图”的场景。
web-browser
Allows to interact with web pages by performing actions such as clicking buttons, filling out forms, and navigating links. It works by remote controlling Google Chrome or Chromium browsers using the Chrome DevTools Protocol (CDP). When Claude needs to browse the web, it can use this skill to do so.
ralph-loop-gen
任务管理系统模板生成器 - 根据用户输入或JSON配置生成完整的任务管理结构(模板生成器,非直接执行器)
Didn't find tool you were looking for?