observability-logging

observability-logging is a skill for Claude Code, Codex from monkilabs/opencastle. It costs 74 tokens per session (853 once invoked), scanned A, original, MIT.

A logging guide for recording agent sessions, delegated work, decisions, reviews, and disputes as newline-delimited JSON audit records. It also includes a verification checklist before responding.

In plain words
What is it for?
Use it to log sessions, delegation history, review outcomes, audit trails, and pre-response checks in a consistent file format.
Why use it?
It creates a trace of what work was done, who handled it, and what decisions were made. This helps teams review agent activity and investigate disagreements or missing steps.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to log sessions, delegation history, review outcomes, audit trails, and pre-response checks in a consistent file format.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/monkilabs/opencastle/observability-logging
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 monkilabs/opencastle --skill observability-logging
Clone the repo
git clone --depth 1 https://github.com/monkilabs/opencastle

Made for: Claude Code, Codex.

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-logging

README.md
[![agentmods](https://agentmods.dev/badge/skills/monkilabs/opencastle/observability-logging/github.svg)](https://agentmods.dev/skills/monkilabs/opencastle/observability-logging)
Your own site
<a href="https://agentmods.dev/skills/monkilabs/opencastle/observability-logging"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/observability-logging/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-logging

Your own site · 80×15
<a href="https://agentmods.dev/skills/monkilabs/opencastle/observability-logging"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/observability-logging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 853 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00074 $0.00853
Opus 5 $0.00037 $0.00426
Sonnet 5 $0.00015 $0.00171
Haiku 4.5 $0.00007 $0.00085

Measured 5d ago against content hash 9891b94bfaf9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

observability-logging 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.

src/orchestrator/skills/observability-logging/SKILL.md · 74 lines

How it starts

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

Observability Logging

⛔ HARD GATE. Every agent MUST log every session to events.ndjson before responding. No exceptions. Session without logs is a failed session.

File Event types Who When
events.ndjson session, delegation, review, panel, dispute All agents / Team Lead / Panel runner After each applicable event

See .opencastle/logs/README.md for full schema.

Use opencastle log CLI. One record per task; never batch-log retrospectively.

Session (ALL agents, EVERY session):

opencastle log --type session --agent Developer --model "$MODEL" \
  --task "Fix login redirect bug" --outcome success --duration_min 15 \
  --files_changed 3 --retries 0

Delegation (Team Lead, after each delegation — never batched):

opencastle log --type delegation --session_id feat/prj-57 --agent Developer \
  --model "$MODEL" --tier standard --mechanism sub-agent \
  --tracker_issue PRJ-57 --outcome success --retries 0 --phase 2 \
  --file_partition "src/components/"

tier must match the delegated agent's tier in the agent registry. model is whatever the assistant actually used — leave it out if it did not report one.

Review (Team Lead, after each fast review):

opencastle log --type review --tracker_issue PRJ-42 --agent Developer \
  --reviewer_model "$MODEL" --verdict pass --attempt 1 \
  --issues_critical 0 --issues_major 0 --issues_minor 2 \
  --confidence high --escalated false --duration_sec 45

Panel (Panel runner, after each vote):

opencastle log --type panel --panel_key auth-review --verdict pass \
  --pass_count 3 --block_count 0 --must_fix 0 --should_fix 3 \
  --reviewer_model "$MODEL" --weighted false --attempt 1 \
  --tracker_issue PRJ-42 --artifacts_count 5

Dispute (Team Lead, after each dispute):

opencastle log --type dispute --dispute_id DSP-001 --tracker_issue PRJ-42 \
  --priority high --trigger panel-3x-block --implementing_agent Developer \
  --reviewing_agents "Reviewer,Panel (3x)" --total_attempts 6 --status pending

Verify any append: tail -1 .opencastle/logs/events.ndjson

Read the full file on GitHub · 74 lines

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. 5d ago First seen · 74 lines · 74 tokens per session scan A 9891b94bfaf9

Subscribe to this mod's changes

observability-logging is a skill published in the GitHub repository monkilabs/opencastle (61 stars, last pushed 11d ago), licensed MIT. It adds 74 tokens to every session and 853 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

product-architect

Complete product development system with 80 agents and 36 frameworks. Use when the user wants to build a product, write a PRD, plan an MVP or roadmap, design an app, research a market or check whether a feature already exists or is novel, do competitive analysis, run a security audit, build a financial model, plan…

ankitjha67/product-architect · 253 tokens

cursor-prompting

Internal guidance for composing cursor-agent prompts and picking models for coding, review, diagnosis, and research tasks inside the Cursor Claude Code plugin.

zebbern/agent-collab · 31 tokens

cursor-result-handling

Internal guidance for presenting Cursor helper output back to the user.

zebbern/agent-collab · 16 tokens

goal-runner

Use when the user asks to advance, continue, or work on the project's long-horizon goal (or to set one up) — the policy for goal-driven increments driven through the goal companion, one increment at a time, delegated via the codex/cursor delegation skills, honestly recorded.

zebbern/agent-collab · 62 tokens

agentflow

Expert guidance for building, debugging, and extending applications with AgentFlow (10xscale-agentflow). TRIGGER when: code imports from agentflow (e.g. from agentflow import, StateGraph, Agent, ToolNode, AgentState); user references agentflow.json or CLI commands (agentflow init, agentflow api, agentflow play…

10xHub/agentflow-cli · 0 tokens

agentflow

Expert guidance for building, debugging, and extending applications with AgentFlow (10xscale-agentflow). TRIGGER when: code imports from agentflow (e.g. from agentflow import, StateGraph, Agent, ToolNode, AgentState); user references agentflow.json or CLI commands (agentflow init, agentflow api, agentflow play…

10xHub/agentflow-cli · 0 tokens