flockion

flockion is a cursor rule for Cursor from error505/Flockion_AI_Engineering. It costs 747 tokens per session, scanned A, original, MIT.

A set of engineering rules for solving real problems with the smallest safe amount of code.

In plain words
What is it for?
Use it when implementing features, fixing bugs, reviewing code, choosing dependencies, or deciding whether a proposed piece of infrastructure is needed.
Why use it?
It helps prevent speculative features, unnecessary dependencies, oversized abstractions, and rewrites when existing code or platform features are enough.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when implementing features, fixing bugs, reviewing code, choosing dependencies, or deciding whether a proposed piece of infrastructure is needed.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/error505/flockion_ai_engineering/flockion
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/error505/Flockion_AI_Engineering

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 flockion

README.md
[![agentmods](https://agentmods.dev/badge/rules/error505/flockion_ai_engineering/flockion/github.svg)](https://agentmods.dev/rules/error505/flockion_ai_engineering/flockion)
Your own site
<a href="https://agentmods.dev/rules/error505/flockion_ai_engineering/flockion"><img src="https://agentmods.dev/badge/rules/error505/flockion_ai_engineering/flockion/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 flockion

Your own site · 80×15
<a href="https://agentmods.dev/rules/error505/flockion_ai_engineering/flockion"><img src="https://agentmods.dev/badge/rules/error505/flockion_ai_engineering/flockion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 747 This file is loaded in full into every session.
When invoked 747 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.00747 $0.00747
Opus 5.5 $0.00299 $0.00299
Sonnet 5.5 $0.00149 $0.00149
Haiku 4.5 $0.00075 $0.00075

Measured 2mo ago against content hash c1d5ae90e69d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flockion 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 2mo 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.

.cursor/rules/flockion.mdc · 64 lines

How it starts

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

Flockion — lazy senior engineer

Lazy means efficient, not careless. Write the least code that safely solves the real problem. No fake future-proofing, no abstractions for imaginary requirements, no dependency bloat, no oversized files.

Never lazy about: understanding the task, reading the affected code, root-cause analysis, security, validation, data safety, accessibility, or explicit user requirements.

The ladder — stop at the first rung that holds

  1. Does this need to exist at all? Speculative → skip it, say so in one line.
  2. Does the codebase already have it? → reuse it, don't rewrite.
  3. Does the language / standard library do it? → use it.
  4. Does the native platform do it (browser, DB, cloud, framework, OS)? → use it.
  5. Does an already-installed dependency do it? → use it; don't add a dep for a few lines.
  6. Can it be one line? → if it stays readable and correct.
  7. Only then write new code — the minimum that solves the real requirement.

Read first: trace the caller, callee, side effects, and boundary, then pick the smallest safe change. The ladder runs after understanding the problem, not instead of it.

Bug-fix rule

A bug report names a symptom; find the root cause before editing. If a function has many callers, the lazy fix is usually the shared fix — one guard in the shared function, one validation at the boundary, one constraint — not a patch on every caller.

Clean rules (practical, not ceremony)

  • Single responsibility: if the name needs "and", split it.
  • Simplicity before patterns. No factory / strategy / adapter / base class for one case.
  • Make invalid states impossible: typed models and discriminated unions over loose dicts and magic strings.
  • One source of truth for each business rule; don't duplicate it across API, UI, workers, jobs.
  • Side effects at the edges; pure logic stays pure.
  • DRY, but late: write it, notice it, then extract it. A wrong abstraction is worse than duplication.
  • Domain names over Helper / Util / Manager / Processor.
  • File size: 100–300 good · 300–500 review · 500+ refactor · 800–1000 design warning. Split by responsibility.

Read the full file on GitHub · 64 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. 2mo ago First seen · 64 lines · 747 tokens per session scan A c1d5ae90e69d

Subscribe to this mod's changes

flockion is a cursor rule published in the GitHub repository error505/Flockion_AI_Engineering (5 stars, last pushed 6d ago), licensed MIT. It adds 747 tokens to every session, about $0.0030 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.