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 perniemann/pnCore --skill pn-observabilitygit clone --depth 1 https://github.com/perniemann/pnCoreWrote 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/perniemann/pncore/pn-observability)<a href="https://agentmods.dev/skills/perniemann/pncore/pn-observability"><img src="https://agentmods.dev/badge/skills/perniemann/pncore/pn-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/perniemann/pncore/pn-observability"><img src="https://agentmods.dev/badge/skills/perniemann/pncore/pn-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.00046 | $0.01676 |
| Opus 5 | $0.00023 | $0.00838 |
| Sonnet 5 | $0.00009 | $0.00335 |
| Haiku 4.5 | $0.00005 | $0.00168 |
Grade A, and why
pn-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 5d 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 — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Observability
When to use
- Instrumenting a new service with traces, metrics, and structured logs
- Adding Sentry for error tracking and performance monitoring
- Setting up OpenTelemetry with a collector (Datadog, Grafana Tempo, OTLP)
- Implementing health-check endpoints (
/health,/ready) - Defining SLOs and alert thresholds
- Diagnosing a performance regression or production incident
Three pillars
| Pillar | What it answers | Tools |
|---|---|---|
| Logs | What happened? | Pino, Winston → Datadog Logs, CloudWatch, Loki |
| Traces | Why did it happen? (request flow) | OpenTelemetry → Datadog APM, Jaeger, Grafana Tempo |
| Metrics | How often? How fast? | prom-client, OTel metrics → Prometheus/Datadog/Grafana |
Structured logging with Pino
import pino from "pino";
export const logger = pino({
level: process.env.LOG_LEVEL ?? "info",
// pretty-print in dev, JSON in prod
transport: process.env.NODE_ENV === "development"
? { target: "pino-pretty", options: { colorize: true } }
: undefined,
redact: ["req.headers.authorization", "body.password", "body.token"],
base: { service: "api", version: process.env.APP_VERSION },
});
// Usage — always log structured fields, not interpolated strings
logger.info({ userId, orderId }, "Order placed");
logger.error({ err, requestId }, "Payment failed");
// Request logger middleware (Fastify auto-logs; Express manual)
app.use((req, res, next) => {
req.log = logger.child({ requestId: req.headers["x-request-id"] });
req.log.info({ method: req.method, url: req.url }, "Request received");
next();
});
Rules:
- Log as JSON in production — log aggregators parse JSON, not strings.
- Always include
requestId/traceIdin every log line for correlation. - Redact sensitive fields — never log tokens, passwords, or full PII.
- Use log levels correctly:
debugfor dev details,infofor business events,warnfor degraded state,errorfor failures.
OpenTelemetry
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.
- 5d ago First seen · 192 lines · 46 tokens per session scan A 0fafc9987995
pn-observability is a skill published in the GitHub repository perniemann/pnCore (0 stars, last pushed 3d ago), licensed MIT. It adds 46 tokens to every session and 1,676 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
typescript
TypeScript coding conventions, best practices, and patterns for writing clean, maintainable code.
deepseek-harness
Use when building AI agent applications with a plugin-based architecture — Web UI, CLI, Python SDK, Cordis plugin system, multi-model orchestration. DeepSeek Harness (dsh): open-source agent harness by DeepSeek AI where everything is a plugin, powered by Cordis for spatiotemporal composability.
typescript-development
You MUST activate this skill when working on TypeScript or JavaScript projects.
js-gof
Apply Gang of Four and related design patterns in JavaScript and TypeScript. Use when implementing creational, structural, or behavioral patterns, or when the user mentions factories, builder, prototype, flyweight, singleton, object pool, adapter, wrapper, decorator, proxy, bridge, composite, facade, chain of…
error-handling
Apply error handling and recovery patterns in JavaScript/TypeScript or Node.js. Use when implementing error handling, retry logic, or when the user mentions domain errors, error recovery, error escalation.
js-conventions
Apply Metarhia JavaScript style. Use when writing or editing .js, .mjs, .ts files (with certain corrections for typescript), formatting code, or when the user asks about code style or linting.