run-admin

run-admin is a command for Claude Code from RaNDoM6913/claude-code-superkit. It costs 23 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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

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

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 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. Scan, not verified.
Origin unknown 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 $0.00023 $0.00497
Opus 5 $0.00012 $0.00249
Sonnet 5 $0.00005 $0.00099
Haiku 4.5 $0.00002 $0.00050

Measured today against content hash e7a78bd75464, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 today.

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. today 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 (2 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 497 once invoked, about $0.0001 per session on Opus 5. 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.