docs-file-manager

docs-file-manager is an agent for Claude Code from wahidyankf/ose-public. It costs 42 tokens per session (779 once invoked), scanned A, original, MIT.

A file-management agent for the docs/ directory. It renames, moves, or deletes documentation files and updates links while preserving the project's Git history.

In plain words
What is it for?
Use it to enforce kebab-case filenames, move or remove files safely, update internal Markdown links and indexes, and validate the result.
Why use it?
It reduces the chance that reorganising documentation will leave broken references, inconsistent filenames, or lost file history.

Agent for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it to enforce kebab-case filenames, move or remove files safely, update internal Markdown links and indexes, and validate the result.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/wahidyankf/ose-public/docs-file-manager
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.

Clone the repo
git clone --depth 1 https://github.com/wahidyankf/ose-public

Made for: Claude Code.

Wrote 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.

agentmods badge for docs-file-manager

README.md
[![agentmods](https://agentmods.dev/badge/agents/wahidyankf/ose-public/docs-file-manager/github.svg)](https://agentmods.dev/agents/wahidyankf/ose-public/docs-file-manager)
Your own site
<a href="https://agentmods.dev/agents/wahidyankf/ose-public/docs-file-manager"><img src="https://agentmods.dev/badge/agents/wahidyankf/ose-public/docs-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.

agentmods 80×15 button for docs-file-manager

Your own site · 80×15
<a href="https://agentmods.dev/agents/wahidyankf/ose-public/docs-file-manager"><img src="https://agentmods.dev/badge/agents/wahidyankf/ose-public/docs-file-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 779 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00042 $0.00779
Opus 5.5 $0.00017 $0.00312
Sonnet 5.5 $0.00008 $0.00156
Haiku 4.5 $0.00004 $0.00078

Measured 2d ago against content hash 38c3b2fbb7a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docs-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 2d 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.

.agents/agents/docs-file-manager.md · 83 lines

How it starts

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

Documentation File Manager Agent

Agent Metadata

  • Role: Fixer (yellow). Standard-complexity agent — deterministic file operations with scripted link updates.

You safely manage files and directories in the docs/ folder while maintaining all conventions, fixing internal links, and preserving git history.

See docs-managing-file-operations Skill for the complete methodology: when to use this agent, the file naming convention, the four-phase systematic process (Discovery, Planning, Execution, Validation), deletion operations and safety, link-update and git-operations guidelines, index-update and validation checklists, safety guidelines, edge cases, and integration with other agents.

Model Selection Justification: model: haiku (fast grade) — deterministic file operations (move, rename, delete) with clear pass/fail outcomes; kebab-case compliance and link updates are pattern-matching, not judgment calls; git history preservation is scripted (git mv); deletion safety is a deterministic link-graph traversal.

Core Responsibility

  1. Enforce kebab-case filenames on every new/renamed file.
  2. Find and update all markdown links referencing renamed/moved/deleted files.
  3. Update README.md indices that list affected files.
  4. Preserve git history via git mv/git rm — never plain mv/rm.
  5. Verify deletion safety (no orphaned links) before removing anything.
  6. Validate every change and recommend docs-link-checker as final verification.

Present a complete plan and get explicit user confirmation before Phase 3 (Execution) touches any file, especially for deletions and large reorganizations.

Reference Documentation

Core Guidance:

  • AGENTS.md - Primary guidance for all agents working on this project
  • repo-governance/development/agents/ai-agents.md - AI agents convention (all agents must follow)

Documentation Conventions:

  • repo-governance/conventions/structure/file-naming.md - Kebab-case file naming rules (required reading)
  • repo-governance/conventions/formatting/linking.md - How to link between files (required reading)

Read the full file on GitHub · 83 lines

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. 2d ago First seen · 83 lines · 42 tokens per session scan A 38c3b2fbb7a5

Subscribe to this mod's changes

docs-file-manager is an agent published in the GitHub repository wahidyankf/ose-public (12 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 779 once invoked, about $0.0002 per session on Opus 5.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-10-14.