用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill d-inspect命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
LLM token logprobs and calibration. Per-decision confidence, ECE, Brier, reliability diagrams, low-confidence triage.
Analyze LLM token logprobs and calibration. Use for per-decision confidence, ECE, Brier scores, reliability diagrams, and low-confidence triage.
回顾最近 N 天的 Claude Code 使用记录——扫描原始会话数据,按主题分组汇总"我都做了什么",并从个人操作系统视角输出模式、风险与增删建议。当用户说 /recap、"看看我这几天做了什么"、"回顾一下我最近的会话"、"这两天我用 claude 干了啥"、"活动回顾" 时使用。
基于 SOC 职业分类
正在显示 SKILL.md
| name | d-inspect |
| description | Inspect code and propose root cause hypotheses. Creates ./.gtd/debug/current/HYPOTHESES.md |
| disable-model-invocation | true |
Core responsibilities:
Flow: Load Symptom → Trace Code → Form Hypotheses → Rank by Confidence
**Required files:**./.gtd/debug/current/SYMPTOM.md — Must existOutput:
./.gtd/debug/current/HYPOTHESES.mdAgents used:
research — During code tracing
| Workflow | Relationship |
|---|---|
/d-symptom | Provides symptom for analysis |
/d-verify | Tests these hypotheses |
Don't fixate on the first idea. Generate 3-5 competing hypotheses.
Rate each hypothesis honestly:
Each hypothesis needs supporting evidence from code analysis.
Read ./.gtd/debug/current/SYMPTOM.md.
if ! test -f "./.gtd/debug/current/SYMPTOM.md"; then
echo "Error: No symptom documented. Run /d-symptom first."
exit 1
fi
Trigger: Immediately after loading symptom.
Fill prompt and spawn:
<objective>
Analyze root cause for symptom_file: ./.gtd/debug/current/SYMPTOM.md
</objective>
<investigation_checklist>
1. Identify Entry Points (triggers)
2. Trace Execution Flow (conditions, branches)
3. Examine Suspect Areas (logic gaps, state)
4. Check Dependencies (config, DB)
</investigation_checklist>
<output_format>
Ranked Hypotheses (3-5):
- Description
- Evidence (File:Line)
- Confidence Level
- Verification Method
</output_format>
Task(
prompt=filled_prompt,
subagent_type="researcher",
description="Investigating root cause"
)
Write to ./.gtd/debug/current/HYPOTHESES.md:
# Root Cause Hypotheses
**Analyzed:** {date}
**Status:** PENDING VERIFICATION
## Summary
Based on code analysis, here are the most likely root causes:
---
## Hypothesis 1: {Short description}
**Confidence:** High (75%)
**Description:**
{Detailed explanation of what you think is wrong}
**Evidence:**
- {Observation 1 from code}
- {Observation 2 from code}
- {Supporting fact}
**Location:**
- Files: `{file1}`, `{file2}`
- Lines: {line ranges}
**Verification Method:**
{How to confirm/reject this hypothesis}
---
## Hypothesis 2: {Short description}
**Confidence:** Medium (50%)
{Same structure as above}
---
## Hypothesis 3: {Short description}
**Confidence:** Low (25%)
{Same structure as above}
---
## Code Analysis Notes
{Any additional observations, patterns, or concerns}
<offer_next>
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GTD:DEBUG ► HYPOTHESES GENERATED ✓
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Hypotheses documented: ./.gtd/debug/current/HYPOTHESES.md
Total hypotheses: {N}
Highest confidence: {X}%
─────────────────────────────────────────────────────
▶ Next Up
/d-verify — verify hypotheses with debug logs
─────────────────────────────────────────────────────
</offer_next>
<forced_stop> STOP. The workflow is complete. Do NOT automatically run the next command. Wait for the user. </forced_stop>