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 agentmods add commands/superbenefit/sb-marketplace/validategit clone --depth 1 https://github.com/superbenefit/sb-marketplaceWrote 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/commands/superbenefit/sb-marketplace/validate)<a href="https://agentmods.dev/commands/superbenefit/sb-marketplace/validate"><img src="https://agentmods.dev/badge/commands/superbenefit/sb-marketplace/validate.svg" alt="Measured on agentmods" 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 | $0.00014 | $0.00614 |
| Opus 5 | $0.00007 | $0.00307 |
| Sonnet 5 | $0.00003 | $0.00123 |
| Haiku 4.5 | $0.00001 | $0.00061 |
Grade A, and why
validate 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 4d 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 — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Validate Cloudflare Implementation
Run a comprehensive validation of the current project against Cloudflare best practices.
Validation Steps
1. Configuration Check (wrangler.jsonc)
Verify:
compatibility_dateis set and appropriate (>="2025-03-07"for Agents SDK)compatibility_flagsincludes"nodejs_compat"observability: { "enabled": true }is presentmigrationsblock hasnew_sqlite_classesfor every Agent/DO class- All required bindings are declared (KV, R2, D1, Vectorize, DO, AI, Queues)
- No stale or orphaned bindings
2. Dependencies Check (package.json)
Verify:
agentspackage installed (for Agents SDK projects)@modelcontextprotocol/sdkinstalled (for MCP servers)workers-oauth-providerinstalled (if using OAuth)- No known deprecated packages
- TypeScript and wrangler are dev dependencies
3. MCP Server Pattern Check
If the project has MCP servers, verify:
- Uses
createMcpHandlerfor stateless servers (recommended pattern) - If using
McpAgent: server is a class property, tools registered ininit() - Tool parameters use Zod schemas with
.describe()annotations - Error responses include
isError: true - OAuth uses
workers-oauth-providerwith proper KV binding
4. API Pattern Check
Verify:
- Reranker uses batch API:
{ query, contexts: [{text}], top_k } - Vectorize queries respect topK limits per
returnMetadatasetting - WebSocket uses hibernation API (not legacy
addEventListener) - SQL uses tagged template literals (
this.sql\...``) - D1 uses prepared statements
- R2 accessed via bindings (not REST API)
5. Workflow Pattern Check (if applicable)
Verify:
- All
step.do()calls are awaited - Steps are idempotent (safe to retry)
- No side effects outside steps
- Bindings accessed via
this.env(not closures) - Return values are JSON-serializable
Output
Report findings as:
- ✅ Compliant: Follows best practices
- ❌ Non-compliant: Must fix (with file:line reference and suggested fix)
- ⚠️ Warning: Should consider (with recommendation)
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.
- 4d ago First seen · 77 lines · 14 tokens per session scan A dd0ed1018800
validate is a command published in the GitHub repository superbenefit/sb-marketplace (5 stars, last pushed 7mo ago), licensed CC0-1.0. It adds 14 tokens to every session and 614 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-08-31.
Other commands, from other repositories
deploy
Build, test, deploy with staged rollout.
deploy
Deploy a frontend (React, Next.js, or static HTML) to a live URL on Butterbase.
cf-scaffold-project
Scaffold a Cloudflare project — Worker, Pages, or Worker+D1+R2 starter — with Wrangler config, Terraform skeleton, and GitHub Actions deploy using scoped API tokens.
scan
Scan AWS account for cost optimization.
k8s-analysis
You are an expert Kubernetes troubleshooter tasked with investigating pod scheduling issues within a specific namespace. Your goal is to conduct a comprehensive analysis, identify root causes, and provide actionable solutions efficiently and precisely.
finops-feedback
Step 5 (Feedback Loop & Celebration) — measure realized against projected savings, compute a labelled Cloud Entropy proxy, close the opportunity, and emit at least one new idea or policy update so the loop actually closes. Applies the double-loop gate. Mutates on the closure path.