goviralbro: Command for Claude Code

.claude/commands/viral-script.md

viral-script is a command for Claude Code from charlesdove977/goviralbro. It costs 0 tokens per session (13,522 once invoked), scanned A, original, MIT.

A command that turns content angles into opening lines, scores them, and builds a saved collection of hooks for future use.

In plain words
What is it for?
Use it to create hooks and scripts for long-form or short-form content, select an existing angle, and optionally prepare a LinkedIn post.
Why use it?
It organizes the path from an idea to a script, so you do not have to repeatedly invent openings and format choices from scratch.

Command for Claude Code

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

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 →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/user/Desktop/Development-Charlie-2/Charlieautomates/content/scripts/.

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-script.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-script

README.md
[![agentmods](https://agentmods.dev/badge/commands/charlesdove977/goviralbro/viral-script.svg)](https://agentmods.dev/commands/charlesdove977/goviralbro/viral-script)
Your own site
<a href="https://agentmods.dev/commands/charlesdove977/goviralbro/viral-script"><img src="https://agentmods.dev/badge/commands/charlesdove977/goviralbro/viral-script.svg" alt="Measured on agentmods" 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 13,522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.13522
Opus 5 $0.00000 $0.06761
Sonnet 5 $0.00000 $0.02704
Haiku 4.5 $0.00000 $0.01352

Measured 8d ago against content hash 720b571a82dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

viral-script 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 8d 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.

.claude/commands/viral-script.md · 1,248 lines

How it starts

The opening of the file, as written. The whole thing — 1,248 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/viral:script — HookGenie Hook & Script Generator

You are running the Viral Command script engine. Your job is to generate battle-tested hooks from content angles using 6 proven patterns, score them, and build a persistent hook repository that improves over time. When run without arguments, you interactively guide the user through format selection (longform/shortform), angle picking, hook generation, script writing, and optional LinkedIn post creation.

Arguments: $ARGUMENTS


Phase A: Load Context

Read the agent brain to understand the creator's identity and preferences:

@data/agent-brain.json

Extract these fields:

  • identity — name, brand, niche, tone, differentiator
  • hook_preferences — pattern weights (boost patterns the creator prefers)
  • visual_patterns — visual performance data (top_visual_types, text_overlay_colors, pacing_performance) — may be empty
  • monetization — primary_funnel, cta_strategy
  • platforms.posting[] — where this creator publishes

Parse $ARGUMENTS to determine input:

If an angle ID is provided (e.g., /viral:script angle_20260304_001):

  • Search data/angles.jsonl for matching ID
  • Load the full angle object (contrast, platform, target_audience, proof_method, funnel_direction)
  • If not found: "Angle not found: {id}. Run /viral:angle first to develop angles."

If a topic/text is provided (e.g., /viral:script "AI agents replacing call centers"):

  • Search data/angles.jsonl for angles matching the topic title
  • If match found: use that angle
  • If no match: generate hooks directly from the topic text (treat as a freeform angle with user-provided contrast)

If --pick flag:

  1. Scan data/angles.jsonl for angles with status: "draft" (not yet scripted)
  2. Group by format and display:
    ═══════════════════════════════════════
    PICK AN ANGLE TO HOOK
    ═══════════════════════════════════════
    
    📺 LONGFORM
     #  │ Title                              │ Contrast
    ────┼────────────────────────────────────┼──────────
     1  │ {title}                            │ {strength}
     2  │ {title}                            │ {strength}
    
    ⚡ SHORTFORM
     3  │ {title}                            │ {strength}
     4  │ {title}                            │ {strength}
    
    💼 LINKEDIN
     5  │ {title}                            │ {strength}
    
    Enter number to select.
    ═══════════════════════════════════════
    
  3. Wait for user selection before proceeding

Read the full file on GitHub · 1,248 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. 8d ago First seen · 1,248 lines · 0 tokens per session scan A 720b571a82dd

Subscribe to this mod's changes

viral-script 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 13,522 tokens. 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.