Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add scut-jol/pocket-agent --skill demo_file_managergit clone --depth 1 https://github.com/scut-jol/pocket-agentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/scut-jol/pocket-agent/demo_file_manager)<a href="https://agentmods.dev/skills/scut-jol/pocket-agent/demo_file_manager"><img src="https://agentmods.dev/badge/skills/scut-jol/pocket-agent/demo_file_manager/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/scut-jol/pocket-agent/demo_file_manager"><img src="https://agentmods.dev/badge/skills/scut-jol/pocket-agent/demo_file_manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00023 | $0.02288 |
| Opus 5 | $0.00012 | $0.01144 |
| Sonnet 5 | $0.00005 | $0.00458 |
| Haiku 4.5 | $0.00002 | $0.00229 |
Grade A, and why
demo_file_manager scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.
文件管理示例技能
这是一个文件管理的示例技能,用于展示如何创建一个具有完整结构的技能。它包含文件操作、目录管理和文件分析等基础功能。
技能创建规范
文件名要求
- SKILL.md: 技能的主文档文件,必须使用这个文件名
- scripts/目录: 存放技能的执行脚本
- references/目录: 存放详细的参考文档
- 其他文件: 可以根据需要添加其他辅助文件
目录结构规范
demo_file_manager/
├── SKILL.md # 技能主文档(必须)
├── scripts/ # 脚本目录(建议)
│ ├── file_operations.py
│ └── file_analyzer.py
└── references/ # 参考文档目录(可选)
├── file_operations_guide.md
└── analysis_patterns.md
什么时候使用这个技能
当用户需要:
- 执行文件操作(创建、复制、移动、删除)
- 管理目录结构
- 分析文件信息和统计
- 批量处理文件
快速开始
创建文件和目录
# 创建一个新文件
python scripts/file_operations.py create --path "test.txt" --content "Hello World"
# 创建目录结构
python scripts/file_operations.py create-dir --path "project/src"
列出文件信息
# 列出目录内容
python scripts/file_operations.py list --path "."
# 获取文件详细信息
python scripts/file_operations.py info --path "test.txt"
常见任务流程
任务1:创建项目目录结构
情景:需要为新项目创建标准的目录结构
流程:
- 确定项目名称和根目录
- 创建标准的子目录(src, docs, tests)
- 创建基础文件(README.md, requirements.txt)
- 验证目录结构是否正确
示例:
# 创建项目目录结构
python scripts/file_operations.py create-project --name "my-project" --template "python"
# 验证目录结构
python scripts/file_operations.py list --path "my-project" --recursive
任务2:批量处理文件
情景:需要对一批文件进行同样的操作
流程:
- 确定要处理的文件类型和目录
- 执行批量操作(重命名、移动、删除)
- 检查操作结果
- 生成操作报告
示例:
# 批量重命名文件
python scripts/file_operations.py batch-rename --dir "." --pattern "*.txt" --prefix "new_"
# 批量移动文件
python scripts/file_operations.py batch-move --source "." --target "archive/" --pattern "*.log"
任务3:分析目录结构
情景:需要了解目录的结构和文件分布
流程:
- 扫描目录结构
- 统计文件类型和大小
- 生成统计报告
- 提出优化建议
示例:
# 分析目录结构
python scripts/file_analyzer.py analyze --path "."
# 生成详细报告
python scripts/file_analyzer.py analyze --path "." --detailed
工具使用指南
文件操作工具 (file_operations.py)
这个工具用于执行基础的文件操作。
参数说明:
create: 创建文件create-dir: 创建目录list: 列出目录内容info: 获取文件信息create-project: 创建项目目录结构batch-rename: 批量重命名batch-move: 批量移动
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 347 lines · 23 tokens per session scan A 9472c4c68fdd
demo_file_manager is a skill published in the GitHub repository scut-jol/pocket-agent (3 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 2,288 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
orbit-notion
Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…
agentmail
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by your inbox assignment.
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
pinchtab-mcp
Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
peekaboo
Capture and automate macOS UI with the Peekaboo CLI.