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.
git clone --depth 1 https://github.com/WYRE-AI/msp-claude-pluginsWrote 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/commands/wyre-ai/msp-claude-plugins/list-overdue-invoices)<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/list-overdue-invoices"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/list-overdue-invoices/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.
<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/list-overdue-invoices"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/list-overdue-invoices.svg" alt="Reviewed on agentmods" width="80" 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.00015 | $0.01305 |
| Opus 5 | $0.00008 | $0.00652 |
| Sonnet 5 | $0.00003 | $0.00261 |
| Haiku 4.5 | $0.00002 | $0.00130 |
Grade A, and why
list-overdue-invoices 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 11d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
TOKEN=$(curl -s -X POST "${BASE}/oauth/token" \ How it starts
The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
List Overdue Invoices
List open and overdue invoices in Alternative Payments, segment them by how far past due they are, and optionally generate a hosted payment link for each so the customer can choose to pay. This command never charges a customer — it only reads invoices and, when asked, produces hosted payment-link URLs.
Prerequisites
- Valid Alternative Payments OAuth2 credentials configured (
AP_CLIENT_ID,AP_CLIENT_SECRET) - Environment selected (
AP_ENVIRONMENT=productionordemo) - Scope
payments:read(pluspayments:writeonly ifwith_linksis used)
Steps
-
Authenticate with Alternative Payments
BASE=https://public-api.alternativepayments.io TOKEN=$(curl -s -X POST "${BASE}/oauth/token" \ -u "${AP_CLIENT_ID}:${AP_CLIENT_SECRET}" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d "grant_type=client_credentials" \ | jq -r '.access_token') -
List invoices (cursor-paginated)
curl -s "${BASE}/invoices?limit=100" \ -H "Authorization: Bearer ${TOKEN}"Loop on
has_more/next_cursor, passingafter=<cursor>for each page. Ifcustomer_idis supplied, filter the results to that customer. -
Separate overdue from open
- Keep invoices with
statusofoverdue(andopenwheninclude_openis true) - Compute days past
due_datefor each overdue invoice
- Keep invoices with
-
Segment by aging — current, 1–30, 31–60, 61–90, 90+ days past due
-
(Optional) Generate hosted payment links when
with_linksis truecurl -s "${BASE}/invoices/${INVOICE_ID}/payment-link" \ -H "Authorization: Bearer ${TOKEN}"This returns a URL the customer visits to pay. No money moves until the customer completes payment.
-
Format and return the summary
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| customer_id | string | No | - | Limit to one customer |
| include_open | boolean | No | false | Include not-yet-overdue invoices |
| with_links | boolean | No | false | Generate a hosted payment link per invoice |
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.
- 11d ago First seen · 167 lines · 15 tokens per session scan A 97021e6e7fa9
list-overdue-invoices is a command published in the GitHub repository WYRE-AI/msp-claude-plugins (45 stars, last pushed 8d ago), licensed Apache-2.0. It adds 15 tokens to every session and 1,305 once invoked, about $0.0001 per session on Opus 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-08-30.
Other commands, from other repositories
archive-ledger
../../../shared/commands/archive-ledger.md.
credit-review
Perform credit analysis and risk rating for borrowers or counterparties.
source
Source deals — discover companies and draft founder outreach.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.