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 XuanRanL/loamwright-SEO-Skill --skill cost-summarygit clone --depth 1 https://github.com/XuanRanL/loamwright-SEO-SkillWrote 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/xuanranl/loamwright-seo-skill/cost-summary)<a href="https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/cost-summary"><img src="https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/cost-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.
<a href="https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/cost-summary"><img src="https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/cost-summary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00051 | $0.00683 |
| Opus 5 | $0.00026 | $0.00342 |
| Sonnet 5 | $0.00010 | $0.00137 |
| Haiku 4.5 | $0.00005 | $0.00068 |
Grade A, and why
cost-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 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.
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 — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cost Summary
What the user has actually spent. Pairs with cost-estimator (forward-looking).
When to invoke
/cost— today's spending (default)/cost week— last 7 days/cost month— last 30 days- User asks: "how much have I spent?", "what's the bill?", "show me the burn"
How to invoke
python -m scripts._core.cost_ledger --summary --period day
python -m scripts._core.cost_ledger --summary --period week
python -m scripts._core.cost_ledger --summary --period month --json
Output (human-readable)
Period: day
Total: $4.7321
Entries: 38
By model:
$2.1430 claude-opus-4-7
$1.8470 gpt-image-2
$0.5230 claude-sonnet-4-6
$0.1820 tavily
$0.0371 gemini-3.1-pro
What this skill does
- Reads
~/.xuanran-seo/cost-ledger.jsonl - Filters by time window (day/week/month back from now)
- Aggregates total + by model + by endpoint
- Reports daily burn rate vs configured limit
- Surfaces unusual spending (e.g., >$5 in one task)
What this skill does NOT do
- ❌ Bill anyone (cost_ledger is local-only)
- ❌ Predict next month (use cost-estimator for forward)
- ❌ Charge a card (no payment integration)
Daily limit warning
If total > 0.8 × daily_limit, surface a warning:
⚠ Daily spend at 84% of $50 limit. 7h remaining in day.
If total > daily_limit:
⛔ Daily limit exceeded. cost-ledger.check() will block further LLM calls
until tomorrow OR until you raise daily_total_usd in ~/.xuanran-seo/config.yaml
Interpreting the breakdown
| Model dominates → | Means |
|---|---|
| claude-opus-4-7 | Drafter + reviewer (expected for production) |
| gpt-image-2 | High image volume — consider --image-quality medium |
| tavily >$1 | Many research-heavy /article runs (normal) |
| gemini >$1 | LLM-judge for quality gates running often (consider sampling) |
Where ledger lives
~/.xuanran-seo/cost-ledger.jsonl — append-only JSONL.
Reset today's entries (admin):
python -m scripts._core.cost_ledger --reset-today
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 · 86 lines · 51 tokens per session scan A 0ff4cdb97236
cost-summary is a skill published in the GitHub repository XuanRanL/loamwright-SEO-Skill (49 stars, last pushed 24d ago), licensed Apache-2.0. It adds 51 tokens to every session and 683 once invoked, about $0.0003 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-08-30.
Other skills, from other repositories
geo-platform-optimizer
Platform-specific AI search optimization — audit and optimize for Google AI Overviews, ChatGPT, Perplexity, Gemini, and Bing Copilot individually.
continuous-improvement-loop
Run Part 12 of the engagement methodology — the continuous improvement loop that aggregates quarterly-review, customer-feedback, competitive, and operating signals into a Quarterly Product & Offering Improvement Brief for business leadership, plus fast 1-3 page ad-hoc briefs when a significant signal lands…
four-core-documents
Produce Part 3 of the 12-Part engagement: the four strategic-spine documents across 61 steps — 3.1 Business & SBU Analysis, 3.2 Segmentation Framework, 3.3 Brand Positioning & Communications, 3.4 DMFlow — with --doc single-document runs, --view v2 re-runs, and a --combined executive stitch. Triggers on…
seo-plan
Build a 12-month SEO strategy and phased roadmap with industry templates (SaaS, ecommerce, local, publisher, agency). With fresh specialist outputs it runs as a dispatcher: scores four pillars — technical, content, topical, AI search — and makes the weakest pillar the plan's lead theme; missing specialists re-run only…
c2pa-metadata
Embed a C2PA provenance manifest into an AI-generated marketing asset (PNG, JPG, WebP, GIF, TIFF, MP4, MOV, WebM, MP3, WAV, PDF) via scripts/embed-c2pa.py — produces a signed copy of the file carrying IPTC digital-source-type AI claims, an optional c2pa.ai-disclosure assertion for EU AI Act Article 50 (applicable 2…
import-guidelines
Import brand guidelines — voice and tone rules, messaging, banned words and restrictions, channel styles, visual identity — and structure them into enforceable markdown files in the brand's guidelines layer, auto-classified by category, conflict-checked against the brand profile, and merged with existing rules rather…