revenue-optimizer

revenue-optimizer is an agent for Claude Code from acaprino/daodan. It costs 90 tokens per session (2,273 once invoked), scanned A, original, MIT.

A codebase analysis and pricing-planning agent that examines features and service costs, then helps design pricing tiers, usage limits, and monetization plans. It also covers revenue measures such as average revenue per user, customer lifetime value, and break-even.

In plain words
What is it for?
Use it to model unit economics, set usage limits, plan pricing, estimate revenue, or build pricing and payment-related features.
Why use it?
It connects what a product costs to how it might be priced, reducing guesswork about tiers, quotas, and profitability.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the stripe plugin — 1 skill, 1 command, 3 agents shipped together

Good fit Use it to model unit economics, set usage limits, plan pricing, estimate revenue, or build pricing and payment-related features.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add acaprino/daodan
Claude Code
/plugin install stripe

Made for: Claude Code.

Or install stripe, the plugin that ships this one along with the rest of its 1 skill, 1 command, 3 agents.

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 revenue-optimizer

README.md
[![agentmods](https://agentmods.dev/badge/agents/acaprino/daodan/revenue-optimizer/github.svg)](https://agentmods.dev/agents/acaprino/daodan/revenue-optimizer)
Your own site
<a href="https://agentmods.dev/agents/acaprino/daodan/revenue-optimizer"><img src="https://agentmods.dev/badge/agents/acaprino/daodan/revenue-optimizer/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 revenue-optimizer

Your own site · 80×15
<a href="https://agentmods.dev/agents/acaprino/daodan/revenue-optimizer"><img src="https://agentmods.dev/badge/agents/acaprino/daodan/revenue-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,273 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.00090 $0.02273
Opus 5.5 $0.00036 $0.00909
Sonnet 5.5 $0.00018 $0.00455
Haiku 4.5 $0.00009 $0.00227

Measured 16d ago against content hash c615b36ad7f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

revenue-optimizer 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 16d 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.

exports/claude/plugins/stripe/agents/revenue-optimizer.md · 239 lines

How it starts

The opening of the file, as written. The whole thing — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Revenue Optimizer

Build revenue features and monetization systems. Analyze existing codebases to understand features, calculate costs, and create data-driven pricing strategies.

Workflow

  1. Discover: Scan codebase for features, services, and integrations
  2. Cost Analysis: Calculate per-user and per-feature costs from services
  3. Design: Create pricing tiers based on value + cost data
  4. Implement: Build payment integration, pricing logic, and checkout flows
  5. Optimize: Add conversion optimization and revenue tracking

Feature Discovery

Scan codebase to build feature inventory:

Feature Discovery Process:
1. Scan routes/endpoints -> identify user-facing features
2. Scan components/pages -> map UI features
3. Scan service integrations -> identify cost-generating features
4. Scan database models -> understand data entities
5. Cross-reference -> map features to their cost drivers

Look for these patterns:

  • Routes/Controllers: Each endpoint = potential feature
  • React/Vue components: Feature-specific UI modules
  • Service clients: AWS SDK, OpenAI, Stripe, Twilio, etc.
  • Background jobs: Compute-intensive operations
  • Storage operations: S3, database writes, file uploads

Example feature inventory output:

Features Discovered:
+-- Core (low cost): Auth, dashboard, CRUD
+-- Premium (medium cost): PDF export, email, file storage
+-- High-Value (high cost): AI analysis, video processing, real-time sync

Cost Analysis

Analyze services to calculate true costs per user/feature. See references/cost-analysis.md for detailed patterns.

Service Detection

Scan for these cost sources:

  • Config files: .env, config/, secrets
  • Package.json/requirements.txt: SDK dependencies
  • Infrastructure: terraform/, cloudformation/, docker-compose
  • Code imports: aws-sdk, openai, stripe, twilio, etc.

Cost Mapping

Map fixed costs, variable costs (per user), and feature costs (per use). See references/cost-analysis.md for detailed cost mapping patterns and output format.

Read the full file on GitHub · 239 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. 16d ago First seen · 239 lines · 90 tokens per session scan A c615b36ad7f7

Subscribe to this mod's changes

revenue-optimizer is an agent published in the GitHub repository acaprino/daodan (9 stars, last pushed today), licensed MIT. It adds 90 tokens to every session and 2,273 once invoked, about $0.0004 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-01.

Related

Other agents, from other repositories

token-economics-designer

Token economics and tier design specialist. Use when designing pricing models, access tiers, or token distribution strategies.

Matt-Dionis/claude-code-configs · 28 tokens

ic-challenger

The toughest person on the investment committee with 30 years of CRE experience spanning three full cycles. Challenges every assumption with data and forces analysts to defend their work to the highest standard. Produces structured challenge memos that systematically stress-test investment theses. Deploy this agent…

mariourquia/cre-skills-plugin · 85 tokens

financial-integrity-auditor

Audits ONE completed CodeOps phase diff for monetary-correctness defects — idempotency of money-moving operations, duplicate-submission and double-spend windows, rounding and precision, atomicity and rollback on partial failure, reconciliation, audit-trail completeness, negative and overflow amounts, currency and unit…

blendsdk/claude-codeops · 142 tokens

soleur-finance-budget-analyst

Use this agent when you need to create budget plans, analyze spending allocation, model burn rate scenarios, or review budget-to-actual variance. Use soleur-operations-ops-advisor for expense tracking and vendor cost research; use this agent for budget planning and allocation analysis. Use soleur-finance-cfo for…

jikig-ai/soleur · 78 tokens

pm-business-analyst

Business analysis agent for business cases, market sizing, and financial modeling. Invoke when users need to assess investment feasibility, calculate TAM/SAM/SOM, model pricing strategies, analyze unit economics (LTV, CAC, NRR), or build financial projections. Trigger keywords: business case, financial model, market…

geekatron/jerry · 107 tokens

royalty-audit-analyst

Audits normalized music royalty ledgers and royalty workpapers for completeness, gross-to-net issues, duplicate imports, timing errors, PRO/MLC anomalies, and NPS/NLS support.

recoupable/skills · 46 tokens