goviralbro: Command for Claude Code

.claude/commands/viral-setup.md

viral-setup is a command for Claude Code from charlesdove977/goviralbro. It costs 0 tokens per session (5,728 once invoked), scanned B, original, MIT.

A setup wizard for Viral Command, a content-creation tool that connects to social-platform services. It checks dependencies, configures platform APIs, verifies connections, and can set up analytics access.

In plain words
What is it for?
It helps check requirements, connect or reconfigure platforms, set up YouTube and Instagram analytics, verify integrations, and continue setup when one platform fails.
Why use it?
It reduces the manual work and configuration mistakes involved in connecting platforms. It also keeps secret API keys in an environment file instead of the tracked configuration.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: positional $N argument.

This is charlesdove977/goviralbro's own configuration. It tells Claude Code how to work on goviralbro itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything goviralbro configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cat ../../.env 2>/dev/null.

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/charlesdove977/goviralbro/main/.claude/commands/viral-setup.md
Clone the repo
git clone --depth 1 https://github.com/charlesdove977/goviralbro

Made for: Claude Code.

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 viral-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/charlesdove977/goviralbro/viral-setup/github.svg)](https://agentmods.dev/commands/charlesdove977/goviralbro/viral-setup)
Your own site
<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.

agentmods 80×15 button for viral-setup

Your own site · 80×15
<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>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,728 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00000 $0.05728
Opus 5 $0.00000 $0.02864
Sonnet 5 $0.00000 $0.01146
Haiku 4.5 $0.00000 $0.00573

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

Security

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 10d 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"
.claude/commands/viral-setup.md · 733 lines

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

  1. Never store API keys in agent-brain.json — keys go in .env only. The brain is git-tracked; .env is gitignored.
  2. Update agent-brain.json platforms.api_keys_configured only after successful verification — never store actual keys there.
  3. Graceful failures — if one platform fails, continue to next. Don't abort the whole setup.
  4. Idempotent — running setup twice won't break anything. Skip already-configured platforms unless --reconfig is passed.
  5. Skip already-configured platforms — check .env for existing keys and platforms.api_keys_configured in 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

Read the full file on GitHub · 733 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. 10d ago First seen · 733 lines · 0 tokens per session scan B 93f90f475c5e

Subscribe to this mod's changes

viral-setup is a command published in the GitHub repository charlesdove977/goviralbro (264 stars, last pushed 5mo 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.