observability

observability is a skill for Claude Code from Prismer-AI/PrismerCloud. It costs 67 tokens per session (4,477 once invoked), scanned A, original, MIT.

A recurring system-health inspection that reads logs, Kubernetes state, daemon state, and database slices through a debugging pipeline. When it finds a real problem, it opens a bug task containing evidence links.

In plain words
What is it for?
Use it for scheduled health checks or investigations into possible faults, and to send confirmed anomalies back into the bug-fix workflow.
Why use it?
It avoids creating fake or noisy bug reports when the system is healthy. When something is wrong, the evidence makes the bug traceable and ready for the normal fix process.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it for scheduled health checks or investigations into possible faults, and to send confirmed anomalies back into the bug-fix workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prismer-ai/prismercloud/observability
About the project

Prismer Cloud is an infrastructure layer for AI agents that provides shared learning, compressed context, persistent memory, collaboration, messaging, tasks, identity, and workspaces. It is for agents and the people building or using long-running agent systems that need information and outcomes to persist across sessions. The catalogue entries provide skills, hooks, agents, instructions, and a plugin for using Prismer Cloud.

Prismer-AI/PrismerCloud · 1,386 stars · on GitHub · prismer.cloud

Install

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.

Any agent
npx skills add Prismer-AI/PrismerCloud --skill observability
Clone the repo
git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud

Made for: Claude Code.

Wrote 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.

agentmods badge for observability

README.md
[![agentmods](https://agentmods.dev/badge/skills/prismer-ai/prismercloud/observability/github.svg)](https://agentmods.dev/skills/prismer-ai/prismercloud/observability)
Your own site
<a href="https://agentmods.dev/skills/prismer-ai/prismercloud/observability"><img src="https://agentmods.dev/badge/skills/prismer-ai/prismercloud/observability/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for observability

Your own site · 80×15
<a href="https://agentmods.dev/skills/prismer-ai/prismercloud/observability"><img src="https://agentmods.dev/badge/skills/prismer-ai/prismercloud/observability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,477 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.04477
Opus 5.5 $0.00027 $0.01791
Sonnet 5.5 $0.00013 $0.00895
Haiku 4.5 $0.00007 $0.00448

Measured 17d ago against content hash a245f967d9fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

observability 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 17d 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.

sdk/apc/skills/observability/SKILL.md · 196 lines

How it starts

The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.

observability

用 debug pipeline 巡检运行中的系统(cloud log / k8s / daemon / DB 切片),异常时开一个 bug task 把证据带回 bugfix 循环(apc/05 S10 · 生命周期矩阵行 11 监控→回流)。触发器 = product205 定时任务后端(已建,缺前端)挂周期巡检——本 skill 是那次巡检真正干的活,不悬空。

承重纪律:

  • healthy 扫描不开 task。 没有异常就报"绿"并停手——绝不为了"有产出"造一个假 bug。一个无论系统健不健康都会建 task 的巡检 = 噪声制造机。
  • 异常 → bug task 必须带证据 ref。 bug task 的 description 要挂可追溯锚(pod / workspace / task id + debug 切片摘要,或把 bundle 产物 cloud asset upload 后引 asset:<id>)。空口"系统好像有问题"不是 bug task。
  • oracle 是真 task 行,不是聊天叙述。 "我建了 bug task" 不算数——cloud task create 返回的真 id + 回读的 task 行才算。

什么时候用:周期巡检(定时任务触发)或收到"系统是不是出问题了"时——先用 debug pipeline 取副作用切片核实,再决定是否回流。

工具契约(签名以此为准,先核后用)

命令 作用 输出/退出码
npx tsx scripts/debug/admin-observability.ts capabilities [--env=local|test|prod] canonical Admin v1 discovery;读取 principal、capabilities、schema version 与 opaque contract digest 0 成功;不兼容/无权限非零
npx tsx scripts/debug/admin-observability.ts logs --target-kind=service --target-id=prismer-cloud --purpose=<reason> [--since=15m] [--cursor=<opaque>] [--completeness=require-complete|allow-partial] canonical POST /api/admin/v1/logs:query 只读快照;命令内部必须先 discovery;cursor 只能原样回传 默认 require-complete;置信边界完整 0,不满足 3,请求/合同错误 1,用法错误 2
cloud admin log-targets --kind <service|sandbox|daemon> --purpose <reason> [--workspace-id <id>] [--cursor <opaque>] daemon-held credential 下发现 DB-resolved logical targets;不接受 namespace/selector 0 完整成功;partial projection 2;请求失败 1
cloud admin logs --target-kind <kind> --target-id <id> --purpose <reason> [--attach-to-task [taskId]] credentialless loopback 查询 service/sandbox/daemon;可经既有 daemon task-attach 把 JSON 证据绑定到 task 0 完整成功;partial 2;失败 1;attach 要求 daemon dispatch + PRISMER_ARTIFACTS_DIR
npx tsx scripts/debug/inventory.ts [--env=local|test|prod] [--json] 全局索引:running pods / recent workspaces / recent tasks / recent errors 人读 5 段 或 --json
npx tsx scripts/debug/bundle.ts <workspace|task|pod> <id> [--sections=db,system,k8s,daemon] [--stdout] [--since=ISO] 复合切片(DB+system-log+k8s+daemon) 默认写 ./debug-bundle-*.json,--stdout 打屏
npx tsx scripts/debug/snapshot.ts <workspace|task|conversation|container> <id> [--json|--brief] DB 切片(task 终态行/runs/logs/approvals/assets) 默认 compact,--json raw
npx tsx scripts/debug/logs.ts [--contains=text] [--since=ISO|10m|1h] [--level=...] [--json] cloud 进程 pino ring buffer 每行一条 或 --json
cloud task create --title <t> --description <d> --kind work_item [--priority high] [--json] 开 bug task(--kind work_item 是 board 投影) 打印 ID: <taskId>(--json 出整行)
cloud task list [--json] 回读 task 行确认落库 0 成功

Read the full file on GitHub · 196 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 17d ago First seen · 196 lines · 67 tokens per session scan A a245f967d9fa

Subscribe to this mod's changes

observability is a skill published in the GitHub repository Prismer-AI/PrismerCloud (1,386 stars, last pushed 2d ago), licensed MIT. It adds 67 tokens to every session and 4,477 once invoked, about $0.0003 per session on Opus 5.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-09-29.