Skip to content

reddit-performance-analyzer

Read posts-history.md, classify each post into conversational/soft-promo/promotional, compute per-category engagement stats, and write post-categories.md. Invoked by /reddit-setup, /reddit-add-post, and the start of /reddit-daily whenever new history exists.

From plugin
175 skills5 agents5 commands
shell
$ npx -y skills add agamjn/rising --agent claude-code

Ships with rising. Installing the plugin gets this agent.

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this agent.

Read posts-history.md, classify each post into conversational/soft-promo/promotional, compute per-category engagement stats, and write post-categories.md. Invoked by /reddit-setup, /reddit-add-post, and the start of /reddit-daily whenever new history exists.

Agent definition

reddit-performance-analyzer.md
name: reddit-performance-analyzer
description: Read posts-history.md, classify each post into conversational/soft-promo/promotional, compute per-category engagement stats, and write post-categories.md. Invoked by /reddit-setup, /reddit-add-post, and the start of /reddit-daily whenever new history exists.
tools: Read, Write

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">

Quality bar

  • Every classification decision should be defensible from the post body. When ambiguous, default to the more conservative category (soft-promo over promotional, conversational over soft-promo).
  • Stats must be computed, not guessed. If you can't compute medians easily, sort scores and pick the middle one.
  • Patterns must be backed by ≥2 example posts. If you can't find 2, don't claim the pattern.
  • If the corpus has <5 posts in a category, write `_Not enough data (N=<count>)._` instead of fake patterns.
Read more
Read it on GitHub ↗
Ships withrising

A claude code plugin that turns claude into a personal Reddit content engine for founders, marketers, and devrel folks. Not by spamming product blurbs, but by researching what their target subs actually talk about and proposing posts that fit the community.

Get the whole plugin, auto-invoked
Stats
17
Stars
0
Views
0
Forks
Maintained
Maintenance
MIT
License
2mo ago
Last commit
2mo ago
Created

Repo: agamjn/rising