用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/fabioc-aloha/ChessCoach --skill dream-state命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| type | skill |
| lifecycle | stable |
| inheritance | inheritable |
| name | dream-state |
| description | Architecture maintenance, connection validation, automated health diagnostics, and unconscious processing |
| tier | standard |
| applyTo | **/*dream*,**/*maintenance*,**/*health* |
| disable-model-invocation | true |
| currency | 2026-04-22T00:00:00.000Z |
Automated architecture maintenance — scan every memory file, validate structural integrity, produce a diagnostic report. Dream observes and measures; it never modifies.
| Phase | Action | Output |
|---|---|---|
| 1. Discovery | Scan .github/ for all memory files | File inventory |
| 2. Validation | Parse frontmatter, verify trifecta completeness | Issue list |
| 3. Repair | Auto-fix via consolidation mappings (renames only) | Repair log |
| 4. GK Sync | Check %OneDrive%/AI-Memory/ for cross-platform content | Sync status |
| 5. Reporting | Generate health report with statistics | Markdown report |
| 6. Display | Show results, open report in VS Code | Notification |
| Metric | Healthy | Concern |
|---|---|---|
| Broken connections | 0 | Any |
| Missing frontmatter | 0 | Any |
| Incomplete trifectas | 0 | Any high-use skills |
| Brand violations | 0 (outside exceptions) | Any |
| Version drift | All match | Any mismatch |
| Review queue size | 0–5 pending | >10 pending (semantic debt accumulating) |
| Review queue age | Oldest <30d | Oldest >60d (stale reviews indicate blocked curation) |
The review queue (.github/quality/review-queue.jsonl, defined in FM5) is a leading indicator of semantic debt. When the queue grows faster than it's resolved, the architecture is accumulating unreviewed changes.
| Signal | Threshold | Health Impact | Action |
|---|---|---|---|
| Queue size growing | >10 pending entries | needs-attention | Prioritize review session; schedule meditation |
| High-priority entries stale | Any high priority entry >14d unresolved | needs-attention | Escalate: these are heir-feedback or drift-detected entries |
| Queue empty | 0 pending | healthy | Normal state; curation is keeping pace |
| Oldest entry age | >60 days | needs-attention | Something is blocking reviews; investigate |
Per-volatility weighting: High-volatility files (instructions, skills with frequent edits) generate more queue pressure than stable reference docs. Weight queue entries by the source file's edit frequency when computing backpressure score.
Integration: Dream protocol reads review-queue.jsonl during Phase 2 (architecture scan) and includes queue metrics in the dream report's health assessment.
Meditation is the foundational ritual. Dream is a diagnostic that runs subordinate to it.
| Dream | Meditation | |
|---|---|---|
| Role | Diagnostic tool | Foundational ritual |
| Mode | Automated, unconscious | Interactive, conscious |
| Creates files? | Reports only | Memory files + insights |
| Makes decisions? | Never | Yes |
| Activation | /dream, or chained after meditation | User says "meditate" |
| Analogy | Blood test | Doctor's visit |
Dream triggers automatically after meditation when:
| Trigger | Condition |
|---|---|
| Pattern: file reorg | Meditation touched 3+ architecture files |
| Pattern: trifecta concern | Meditation created or modified skills/instructions |
| Pattern: staleness | Last dream was >7 days ago |
| Random | ~1 in 5 meditations (keeps architecture fresh) |
Skills connect via frontmatter applyTo patterns and semantic search:
---
name: "skill-name"
description: "What this skill does"
applyTo: '**/*pattern*,**/*files*'
---
Valid relations: applies-to, extends, requires, contradicts, supersedes
# Dream Report — YYYY-MM-DD
## Summary
- **Files Scanned**: N
- **Trifecta Completeness**: N/N
- **Broken Links**: 0
- **Brand Violations**: 0
- **Status**: HEALTHY / ATTENTION REQUIRED
## Issues Found
| File | Issue | Severity |
|------|-------|----------|
## Recommendations
Prioritized list of manual fixes needed.
| Status | Meaning | Action |
|---|---|---|
| HEALTHY | All checks pass, no broken connections | None — architecture is sound |
| ATTENTION REQUIRED | One or more issues detected | Review issues table, prioritize by severity |
Severity levels: critical (broken trifecta), warning (missing frontmatter field), info (cosmetic).
Dream is a diagnostic — it never modifies files. When findings require judgment (skill consolidation, content quality decisions, contradiction resolution), the natural next step is meditation, which reads the dream report and decides what to fix.
| Finding type | Resolution path |
|---|---|
| Missing frontmatter, broken link with mapping | Author the fix in the next meditation; mechanical |
Two skills with overlapping applyTo | Meditation decides merge / split / keep; semantic |
| Skill flagged as shallow | Meditation enriches or deprecates; requires domain context |
| Trifecta where instruction contradicts skill | Meditation reconciles intent; requires understanding |
| Version drift master/heir | Meditation picks canonical; project-specific |
The handoff is the dream report file. Meditation's Resolve step explicitly evaluates whether a dream should chain after it; the inverse — meditation reading an existing dream report — happens naturally when a meditation session opens with "check the architecture first."
This pattern replaces the former lucid-dream ritual (retired v8.4.0). The escalation concept lives here because dream is the producer of the findings; meditation is the consumer that decides.
.github/quality/dream-report.json)dream-cli.cjs writes a single structural JSON snapshot every run. Heirs and graders depend on this shape; preserve it across versions.
| Field | Type | Purpose |
|---|---|---|
schemaVersion | number | Currently 1. Bump only with a heir migration plan. |
timestamp | ISO string | Last dream run; consumed by proactive-awareness and health-pulse. |
workspace | string | Absolute path of the dreamed workspace. |
inventory.skills / .instructions / .prompts / .agents / .total | numbers | File counts under .github/. |
trifectaIssues[] | {type, skill, detail} | Workflow skills missing matching .instructions.md or .prompt.md. |
brokenRefs[] | {sourceFile, line, target} | Markdown / config references that no longer resolve. |
health | "healthy" | "good" | "needs-attention" | Derived bucket: 0 / ≤5 / >5 issues. |
Stability rule: meditation, dream-creativity-score.cjs, and heir consumers (health-pulse, proactive-awareness.instructions.md) all read these field names directly. Adding fields is safe; renaming or removing requires a fleet-wide migration.
dream-cli.cjs keeps the newest 50 dream-report-YYYY-MM-DD*.md chronicles in .github/episodic/ after each run; older ones are deleted in place. Rolling architecture history lives in the JSON snapshot and brain-qa outputs — chronicles are only useful as recent narrative context for meditation.