omh-files
What it does
It scopes a file task to the right folder, confirms before any deletion or overwrite, and reports only what the file results show. It is for people organizing or cleaning up files on their computer.
When to use it
- โWhen you want a folder cleaned up or old files archived.
- โWhen you need files renamed or moved in bulk.
- โWhen you want to delete files without risking the wrong ones.
Skill link
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-files/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentโs skills folder.
Example of what to ask your AI
โList the files in my reports folder and move old PDFs into an archive, after I confirm the list.โ
5 new skills a week. 1 minute to read.
How it works
The agent confirms the folder scope, lists the targets, asks you to confirm any move or delete, and then reports the results. It notes whether a backup or checkpoint covers the files first.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Workspace File Operator
This is an OMH workspace-file-operator workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
workspace-file-operator exists because a delete, overwrite, or bulk move often has no undo point: it scopes the path, confirms each destructive step, records beforehand whether a checkpoint covers the target (Hermes takes none unless checkpoints are on), and reports only what file evidence shows.
Do Not Use When
- An ordinary list, search, read, or one-file edit inside a known folder; use the native file tools directly.
- The request converts files or produces a deck, PDF, or attachment; use
omh-materials-packageoromh-deliverable-package.
Examples
Good example:
- Prompt: workspace-file-operator list files in the reports folder and move old PDFs into archive after confirmation.
- Expected behavior: Produce
prepare_workspace_file_operator_cardwith required context, wrapper actions, and not-evidence boundaries. - Why: The prompt names a real workflow surface that Hermes can orchestrate without hiding execution.
Bad example:
- Prompt: workspace-file-operator delete every matching file without path scope or confirmation.
- Expected behavior: Report the missing observed evidence or authority instead of claiming the external step happened.
- Why: Prepared OMH guidance is not platform, runtime, connector, file, memory, or delivery evidence.
Completion Checklist
- The path root, allowed file operations, excluded paths, destructive-operation policy, and stop condition are explicit.
- Delete, overwrite, move, rename, permission change, archive mutation, upload, and download are gated, or marked missing and not run.
- With nobody to answer the confirmation (a scheduled job, a one-shot run, a webhook run), an irreversible or externally visible action is not run: it is handed to a person's turn and its confirmation is recorded as missing.
- Checkpoint availability is recorded before any destructive step, and the confirmation gate holds either way; without an observed checkpoint covering the target, a reversible copy or a move to trash comes first.
- Directory listings, file contents, hashes, diffs, and operation results are reported only from observed file evidence.
Recovery Notes
- If the target path or folder is missing, ask for the smallest path scope needed before preparing the operation.
- If delete, overwrite, move, rename, chmod, or irreversible cleanup is requested, require an explicit confirmation gate.
- If the request is file conversion, deck/PDF export, or attachment delivery, route to materials-package or deliverable-package instead.
- On Hermes, when a checkpoint covers the change, the user's
/rollbackrestores it and/diff sessionshows what the session changed since the checkpoint baseline; cite either only after the user runs it. - On Hermes, a write that its own file guards refuse or hold for approval (a sensitive system path, a protected instruction file) is that gate's outcome to record,
blockedor the user's answer, never a write to retry through another tool.
When to Use
Use when Hermes should prepare or supervise local workspace/file-system operations such as listing, searching, organizing, copying, moving, renaming, archiving, or deleting files without claiming the operation ran.
Strong routing signals: `workspace-file-operator`, `workspace file operator`, `file operator`, `file operation`, `file operations`, `filesystem task`, `filesystem operation`, `file system task`, `file system operation`, `list files`, `list folder`, `list directory`, `find local files`, `search files`, `organize files`, `organize folder`, `move file`, `move files`, `copy file`, `copy files`, `rename file`, `rename files`, `delete file`, `delete files`, `remove file`, `remove files`, `archive files`, `downloads folder`, `reports folder`, `folder cleanup`, `file cleanup`, `ํ์ผ ์์
`, `ํ์ผ ์กฐ์`, `ํ์ผ ์ ๋ฆฌ`, `ํ์ผ ๊ฒ์`, `ํ์ผ ์ฐพ์`, `ํ์ผ ์ด๋`, `ํ์ผ ๋ณต์ฌ`, `ํ์ผ ์ด๋ฆ ๋ณ๊ฒฝ`, `ํ์ผ ์ญ์ `, `ํด๋ ์ ๋ฆฌ`, `๋ค์ด๋ก๋ ํด๋`, `๋๋ ํฐ๋ฆฌ ๋ชฉ๋ก`
Catalog Metadata
Category: filesystem
Phase: file-task
Quality tier: workflow-surface-gated
Reasoning demand: standard
Quality bar:
- Name the user-facing workflow objective, required context, next action, and stop condition.
- Separate prepared guidance from observed platform, runtime, connector, file, memory, or delivery evidence.
- Expose missing tools, credentials, targets, or observations as user
FAQ
Will it delete files without asking?
No. Deletions and overwrites need your confirmation first.
Does it make a backup for me?
It checks whether a checkpoint covers the files; it does not assume one exists.
Does it convert or create documents?
No. Creating or converting files is covered by a materials skill.
Details
Original description by the author
[omh] Folder cleanup, renames, or deletions: policy overlay for local file tasks - add path scoping and destructive-action gates after preferring native file tools for ordinary list, search, organize, copy, move, and rename actions. Use when the user says: workspace-file-operator, workspace file operator, file operator, file operation, file operations, filesystem task, filesystem operation, file system task.
repo: rlaope/oh-my-hermes
Popularity
- GitHub stars
- 5.1k
- Ranking position
- #15107
- License
- MIT
- Updated
- 11/2/2026
Comments
- โฆ
More skills from this repository
omh-accessibility-audit
5.1kHelps your agent check a screen or flow for accessibility gaps, such as keyboard use, screen reader labels, contrast, and touch target size.
omh-adversarial-consensus
5.1kHelps your agent attack a technical proposal from several independent angles before you commit to it, then sums up what survives.
omh-agent-debug
5.1kHelps your agent work out why another AI agent is stuck, looping, or drifting, and suggests the smallest safe way to recover.
omh-agent-instructions
5.1kHelps your agent write or update the instruction file, such as AGENTS.md or CLAUDE.md, that tells AI tools how to work in a project.
Similar skills
knowledge-automation
394kHelps your agent set up a recurring job that brings new content into your Knowledge vault on a schedule, then checks that the job runs.
knowledge-source-ingest
394kHelps your agent keep a Knowledge vault current with new items from chat channels, feeds, or mailboxes, without re-adding what it already has.
benchmark
280kHelps your agent measure code speed and performance. It's useful for ensuring things are fast and finding slowness issues.