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 skills add Mark-Life/agent-skills --skill observabilitygit clone --depth 1 https://github.com/Mark-Life/agent-skillsWrote 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/mark-life/agent-skills/observability)<a href="https://agentmods.dev/skills/mark-life/agent-skills/observability"><img src="https://agentmods.dev/badge/skills/mark-life/agent-skills/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.
<a href="https://agentmods.dev/skills/mark-life/agent-skills/observability"><img src="https://agentmods.dev/badge/skills/mark-life/agent-skills/observability.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00114 | $0.05403 |
| Opus 5.5 | $0.00046 | $0.02161 |
| Sonnet 5.5 | $0.00023 | $0.01081 |
| Haiku 4.5 | $0.00011 | $0.00540 |
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 21d 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.
How it starts
The opening of the file, as written. The whole thing — 492 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Observability
Record what happened to this request, not what the code is doing. One canonical record per unit of work, carrying every dimension you would want to group by later. Run each section's Check before calling the instrumentation done.
One wide event per unit of work
A request, job, or run emits exactly one rich record — a wide event, or
canonical log line. Capture the immutable facts before the work starts,
accumulate the outcome into a mutable record as it runs, emit where every path
converges. In imperative code that is finally, over an accumulator declared
beside the frozen context (telegram-claude, src/bot.ts):
// Wide-event context captured up front so every return path emits once.
const meta: RunEventMeta = { runId: crypto.randomUUID(), userId, provider,
project, promptChars: prompt.length, queueDepth: state.queue.length };
const rec: RunRecord = { outcome: "done", costUsd: null, turns: null,
totalTokens: null, durationMs: null, sessionId: sessionId ?? null };
try {
/* … the work, folding results into `rec` … */
} catch (e) {
rec.outcome = "errored";
rec.errorClass =
(e as { _tag?: string })?._tag ?? (e as Error)?.name ?? "ProviderCrashed";
rec.errorMessage = clipError(String((e as Error)?.message ?? e));
} finally {
await emitRunEvent(rec, meta);
}
In Effect, Effect.onExit is the equivalent and covers interrupts too, reading
the accumulated Refs so a SIGINT still emits a complete row (factory,
packages/orchestrator/src/orchestrator.ts, restyled from nested flatMap):
Effect.onExit((exit) =>
Effect.gen(function* () {
yield* recordRun({
ctx,
result: yield* Ref.get(outcomeRef),
parked: yield* Ref.get(parkedRef),
interrupted: Exit.hasInterrupts(exit),
});
})
)
Stamp a marker so sinks, tests, and log tooling can select the event among
everything else the process prints — event: "factory.run",
event: "telegram.run" — one exported constant, the single filter key.
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.
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.
- 21d ago Changed dab08eb23fc0
- 1mo ago First seen · 492 lines · 114 tokens per session scan A 3152f13520c9
observability is a skill published in the GitHub repository Mark-Life/agent-skills (3 stars, last pushed 2d ago), licensed MIT. It adds 114 tokens to every session and 5,403 once invoked, about $0.0005 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-08-31.
Other skills, from other repositories
ralplan
Consensus planning entrypoint that auto-gates vague ralph/autopilot/team requests before execution.
pr
Draft a PR body from OMC's paper trail — the smallest visual that proves the change, evidence consumed from the verify protocol (never re-collected), reversibility from the ADR test on the diff, glossary language throughout.
remember
Review reusable project knowledge and decide what belongs in project memory, notepad, or durable docs.
moai-lane-watchdog
One lane stall watchdog iteration: measure lane progress on three channels, classify the stall cause, apply the remedy or resolve the judgment through the decision ladder — instead of waiting on a reply — then record the outcome and report. Reads the unified --auto doctrine at…
moai-ref-ui-polish
UI polish and interface-completion reference: the small visual details — concentric border radius, optical alignment, shadow-vs-border, motion easing, typography smoothing, tabular numbers, icon stroke weight, hit areas — that separate polished interfaces from generic ones. Agent-extending skill that amplifies…
blueprint-cloudflare-scaffold
Lay out a Worker with D1 and static Vue assets, with tests that run inside the Workers runtime.