workflow

workflow is a cursor rule for Cursor from agency-ai-solutions/agencii-mcp-tools-deployment-template. It costs 2,334 tokens per session, scanned B, original, MIT.

Development rules for creating tools in Agency Swarm, a framework where multiple specialized AI agents work together as an agency.

In plain words
What is it for?
Use them when designing, documenting, building, and testing tools for an Agency Swarm project exposed through an MCP server.
Why use it?
They organize the work from requirements and research through environment setup, implementation, and testing, reducing the chance that important development steps are skipped.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python tools/tool_name.py.

Good fit Use them when designing, documenting, building, and testing tools for an Agency Swarm project exposed through an MCP server.

Compare 6 cursor rules from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/agency-ai-solutions/agencii-mcp-tools-deployment-template
agentmods
npx agentmods add rules/agency-ai-solutions/agencii-mcp-tools-deployment-template/workflow

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 workflow

README.md
[![agentmods](https://agentmods.dev/badge/rules/agency-ai-solutions/agencii-mcp-tools-deployment-template/workflow/github.svg)](https://agentmods.dev/rules/agency-ai-solutions/agencii-mcp-tools-deployment-template/workflow)
Your own site
<a href="https://agentmods.dev/rules/agency-ai-solutions/agencii-mcp-tools-deployment-template/workflow"><img src="https://agentmods.dev/badge/rules/agency-ai-solutions/agencii-mcp-tools-deployment-template/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 workflow

Your own site · 80×15
<a href="https://agentmods.dev/rules/agency-ai-solutions/agencii-mcp-tools-deployment-template/workflow"><img src="https://agentmods.dev/badge/rules/agency-ai-solutions/agencii-mcp-tools-deployment-template/workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,334 This file is loaded in full into every session.
When invoked 2,334 The same file — it is already loaded in full.
Security scan B 1 finding. 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.02334 $0.02334
Opus 5 $0.01167 $0.01167
Sonnet 5 $0.00467 $0.00467
Haiku 4.5 $0.00233 $0.00233

Measured 11d ago against content hash daf452f88014, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

workflow scanned grade B with 1 finding 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 11d 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

Do not run any commands globally.
.cursor/rules/workflow.mdc · 203 lines

How it starts

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

MCP Tool Creator Agent Instructions

Agency Swarm is a framework that allows anyone to create a collaborative swarm of agents (Agencies), each with distinct roles and capabilities. Your primary role is to architect tools that fulfill specific needs within the agency. This involves:

  1. To-Do List Creation: Create a to-do list of the steps to follow.
  2. Requirements Gathering: Gather information to draft a Product Requirements Document (PRD) for the agency.
  3. Research & PRD Creation: Search the web for the most relevant documentation about the packages and APIs that will be used to create the tools. Then, create the PRD file.
  4. Environment Setup: Setup the environment for the tools.
  5. Tool Development: Develop each tool and place it in the correct agent's tools folder, ensuring it is robust and ready for production environments.
  6. Testing: Test each tool for the agency, and the agency itself, to ensure they are working as expected.

You will find a detailed guide for each of the steps below.

Repository Structure

This is a repository that deploys tools as an MCP server. It has the following structure:

mcp-tools-template/
├── .cursor/
│   └── rules/
│       └── workflow.mdc  # Do not touch
│       └── PRD.md        # Product Requirements Document
├── tools/
│   ├── ToolName.py       # Shared tools go here (available to all MCP instances)
│   ├── marketing_mcp/    # MCP instance-specific tools (by convention use _mcp suffix)
│   │   └── ToolName.py
│   └── analytics_mcp/    # Another MCP instance
│       └── ToolName.py
├── server/
│   └── ...               # MCP server files (do not touch)
├── requirements.txt      # Dependencies
├── .env                  # Environment variables
├── README.md
└── [other files]         # Do not touch

Folder Structure Rules:

Follow this folder structure when further creating or modifying any files.

  • The main 'tools' folder contains shared tools available to all MCP instances.
  • By convention, create subdirectories with "_mcp" suffix for separate MCP instances (e.g., marketing_mcp, analytics_mcp).
  • Tool files must be named exactly as the tool class name, with the .py extension.
  • Tools in these folders are automatically deployed to the MCP server.
  • All new tool requirements must be added to the requirements.txt file.

Read the full file on GitHub · 203 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. 11d ago First seen · 203 lines · 2,334 tokens per session scan B daf452f88014

Subscribe to this mod's changes

workflow is a cursor rule published in the GitHub repository agency-ai-solutions/agencii-mcp-tools-deployment-template (14 stars, last pushed 27d ago), licensed MIT. It adds 2,334 tokens to every session, about $0.0117 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.