ZATCA AGENTS.md

Repository instructions for a PHP library that creates Saudi ZATCA e-invoices, including QR codes, signing requests, and invoice signatures.

In plain words
What is it for?
Use them when changing the library, generating QR codes or certificates, signing invoices, validating inputs, or running Composer tests.
Why use it?
They highlight required tools, tests, security rules, and public interfaces that other services depend on.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/sallaapp/zatca/agents-md
Clone the repo
git clone --depth 1 https://github.com/SallaApp/ZATCA

Made for: Codex, OpenCode.

Per session 234 This file is loaded in full into every session.
When invoked 234 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00234 $0.00234
Opus 5 $0.00117 $0.00117
Sonnet 5 $0.00047 $0.00047
Haiku 4.5 $0.00023 $0.00023

Measured 3d ago against content hash 86bbec9e5f4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ZATCA AGENTS.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 3d 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.

AGENTS.md · 10 lines

What it actually says

AGENTS.md

See CLAUDE.md for the full guide. Quick facts:

  • Purpose: PHP library providing ZATCA (Fatoora) e-invoicing: Phase 1 TLV QR code generation and Phase 2 CSR/invoice signing with EC cryptography.
  • Stack: PHP >= 8.0, phpseclib3, chillerlan/php-qrcode, robrichards/xmlseclibs — pure composer library, no Laravel.
  • Run/test: composer install && composer test
  • Don't: push to master (default branch) · commit secrets (certificates/private keys belong in Doppler/env, not source) · change the public signatures of GenerateQrCode, GenerateCSR, InvoiceSign, or Certificate without reviewing impact on services/Core and services/zatca-einvoicing.
  • Conventions: PSR-4 under Salla\ZATCA\; validate all CSR inputs at boundaries (see CSRRequest); no hardcoded env-specific values — full rules in workspace CLAUDE.md.
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. 3d ago First seen · 10 lines · 234 tokens per session scan A 86bbec9e5f4c

Subscribe to this mod's changes

ZATCA AGENTS.md is an instructions file published in the GitHub repository SallaApp/ZATCA (165 stars, last pushed 7d ago), licensed MIT. It adds 234 tokens to every session, about $0.0012 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.

Related

Other instructions, from other repositories

optionsahoy-mcp AGENTS.md

Instructions for AlvisoOculus/optionsahoy-mcp, covering agents.md, what this repo is, what an agent should do with this server, how an agent connects and required-input discipline.

AlvisoOculus/optionsahoy-mcp · 1,856 tokens

authbox AGENTS.md

Instructions for MARUCIE/authbox, covering agents.md - ai 编程助手角色定义, 0 · 关于用户与你的角色, 1 · 总体推理与规划框架(全局规则), 1.1 依赖关系与约束优先级 and 1.1.1 工作资产(强制).

MARUCIE/authbox · 12,847 tokens

cukaimax-agent GEMINI.md

Gemini CLI instructions for jakzaizzat/cukaimax-agent: Use the cukaimax-tax-authority MCP server when the user asks about Malaysian individual income tax, Form BE, Form B, sole-proprietor records, deductible business expenses, tax reliefs, or HASiL source requirements.

jakzaizzat/cukaimax-agent · 192 tokens

verifactu-mcp CLAUDE.md

Claude Code instructions for KmOnBeIbI31/verifactu-mcp, covering verifactu-mcp — notas para claude, decisiones arquitectónicas, herramientas (7), validación and cliente http.

KmOnBeIbI31/verifactu-mcp · 1,565 tokens

arc-ledger-mcp CLAUDE.md

Claude Code instructions for Bgenc48/arc-ledger-mcp, covering arc & ledger tax help - mcp server, this repository is a generated artifact, commands, this repo is public and must build standalone and architecture.

Bgenc48/arc-ledger-mcp · 1,615 tokens

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).

microsoft/vscode · 6,785 tokens