agentleFS
patrickbdevaneypatrickbdevaney/hermes-max/skills/skill-process-gotchas/SKILL.md

skill-process-gotchas

Skill1 starsChanged 6 months agoMITView on GitHub

Common-sense traps a fast small model misses. Consult when a command behaves oddly.

  • Installs packages

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 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.

  • 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:

    TEST THAT NEEDS A RUNNING SERVER: start server backgrounded FIRST, then run the test, then kill the server.

    line 19
  2. Distinctive:

    Check the exit code ($?), don't assume silence = failure and retry.

    line 22

≈ “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
<!-- TRIGGERS WHEN: Common-sense traps a fast small model misses. -->

Things that are "obvious" but easy to get wrong. Check here before thrashing.

  • LONG-RUNNING PROCESS never exits → don't wait for it (see workflow-long-running-processes).
  • INTERACTIVE PROMPT (apt, npm init, ssh host-key, pip on conflict) hangs waiting for input → use non-interactive flags (-y, --yes, --no-input, DEBIAN_FRONTEND=noninteractive) or echo input.
  • WRONG WORKING DIR: each terminal tool call may reset cwd. Always cd into the project, or use absolute paths. If a file "doesn't exist," check pwd first.
  • VENV NOT ACTIVE: pip install then python can use different environments. Use the venv's python explicitly, or activate in the same command chain with &&.
  • PORT ALREADY IN USE: a failed prior run left a server bound. ss -ltn | grep <port>, kill the old PID before restarting.
  • TEST THAT NEEDS A RUNNING SERVER: start server backgrounded FIRST, then run the test, then kill the server. Don't run the test against nothing.
  • A COMMAND THAT PRINTS NOTHING may have succeeded (many unix tools are silent on success). Check the exit code ($?), don't assume silence = failure and retry.
  • BUILD/INSTALL IS SLOW not hung: npm install, cargo build, pip compile can take minutes. Give them a real timeout (300s+), don't kill at 30s and retry.
  • INFINITE RETRY: if the same command failed twice identically, the THIRD identical attempt will also fail. Change something or invoke workflow-stuck-detect-reset.

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.

Reviews can't be read right now.

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.