agentleFS
MacroTechTitanMacroTechTitan/MaximusAI/skills/file-ops/SKILL.md

file-ops

Skill1 starsChanged 4 months agoMITView on GitHub

Create, edit, or reorganize files in the workspace. Use when the user wants a real artifact they can keep or when modifying existing files, rather than printing content into chat.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    When the user wants something they'll keep, edit, or run — a document, a script, a config — produce a real file, not a wall of text in chat.

    line 9
  2. Distinctive:

    When the answer is something they'll just read once, keep it in chat instead.

    line 18
  3. Distinctive:

    Before deleting or overwriting, confirm unless the user gave standing approval.

    line 34
  4. Distinctive:

    Don't write secrets into committed files.

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

File Operations

When the user wants something they'll keep, edit, or run — a document, a script, a config — produce a real file, not a wall of text in chat.

When to use

  • The output is a standalone artifact (a script, doc, config, dataset).
  • The output is long (more than a screen) or the user will edit/reuse it.
  • The user said "save", "write a file", "create", or named a path/format.

When the answer is something they'll just read once, keep it in chat instead.

Procedure

  1. Confirm the target. Know the path and format before writing. If editing an existing file, read it first — never blind-overwrite.
  2. Write to a working location, verify, then place the final artifact where the user expects it.
  3. For edits, change the minimum. Preserve everything you weren't asked to touch. Don't reformat or rewrite unrelated sections.
  4. Report what changed. One line: what file, what you did.

Gotchas

  • Reading before editing is non-negotiable — overwriting unseen content loses work.
  • Before deleting or overwriting, confirm unless the user gave standing approval.
  • Don't write secrets into committed files.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.