# Reddit Bot & Swarm Auditor

> Zero-dependency Python stdlib skill & CLI toolkit that audits Reddit threads, subreddits, and accounts for spilled AI agents, stealth-edit link spam, account takeovers, and coordinated swarms using an incremental SQLite graph.

Reddit Bot & Swarm Auditor is a free AI agent skill on Agensi by Walcrax, in Social Media. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Walcrax](https://www.agensi.io/creators/walcrax)
- Category: [Social Media](https://www.agensi.io/skills/social-media)
- Version: 1.1
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/reddit-bot-swarm-auditor
- Tags: social-media

## About this skill

A zero-dependency, deterministic AI agent skill and CLI toolkit that audits Reddit threads, subreddits, and accounts for **spilled AI agents**, **stealth-edit link spam**, **account takeovers**, and **coordinated swarms**—using only the Python 3.10+ standard library and an incremental local SQLite graph.

### Why Use It
Instead of dumping 200 KB of raw Reddit JSON into your agent's context window (or breaking on Reddit HTTP 403 blocks), all fetching, graph analysis, and heuristic scoring run locally for 0 LLM tokens, neutralize prompt-injection strings under `untrusted_content`, and return a compact `<= 7.8 KB` report with atomic `[y/n]` follow-ups.

### 3-Class Deterministic Scoring (0–100)
- **Class 3 — Spilled Agent & OP Post:** Typing velocity (`chars_per_sec`), leaked `<tool_call>` / JSON / boilerplate refusal artifacts, prompt-injection patterns, stealth-edit external link injections (`>= 5 min`), and templated/CTA/promotional OP posts.
- **Class 2 — Coordination Graph & Shingling:** Incremental SQLite co-occurrence tracking (`<= 300s`), shared-domain bursts, repeating `A -> B -> C` reply chains, 4-band MinHash LSH near-duplicate shingling across threads/accounts, subreddit power-user dampening (`>60%`), and persistent watchlist propagation.
- **Class 1 — Account Takeover (Stage-2):** Two-stage historical baseline comparison for top suspects plus up to 2 spot-checked accounts per thread (`--spot-check N`), checking dormancy wake-ups, stylometric formality/punctuation shifts, active UTC hour shifts, and length spikes.

### Included Scripts & Setup
- `audit_thread.py`, `audit_subreddit.py`, `inspect_account.py`, `watchlist.py`, plus offline `--mock` fixtures.
- **Zero API keys required:** Automatically falls back on Reddit HTTP `403` to the public Arctic Shift API (and supports optional `REDDIT_CLIENT_ID` / `REDDIT_CLIENT_SECRET` OAuth2).
- **License:** MIT License (free & open source)

## Requires

- Python

## Known limitations

Recent threads (<4h) may have archive lag on Arctic Shift. Stylometry requires enough comment history for a valid baseline. Requires Python environment to run local audit scripts.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Reddit Bot & Swarm Auditor skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does Reddit Audit differ from simply asking an AI to summarize a thread for bots?

This skill provides a local audit suite that detects automated bot swarms, AI-generated spam, and account takeovers by analyzing behavioral telemetry that standard LLM prompts cannot see, such as typing velocity and cross-thread coordination.

### What are the setup requirements and is a Reddit API key mandatory?

The skill is designed as a standalone Python-based tool compatible with most agentic frameworks; it operates zero-config by using the Arctic Shift API, but can also be integrated with official Reddit OAuth for higher rate limits.

### What exactly is included in the 'Reddit Audit' package?

This free skill package includes the full Python audit suite, the SQLite-based local graph for persistent watchlists, and pre-configured scoring scripts for account behavior, coordination, and artifact detection.

### Can this tool identify bot rings that operate across multiple different subreddits?

The 'Swarms' feature uses MinHash shingling and co-occurrence mapping to identify accounts that post identical content or share links in rapid succession across different subreddits, exposing coordinated influence campaigns.

### Does the tool help identify if a previously legitimate human account has been compromised?

Yes, the skill includes a 'Dormancy Wake-up' check that flags older accounts that have been inactive for months and suddenly begin posting high-velocity or stylometrically different content, a hallmark of account takeovers.

### How accurate is the 'High-Risk' verdict, and can it produce false positives?

While the skill provides a 'High-Risk' verdict based on telemetry, users are encouraged to use the interactive remediation feature to deep-check accounts, as very young threads (under 4 hours) may have limited data for a definitive conclusion.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
