run

A command for starting a project's development servers. It can detect available services and start all of them or a selected backend API or frontend.

In plain words
What is it for?
Use it to start supported backend servers such as Flask or FastAPI and frontend servers such as Vite or Webpack, either together or by service name.
Why use it?
It removes the need to work out which services to start and in what order. It also checks ports and shows the services' access URLs.

Command

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/xiaobei930/cc-best/run
Clone the repo
git clone --depth 1 https://github.com/xiaobei930/cc-best
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 323 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00018 $0.00323
Opus 5 $0.00009 $0.00161
Sonnet 5 $0.00004 $0.00065
Haiku 4.5 $0.00002 $0.00032

Measured 2d ago against content hash b14c38c53a1e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

run 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 2d 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.

commands/run.md · 45 lines

What it actually says

/run - 启动服务

启动项目的开发服务器。

参数

$ARGUMENTS - 可选,指定启动的服务

示例:

  • /cc-best:run - 启动所有服务
  • /cc-best:run api - 只启动后端 API
  • /cc-best:run frontend - 只启动前端

任务

  1. 检测可用的服务组件
  2. 根据 $ARGUMENTS 启动指定服务(或全部)
  3. 显示服务访问地址

服务类型

  • 后端 API:Flask, FastAPI, Django, Spring Boot, ASP.NET
  • 前端:Vite, Webpack Dev Server, Vue CLI

启动步骤

  • 检查端口占用情况
  • 按依赖顺序启动服务
  • 显示各服务的访问 URL

注意事项

  • 确保虚拟环境已激活(Python)
  • 确保依赖已安装(npm install / pip install)
  • 检查必要的环境变量

记住: 开发服务要在后台运行,前台留给主工作流。用完记得关闭,避免端口占用和资源浪费。

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. 2d ago First seen · 45 lines · 18 tokens per session scan A b14c38c53a1e

Subscribe to this mod's changes

run is a command published in the GitHub repository xiaobei930/cc-best (50 stars, last pushed 2mo ago), licensed MIT. It adds 18 tokens to every session and 323 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-08-30.