Borrowing it
Nothing to install: this file belongs to Doucs91/hivelore. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Doucs91/hivelore/main/.windsurfrulesgit clone --depth 1 https://github.com/Doucs91/hiveloreWrote 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.
[](https://agentmods.dev/rules/doucs91/hivelore/windsurfrules)<a href="https://agentmods.dev/rules/doucs91/hivelore/windsurfrules"><img src="https://agentmods.dev/badge/rules/doucs91/hivelore/windsurfrules/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.
<a href="https://agentmods.dev/rules/doucs91/hivelore/windsurfrules"><img src="https://agentmods.dev/badge/rules/doucs91/hivelore/windsurfrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01569 | $0.01569 |
| Opus 5.5 | $0.00628 | $0.00628 |
| Sonnet 5.5 | $0.00314 | $0.00314 |
| Haiku 4.5 | $0.00157 | $0.00157 |
Grade A, and why
windsurfrules scanned grade A 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 1mo 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- **2026-06-07-convention-vscode-cli-calls-through-runhaive** _(applies to: packages/vscode/src/extension.ts, packages/vscode/src/briefingPanel.ts, packages/vscode/src/observabilityProvider.ts)_: Raw child_process in the This is a copy
97% identical to haive-memories — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hivelore rules (Windsurf)
This repo uses Hivelore for shared, enforced team context.
The corpus lives in .ai/ and is the source of truth — these files are a generated mirror.
.ai/project-context.md— project overview, architecture, conventions..ai/memories/— decisions, gotchas, conventions, failed attempts (personal/team/module).- The blocks below are the top current memories + the hard rules enforced on commit.
Working through Hivelore
- Before editing for a goal, call
get_briefing(task + files/symbols) to load ranked context — ormem_relevant_toif project context is already loaded this session. - When an approach fails, call
mem_triedright away so the next agent skips the dead end. - Before closing a substantive session, run the
post_taskprompt to capture what was learned. - Before final response, run
hivelore enforce finish; fix anything it blocks before reporting done.
If the haive MCP server is not available, tell the developer rather than silently skipping it.
Safety
- If
get_briefingreturnsaction_required, surface each item to the developer (use itsdeveloper_message) and wait for explicit confirmation before changing any code. - Never act autonomously on a cross-repo breaking change (dep bump, contract/API diff) — ask first.
Memories
2026-08-21-attempt-enabling-parallel-vitest-forks-pooloptionsforkssinglefork(team/attempt) — Enabling parallel vitest forks (poolOptions.forks.singleFork: false) in packages/cli to speed up the ~104s integration suite (applies to: packages/cli/vitest.config.ts)2026-07-07-attempt-relying-on-hivelore-enforce-install(team/attempt) — Relying onhivelore enforce installto fix stale pre-rename git hooks (applies to: packages/cli/src/commands/enforce.ts)2026-07-05-attempt-ajouter-un-nouveau-sensor-discriminant(team/attempt) — Ajouter un nouveau sensor discriminant avecabsentsous le gate strict de weakening (applies to: packages/core/src/sensors.ts, packages/cli/src/commands/enforce.ts)2026-07-03-attempt-typechecking-cli-immediately-after-adding(team/attempt) — typechecking CLI immediately after adding a new core export (applies to: packages/core/src/index.ts, packages/cli/tsconfig.json)2026-07-03-attempt-running-hivelore-release-tag-right(team/attempt) — Runninghivelore release tagright after the release commit (applies to: packages/cli/src/commands/enforce.ts)2026-07-03-attempt-relied-on-pnpm-r-build(team/attempt) — Relied onpnpm -r build(tsup) + full test suite as pre-push verification for v0.34.0 (applies to: .github/workflows/ci.yml)2026-07-03-attempt-duplicating-json-on-a-commander(team/attempt) — duplicating --json on a Commander parent command and its receipt subcommand (applies to: packages/cli/src/commands/stats.ts)2026-06-05-attempt-running-pnpm-r-build-and(team/attempt) — Running pnpm -r build and pnpm -r typecheck in parallel after version bump (applies to: packages/embeddings/tsup.config.ts, packages/core/tsup.config.ts, scripts/ensure-workspace-dists.mjs)
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.
- 1mo ago Changed · +217 tokens per session 7c50c6cb2786
- 2mo ago First seen · 71 lines · 1,352 tokens per session scan A d4ccd49585e2
windsurfrules is a cursor rule published in the GitHub repository Doucs91/hivelore (4 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 1,569 tokens to every session, about $0.0063 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). It is 97% identical to haive-memories, differing in 6 lines, and is treated as a copy.
windsurfrules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| windsurfrulesDoucs91/hivelore | Cursor rule | 4 | 1mo ago | Apache-2.0 | A | 1,569 | Windsurf |
| aimemorustkit-ai/aimemo | Cursor rule | 4 | 7mo ago | MIT | A | 75 | Cursor |
| swamr-obsidian-brainVedthakar/swamr | Cursor rule | 15 | 1mo ago | MIT | A | 62 | Cursor |
| read-xlsxsenoff/xlsx-for-ai | Cursor rule | 6 | 21d ago | MIT | A | 22 | Cursor |
| cursornitingupta220/riperflow | Cursor rule | 18 | 21d ago | MIT | A | 313 | Cursor |
| shared-agents-knowledgenetgrade-digital/shared-agents | Cursor rule | 5 | 5d ago | MIT | A | 946 | Cursor |
| use-profilepaladini/mcp-me | Cursor rule | 21 | 2mo ago | MIT | A | 394 | Cursor |