Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/prismer-ai/prismercloud/debug-lognpx skills add Prismer-AI/PrismerCloud --skill debug-loggit clone --depth 1 https://github.com/Prismer-AI/PrismerCloudWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/prismer-ai/prismercloud/debug-log)<a href="https://agentmods.dev/skills/prismer-ai/prismercloud/debug-log"><img src="https://agentmods.dev/badge/skills/prismer-ai/prismercloud/debug-log.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00020 | $0.00578 |
| Opus 5 | $0.00010 | $0.00289 |
| Sonnet 5 | $0.00004 | $0.00116 |
| Haiku 4.5 | $0.00002 | $0.00058 |
Grade A, and why
debug-log scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
查看 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 缓存保存失败 | 非关键,自动跳过 |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 53 lines · 20 tokens per session scan A 404cc569755d
debug-log is a skill published in the GitHub repository Prismer-AI/PrismerCloud (1,409 stars, last pushed 27d ago), licensed MIT. It adds 20 tokens to every session and 578 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
recall
Recall this repository's OwnMem local memory before changing code, and keep it healthy. Use when a repository contains .ownmem/, when past debugging lessons could apply ("have we hit this before", "why is it done this way"), or when the user mentions ownmem, project memory, or recalling across sessions.
init
Install or update OwnMem in the current repository. Use when the user asks to set up OwnMem, add local project memory for coding agents, or refresh an existing OwnMem installation after a version bump.
docmancer
Work from the same local memory as every other coding agent on this machine. Recall prior decisions, preferences, instructions, and project conventions that Claude Code, Codex, Cursor, and other agents wrote here, with cited sources, fully local. Also searches a separate local technical-documentation index.
agent-prompts-warmup
Audit and sync agent instruction files across all coding agent formats. FRE (first-run) checks scaffolding completeness; ongoing use keeps files in sync after edits.
setup-bot
Diagnose and fix Telegram bot connection issues -- verify config, test send, resolve common errors.
Docker Compose Generator
Generates production-ready docker-compose.yml files for any application stack.