file-manager

A local file tool for opening files, showing them in the system file browser, finding files by name or pattern, and checking file details.

In plain words
What is it for?
It helps open documents or images, reveal a file in Finder or Explorer, search for files, and inspect their size, dates, or type. Actions outside the workspace may require approval.
Why use it?
It removes the need to switch between the coding agent and the operating system’s file manager for routine file tasks.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/ap3x-dev/ag3nt/file-manager
Any agent
npx skills add AP3X-Dev/AG3NT --skill file-manager
Clone the repo
git clone --depth 1 https://github.com/AP3X-Dev/AG3NT

Made for: Claude Code, Codex.

Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 759 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00031 $0.00759
Opus 5 $0.00015 $0.00380
Sonnet 5 $0.00006 $0.00152
Haiku 4.5 $0.00003 $0.00076

Measured 3d ago against content hash fa6948624ec4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/file_ops.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/file-manager/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

File Manager Skill

This skill provides file management operations on the local system. It can open files, reveal them in the file explorer, and search for files.

⚠️ Security Note

Operations on files outside the workspace require user approval. The agent will pause and ask for confirmation before:

  • Opening files outside the current project
  • Revealing files in external locations
  • Executing any file operations on system directories

When to Use

  • User asks to "open" a document, image, or file
  • User wants to "show in explorer" or "reveal in finder"
  • User needs to find a file on their system
  • User asks about file details (size, dates, type)

Available Commands

Open File

Opens a file with its default application.

python scripts/file_ops.py open "/path/to/document.pdf"

Examples:

  • Open a PDF: open ~/Documents/report.pdf
  • Open an image: open ./screenshot.png
  • Open a URL: open https://example.com

Reveal in Explorer/Finder

Shows the file in the system file manager, with the file selected.

python scripts/file_ops.py reveal "/path/to/file.txt"

Search for Files

Search for files by name or pattern.

python scripts/file_ops.py search "*.pdf" --location ~/Documents
python scripts/file_ops.py search "report" --location ~/Documents --recursive

Get File Info

Get detailed information about a file.

python scripts/file_ops.py info "/path/to/file.txt"

Returns: size, creation date, modification date, file type, permissions.

Platform Support

Operation Windows macOS Linux
Open file os.startfile open xdg-open
Reveal explorer /select open -R xdg-open (folder)
Search dir /s mdfind find

Notes

  • File paths can be absolute or relative to current directory
  • Use forward slashes / or escaped backslashes \\ on Windows
  • URLs are also supported for the open command
  • Search is case-insensitive on Windows and macOS

Read the full file on GitHub · 113 lines

Files

What ships with it

1 file 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.

Changes

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.

  1. 3d ago First seen · 113 lines · 31 tokens per session scan A fa6948624ec4

Subscribe to this mod's changes

file-manager is a skill published in the GitHub repository AP3X-Dev/AG3NT (9 stars, last pushed 3mo ago), licensed MIT. It adds 31 tokens to every session and 759 once invoked, about $0.0002 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.