Borrowing it
Nothing to install: this file belongs to nacre-work/nacre. 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/nacre-work/nacre/main/.claude/skills/authz-change/SKILL.mdgit clone --depth 1 https://github.com/nacre-work/nacreWrote 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/skills/nacre-work/nacre/authz-change)<a href="https://agentmods.dev/skills/nacre-work/nacre/authz-change"><img src="https://agentmods.dev/badge/skills/nacre-work/nacre/authz-change.svg" alt="Measured on agentmods" 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.00119 | $0.01016 |
| Opus 5 | $0.00060 | $0.00508 |
| Sonnet 5 | $0.00024 | $0.00203 |
| Haiku 4.5 | $0.00012 | $0.00102 |
Grade A, and why
authz-change 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Changing the permission model
This is the module where a mistake is a leaked document that gets discovered in
an auditor's report. docs/authz.md is normative — implement it as written and
raise deviations rather than absorbing them.
Before touching code
Read docs/authz.md in full, not the section you think you need. The rules
interact: rule 5 (any deny beats any allow, at any depth) and rule 4
(inheritance downward) together mean a deny on a workspace kills an explicit
allow on a document beneath it. That row is in the truth table and it is the one
people get wrong.
The check for every diff
Answer all three explicitly in the PR description — the template asks:
- Is filtering still applied during index traversal? Not after ranking, not by fetching more and trimming. If your change adds a code path that receives results and removes some, it is wrong regardless of what it removes.
- What happens when permission evaluation fails? Every failure — timeout,
cache miss that cannot be filled, malformed grant — denies. There is no
fallback that widens access. Look specifically for
catchblocks that continue. - Are "no permission" and "no such object" still indistinguishable? Same status, same body, same timing characteristics where practical. A different error string is a leak.
Rules easiest to break by accident
writedoes not implyread(rule 6), whileadminimplies both (rule 7). Every other permission system trains the opposite instinct. If you find yourself writingif (perm >= read), stop — permissions are not ordered.- Deny is absolute, not nearest-wins. Do not implement "most specific scope wins"; that is a different model and it grants access the spec denies.
platform_adminreads no documents (rule 2). Administering a tenant is not access to its data.acl_tagsis a cache. Thegrantstable is the source of truth. Until a recomputation finishes, the layer filter and the tag filter both apply — do not "simplify" that to one.- Tag hashes are truncated to 8 bytes and collide by design. That is only
safe because the query is also bounded by allowed
layer_id. Removing the layer bound makes the truncation a leak.
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.
- 6d ago First seen · 81 lines · 119 tokens per session scan A 055cfeee8b80
authz-change is a skill published in the GitHub repository nacre-work/nacre (0 stars, last pushed 9d ago), licensed Apache-2.0. It adds 119 tokens to every session and 1,016 once invoked, about $0.0006 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-31.
Other skills, from other repositories
chroma
Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…
chroma
Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…
chroma
Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…
chroma
Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…
chroma
Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…
chroma
Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…