build-tags

build-tags is a cursor rule for Cursor from coddy-project/coddy-agent. It costs 0 tokens per session (635 once invoked), scanned A, original, MIT.

A project rule for keeping the list of shipped build tags consistent across build files, test settings, release workflows, packaging files, and documentation. Build tags select which parts of a program are included when it is compiled.

In plain words
What is it for?
Use it when adding, removing, or renaming build tags and when checking that builds, tests, releases, packages, and documentation agree.
Why use it?
It reduces errors caused by changing a build tag in one place but forgetting the other copies.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions AGENTS.md.

Good fit Use it when adding, removing, or renaming build tags and when checking that builds, tests, releases, packages, and documentation agree.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/coddy-project/coddy-agent/build-tags
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/coddy-project/coddy-agent

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 build-tags

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/coddy-project/coddy-agent/build-tags"><img src="https://agentmods.dev/badge/rules/coddy-project/coddy-agent/build-tags.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 635 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00635
Opus 5.5 $0.00000 $0.00254
Sonnet 5.5 $0.00000 $0.00127
Haiku 4.5 $0.00000 $0.00064

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

Security

Grade A, and why

build-tags 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 16d 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/build-tags.mdc · 29 lines

What it actually says

Shipped build tags

The set of build tags that ships (http ui scheduler memory cli gateway swarm metrics browser desktop today) is not read from one place. A change to it - a tag added, removed or renamed - updates every copy in the same commit:

  • Makefile, FULL_TAGS (and the examples in its header comment); make test and TEST_TAG_SETS derive from it;
  • Dockerfile, ARG BUILD_TAGS (comma-separated, in its own order);
  • .github/workflows/docker-build-push.yaml, BUILD_TAGS;
  • .github/workflows/release-binaries.yaml, GO_BUILD_TAGS;
  • .github/workflows/tests-on-pr.yaml, PKG_TAGS of the packages job (deliberately without ui, so the job needs no npm);
  • packaging/homebrew/coddy-formula.rb.tmpl, the tags array (the cask installs a built archive and names no tags);
  • make check-windows, which spells its tag combinations by hand;
  • the build commands in docs/contributing/build.md, README.md and AGENTS.md;
  • docs/getting-started/docker.md, the image's default set and its tag list under "What the image contains by default".

One platform carries more than the others, and still from that one set. The Cocoa/WKWebView window of coddy desktop needs no tag and no compiler: its constraint is desktop && darwin, and external/desktop/native_stub.go holds the exact complement, so every macOS build compiles the window and every other platform compiles the stub. It reaches Cocoa and WebKit through the Objective-C runtime (github.com/ebitengine/purego) rather than a C bridge, so CGO_ENABLED=0 GOOS=darwin go build produces it and the release cross-compiles the two darwin archives on the Linux runner beside every other target. TestDarwinReleaseCrossCompilesWithTheRest and TestTheNativeWindowFollowsMacOS (external/desktop/build_tags_test.go) fail when a tag of its own comes back into the Makefile, when the file partition stops following the platform, when the window gains a cgo file, or when the release stops cross-building darwin.

A subcommand that reaches the packages for the first time with a new tag also takes the man page and both completions in the same commit (the packaging invariants in AGENTS.md). Check the shipped combination itself, not only each tag alone: make build TAGS="$(FULL_TAGS)", then the packages with the same tags.

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. 16d ago Changed · +2 lines acdbd2977f24
  2. 21d ago Changed 97ba57849b84
  3. 1mo ago Changed 7e90501d97e8
  4. 1mo ago Changed ad113d07df27
  5. 1mo ago Changed · +2 lines 21e8c56bda13
  6. 1mo ago First seen · 25 lines · 0 tokens per session scan A 56c842961752

Subscribe to this mod's changes

build-tags is a cursor rule published in the GitHub repository coddy-project/coddy-agent (215 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 635 tokens. 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-10-06.

Related

build-tags compared with cursor rules from other repositories

build-tags next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
build-tagscoddy-project/coddy-agentCursor rule215todayMITA0Cursor
sciclaw-papercutssciclaw/sciclawCursor rule114mo agononeA607Cursor
adr-004actual-software/actual-cliCursor rule8yesterdayMITA0Cursor
ponytailDietrichGebert/ponytailCursor rule202k9d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Codex, Cursor