perfex-sales-documents

perfex-sales-documents is a skill for Claude Code from themesic/perfex-rest-api-examples. It costs 74 tokens per session (672 once invoked), scanned A, original, MIT.

A set of Perfex CRM tools for invoices, estimates, proposals, credit notes, and payments, including their line items. Perfex CRM is business software for managing customers and sales records.

In plain words
What is it for?
It is for drafting and managing invoices, estimates, proposals, credit notes, payments, and reports about revenue or unpaid bills.
Why use it?
It helps prepare and update billing documents using the correct customer, currency, tax, product, date, and line-item details before saving them.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the themesic-perfex-mcp plugin — 2 skills, 1 MCP server shipped together

Good fit It is for drafting and managing invoices, estimates, proposals, credit notes, payments, and reports about revenue or unpaid bills.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/themesic/perfex-rest-api-examples/perfex-sales-documents
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 themesic/perfex-rest-api-examples --skill perfex-sales-documents
Clone the repo
git clone --depth 1 https://github.com/themesic/perfex-rest-api-examples

Made for: Claude Code.

Or install themesic-perfex-mcp, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

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 perfex-sales-documents

README.md
[![agentmods](https://agentmods.dev/badge/skills/themesic/perfex-rest-api-examples/perfex-sales-documents/github.svg)](https://agentmods.dev/skills/themesic/perfex-rest-api-examples/perfex-sales-documents)
Your own site
<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.

agentmods 80×15 button for perfex-sales-documents

Your own site · 80×15
<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>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 672 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.
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.00074 $0.00672
Opus 5.5 $0.00030 $0.00269
Sonnet 5.5 $0.00015 $0.00134
Haiku 4.5 $0.00007 $0.00067

Measured 1mo ago against content hash 2647a015a074, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

claude-plugin/skills/perfex-sales-documents/SKILL.md · 40 lines

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

  1. Resolve the customer with customers_search and use its id (clientid). Ask if the match is ambiguous.
  2. Get the currency id from list_currencies and, if the user mentions tax, the tax names or ids from list_taxes. Do not invent ids.
  3. Use get_current_datetime for today's date and for due dates expressed relatively ("net 30").
  4. For catalog products or services, look them up with items_search and reuse their description and rate.
  5. 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.items as an array of objects with description, optional long_description, qty, rate, and optional unit. Subtotal and total are calculated by the CRM from the items.
  • {resource}_get returns the current line items in an items array, each with its itemid.
  • On {resource}_update, include itemid to edit an existing line, omit itemid to add a new line, and list the itemids to remove in a removed_items array. Fields you leave out of data are not changed.
  • Always read the document with _get before editing its lines so you work from the current items.

Payments

  • Find payments with payments_list or payments_search; read the related invoice with invoices_get when 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.

Read the full file on GitHub · 40 lines

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. 1mo ago First seen · 40 lines · 74 tokens per session scan A 2647a015a074

Subscribe to this mod's changes

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.

Related

perfex-sales-documents compared with skills from other repositories

perfex-sales-documents next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
perfex-sales-documentsthemesic/perfex-rest-api-examplesSkill51mo agoMITA74Claude Code
create-payment-credentialvercel/eveSkill6.1ktodayApache-2.0A23Claude Code, Codex
alpaca-trade-api-sdkalpacahq/alpaca-trade-api-jsSkill6063d agoApache-2.0A127Claude Code, Codex
starter-dashboardalpacahq/alpaca-trade-api-jsSkill6063d agoApache-2.0A75Claude Code
hero-transfer-flowUnclecheng-li/AI_AnimationSkill1.9k1mo agoMITA0Claude Code, Codex
hero-invoice-totalUnclecheng-li/AI_AnimationSkill1.9k1mo agoMITA0Claude Code, Codex
reviewing-personhog-protocolPostHog/posthogSkill41ktodaynoneA111Claude Code, Codex