invoice-housekeeping

invoice-housekeeping is a skill for Claude Code from theYahia/WWmcp. It costs 22 tokens per session (466 once invoked), scanned A, original, MIT.

An invoice-maintenance flow for Fawaterak, a payment service. It finds invoices, cancels unpaid ones, refunds paid ones, and checks the account balance afterward.

In plain words
What is it for?
Use it to review invoices by status, inspect unclear records, cancel unpaid invoices, issue full or partial refunds, and report the final balance.
Why use it?
It helps clear stale checkouts and handle refunds without cancelling a paid invoice or claiming a complete list before all pages have been read.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to review invoices by status, inspect unclear records, cancel unpaid invoices, issue full or partial refunds, and report the final balance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/theyahia/wwmcp/invoice-housekeeping
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.

Any agent
npx skills add theYahia/WWmcp --skill invoice-housekeeping
Clone the repo
git clone --depth 1 https://github.com/theYahia/WWmcp

Made for: Claude Code.

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

agentmods badge for invoice-housekeeping

README.md
[![agentmods](https://agentmods.dev/badge/skills/theyahia/wwmcp/invoice-housekeeping/github.svg)](https://agentmods.dev/skills/theyahia/wwmcp/invoice-housekeeping)
Your own site
<a href="https://agentmods.dev/skills/theyahia/wwmcp/invoice-housekeeping"><img src="https://agentmods.dev/badge/skills/theyahia/wwmcp/invoice-housekeeping/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.

agentmods 80×15 button for invoice-housekeeping

Your own site · 80×15
<a href="https://agentmods.dev/skills/theyahia/wwmcp/invoice-housekeeping"><img src="https://agentmods.dev/badge/skills/theyahia/wwmcp/invoice-housekeeping.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 466 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00022 $0.00466
Opus 5 $0.00011 $0.00233
Sonnet 5 $0.00004 $0.00093
Haiku 4.5 $0.00002 $0.00047

Measured 6d ago against content hash 91d58e34808e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

invoice-housekeeping 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.

servers/fawaterak/.claude/skills/invoice-housekeeping/SKILL.md · 53 lines

What it actually says

/invoice-housekeeping — Invoice cleanup and refunds

Algorithm

  1. Call list_invoices with page, per_page and status (paid | unpaid | expired | cancelled). Start with unpaid to find stale checkouts.
  2. Page through until the list is exhausted. Do not report a total you have not paged to.
  3. For anything ambiguous, call get_invoice_data with its invoice_id for the full record (amount, method, transaction_id, customer).
  4. To cancel: cancel_invoice with invoice_id. This only works on unpaid invoices — check status first, and confirm with the user before cancelling anything.
  5. To refund: refund_payment with invoice_id, optional amount (omit for full refund) and optional reason. Refund support depends on the rail — a Fawry cash payment may not be refundable through the API. Report the error as-is rather than retrying blindly.
  6. Call get_balance at the end so the user sees the account position after the cleanup.

Response format

## Fawaterak housekeeping

**Balance**: 18,420 EGP

### Unpaid over 48 h — 6 invoices, 3,100 EGP
| Invoice | Amount | Created | Action |
|---------|--------|---------|--------|
| 88101 | 450 EGP | 2026-08-30 | cancelled |

### Refunds issued
| Invoice | Amount | Reason | Status |
|---------|--------|--------|--------|
| 88044 | 200 EGP | partial return | success |

Notes

  • Always confirm before cancel_invoice or refund_payment — neither is reversible.
  • Partial refund = pass amount. Full refund = omit amount entirely.
  • get_balance reflects settled money; a just-issued refund may not be deducted yet.

Examples

/invoice-housekeeping unpaid
/invoice-housekeeping refund 88044 200 "partial return"
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. 6d ago First seen · 53 lines · 22 tokens per session scan A 91d58e34808e

Subscribe to this mod's changes

invoice-housekeeping is a skill published in the GitHub repository theYahia/WWmcp (29 stars, last pushed 5d ago), licensed MIT. It adds 22 tokens to every session and 466 once invoked, about $0.0001 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-09-06.

Related

Other skills, from other repositories

okx-cex-portfolio

This skill should be used when the user asks about 'account balance', 'how much USDT do I have', 'my funding account', 'show my positions', 'open positions', 'position P&L', 'unrealized PnL', 'closed positions', 'position history', 'realized PnL', 'account bills', 'transaction history', 'trading fees', 'fee tier'…

okx/agent-trade-kit · 236 tokens

pdf-invoice-extractor

OCR a PDF invoice with mistralocr and extract structured line-item data (vendor, date, amounts, VAT) for accounting reconciliation. Use when the user provides an invoice PDF to process.

Swih/mistral-mcp · 39 tokens

french-invoice-reminder

Rédige une relance de facture B2B en français avec un ton contrôlé (poli, ferme, ou final). À utiliser quand l'utilisateur demande une relance facture, un rappel de paiement, un mail de recouvrement, ou une dunning letter en français.

Swih/mistral-mcp · 58 tokens

invompt-local-beta-invoice

Create or manage an Invompt invoice, quote, estimate, or pro forma from natural-language intent in any language, including short follow-ups that reuse earlier facts. Use for explicit billing-document requests across Latin, Cyrillic, RTL, Indic, CJK, and Southeast Asian scripts. Do not use for price or budgeting advice…

Invompt/invompt-mcp · 86 tokens

lemonsqueezy

Operate Lemon Squeezy — the Merchant of Record for digital products and SaaS — via its JSON:API REST endpoints. Covers stores, products, variants, checkouts, orders, subscriptions, customers, and license keys. Use when the user wants MoR billing (EU VAT, chargebacks, sales tax all handled for 5% + fees) instead of…

mnlt/teleport · 84 tokens

before-spend

Use this before any purchase, subscription, money transfer, or API credit top-up. Call sanctionauthorize first; never proceed when it returns false; if status is escalated, wait and follow handle-escalation.

ericlovold/sanction · 48 tokens