quicker-rpc: Command for Claude Code

.cursor/commands/session-analysis.md

session-analysis is a command for Claude Code, Cursor from QuickerHub/quicker-rpc. It costs 0 tokens per session (518 once invoked), scanned A, original, MIT.

A command for examining exported QuickerAgent conversations, including the assistant's messages and tool calls. QuickerAgent is an AI agent environment.

In plain words
What is it for?
Use it to analyze a saved chat export, score the authoring workflow, identify the most important findings, and suggest changes to prompts, tools, or skills.
Why use it?
It helps locate inefficient prompts, tool errors, repeated attempts, and schema problems in a completed session instead of reviewing the whole transcript manually.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

This is QuickerHub/quicker-rpc's own configuration. It tells Claude Code and Cursor how to work on quicker-rpc 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 quicker-rpc configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is pwsh -NoProfile -File ./scripts/Invoke-AgentSessionAnalysis.ps1 -ExportPath "<绝对路径>".

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/QuickerHub/quicker-rpc/main/.cursor/commands/session-analysis.md
Clone the repo
git clone --depth 1 https://github.com/QuickerHub/quicker-rpc

Made for: Claude Code, Cursor.

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 session-analysis

README.md
[![agentmods](https://agentmods.dev/badge/commands/quickerhub/quicker-rpc/session-analysis/github.svg)](https://agentmods.dev/commands/quickerhub/quicker-rpc/session-analysis)
Your own site
<a href="https://agentmods.dev/commands/quickerhub/quicker-rpc/session-analysis"><img src="https://agentmods.dev/badge/commands/quickerhub/quicker-rpc/session-analysis/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 session-analysis

Your own site · 80×15
<a href="https://agentmods.dev/commands/quickerhub/quicker-rpc/session-analysis"><img src="https://agentmods.dev/badge/commands/quickerhub/quicker-rpc/session-analysis.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 518 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.00518
Opus 5.5 $0.00000 $0.00207
Sonnet 5.5 $0.00000 $0.00104
Haiku 4.5 $0.00000 $0.00052

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

Security

Grade A, and why

session-analysis 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.

.cursor/commands/session-analysis.md · 64 lines

What it actually says

QuickerAgent 会话分析(session-analysis)

分析导出的 Agent 对话 JSON,自动跑 trace 规则并给出 prompt / tool / skill 优化建议。先 Read skill:.cursor/skills/quicker-agent-session-review/SKILL.md。

何时执行

  • 用户提供了 quicker-agent-*.json 导出路径或附件
  • 用户问「分析这段 Agent 对话 / 优化 prompt / 为什么 tool 调用这么多」
  • benchmark 或手工试跑后,需要解释 trace 问题

输入

  • 格式:quicker-agent-chat-export v1(QuickerAgent 聊天 → 导出线程)
  • 默认目录:%AppData%\QuickerAgent\exports\

执行(Agent 自跑)

有明确路径(用户附件或 @ 文件):

pwsh -NoProfile -File ./scripts/Invoke-AgentSessionAnalysis.ps1 -ExportPath "<绝对路径>"

自动取最新导出(用户未指定文件):

pwsh -NoProfile -File ./scripts/Invoke-AgentSessionAnalysis.ps1 -Latest

机器可读 JSON:

pwsh -NoProfile -File ./scripts/Invoke-AgentSessionAnalysis.ps1 -Latest -Json

保存报告(可选):

pwsh -NoProfile -File ./scripts/Invoke-AgentSessionAnalysis.ps1 -Latest -OutFile agent-gui/.local/session-analysis-last.md

等价 npm(在 agent-gui/):

pnpm agent-session -- "<export.json>"
pnpm agent-session -- "<export.json>" --json
pnpm agent-session -- --latest

完成后汇报

  • 匹配的 benchmark task id(若有)
  • E-axis PASS/FAIL
  • tool 次数、error/retry 次数、主要 findings(前 3 条)
  • Optimization hints 中优先级最高的一条及目标文件

若 exit code ≠ 0:列出 severity=error 的 finding 或 trace rubric violation。

禁止

  • 未读 export 就猜测 agent 行为
  • 把 UI 交互任务当 QuickerBench 唯一通过标准
  • 建议修改 step-runner inputParams 而不引用 export 中的 tool 证据
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 · 64 lines · 0 tokens per session scan A 51461b6ba87c

Subscribe to this mod's changes

session-analysis 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 518 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.