Chuyển đến nội dung
Skillpedia
Tự động hóa5.1k · #15107

omh-files

Skill này làm gì

Skill này giới hạn một tác vụ tệp vào đúng thư mục, xác nhận trước mọi thao tác xóa hoặc ghi đè, và chỉ báo những gì kết quả tệp cho thấy. Skill dành cho người sắp xếp hoặc dọn dẹp tệp trên máy tính.

Khi nào nên dùng

  • ✓Khi bạn muốn dọn dẹp một thư mục hoặc lưu trữ các tệp cũ.
  • ✓Khi bạn cần đổi tên hoặc di chuyển tệp hàng loạt.
  • ✓Khi bạn muốn xóa tệp mà không có nguy cơ xóa nhầm.

Liên kết skill

https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-files/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-files/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Liệt kê các tệp trong thư mục reports của tôi và chuyển các PDF cũ vào một thư mục lưu trữ, sau khi tôi xác nhận danh sách.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent xác nhận phạm vi thư mục, liệt kê các mục tiêu, yêu cầu bạn xác nhận mọi thao tác di chuyển hoặc xóa, rồi báo kết quả. Agent ghi chú liệu có bản sao lưu hoặc điểm kiểm tra nào bao phủ các tệp đó trước không.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Nó có xóa tệp mà không hỏi không?

Không. Xóa và ghi đè cần bạn xác nhận trước.

Nó có tạo bản sao lưu cho tôi không?

Nó kiểm tra xem có điểm kiểm tra nào bao phủ các tệp không; nó không cho rằng có sẵn một bản.

Nó có chuyển đổi hoặc tạo tài liệu không?

Không. Tạo hoặc chuyển đổi tệp được bao phủ bởi một skill đóng gói tài liệu.

Chi tiết

Mô tả gốc của tác giả

[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

Độ phổ biến

Sao GitHub
5.1k
Vị trí xếp hạng
#15107
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự