agent-workflow

agent-workflow is a cursor rule for Cursor from otis22/vetmanager-mcp. It costs 5,292 tokens per session, scanned A, original, MIT.

A set of rules for organizing AI-agent work from a product requirements document to a work plan and individual tasks. A work plan is a simple list of planned work and its status.

In plain words
What is it for?
Use it to plan and sequence software changes, create task requirements, check dependencies, and keep the project’s work queue consistent.
Why use it?
It prevents agents from choosing unfinished dependent work, skipping required planning, or adding untracked tasks. It also requires key design decisions and fallback plans to be recorded.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions CLAUDE.md; mentions subagents; runs codex exec.

Good fit Use it to plan and sequence software changes, create task requirements, check dependencies, and keep the project’s work queue consistent.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/otis22/vetmanager-mcp/agent-workflow
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.

Clone the repo
git clone --depth 1 https://github.com/otis22/vetmanager-mcp

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-workflow

README.md
[![agentmods](https://agentmods.dev/badge/rules/otis22/vetmanager-mcp/agent-workflow/github.svg)](https://agentmods.dev/rules/otis22/vetmanager-mcp/agent-workflow)
Your own site
<a href="https://agentmods.dev/rules/otis22/vetmanager-mcp/agent-workflow"><img src="https://agentmods.dev/badge/rules/otis22/vetmanager-mcp/agent-workflow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-workflow

Your own site · 80×15
<a href="https://agentmods.dev/rules/otis22/vetmanager-mcp/agent-workflow"><img src="https://agentmods.dev/badge/rules/otis22/vetmanager-mcp/agent-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,292 This file is loaded in full into every session.
When invoked 5,292 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.05292 $0.05292
Opus 5.5 $0.02117 $0.02117
Sonnet 5.5 $0.01058 $0.01058
Haiku 4.5 $0.00529 $0.00529

Measured today against content hash 71dee881007a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-workflow 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 today.

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.

.cursor/rules/agent-workflow.mdc · 237 lines

How it starts

The opening of the file, as written. The whole thing — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Project Workflow Rules

Тот же workflow, что в CLAUDE.md; история решений — в AssumptionLog.md.

0. Исполнитель и куратор

  • Исполнитель автономен внутри Roadmap/PRD и действующих гейтов: сам запускает команды, read-only снимки и diagnostics, промежуточных разрешений не просит.
  • Куратор назначает задачу, принимает финальные evidence, делает merge, deploy и monitoring. Команды не согласует, диагностику не дублирует, upstream jobs не создаёт.
  • Attestation — один раз на сессию: базовый SHA и версия правил. Resume без их изменения attestation не повторяет. Новая сессия после attestation продолжает с текущего шага по PRD, AssumptionLog.md и evidence без перепланирования.
  • Upstream report jobs: после успешного StartReport retry повторяет только failed poll/download по существующему file_id; новый StartReport на retry запрещён. При rate limit — ждать окно, серию jobs не создавать.
  • Эскалация — только при противоречии задачи правилам, изменении границ риска или продуктовом решении.

1. Workplan

  • Workplan-очередь хранится в Roadmap.md; закрытая история вне окна 20 номеров — в append-only Roadmap-archive.md
  • Формируется агентами на основе PRD
  • Содержит только:
    • название этапа / задачи
    • статус
  • Не содержит деталей реализации
  • Является единственным источником очереди работ

2. Выбор задачи

Агент выбирает задачу по правилам:

  • Только задачи со статусом todo
  • Без незавершённых зависимостей
  • Самая верхняя в списке
  • Запрещено:
    • брать несколько задач
    • перескакивать
    • создавать новые задачи вне Workplan

3. PRD задачи

Перед началом реализации агент обязан:

  • Создать PRD задачи в /PRD
  • Выполнить декомпозицию
  • Изучить связанные /artifacts после создания PRD и обновить PRD проверенными фактами
  • Добавить в новые PRD секцию Архитектурное решение:
    • проблема, которую решает выбранная архитектура;
    • контекст и ограничения: existing patterns, API/OpenAPI facts, security/privacy, backward compatibility, performance/load limits;
    • рассмотренные варианты с плюсами/минусами;
    • выбранное решение и почему оно лучше альтернатив;
    • инварианты, которые должны остаться истинными после реализации;
    • rollback/fallback, если решение окажется неверным или upstream поведение изменится.
  • Для задач, которые затрагивают auth, storage, public/API/MCP contract, production behavior, performance/load limits или cross-module ownership boundary, выполнить отдельный Architecture Critique gate через стороннюю сильную модель до обычного PRD-review.
  • PRD-review → детерминированная проверка → Spark → PRD-review сторонней моделью; устранять адекватные findings, повтор после существенных правок в пределах бюджета
  • Оценка PRD на простоту; после правок PRD повторить PRD-review gates

Read the full file on GitHub · 237 lines

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. today Changed · +2 tokens per session 71dee881007a
  2. 12d ago Changed · -12 lines · -22 tokens per session 4c1aa342363e
  3. 13d ago Changed · -54 lines · -543 tokens per session 496e361766c8
  4. 15d ago Changed · +13 lines · +906 tokens per session ee4b4a06f5a4
  5. 1mo ago Changed · +7 lines · +143 tokens per session 0d5915034474
  6. 2mo ago Changed · +14 lines · +928 tokens per session c830063c46cc
  7. 2mo ago Changed · +2 lines · +91 tokens per session 7a28149f3621
  8. 2mo ago Changed · +63 tokens per session 60c71cb29c10
  9. 3mo ago First seen · 267 lines · 3,724 tokens per session scan A bc16c51801c4

Subscribe to this mod's changes

agent-workflow is a cursor rule published in the GitHub repository otis22/vetmanager-mcp (1 stars, last pushed yesterday), licensed MIT. It adds 5,292 tokens to every session, about $0.0212 per session on Opus 5.5. 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.

Related

agent-workflow compared with cursor rules from other repositories

agent-workflow next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-workflowotis22/vetmanager-mcpCursor rule1yesterdayMITA5,292Cursor
swift-developmentmadebyaris/rakitui-aiCursor rule510mo agoMITA0Cursor
lighter-safetyiamgoatedaf/lighter-mcpCursor rule27mo agoMITA18Cursor
terminal-commandsbrettdavies/cursor-templateCursor rule11y agononeA1,291Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k4d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor