sales-summary

sales-summary is a skill for Claude Code from theYahia/WWmcp. It costs 20 tokens per session (511 once invoked), scanned A, original, MIT.

A RetailCRM sales-reporting tool that summarises orders, revenue, average order value, order statuses, new customers, and recorded costs for a date range.

In plain words
What is it for?
It helps produce period sales reports, translate internal status codes into readable names, calculate gross margin, and record a new expense when instructed.
Why use it?
It brings sales and cost data together and warns when a report is incomplete, so revenue is not presented as final before all orders are included.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit It helps produce period sales reports, translate internal status codes into readable names, calculate gross margin, and record a new expense when instructed.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/theyahia/wwmcp/sales-summary"><img src="https://agentmods.dev/badge/skills/theyahia/wwmcp/sales-summary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 511 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.00020 $0.00511
Opus 5.5 $0.00008 $0.00204
Sonnet 5.5 $0.00004 $0.00102
Haiku 4.5 $0.00002 $0.00051

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

Security

Grade A, and why

sales-summary 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 2mo 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/retailcrm/.claude/skills/sales-summary/SKILL.md · 50 lines

What it actually says

/sales-summary — Period Sales Report

Algorithm

  1. Resolve the period. Default: the current month to date. Dates are YYYY-MM-DD.
  2. Call get_orders_summary (date_from, date_to, optional filter_status, max_pages up to 20). It returns totalCount, revenue, averageOrderValue and byStatus.
  3. Check the partial flag in the response: true means revenue/status were aggregated over fewer orders than totalCount — say so explicitly and raise max_pages before quoting the revenue as final.
  4. Call get_customers_summary (date_from, date_to) for the new-customer count in the same window.
  5. Translate status codes to names with list_statuses — never print raw codes to the user.
  6. Pull the period expenses with list_costs (filter_date_from, filter_date_to, optional filter_cost_groups) and subtract them from revenue for a gross margin line.
  7. If the user dictates a new expense, record it with create_cost (summ, cost_item, date_from).

Notes

  • totalCount is always exact; revenue and byStatus are only exact when partial is false.
  • get_orders_summary filters by creation date, not by completion date — a long fulfilment cycle shifts revenue between periods.
  • For a drill-down into which orders make up the number, use list_orders with the same filter_date_from / filter_date_to.

Response Format

## Sales 2026-08-01 — 2026-08-31

**Orders**: 412 (aggregated over 412 — full)
**Revenue**: 6,180,000 RUB
**Average order**: 15,000 RUB
**New customers**: 87
**Costs**: 940,000 RUB → gross 5,240,000 RUB

| Status | Orders |
|--------|--------|
| Complete | 351 |
| Cancelled | 34 |
| New | 27 |

Examples

/sales-summary
/sales-summary 2026-08-01 2026-08-31
/sales-summary 2026-08-01 2026-08-31 complete
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. 2mo ago First seen · 50 lines · 20 tokens per session scan A 6f9f4130f47b

Subscribe to this mod's changes

sales-summary is a skill published in the GitHub repository theYahia/WWmcp (42 stars, last pushed 2mo ago), licensed MIT. It adds 20 tokens to every session and 511 once invoked, about $0.0001 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-09-06.

Related

sales-summary compared with skills from other repositories

sales-summary next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sales-summarytheYahia/WWmcpSkill422mo agoMITA20Claude Code
typescript-linter-setupProjAnvil/MindForgeSkill39d agoMITA46Claude Code, Codex
brc-productsBrainrot-Creations/claude-pluginsSkill235mo agoMITA9Claude Code
writesgenvjacobc/lightspeed-x-mcpSkill01mo agoMITA124Claude Code
lemonsqueezy-tier-setupheysash/lemonsqueezy-mcpSkill04mo agoMITA90Claude Code, Codex
lemonsqueezymnlt/teleportSkill87mo agoMITB84Claude Code, Codex
javascript-typescriptProjAnvil/MindForgeSkill39d agoMITA85Claude Code