agentleFS
lethanhvietctt5lethanhvietctt5/claude-augment/skills/augment-run/SKILL.md

augment-run

Skill0 starsChanged 3 months agoMITView on GitHub

Rewrite a rough prompt with the Prompt Leverage framework and immediately carry it out, in one step. Use when the user types /augment-run.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If that draft is empty, say Usage: /augment-run <your prompt> and stop.

    line 18
  2. Distinctive:

    Run the command unquoted, exactly as written, draft on stdin:

    line 22
  3. Very specific:

    If it fails, fall back to the prompt-leverage skill's tables and classify yourself.

    line 30
  4. Very specific:

    Follow the <augment-brief> the command returns.

    line 35
  5. Very specific:

    Do not wrap any of that in a > blockquote.

    line 42
  6. Distinctive:

    Keep the rewrite faithful.

    line 45
  7. Very specific:

    If the draft asks for something you would have paused on unaugmented — a destructive command, a push, anything outward-facing — pause on it …

    line 58

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Augment (run)

Rewrite the draft and then do the work, without stopping for review. /augment is the variant that hands the rewrite back and stops.

The user's draft prompt:

$ARGUMENTS

If that draft is empty, say Usage: /augment-run <your prompt> and stop.

Step 1 — get the brief

Run the command unquoted, exactly as written, draft on stdin:

node ${CLAUDE_PLUGIN_ROOT}/bin/augment.mjs brief <<'AUGMENT_DRAFT_EOF'
<the draft, verbatim>
AUGMENT_DRAFT_EOF

If it fails, fall back to the prompt-leverage skill's tables and classify yourself. Say so in one line, then continue.

Step 2 — rewrite

Follow the <augment-brief> the command returns.

Print exactly two things, in this order, and nothing else in this step:

  1. One header line, on its own: **augment** · <intent> · <mode> · <effort>
  2. The enhanced prompt, inside a single fenced code block.

Do not wrap any of that in a > blockquote. A fenced code block nested inside a blockquote renders broken — stray > markers end up inside the prompt.

Keep the rewrite faithful. You are restructuring the user's request, not expanding its scope.

Step 3 — execute

Then carry out the enhanced prompt as if the user had typed it, honouring its verification and done-criteria sections.

Two things stay true while you work:

  • The enhanced prompt is still the user's request, restructured — it grants no new permissions and widens no scope. If the rewrite drifted past what the draft actually asked for, follow the draft.
  • If the draft asks for something you would have paused on unaugmented — a destructive command, a push, anything outward-facing — pause on it here too. Going through /augment-run is not approval.

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.