Agent skill
file_explorer
高效的项目文件浏览器。当需要列出整个项目结构、模糊搜索文件或安全地读取(支持大文件分块)本地代码库内容时使用。
Install this agent skill to your Project
npx add-skill https://github.com/ArcaneOrion/Alice/tree/main/skills/file_explorer
SKILL.md
文件浏览器技能 (File Explorer)
此技能专为 Alice 探索复杂项目而设计,提供比原生 ls/cat 更安全、更高效的手段。
核心功能
- 项目树生成 (
--tree): 快速展示项目目录结构,支持忽略忽略文件。 - 模糊搜索 (
--search): 像fzf一样根据文件名快速定位。 - 安全读取 (
--read): 自动检测文件大小。如果文件过大,提供分块读取建议,防止上下文溢出。
使用方法
在终端运行:
# 查看项目树状结构 (深度默认为 2)
python skills/file_explorer/explorer.py --tree --depth 3
# 模糊搜索包含 "config" 的文件
python skills/file_explorer/explorer.py --search "config"
# 安全读取文件内容
python skills/file_explorer/explorer.py --read "agent.py"
注意事项
Alice 已被权限锁定。此技能仅能访问项目根目录下的文件。严禁尝试访问路径外的内容。
对于 10KB 以上的文件,请优先使用 --read 以获取安全分段。
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
akshare
使用 akshare 获取中国金融市场实时数据和历史数据。当需要查询A股、港股、美股、指数、基金、期货等金融产品的实时行情、历史数据、财务报表时使用该技能。
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
fetch
使用 fetch 服务器获取网页内容并将内容转换为 Markdown。当需要从互联网获取实时信息或阅读特定网页内容时使用该技能。
获取微博热搜榜实时数据。当需要查看微博热点、热门话题、实时舆情时使用该技能。
playwright_browser
基于Playwright的高级浏览器自动化技能。支持动态网页抓取、点击/输入模拟、百度搜索、页面快照、数据提取和批量图片下载。当需要处理JavaScript渲染的页面、模拟用户交互或自动化网页操作时使用此技能。
Didn't find tool you were looking for?