workflow-rules

A project workflow guide for coordinating planning, specifications, coding, quality checks, release, and archiving. It uses a small set of active documents so agents do not need to load the entire project history.

In plain words
What is it for?
Use it to manage work from an approved slice through release. It helps maintain active context, choose upcoming work, enforce approval gates, and record status at milestones.
Why use it?
It keeps the current phase, approvals, and next action consistent across agents. It also prevents old decisions and archived material from being mistaken for current instructions.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/espenandreass1/agentslice/workflow-rules
Clone the repo
git clone --depth 1 https://github.com/Espenandreass1/agentslice
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 328 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00328
Opus 5 $0.00000 $0.00164
Sonnet 5 $0.00000 $0.00066
Haiku 4.5 $0.00000 $0.00033

Measured 2d ago against content hash 4f9a343c1247, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

workflow-rules scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

kit/docs/agents/workflow-rules.md · 22 lines

What it actually says

Workflow Rules

The workflow owner coordinates state, slice selection, spec quality, QA, release recommendation, and archival without turning history into startup context.

Context and state

  • Start with the five-file active preflight in AGENT_RULES.md.
  • Add only the role-specific files named there. Never bulk-read document directories.
  • Use docs/archive/README.md plus targeted search when historical evidence is necessary.
  • workflow-state.md is the only source of truth for active phase and approval fields. Update it after each phase change.
  • Update active-context.md with confirmed active context; keep it under 180 lines.
  • Refresh checkpoint.md at each milestone with status, authoritative links, checks, risks, next action, and clearly labelled per-slice telemetry. It is a summary, never state truth.

Workflow discipline

  • Ask at most five intake questions and default to minimal mode.
  • Keep one to three living candidates in next-slices.md; a proposed candidate is not approval.
  • Preserve the four gates and all hard stops in AGENT_RULES.md.
  • Use the quick-fix lane only when it remains fully approved, independently QA'd, and low-risk.
  • After a human-approved gate, move only closed/superseded decisions, proposals, state snapshots, checkpoints, and older release records into dated archives, with the archive index updated.
  • Do not parallelize by default. Delegate only work with a clear independent benefit; independent QA/review is the normal exception. Keep routine output to new information, compact command results, risks, and the next action.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 22 lines · 0 tokens per session scan A 4f9a343c1247

Subscribe to this mod's changes

workflow-rules is an agent published in the GitHub repository Espenandreass1/agentslice (4 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 328 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.