一键导入
self-diagnostic
Seven-step health check procedure using existing introspection tools. Run on boot, daily, or when meta-states indicate anomalies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Seven-step health check procedure using existing introspection tools. Run on boot, daily, or when meta-states indicate anomalies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
How to orchestrate work across large documents and multi-agent delegations without burning token budgets. Reconnaissance-first, search-then-read, parallel-after-reconnaissance.
Decision criteria for delegating to the writer agent vs synthesising directly in your own response.
When and how to use the document library
How the Coder agent drives an OpenCode session via dispatch_coder — the engineering loop, when to dispatch, and how to verify the result is real (vs. claimed).
Maintain a personal index of interesting things, open questions, and follow-ups across sessions
When and how to render a promoted export to PDF via the export_pdf tool. Reads the writer's draft → export → PDF lifecycle and the operator-facing failure modes when the host is missing pandoc or tectonic.
基于 SOC 职业分类
| name | self-diagnostic |
| description | Seven-step health check procedure using existing introspection tools. Run on boot, daily, or when meta-states indicate anomalies. |
| agents | observer, cognitive |
Run these checks in order. Report results as a structured summary. Flag any issues as sensory events.
detect_patterns, query_tool_activity,
memory_trace_fact, CBR curation) live on the Observer agent, not
the cognitive loop. When the cognitive loop needs them, delegate via
agent_observer. Calling them at root returns "Unknown tool".Call introspect. Verify:
Flag: agent_missing if any agent not registered.
Call reflect for today. Then list_recent_cycles. Verify:
reflect matches list_recent_cycles countFlag: cycle_data_mismatch if counts differ.
Flag: low_success_rate if < 70%.
Call query_tool_activity for today. Check:
web_search and fetch_url are functional (if researcher active)Flag: high_tool_failures with tool name if > 20% failure rate.
Call memory_query_facts with keyword "". Call recall_threads. Call
recall_cases with a generic query.
Verify:
Flag: memory_empty if no facts, threads, or cases exist after multiple sessions.
Write a test fact: memory_write(key: "_diagnostic_test", value: "ok", scope: "session").
Read it back: memory_read(key: "_diagnostic_test").
Clear it: memory_clear_key(key: "_diagnostic_test").
Verify each operation succeeds.
Flag: memory_write_fail if write or read fails.
From reflect output, check D' gate statistics:
Flag: gate_stuck_rejecting if rejection rate > 50%.
Flag: gate_not_evaluating if no gate decisions recorded.
Read sensorium vitals (available in your context):
uncertainty should be < 0.8prediction_error should be < 0.5Flag: high_uncertainty if > 0.8.
Flag: high_prediction_error if > 0.5.
After all checks, store results:
memory_write(key: "last_diagnostic", value: <JSON summary>, scope: "session")memory_write(key: "diagnostic_flag_<name>", value: <detail>, scope: "session")memory_write(key: "diagnostic_status", value: "healthy", scope: "session")If any critical flags (agent_missing, memory_write_fail, gate_stuck_rejecting),
report to the operator via request_human_input with a summary of findings.