Skip to content
Skillpedia
Automations5.1k ยท #15107

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

Copy 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

Use this skill to help me: https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-files/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute โ†’

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-package or omh-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_card with 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 /rollback restores it and /diff session shows 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, blocked or 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

Is this skill useful?

0

Sign in to vote.

Comments

  • โ€ฆ

More skills from this repository

Similar skills