agentleFS
mphaxisemphaxise/gstack-port-for-codex/skills/careful/SKILL.md

careful

Skill4 starsChanged 4 months agoMITView on GitHub

Destructive-action guardrail for Codex. Use when the user wants extra caution around risky commands, production work, or irreversible changes.

26 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

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the work touches destructive commands, production systems, or changes that are hard to undo.

    line 8
  2. Distinctive:

    Treat deletion, force-pushes, history rewrites, production mutations, credential changes, destructive database operations, and bulk …

    line 14
  3. Distinctive:

    Prefer a safer alternative when one exists.

    line 22
  4. Distinctive:

    If the destructive action is still the right move, make the minimum necessary change and verify the result immediately.

    line 23
  5. Distinctive:

    Never treat destructive commands as routine.

    line 27
  6. Very specific:

    Treat chained commands, command substitution, and both lowercase -r and macOS/BSD uppercase -R as part of the destructive-command review.

    line 28
  7. Distinctive:

    Prefer reversible operations over irreversible ones.

    line 31

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “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

Careful

Use this skill when the work touches destructive commands, production systems, or changes that are hard to undo.

This port is adapted from garrytan/gstack at commit 94993f74012782fd94416dd44b8314f6363a13a4.

Protected Actions

Treat deletion, force-pushes, history rewrites, production mutations, credential changes, destructive database operations, and bulk replacement of user-authored files as protected actions. Inspect first, state the exact blast radius, and require an explicit user decision when the action is irreversible or materially broader than the request.

Safe read-only inspection, creation of new reversible artifacts, and narrowly scoped edits inside the authorized workspace do not need an extra confirmation merely because they use a shell command.

Workflow

  1. Identify the risky action before taking it.
  2. State the specific risk plainly.
  3. Prefer a safer alternative when one exists.
  4. If the destructive action is still the right move, make the minimum necessary change and verify the result immediately.

Guardrails

  • Never treat destructive commands as routine.
  • Treat chained commands, command substitution, and both lowercase -r and macOS/BSD uppercase -R as part of the destructive-command review. A safe final path does not make an earlier command or substituted path safe.
  • Prefer reversible operations over irreversible ones.
  • Be especially cautious around production, shared branches, and data deletion.

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.