run-admin

run-admin is a command for Claude Code from RaNDoM6913/claude-code-superkit. It costs 0 tokens per session (497 once invoked), scanned A, original, MIT.

A command that starts the admin panel in live, demo, or final mode. Demo mode uses mock data without a backend, while the other modes use live services.

In plain words
What is it for?
Use it to launch the admin panel with or without Docker and backend services, and to load seeded test data in final mode.
Why use it?
It makes it easy to run the panel for different purposes, from a quick frontend preview to a strict live-data test.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads ~/.codex paths; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash .codex/skills/run-admin/scripts/run_admin.sh.

Good fit Use it to launch the admin panel with or without Docker and backend services, and to load seeded test data in final mode.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit
agentmods
npx agentmods add commands/random6913/claude-code-superkit/run-admin

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 run-admin

README.md
[![agentmods](https://agentmods.dev/badge/commands/random6913/claude-code-superkit/run-admin/github.svg)](https://agentmods.dev/commands/random6913/claude-code-superkit/run-admin)
Your own site
<a href="https://agentmods.dev/commands/random6913/claude-code-superkit/run-admin"><img src="https://agentmods.dev/badge/commands/random6913/claude-code-superkit/run-admin/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 run-admin

Your own site · 80×15
<a href="https://agentmods.dev/commands/random6913/claude-code-superkit/run-admin"><img src="https://agentmods.dev/badge/commands/random6913/claude-code-superkit/run-admin.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 497 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.00497
Opus 5.5 $0.00000 $0.00199
Sonnet 5.5 $0.00000 $0.00099
Haiku 4.5 $0.00000 $0.00050

Measured 1mo ago against content hash e7a78bd75464, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-admin 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 1mo 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.

packages/showcase/.claude/commands/run-admin.md · 62 lines

What it actually says

Run Admin Panel

Start the SocialApp admin panel in one of three modes.

Mode Selection

Parse $ARGUMENTS to determine mode:

  • No args or "live" → Live mode (Docker + backend + login + frontend)
  • "demo" → Demo mode (frontend only, mock data, no backend/Docker)
  • "final" → Final/strict mode (everything live, seed data, no mock fallbacks)

Live Mode (default)

bash .codex/skills/run-admin/scripts/run_admin.sh
  • Docker infra: PostgreSQL, Redis, MinIO
  • Backend API: port 8080
  • Login backend: port 8082
  • Frontend: port 5173 (live auth mode)
  • Admin login: http://localhost:5173
  • Test user Telegram ID: 123456789 (LOGIN_DEV_MODE=true)

Demo Mode

bash .codex/skills/run-admin-demo/scripts/run_admin_demo.sh
  • Frontend only: port 5174 (all modes forced to mock)
  • Login is skipped entirely
  • No Docker or backend required
  • Open: http://localhost:5174

Final Mode

bash .codex/skills/run-admin-final/scripts/run_admin_final.sh $ARGUMENTS
  • Docker infra: PostgreSQL, Redis, MinIO
  • Backend API: port 8080
  • Login backend: port 8082 (LOGIN_DEV_MODE=false)
  • Frontend: port 5175 (strict live mode)
  • Seed data: 6 test users + metrics + support + moderation + ads data
  • Arguments: --no-seed, --seed-mode upsert|reset|clear
  • Required env: LOGIN_TELEGRAM_BOT_TOKEN, VITE_ADMIN_TELEGRAM_BOT_USERNAME

After Start

  • Logs: ~/.config/myapp/run-admin/logs/
  • Stop: /stop-admin

$ARGUMENTS

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. 1mo ago First seen · 62 lines · 0 tokens per session scan A e7a78bd75464

Subscribe to this mod's changes

run-admin is a command published in the GitHub repository RaNDoM6913/claude-code-superkit (3 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 497 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-09-03.