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 themesic/perfex-rest-api-examples --skill perfex-sales-documentsgit clone --depth 1 https://github.com/themesic/perfex-rest-api-examplesWrote 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/themesic/perfex-rest-api-examples/perfex-sales-documents)<a href="https://agentmods.dev/skills/themesic/perfex-rest-api-examples/perfex-sales-documents"><img src="https://agentmods.dev/badge/skills/themesic/perfex-rest-api-examples/perfex-sales-documents/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/skills/themesic/perfex-rest-api-examples/perfex-sales-documents"><img src="https://agentmods.dev/badge/skills/themesic/perfex-rest-api-examples/perfex-sales-documents.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.00074 | $0.00672 |
| Opus 5.5 | $0.00030 | $0.00269 |
| Sonnet 5.5 | $0.00015 | $0.00134 |
| Haiku 4.5 | $0.00007 | $0.00067 |
Grade A, and why
perfex-sales-documents 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 1mo 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 — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Perfex CRM sales documents
Invoices, estimates, proposals and credit notes carry line items. These tools follow the {resource}_{action} pattern (for example invoices_create, estimates_get, proposals_update, credit_notes_list, payments_list). Follow the general perfex-crm skill for lookups, confirmations and error handling; this skill adds the document-specific rules.
Before creating a document
- Resolve the customer with
customers_searchand use its id (clientid). Ask if the match is ambiguous. - Get the currency id from
list_currenciesand, if the user mentions tax, the tax names or ids fromlist_taxes. Do not invent ids. - Use
get_current_datetimefor today's date and for due dates expressed relatively ("net 30"). - For catalog products or services, look them up with
items_searchand reuse their description and rate. - Show the user a draft (customer, date, due date, currency, each line with quantity, rate and line total, and the expected subtotal) and confirm before calling
_create.
Line items
- Pass line items in
data.itemsas an array of objects withdescription, optionallong_description,qty,rate, and optionalunit. Subtotal and total are calculated by the CRM from the items. {resource}_getreturns the current line items in anitemsarray, each with itsitemid.- On
{resource}_update, includeitemidto edit an existing line, omititemidto add a new line, and list theitemids to remove in aremoved_itemsarray. Fields you leave out ofdataare not changed. - Always read the document with
_getbefore editing its lines so you work from the current items.
Payments
- Find payments with
payments_listorpayments_search; read the related invoice withinvoices_getwhen you need the balance or status. - Recording or changing a payment only updates the CRM's records. It never moves money. Confirm amount, date, payment mode (from
list_payment_modes) and invoice before writing.
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.
- 1mo ago First seen · 40 lines · 74 tokens per session scan A 2647a015a074
perfex-sales-documents is a skill published in the GitHub repository themesic/perfex-rest-api-examples (5 stars, last pushed 1mo ago), licensed MIT. It adds 74 tokens to every session and 672 once invoked, about $0.0003 per session on Opus 5.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-10-09.
perfex-sales-documents compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| perfex-sales-documentsthemesic/perfex-rest-api-examples | Skill | 5 | 1mo ago | MIT | A | 74 | Claude Code |
| create-payment-credentialvercel/eve | Skill | 6.1k | today | Apache-2.0 | A | 23 | Claude Code, Codex |
| alpaca-trade-api-sdkalpacahq/alpaca-trade-api-js | Skill | 606 | 3d ago | Apache-2.0 | A | 127 | Claude Code, Codex |
| starter-dashboardalpacahq/alpaca-trade-api-js | Skill | 606 | 3d ago | Apache-2.0 | A | 75 | Claude Code |
| hero-transfer-flowUnclecheng-li/AI_Animation | Skill | 1.9k | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| hero-invoice-totalUnclecheng-li/AI_Animation | Skill | 1.9k | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| reviewing-personhog-protocolPostHog/posthog | Skill | 41k | today | none | A | 111 | Claude Code, Codex |