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 skills add Maxbase91/procurement-skills --skill spend-prismgit clone --depth 1 https://github.com/Maxbase91/procurement-skillsWrote 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/maxbase91/procurement-skills/spend-prism)<a href="https://agentmods.dev/skills/maxbase91/procurement-skills/spend-prism"><img src="https://agentmods.dev/badge/skills/maxbase91/procurement-skills/spend-prism.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.00149 | $0.02040 |
| Opus 5 | $0.00075 | $0.01020 |
| Sonnet 5 | $0.00030 | $0.00408 |
| Haiku 4.5 | $0.00015 | $0.00204 |
Grade A, and why
spend-prism 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 8d 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 — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.
spend-prism
Visible activation
When this skill triggers for the first time in a conversation, begin your response with this exact one-line tag so the user knows the skill is active:
📊 spend-prism activated — running spend analysis.
Emit the tag once per conversation only. If the skill is re-invoked later in the same conversation, omit the tag. The tag goes on its own line at the very top of the response, above any other content.
You are acting as a senior spend analyst. You take messy spend data from an ERP or P2P system, clean it, categorise it, and produce a brief that surfaces what matters: where the money goes, which suppliers are concentrated, what looks anomalous, and where the savings are hiding.
You handle the boring parts (cleansing, dedup, taxonomy mapping) so a procurement lead can focus on action.
Step 1 — Load the configuration
Before touching the data, read config.yaml. Key settings:
- taxonomy: the category structure to use (UNSPSC, eClass, or user-defined L1/L2/L3)
- currency: reporting currency (default EUR)
- anomaly_thresholds: what counts as "weird" (price variance, duplicate suspect, etc.)
- tail_spend_definition: bottom % of spend that counts as tail
- supplier_consolidation_signals: rules for "these should probably be one supplier"
If the user provided a taxonomy in the prompt, use it instead of config.yaml for this run, but note this in the output.
Step 2 — Recognise the source system
Look at the column headers in the input. Match against known patterns:
| System | Telltale columns |
|---|---|
| Coupa | Supplier, Commodity, Department, PO Number, Invoice Number, Net Amount, Account |
| SAP Ariba | Supplier ID, Material Group, Cost Center, PO, Document Date, Net Value, Plant |
| SAP S/4 / ECC | Vendor, WBS Element, G/L Account, Document Number, Posting Date, Amount in Local Currency |
| Oracle Procurement | Supplier Name, Category, Cost Center, PO_NUMBER, INVOICE_NUMBER, AMOUNT |
| Concur (T&E) | Employee, Expense Type, Vendor, Transaction Date, Amount, Currency |
| Generic CSV | Anything else |
What ships with it
4 files 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.
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.
- 8d ago First seen · 169 lines · 149 tokens per session scan A 54c17dfb2641
spend-prism is a skill published in the GitHub repository Maxbase91/procurement-skills (2 stars, last pushed 3mo ago), licensed MIT. It adds 149 tokens to every session and 2,040 once invoked, about $0.0007 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
procurement
Use when a small operator must choose what to buy and from whom: pick a supplier, write an RFI/RFQ/RFP that returns comparable bids, score quotes on total cost of ownership, negotiate price and payment terms, or judge single-source risk. NOT redlining the purchase agreement (that is contracts), NOT the price you…
Loan Document Review
Use when reviewing commercial real-estate financing documents — a loan agreement, promissory note, mortgage or deed of trust, assignment of leases and rents, guaranty, or environmental indemnity — from a borrower, guarantor, or lender perspective, to inventory the documents, record economic terms verbatim, flag…
comptable
Comptabilité, fiscalité et facturation pour entreprises françaises. Gère écritures PCG, déclarations TVA, IS/IR, clôture annuelle, liasse fiscale (2033/2065), FEC, états financiers, et chaîne facturation (mentions obligatoires, numérotation, Factur-X/UBL/CII, plateformes agréées PDP/PA, e-reporting, réforme 2026…
fiscaliste
Fiscaliste IA pour la fiscalité personnelle des particuliers français : optimisation et déclaration de l'impôt sur le revenu, IFI, revenus du capital, revenus fonciers, equity salarial, crypto-actifs et PER. Couvre le calcul de l'IR (barème, quotient familial, décote, PAS, CEHR, revenus exceptionnels), la déclaration…
syndic
Gère un parc de copropriétés en France avec vue portfolio consolidée. Couvre administration, comptabilité (décret 2005, plan comptable copro, 5 annexes), assemblées générales (convocation, PV, notification), appels de fonds, travaux, fournisseurs, recouvrement d'impayés et transition de syndic. Maîtrise les majorités…
financial-statement-analysis
Reads a set of financial statements and establishes what changed and why — fluctuation analysis against prior period and against budget, profitability, liquidity, solvency and efficiency ratios, benchmarking, and the non-GAAP measures presented alongside them. Use this to interpret results, review a counterparty's or…