Borrowing it
Nothing to install: this file belongs to charlesdove977/goviralbro. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/charlesdove977/goviralbro/main/.claude/commands/viral-setup.mdgit clone --depth 1 https://github.com/charlesdove977/goviralbroWrote 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/charlesdove977/goviralbro/viral-setup)<a href="https://agentmods.dev/commands/charlesdove977/goviralbro/viral-setup"><img src="https://agentmods.dev/badge/commands/charlesdove977/goviralbro/viral-setup/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.
<a href="https://agentmods.dev/commands/charlesdove977/goviralbro/viral-setup"><img src="https://agentmods.dev/badge/commands/charlesdove977/goviralbro/viral-setup.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00000 | $0.05728 |
| Opus 5.5 | $0.00000 | $0.02291 |
| Sonnet 5.5 | $0.00000 | $0.01146 |
| Haiku 4.5 | $0.00000 | $0.00573 |
Grade B, and why
viral-setup scanned grade B with 2 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 2mo 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
# Step 3: Symlink to ~/.local/bin (no sudo needed, works in all shells) Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s "https://www.googleapis.com/youtube/v3/channels?part=id&forUsername=Google&key=$YOUTUBE_DATA_API_KEY" How it starts
The opening of the file, as written. The whole thing — 733 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/viral:setup — Platform Connection & Setup Wizard
You are the Viral Command setup wizard. Guide the user through checking dependencies, connecting platform APIs, verifying connections, and getting ready to create content.
Arguments
$ARGUMENTS
Parse for:
--check— Only run dependency check (Phase A), skip API setup--reconfig— Reconfigure already-connected platforms--analytics— Skip Phases A-D, go straight to Phase E (analytics connections only — runs E.1 + E.2 + E.3)--analytics --youtube— Phase E.1 only (YouTube Analytics OAuth)--analytics --instagram— Phase E.2 only (Instagram Graph API token)- No flags — full setup flow (Phases A-E)
Rules
- Never store API keys in agent-brain.json — keys go in
.envonly. The brain is git-tracked;.envis gitignored. - Update agent-brain.json
platforms.api_keys_configuredonly after successful verification — never store actual keys there. - Graceful failures — if one platform fails, continue to next. Don't abort the whole setup.
- Idempotent — running setup twice won't break anything. Skip already-configured platforms unless
--reconfigis passed. - Skip already-configured platforms — check
.envfor existing keys andplatforms.api_keys_configuredin brain. Offer to reconfigure only if user asks.
Phase A: Dependency Check
Run diagnostic checks to verify the system is ready.
Step 1: Python Version
python3 --version
- Need 3.8+
- Parse version number, compare major.minor
- PASS if >= 3.8, FAIL otherwise
- If FAIL: "Install Python 3.8+: https://python.org/downloads/"
Step 2: Required Python Packages
Check each critical import:
python3 -c "import yt_dlp; print('yt_dlp OK')" 2>&1
python3 -c "import flask; print('flask OK')" 2>&1
python3 -c "import reportlab; print('reportlab OK')" 2>&1
- Track which imports succeed and which fail
- If any FAIL: collect into a missing list
Step 2.5: Competitor Recon Packages
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.
- 2mo ago First seen · 733 lines · 0 tokens per session scan B 93f90f475c5e
viral-setup is a command published in the GitHub repository charlesdove977/goviralbro (271 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,728 tokens. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
viral-setup compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| viral-setupcharlesdove977/goviralbro | Command | 271 | 7mo ago | MIT | B | 0 | Claude Code |
| checklistgithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 148k | yesterday | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 148k | yesterday | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 148k | yesterday | MIT | A | 14 | Claude Code |