omh-files
できること
ファイルの作業を適切なフォルダーに限定し、削除や上書きの前には確認し、ファイルの結果だけを報告します。コンピューター上のファイルを整理またはクリーンアップしている人が対象です。
使う場面
- ✓フォルダーを整理して、古いファイルをアーカイブしたいとき。
- ✓多数のファイルの名前を変えたり、移動したりする必要があるとき。
- ✓間違ったファイルを危険にさらさずに、ファイルを削除したいとき。
スキルのリンク
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-files/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“レポートのフォルダーのファイルを一覧にし、私が確認した後で、古いPDFをアーカイブに移してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはフォルダーの範囲を確認し、対象を一覧にして、移動や削除の前にあなたの確認を求め、その後に結果を報告します。ファイルにバックアップやチェックポイントがあるかを、先に確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
確認せずにファイルを削除しますか?
いいえ。削除と上書きには、まずあなたの確認が必要です。
バックアップを代わりに作りますか?
チェックポイントがファイルを覆っているかを確認します。存在すると決めつけはしません。
文書を変換または作成しますか?
いいえ。ファイルの作成や変換は、資料のスキルで扱われます。
詳細
作者による元の説明
[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
人気
- GitHubのスター
- 5.1k
- ランキング
- #15107
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
omh-accessibility-audit
5.1kエージェントが、画面やフローのアクセシビリティ上の不足(キーボードでの操作、スクリーンリーダーのラベル、コントラスト、タッチの対象の大きさなど)を確認できるよう支援します。
omh-adversarial-consensus
5.1kエージェントが、技術的な提案を、いくつかの独立した視点から攻撃して、それに踏み切る前に検証し、生き残った点を要約できるよう支援します。
omh-agent-debug
5.1kエージェントが、ほかのAIエージェントがなぜ止まっているか、ループしているか、方向を外れているかを突き止め、最も小さく安全な回復方法を提案できるよう支援します。
omh-agent-instructions
5.1kエージェントが、AIツールにプロジェクトでの作業方法を伝える指示ファイル(AGENTS.mdやCLAUDE.mdなど)を書いたり更新したりできるよう支援します。