Borrowing it
Nothing to install: this file belongs to QuickerHub/quicker-rpc. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/QuickerHub/quicker-rpc/main/.cursor/commands/agent-setup.mdgit clone --depth 1 https://github.com/QuickerHub/quicker-rpcWrote 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.
[](https://agentmods.dev/commands/quickerhub/quicker-rpc/agent-setup)<a href="https://agentmods.dev/commands/quickerhub/quicker-rpc/agent-setup"><img src="https://agentmods.dev/badge/commands/quickerhub/quicker-rpc/agent-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.
<a href="https://agentmods.dev/commands/quickerhub/quicker-rpc/agent-setup"><img src="https://agentmods.dev/badge/commands/quickerhub/quicker-rpc/agent-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01244 |
| Opus 5.5 | $0.00000 | $0.00498 |
| Sonnet 5.5 | $0.00000 | $0.00249 |
| Haiku 4.5 | $0.00000 | $0.00124 |
Grade A, and why
agent-setup 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.
How it starts
The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
qkrpc Agent 一键安装 / 刷新 skills + MCP
在 quicker-rpc 仓库根目录 执行。说明见 docs/agent-mcp-integration.md、docs/agent-skill-distribution.md。
何时执行
| 场景 | 命令 |
|---|---|
| 首次安装(交互选 Cursor / Codex / …) | qkrpc agent install |
| 首次在本机 Cursor 接入 qkrpc(非交互) | qkrpc agent setup |
| 热更新 / 升级 CLI 后刷新 skills、rules | qkrpc agent setup --upgrade |
研发中改了 docs/skills/* 或 docs/agent-rules/* |
qkrpc agent setup --upgrade(在仓库根目录,自动从 docs/skills 复制) |
| 检查本机配置是否与 CLI 版本一致 | qkrpc agent setup --check |
| 团队仓库要 commit MCP 配置 | qkrpc agent setup --project --workspace <path>(可选 --project-skills) |
| 多宿主(VS Code、Claude Desktop 等) | qkrpc agent setup --all |
向后兼容别名: qkrpc mcp install(与 agent setup 相同)。
前置
- 已安装
qkrpc.exe(Release 安装包或build.ps1 -t后的%LOCALAPPDATA%\Programs\qkrpc)。 - Quicker 已运行且已加载 QuickerRpc 插件(MCP 连通性与此无关,但使用工具时需要)。
- 在仓库根目录执行时,
--upgrade会优先从本仓库docs/skills/、docs/agent-rules/qkrpc.mdc复制(无需--skill-source)。
执行(研发默认)
# 仅刷新 skills + rules + Claude 指引,不覆盖已有 MCP 配置
qkrpc agent setup --upgrade
首次安装或需重写 MCP 配置:
qkrpc agent setup --workspace D:\your-quicker-workspace
block_until_ms ≥ 15000。期望退出码 0,stderr 列出写入路径。
写入产物(用户级默认)
| 产物 | 路径 |
|---|---|
| MCP | ~/.cursor/mcp.json(stdio: qkrpc mcp) |
| Skills | ~/.cursor/skills/:qkrpc、quicker-rpc-knowledge、quicker-authoring、quicker-eval-expression、quicker-run |
| Rules | ~/.cursor/rules/qkrpc.mdc |
| Manifest | ~/.qkrpc/agent-setup.json(cliVersion 用于 --check) |
验证
qkrpc agent setup --check
# JSON for automation:
qkrpc agent setup --check --json
期望:qkrpc agent setup: OK (CLI x.y.z.r),或 JSON 中 "ok": true。
然后在 Cursor:重载 MCP(Settings → MCP → 重启或 Reload)后应出现 user-qkrpc 工具。
可选连通性:
# MCP 工具 qkrpc_health 等价
qkrpc ping --json
研发 skill 时注意
- Skill 源码目录:
docs/skills/<name>/(发布时由publish/publish-rpc.ps1打入安装包skills/)。 - 单 skill 调试:
qkrpc agent setup --upgrade --skill-source docs/skills/qkrpc - 第三方 MCP 不提供文件读写;磁盘编辑走宿主文件工具 +
workspace_programpatch;说明见quicker-authoring/quicker://workspace/readme。 - Codex:
qkrpc agent setup --codex --project --workspace <根>;Agent 逐步说明见docs/agent-mcp-self-install.md。 - npm
@quickerhub/qkrpc-mcp仅 spawnqkrpc mcp,skills 仍须agent setup。
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.
- 1mo ago First seen · 92 lines · 0 tokens per session scan A c4660eb269aa
agent-setup is a command published in the GitHub repository QuickerHub/quicker-rpc (14 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,244 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.
Other commands, from other repositories
modernize-uplift
Same-stack version uplift (e.g. .NET Framework 4.8 → .NET 8) — preserve the code, fix the version deltas, prove equivalence by running one test suite on both runtimes.
commit
A command that examines staged Git changes and proposes a commit message using the Conventional Commits format, such as feat, fix, or docs. Git is a tool for tracking changes to code.
modernize-transform
Transform one legacy module to the target stack — idiomatic rewrite with behavior-equivalence tests.
amp-register
Register your agent with an external AMP provider for cross-provider messaging.
doctor
Badi configuration validation. Checks all Badi components and produces a diagnostic report.
search
Full-text search the carrel desk index (FTS5, bm25-ranked) for local files matching a query, with type and tag filters.