agentleFS
HighwayofLifeHighwayofLife/agent-kaizen/skills/flow/SKILL.md

flow

Skill1 starsChanged 31 days agoMITView on GitHub

Wire packet flow events into an orchestrator and read the report.

37 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use grill, implement and 5 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • renatorozasSkill

    grill

    Adversarial code review. Don't let me ship until the changes pass your scrutiny.

    Also in 3 projects that use this

  • Hugging FaceSkill

    implement

    Make tests pass. Invoke after /write-tests produces failing tests.

    Also in 5 projects that use this

  • SentrySkill

    spec

    Produce a verified spec — problem, desired outcome, and acceptance criteria — before building. Use when given a GitHub/Linear issue link, when starting from a fuzzy in-conversation idea, or asked to "figure out what to do" / "scope this" / "what should I build" — whenever the *what* isn't yet pinned down. Grills the ambiguities, checks the premise against the code, and produces acceptance criteria you sign off on — then hands to design-first.

    Also in 3 projects that use this

  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 3 projects that use this

  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 0 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 31 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

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

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

    Not in Claude Code?: Read docs/hosts.md in the plugin root first.

    line 11
  2. Very specific:

    Autonomy: follow ${CLAUDE_PLUGIN_ROOT}/docs/autonomy.md.

    line 17
  3. Very specific:

    Before the packet waits for a slot: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" queued || true

    line 23
  4. Very specific:

    When checks run: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" checks || true

    line 27
  5. Very specific:

    When review starts: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" review || true

    line 28
  6. Very specific:

    When approved to land: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" ready || true

    line 29
  7. Very specific:

    When finished successfully: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" landed || true

    line 30
  8. Very specific:

    When finished unsuccessfully: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" failed || true

    line 31

“Common” is measured: kept by at least 6 in 10 of the 31 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

Packet flow instrumentation

Plugin root: ${CLAUDE_PLUGIN_ROOT}. If that is still a ${...} placeholder, use the folder that contains skills/ (this file is skills/<name>/SKILL.md), and substitute that path, in quotes, wherever this skill uses CLAUDE_PLUGIN_ROOT. Not in Claude Code? Read docs/hosts.md in the plugin root first. Skip steps that only work in Claude Code, and follow its propose-only rule before changing any host configuration.

Show the owner where to record packet state changes in their dispatch, check, review and landing scripts, and how to read the resulting flow report.

Changes: proposed calls in the owner's scripts, only after the owner approves.

Autonomy: follow ${CLAUDE_PLUGIN_ROOT}/docs/autonomy.md. Do not edit the owner's scripts without approval, regardless of mode.

Task

Read ${CLAUDE_PLUGIN_ROOT}/docs/flow.md for the schema, local-append limits, 4096-byte line cap and report conventions. Use the same unique packet ID for every event for a packet. Record only states the script actually observed; do not log states that were not observed. Add || true to every call so a failed write never breaks the work. For example, with packet_id set by the orchestrator:

  • Before the packet waits for a slot: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" queued || true
  • While waiting for an engine or test slot: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" slot-wait || true
  • At dispatch start: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" dispatched || true
  • For each attempt, using its positive attempt number: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" "round-${round}" || true (round-N)
  • When checks run: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" checks || true
  • When review starts: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" review || true
  • When approved to land: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" ready || true
  • When finished successfully: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" landed || true
  • When finished unsuccessfully: "${CLAUDE_PLUGIN_ROOT}/scripts/packet-event" "$packet_id" failed || true

Keep the log private: record IDs and states, no brief text. Partial histories are reported as incomplete; missing events are never guessed. The default log is out/packet-events.jsonl. Local appends have filesystem limits and no network-filesystem locking promise; see the flow document before choosing a log location.

Run "${CLAUDE_PLUGIN_ROOT}/scripts/flow-report" for the default log, or add --events PATH for another log and --json for JSON. Read lead time from first event to terminal state, time per state, queue versus touch time, WIP and top waits using the definitions in the flow document. Incomplete packets have no lead time.

Offer to show the owner a diff of the proposed script edits and wait for approval before editing. Do not install anything automatically. To roll back, remove the calls and either keep or delete the log.

Done when

The owner has a proposed diff and knows how to run and interpret the report, including its limits and rollback. Apply script edits only after the owner approves.

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.