# Goldilocks Diagnostics

> Use only when the user explicitly asks to generate or export a Goldilocks diagnostic report.

- Skill: `blackstone2333/goldilocks-diagnostics` (Agent Skill)
- Install (CLI): `npx skillmds@latest add blackstone2333/goldilocks-diagnostics`
- Raw SKILL.md: https://api.skillmd.com/api/skills/blackstone2333/goldilocks-diagnostics/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: blackstone2333 (https://skillmd.com/u/blackstone2333)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/blackstone2333/goldilocks-diagnostics

---


# Goldilocks diagnostics

When the user says “生成最近 7 天的 Goldilocks 中文诊断报告”, resolve the
currently enabled `goldilocks` source with `codex plugin list --json`, then run that
source's local, read-only exporter. It never calls a model or network and emits only
aggregate counts and evidence state. Do not search the cache: older Goldilocks versions
may remain there.

```bash
python3 <enabled-goldilocks-source>/scripts/diagnostic_report.py --days 7 --lang zh --output goldilocks-diagnostic.md
```

If more than one local state directory exists, ask for or pass the intended directory:

```bash
python3 <enabled-goldilocks-source>/scripts/diagnostic_report.py --data-dir /path/to/goldilocks-data --sessions-dir ~/.codex/sessions --days 7 --lang en --output goldilocks-diagnostic.md
```

The report is safe to share for Beta feedback: it excludes raw prompts, project and file contents, secrets, and transcript content. Missing data or old schemas are reported as **evidence insufficient**, never treated as a failure.

