FC: Skill for Claude Code

.claude/skills/rules-budget/SKILL.md

rules-budget is a skill for Claude Code from msw2004727/FC. It costs 83 tokens per session (2,840 once invoked), scanned A, original, no licence file.

A procedure for measuring the rule-expression limit in Firestore security rules. Firestore is Google's database service, and its rules control who can read or change data.

In plain words
What is it for?
Use it after adding or changing allow rules or helpers, when tests hit the expression limit, or before changing event-update rules.
Why use it?
It helps explain rule-test failures caused by the 1,000-expression limit and identifies helpers or rule changes that consume too much of that budget.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is msw2004727/FC's own configuration. It tells Claude Code how to work on FC itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything FC configures →

Reuse

Borrowing it

Nothing to install: this file belongs to msw2004727/FC. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/msw2004727/FC/main/.claude/skills/rules-budget/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/msw2004727/FC

Made for: Claude Code.

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 rules-budget

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/msw2004727/fc/rules-budget"><img src="https://agentmods.dev/badge/skills/msw2004727/fc/rules-budget.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,840 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00083 $0.02840
Opus 5.5 $0.00033 $0.01136
Sonnet 5.5 $0.00017 $0.00568
Haiku 4.5 $0.00008 $0.00284

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

Security

Grade A, and why

rules-budget 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/cov-summary.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

4. **量預算**:跑完單一 test 後 `curl -s "http://127.0.0.1:8080/emulator/v1/projects/<projectId>:ruleCoverage" -o cov.json`,再 `python -I ${CLAUDE_SKILL_DIR}/scripts/cov-summary.py cov.json --top 20 [--lines 起-迄]`。HEAD 與新版各量一次比較;計
.claude/skills/rules-budget/SKILL.md · 54 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago Changed · +13 lines ccba72e8562c
  2. 15d ago First seen · 41 lines · 83 tokens per session scan A 2134ccacfae3

Subscribe to this mod's changes

rules-budget is a skill published in the GitHub repository msw2004727/FC (2 stars, last pushed yesterday), with no licence file. It adds 83 tokens to every session and 2,840 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-22.

Related

rules-budget compared with skills from other repositories

rules-budget next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rules-budgetmsw2004727/FCSkill2yesterdaynoneA83Claude Code
create-prprisma/ormSkill48kyesterdayApache-2.0A48Claude Code, Codex
schema-explorationlangchain-ai/deepagentsSkill31kyesterdayMITA57Claude Code, Codex
atlas-mssqlariga/atlasSkill8.8kyesterdayApache-2.0A163Claude Code
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex
nornicdb-cypher-queriesorneryd/NornicDBSkill923todayMITA79Claude Code, Codex
volcengine-rds-postgresqlbytedance/agentkit-samplesSkill484todayApache-2.0A63Claude Code, Codex