agentleFS
bodish-coderbodish-coder/skillator/skills/screenshot-argus/SKILL.md

screenshot-argus

Skill1 starsChanged 2 months agoMITView on GitHub

Use when the user says "screenshots", "check the screenshots", "I dropped new screenshots", "test screenshots", "look at the latest run", or gives a screenshot directory path — test screenshots dropped in a project's screenshot folder that need acting on and then clearing. NOT for taking screenshots (use a browser/app skill for that) and NOT for permanent design assets — everything in that folder is treated as disposable.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Read .screenshot-dir at the repo root — one line, an absolute path.

    line 19
  2. Very specific:

    If it does not exist, ask the user for the path once, then write their answer to .screenshot-dir — not a placeholder, the path they …

    line 21
  3. Very specific:

    If the user gives a path in their message, that wins for this cycle, and write it to .screenshot-dir if the file is missing or points …

    line 28
  4. Very specific:

    No one to ask, and no .screenshot-dir?

    line 32
  5. Distinctive:

    Delete files, never the directory itself.

    line 61
  6. Distinctive:

    Delete only after the work is done and reported.

    line 62
  7. Distinctive:

    Never delete anything outside the screenshot directory.

    line 64
  8. Distinctive:

    If the user says "keep them" or "don't delete", skip step 6 and say so.

    line 65
  9. Distinctive:

    Run the cycle again from step 1.

    line 70

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

screenshot-argus — read, act, delete

The user drops screenshots in one folder. You read them, act, then delete the ones you read. The folder is a mailbox, not an archive.

The directory

Read .screenshot-dir at the repo root — one line, an absolute path.

If it does not exist, ask the user for the path once, then write their answer to .screenshot-dir — not a placeholder, the path they actually gave you:

<absolute path the user gave you>

If the user gives a path in their message, that wins for this cycle, and write it to .screenshot-dir if the file is missing or points somewhere else (ask before overwriting an existing different path).

No one to ask, and no .screenshot-dir? Say so in one line and stop — never guess a folder. A folder you found yourself (a screenshots/ at the root, Desktop, Downloads) is a guess: do not open, read, act on or delete any file in it. Reading it is already the breach; fixing what it shows is not a safe middle path. "Go ahead" / "don't ask" lets you skip questions, not pick the folder. Same if the file points somewhere other than a path you were given: use the given path for this cycle and leave .screenshot-dir as it is.

The cycle

  1. List — glob the directory for *.png *.jpg *.jpeg *.webp *.gif, sorted oldest first. Empty? Say so in one line and stop. Do not go looking elsewhere.
  2. Read every one with the Read tool. Every one, not a sample. Screenshot 4 is usually the one that explains screenshots 1–3.
  3. Understand before acting. State in 1–3 lines what the set shows: the screen, what is wrong or being asked for, and which files that maps to. If the screenshots are ambiguous — you cannot tell what the user wants changed — ask, and do not delete anything.
  4. Act. Make the fix or the change. This is normal work: find the code, edit it, run the check. Screenshots are the bug report, not the task list — if two of them show the same defect, that is one fix.
  5. Verify the way the project normally verifies (tests, build, run). If the change cannot be verified, say so plainly.
  6. Delete — and only now — exactly the files listed in step 1, by name. Files that appeared mid-cycle are next cycle's input; leave them.
  7. Report: what the screenshots showed, what changed, what was deleted.

Deletion rules

  • Delete files, never the directory itself.
  • Delete only after the work is done and reported. Work blocked, question pending, or user interrupted → screenshots stay.
  • Never delete anything outside the screenshot directory.
  • If the user says "keep them" or "don't delete", skip step 6 and say so.

Repeat rounds

The user will drop a new batch and say "again" / "recheck" / "still broken". Run the cycle again from step 1. Carry what you learned last round — a second round of the same screen means the first fix missed, so investigate rather than re-applying the same edit.

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.