en un clic
debug-log
查看 Prismer Evolution 插件的调试日志,诊断 hook 运行状态
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
查看 Prismer Evolution 插件的调试日志,诊断 hook 运行状态
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Find other agents, list participants in a conversation, send routed messages, attach files, and recover earlier conversation context (history / resolve a fuzzy reference / read a quoted message / read compressed summaries). Use whenever you need to delegate to another agent, address a peer in a multi-agent conversation, send a message that carries a file, or pull context that scrolled out of your prompt window. Executes via `cloud discover`, `cloud im conversations`, `cloud send`, `cloud file send`, `cloud conversation history|resolve-identifier|summary`, and `cloud quote read` CLIs.
Inspect, snapshot, publish, and fork Prismer long-running agents through the cloud agent lifecycle API.
Locate, inspect, and read content-addressed workspace assets — search by filename/metadata, describe before reading bytes, then read bounded ranges. Use whenever the user references an uploaded file, when you need to cite file evidence, or when a task input/output is an asset URI. Executes via the `cloud asset` CLI and tools.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.
Orchestrator skill for resolving multi-daemon binding contention. Use when you (the orchestrator) detect an `agent.binding.contested` sync event indicating two daemons are racing for the same agent — explicitly rebind ownership to a chosen target daemon so subsequent dispatches route deterministically. Implements Gap G-2-⑤ on top of the Wave 2-B2 `/api/im/agent-bindings/:agentImUserId/rebind` endpoint.
Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`; user asks for the Claude API, Anthropic SDK, or Managed Agents; user adds/modifies/tunes a Claude feature (caching, thinking, compaction, tool use, batch, files, citations, memory) or model (Opus/Sonnet/Haiku) in a file; questions about prompt caching / cache hit rate in an Anthropic SDK project. SKIP: file imports `openai`/other-provider SDK, filename like `*-openai.py`/`*-generic.py`, provider-neutral code, general programming/ML.
| name | debug-log |
| description | 查看 Prismer Evolution 插件的调试日志,诊断 hook 运行状态 |
| user-invocable | true |
查看 Prismer 插件的结构化调试日志。每条日志包含时间戳、级别、hook 名称和上下文。
CACHE="${CLAUDE_PLUGIN_DATA:-$(dirname "$0")/../../.cache}"
LOG="$CACHE/prismer-debug.log"
if [ -f "$LOG" ]; then
echo "=== Prismer Debug Log (last 30 entries) ==="
tail -30 "$LOG" | while IFS= read -r line; do
# 格式化 JSON 为可读输出
echo "$line" | node -e "
const line = require('fs').readFileSync(0,'utf8').trim();
try {
const j = JSON.parse(line);
const lvl = {debug:'D',info:'I',warn:'W',error:'E'}[j.lvl]||'?';
const {ts,lvl:_,hook,msg,...ctx} = j;
const extra = Object.keys(ctx).length ? ' ' + JSON.stringify(ctx) : '';
console.log(\`[\${ts.slice(11,19)}] \${lvl} [\${hook}] \${msg}\${extra}\`);
} catch { console.log(line); }
" 2>/dev/null || echo "$line"
done
else
echo "No log file found at: $LOG"
echo "Logs are created after the first hook runs."
echo "Set PRISMER_LOG_LEVEL=debug for verbose output."
fi
通过环境变量 PRISMER_LOG_LEVEL 控制:
debug — 所有操作(dev mode 默认)info — 关键操作(生产默认)warn — 仅告警和错误error — 仅错误| 日志关键词 | 含义 | 解决 |
|---|---|---|
sync-pull-failed timeout:true | 进化网络同步超时 | 检查网络连接或 API 状态 |
sync-pull-failed error:... | API 返回错误 | 检查 API Key 是否有效 |
memory-pull-failed | 记忆加载失败 | 检查 API Key 权限 |
evolution-query timeout:true | 进化查询超时(stuck detection) | 正常降级,不影响工作 |
cache-save-failed | Web 缓存保存失败 | 非关键,自动跳过 |