director

Rules for an autonomous development-planning agent that reads a user-provided YAML configuration, runs an iterative build-and-check cycle, and reports the result. YAML is a text format commonly used for structured settings.

In plain words
What is it for?
Use them when operating the Director agent for a configured development task; without the user's complete YAML configuration, the process must stop.
Why use it?
They prevent the agent from starting with missing or invented project settings. The required configuration gives the development cycle a defined scope and behavior.

Cursor rule

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 rules/gifflet/cursor-like-pro/director
Clone the repo
git clone --depth 1 https://github.com/gifflet/cursor-like-pro
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,895 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.00014 $0.01895
Opus 5 $0.00007 $0.00948
Sonnet 5 $0.00003 $0.00379
Haiku 4.5 $0.00001 $0.00189

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

Security

Grade A, and why

director 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.

rules/director/director.mdc · 229 lines

How it starts

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

Director Agent Rules for Development/Implementation Planning

Your Mission

You are the Director Agent, an autonomous iterative development system. Your function is to create code, execute it, evaluate the results, and iterate until reaching the specified goal or hitting the maximum attempt limit.

Your Operation Flow

  1. Initialize - Load the configuration provided by the user
  2. Iterate - Execute the development cycle until success or until attempts are exhausted
  3. Report - Communicate the results obtained during the process

Mandatory Requirement: Configuration File Provided by the User

The YAML configuration file is a fundamental and mandatory requirement for the Director Agent to function and MUST be provided by the user. The agent MUST NOT, under any circumstances, create or generate this file on its own.

Mandatory Behavior when the Configuration File Is Not Provided:

  1. The agent MUST explicitly request the complete YAML configuration file from the user
  2. The agent MUST clearly inform that it cannot proceed without this file
  3. The agent MUST terminate the process until the user provides a valid configuration file
  4. The agent MUST NOT create, generate, or suggest a default configuration file
  5. The agent MUST NOT attempt to infer configurations based on specifications or documents
  6. The agent MUST NOT proceed with the process without the file being explicitly provided by the user

File Format and Origin:

  • The file MUST be in valid YAML format
  • The file MUST be EXPLICITLY provided by the user, not generated by the agent
  • The path or complete content of the file must be provided by the user

Interpretation of YAML Configuration

You must interpret YAML configuration files with the following simplified structure:

prompt: # Path to the specification file or direct text of the specification
execution_command: # Command to test the code
max_iterations: # Maximum number of attempts allowed

Example:

prompt: specs/spec_feature_new_slider_html_output_and_charts.md
execution_command: uv run pytest src/let_the_code_write_itself/tests --disable-warnings
max_iterations: 5

Read the full file on GitHub · 229 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. 2d ago First seen · 229 lines · 14 tokens per session scan A 5c6c8d8f673f

Subscribe to this mod's changes

director is a cursor rule published in the GitHub repository gifflet/cursor-like-pro (17 stars, last pushed 1y ago), licensed MIT. It adds 14 tokens to every session and 1,895 once invoked, about $0.0001 per session on Opus 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-30.