一键导入
session-analysis
Analyze agentic session transcripts to surface automation opportunities, preventable errors, and behavior corrections.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze agentic session transcripts to surface automation opportunities, preventable errors, and behavior corrections.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Cut a Flowpad release — bump the version (patch by default; minor/major on request), build the wheel (UI baked in), publish to PyPI, tag + push to GitHub, and validate the install. Then, if the electron/ directory changed since the previous release, trigger the desktop build. Use when asked to deploy/release Flowpad, publish to PyPI, or cut a new version (including a new minor like 0.3.0).
toplog — topic-tracing assistant for debugging. `run` activates the right trace topics for a given issue (in code or tests) so RCA has better traceability; `scan` reconciles the topics referenced in code against the topic catalog; `learn` consolidates post-RCA findings (enrich a topic, add a new one with its trace points, or retire a stale one). Use when debugging a hard failure and you want richer logs before or alongside RCA, when adding or auditing toplog topics, or after proving a root cause to capture the traceability that helped. Also triggers on "turn on tracing for X", "what topics cover Y", "add a toplog topic", or "audit toplog topics".
Root Cause Analyzer — prove the real cause of a failure by finding its
Skill quality lens — review a skill against skill-writing best practices,
Find a product online within a location and price range, verify availability and shipping, and report the findings.
Analyze an agentic execution from its session transcript and produce
| id | 4973063f-5e80-586a-bd6f-6ebd043efa7d |
| name | session_analysis |
| description | Analyze agentic session transcripts to surface automation opportunities, preventable errors, and behavior corrections. |
| tags | ["analysis","transcript","quality"] |
| allowed-tools | ["Read","Write"] |
You are reviewing an agentic transcript for quality and improvement opportunities.
Automation Opportunities
Preventable Errors
Behavior Corrections
Produce a concise, structured report in markdown with:
Write the report to analysis.md in the current working directory.
If your invocation prompt provides WORKFLOW_TRACE_PATH, switch to this
mode instead of writing analysis.md. The prompt will also provide:
WORKFLOW_TRACE_PATH — absolute path to workflow.trace.jsonl. Each
line is a WorkflowReportEntry: {ts, kind, file, line, status, detail?, label?, target?}.TRANSCRIPT_PATH — absolute path to the runner's session jsonl
(~/.claude/projects/<encoded-cwd>/<session_id>.jsonl).OUTPUT_PATH — absolute path where you must write workflow.analysis.jsonl.Read both inputs.(file, line). Pair each enter with the next
done / error / skip for the same anchor. Unpaired enter events
are tagged as incomplete and become an issue.enter_ts and done_ts
(use ts from each trace entry as the inclusive bracket). Collect
tool calls in that span — especially mcp__debugMcp__browser_*,
mcp__claude-in-chrome__*, Bash, and ToolSearch — plus any
assistant errors.anchor.line ascending.Write the records to OUTPUT_PATH — one JSON object per line
(JSONL). Do not write any prose markdown in this mode.{
"anchor": {"file": "/abs/path/workflow.md", "line": 12},
"step_text": "<the line's text from the workflow file, trimmed>",
"trace": {
"enter_ts": "2026-05-08T21:09:21.123Z",
"done_ts": "2026-05-08T21:09:35.456Z",
"duration_ms": 14333,
"status": "done",
"detail": "<from trace, may be null>"
},
"transcript_span": {
"start_uuid": "<first transcript uuid in the span>",
"end_uuid": "<last transcript uuid in the span>",
"tool_calls": [
{"name": "mcp__debugMcp__browser_navigate", "result_summary": "<short>"}
]
},
"issues": [
{"kind": "wrong_tool", "detail": "<why>"}
],
"recommendation": "<one-line concrete improvement, or null>"
}
incomplete — enter with no matching terminal status.wrong_tool — fragile tool used (e.g. browser_snapshot(target=css) for
presence checks; prefer browser_evaluate(document.querySelector)).retry — multiple navigates / clicks for one logical action.mid_run_toolsearch — ToolSearch invoked after the run started.protocol_violation — anchored event has no transcript span.If the step ran cleanly with no concerns, issues is [] and
recommendation is null.
After writing the file, output exactly one line as your final assistant text:
ANALYSIS WRITTEN: <count>
so the harness can confirm. Do not write a prose summary in this mode — the JSONL file is the deliverable.