浏览文件系统

SkillFiles & storage

Use when you need to browse the project filesystem via Ordine, list directory contents, or get a recursive directory tree. Trigger words: browse files, view directories, filesystem browsing, directory tree, browse filesystem.

Use 浏览文件系统 in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add 浏览文件系统 and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the 浏览文件系统 skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

浏览文件系统Start free

What this skill tells your AI

The instructions your AI receives, as published by forge-town/ordine in skills/ordine-browse-filesystem/SKILL.md and read by Ahel’s review.

概述

Ordine 提供 filesystem API 用于浏览服务端可访问的文件系统目录,帮助确定 Pipeline 输入路径。

通过 CLI

CLI 当前不直接支持文件系统浏览。使用 REST API 操作。

通过 REST API

浏览目录

# 浏览根目录(默认)
curl -s http://localhost:9433/api/filesystem/browse | python3 -m json.tool

# 浏览指定目录
curl -s "http://localhost:9433/api/filesystem/browse?path=./src" | python3 -m json.tool
curl -s "http://localhost:9433/api/filesystem/browse?path=./packages/models/src/daos" | python3 -m json.tool

获取递归目录树

# 获取目录树
curl -s "http://localhost:9433/api/filesystem/tree?path=./src" | python3 -m json.tool

使用场景

确定 Pipeline 输入路径

在运行 Pipeline 前,先浏览文件系统确认目标路径存在:

# 1. 浏览查看有哪些顶层目录
curl -s http://localhost:9433/api/filesystem/browse | python3 -m json.tool

# 2. 深入查看具体路径
curl -s "http://localhost:9433/api/filesystem/browse?path=./packages" | python3 -m json.tool

# 3. 确认目标路径后运行 Pipeline
ordine run pipe_check_dao -i ./packages/models/src/daos

检查输出目录

运行 Pipeline 后,检查输出是否生成:

curl -s "http://localhost:9433/api/filesystem/browse?path=./.ordine/results" | python3 -m json.tool

Signals

GitHub stars
28
Forks
2
Last commit
Oct 2026
Advanced
Item type
skill
Key
ordine-browse-filesystem
Source
github.com/forge-town/ordine