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.
npx agentmods add instructions/sallaapp/zatca/claude-mdgit clone --depth 1 https://github.com/SallaApp/ZATCAWrote 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/instructions/sallaapp/zatca/claude-md)<a href="https://agentmods.dev/instructions/sallaapp/zatca/claude-md"><img src="https://agentmods.dev/badge/instructions/sallaapp/zatca/claude-md.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 | $0.01082 | $0.01082 |
| Opus 5 | $0.00541 | $0.00541 |
| Sonnet 5 | $0.00216 | $0.00216 |
| Haiku 4.5 | $0.00108 | $0.00108 |
Grade A, and why
ZATCA CLAUDE.md 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 5d 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 — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ZATCA
A PHP composer library (salla/zatca) that implements ZATCA (Fatoora) e-invoicing for Saudi Arabia: Phase 1 TLV-encoded QR code generation and Phase 2 CSR/certificate onboarding + XML invoice signing with embedded QR.
Stack
- PHP >= 8.0 (no Laravel/artisan — pure composer library)
phpseclib/phpseclib ~3.0— EC key handling and X.509 certificate parsingrobrichards/xmlseclibs ^3.1— XML digital signature supportjosemmo/uxml ^0.1.4— UBL XML parsing/manipulationchillerlan/php-qrcode ^5.0— QR code image renderingphpunit/phpunit ~8.0(dev)
Run / test / build
composer install
composer test # runs: phpunit
Architecture
src/GenerateQrCode.php— entry point for QR generation; acceptsTag[], encodes as TLV, outputs base64 string or rendered image viachillerlan/php-qrcode.src/Tag.php— base TLV tag: tag ID + value → hex-packed binary string (__toString).src/Tags/— nine concrete tag types:Seller,TaxNumber,InvoiceDate,InvoiceTotalAmount,InvoiceTaxAmount,InvoiceHash,InvoiceDigitalSignature,PublicKey,CertificateSignature(Phase 2 simplified invoices only).src/GenerateCSR.php— generates secp256k1 EC private key + CSR using PHP OpenSSL with a dynamically written temp config; env-aware (sandbox/simulation/production) to set the correct OID signing string.src/Models/CSRRequest.php— fluent builder for CSR subject fields; validates UID (15 digits, starts/ends with 3), country code (2 chars), and branch naming rules.src/Models/InvoiceSign.php— signs a UBL XML invoice: strips unwanted nodes, computes SHA-256 C14N hash, creates ECDSA digital signature, buildsUBLExtensions, embeds QR code node, returnsInvoice.src/Helpers/Certificate.php— wraps plaintext certificate + private key (phpseclib3 EC); exposesgetHash(),getPlainPublicKey(),getAuthorizationHeader(),getCertificateSignature(),getFormattedIssuerDN().src/Helpers/UXML.php— DOM/XPath wrapper overjosemmo/uxml; providestoTagsArray()which reads UBL fields and builds the 8–9 elementTag[]array for QR encoding.src/Helpers/UblExtension.php— builds the<ext:UBLExtensions>block with the XAdES signature for inclusion in the signed invoice XML.
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.
- 5d ago First seen · 48 lines · 1,082 tokens per session scan A 0976deacd894
ZATCA CLAUDE.md is an instructions file published in the GitHub repository SallaApp/ZATCA (165 stars, last pushed 3d ago), licensed MIT. It adds 1,082 tokens to every session, about $0.0054 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-30.
Other instructions, from other repositories
qrcodly CLAUDE.md
Instructions for FloB95/qrcodly, covering claude.md, project overview, monorepo structure, commands and development.
mcp-server-qrcode CLAUDE.md
Instructions for jwalsh/mcp-server-qrcode, covering claude's development notes for mcp qr code server, freebsd/bsd compatibility, development commands, code style guidelines and server entry points.
quality-qr-mcp CLAUDE.md
Claude Code instructions for silly-geese/quality-qr-mcp: When the user's request matches an available skill, ALWAYS invoke it using the Skill tool as your FIRST action. Do NOT answer directly, do NOT use other tools first. The skill has specialized workflows that produce better results than ad-hoc answers.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.