reddit-performance-analyzer

reddit-performance-analyzer is an agent for coding agents from agamjn/rising. It costs 61 tokens per session (839 once invoked), scanned A, original, MIT.

An agent that sorts Reddit posts into conversational, lightly promotional, or promotional categories and calculates engagement statistics. Engagement means responses such as upvotes and comments.

In plain words
What is it for?
Use it to classify every post in posts-history.md, compare average and middle-range upvotes and comments by category, and list the strongest posts. It also needs product.md for context.
Why use it?
It shows which kinds of posts have performed well for the user, using the user's own product context to distinguish discussion from promotion.

Agent

Part of the rising plugin — 1 skill, 5 commands, 5 agents shipped together

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.

agentmods
npx agentmods add agents/agamjn/rising/reddit-performance-analyzer
Clone the repo
git clone --depth 1 https://github.com/agamjn/rising

Or install rising, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 5 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 reddit-performance-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/agents/agamjn/rising/reddit-performance-analyzer.svg)](https://agentmods.dev/agents/agamjn/rising/reddit-performance-analyzer)
Your own site
<a href="https://agentmods.dev/agents/agamjn/rising/reddit-performance-analyzer"><img src="https://agentmods.dev/badge/agents/agamjn/rising/reddit-performance-analyzer.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 839 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00061 $0.00839
Opus 5 $0.00030 $0.00419
Sonnet 5 $0.00012 $0.00168
Haiku 4.5 $0.00006 $0.00084

Measured 3d ago against content hash d131e5bd0257, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

reddit-performance-analyzer 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 3d 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.

agents/reddit-performance-analyzer.md · 77 lines

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.

Performance Analyzer

You turn the raw post log into actionable category-level intelligence: which kinds of posts have actually worked for this user, and which haven't.

Inputs

  • history_path: default posts-history.md in CWD
  • product_context: from product.md in CWD — used to judge how "promotional" each post is relative to the user's own product

Procedure

  1. Read posts-history.md. Each entry has at minimum: title, body, subreddit, date, upvotes, comment_count.
  2. Read product.md for product context. You need this to distinguish "promotional" (talks about their product) from "conversational" (talks about the industry generally).
  3. Classify every single post into exactly one of:
    • conversational — pure value/discussion/question, no product mention or industry-promo angle
    • soft-promo — ~80% conversational; mentions product/industry in passing or as one example among many; doesn't read as marketing
    • promotional — explicitly about the product (launch, ask for feedback, comparison, demo, hiring, etc.)
  4. Compute per-category stats: count, mean upvotes, median upvotes, mean comments, median comments, top-3 performers (with title + score), bottom-3 performers (with title + score).
  5. Identify patterns in the winners: what do the top performers in each category have in common? (length, format, specific subs, time of week if dates available, opening style). Limit to 2-3 concrete patterns per category — only patterns supported by 2+ examples.
  6. Identify what's NOT working: same exercise on the bottom performers. Be honest — this is the most useful signal for the synthesizer.

Output

Write to post-categories.md in CWD (overwrite). Structure:

# Post Categories & Performance — <username>

_Last updated: <YYYY-MM-DD>_
_Based on <N> posts._

## Summary table

| Category | Count | Avg upvotes | Median upvotes | Avg comments |
|---|---|---|---|---|
| Conversational | ... | ... | ... | ... |
| Soft-promo | ... | ... | ... | ... |
| Promotional | ... | ... | ... | ... |

## Conversational

**What's worked:**
- <pattern>: e.g., post titles "X" (123 upvotes) and "Y" (89 upvotes) both ...
- ...

**What hasn't:**
- ...

**Top 3 posts:**
1. r/<sub> — "Title" — N↑ / M comments
2. ...

## Soft-promo
... (same structure)

## Promotional
... (same structure)

## Cross-category observations

- <e.g., "Posts on weekdays before 10am ET outperform weekend posts 3:1">
- <e.g., "Long-form posts (>500 words) underperform short-form in r/X but outperform in r/Y">

Read the full file on GitHub · 77 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. 3d ago First seen · 77 lines · 61 tokens per session scan A d131e5bd0257

Subscribe to this mod's changes

reddit-performance-analyzer is an agent published in the GitHub repository agamjn/rising (17 stars, last pushed 3mo ago), licensed MIT. It adds 61 tokens to every session and 839 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.

Related

Other agents, from other repositories

competitive-intel

Invoke for any competitor work — one-off competitive teardowns (content, SEO, paid ads, social, AI visibility, pricing, positioning) OR ongoing competitive monitoring (change detection, share of voice, ad/price monitoring, win/loss, narrative mapping, competitor launch and M&A tracking). Triggers on requests…

indranilbanerjee/digital-marketing-pro · 87 tokens

social-media-manager

Invoke when the user needs help with social media management — community management, content calendar planning, algorithm optimization, trend response, engagement strategy, UGC curation, social commerce, crisis monitoring, platform-specific strategy, or social listening insights. Triggers on requests involving social…

indranilbanerjee/digital-marketing-pro · 73 tokens

brand-guardian

Invoke when marketing content needs quality control review — brand voice consistency checks, regulatory compliance verification (GDPR, CAN-SPAM, CCPA, HIPAA, FTC, industry-specific), accessibility auditing (WCAG 2.2), inclusive language review, or brand safety assessment. Automatically invoked as a final review step…

indranilbanerjee/digital-marketing-pro · 74 tokens

journey-orchestrator

Use when the task requires designing cross-channel customer journeys, mapping touchpoint sequences, planning journey state machines with branching logic, simulating journey outcomes, or coordinating multi-channel nurture flows.

indranilbanerjee/digital-marketing-pro · 42 tokens

marketing-scientist

Use when the task requires marketing science — causal inference, Marketing Mix Modeling, incrementality testing, revenue simulation, statistical rigor, saturation curve analysis, or churn prediction.

indranilbanerjee/digital-marketing-pro · 38 tokens

memory-manager

Invoke for storage-plumbing operations on the memory system — dedup-and-store a payload, index it, run a metadata/index lookup, sync session insights to persistent storage, or report memory health. This agent moves and indexes knowledge; it does NOT interpret it. For extracting learnings, scoring confidence, pattern…

indranilbanerjee/digital-marketing-pro · 77 tokens