agentleFS
Adrian333DevAdrian333Dev/flow/skills/knowledge/triggers-check/SKILL.md

triggers-check

Skill41 starsChanged 35 days agoMITView on GitHub

Checks whether every file change discussed, proposed or made had its guides loaded in time, from the transcript.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    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:

    Find each moment: Every point where a change to a file came up: discussed, proposed, drafted or edited, by the user or by you, tool call or …

    line 21
  2. Very specific:

    Name the guides it needed: Read ~/.flow/repos/flow/mods/flow-session/features/triggers/list.ts once: the file's entry, its send, and any …

    line 22
  3. Distinctive:

    The trigger: no entry, check or chat signal covered the moment.

    line 32
  4. Distinctive:

    No moment found → one line saying so, with the turns read.

    line 47

≈ “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

Triggers check

Find every moment a change to a file came up with a guide it needs out of context, and say who failed: the trigger or the agent. Report in the reply. Write nothing.

Scope

The user says what to read in their own words: "this window", "this and the previous window", "the last few windows", another session. No words → this window.

  • This window → already in context: read nothing for it.
  • Earlier windows → flow audit turns <session> gives each window's turns (SEG), flow audit read <session> --turns <from-to> --full opens them. "A few" → 3, and say so.
  • Other sessions → each session flow audit -- "<query>" lists, read the same way.

Steps

  1. Find each moment. Every point where a change to a file came up: discussed, proposed, drafted or edited, by the user or by you, tool call or none. One moment per file per stretch of work. Its time is the first proposal.
  2. Name the guides it needed. Read ~/.flow/repos/flow/mods/flow-session/features/triggers/list.ts once: the file's entry, its send, and any also entry that matches it.
  3. Find what was in context before the first proposal. A guide counts as loaded by:
    • your own Read of it
    • the mod's send: an [Auto] Before planning a change to … block (+ hook in flow audit read), or a line for this session in ~/.flow/logs/triggers/<year>-<month>.jsonl at or before that turn
    • the restart's load: the window opening with it attached
  4. Give each moment a verdict.
    • ok: every guide in context before the first proposal.
    • late: one arrived after the first proposal. A held log line is always late.
    • missed: one never arrived before the change was made, or before the discussion ended.
  5. Name who failed, on late or missed.
    • The trigger: no entry, check or chat signal covered the moment. Name the signal that would have caught it: the words, the path or the pattern in the chat at that point.
    • The agent: the guide was in context, and a step of it went unfollowed. Name the step.

Output

One block per moment, oldest first, then one line counting the verdicts:

turn 6 · docs/spec/rules.md, the guides section
  needed   writing.md, write-spec.md
  loaded   none: the section grepped, no guide sent
  verdict  missed · the trigger
  signal   "rewrite" beside a guide path, in the agent's own reply

No moment found → one line saying so, with the turns read.

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.