Agent Observability Logging — Security skill for Claude Code
Log everything that happens inside your agent system, from deterministic code: hook-written audit events, invariant checks, secret/PII redaction.
How to install Agent Observability Logging
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Azhy34/agent-observability-logging and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Observability Logging does
Log everything that happens inside your agent system, from deterministic code: hook-written audit events, invariant checks, secret/PII redaction. Agent Skill + Python modules (Google ADK, OpenTelemetry, OTLP, Google Cloud).
Alternatives in Security
- Security Guidance — Hook that warns about command injection, XSS, and unsafe patterns 14k ★
- Security Guardian — Comprehensive security analysis for RTK CLI tool, focusing on command injection, shell escaping, hook security 11.9k ★
- Mcp-scan (Invariant Labs) — MCP security scanner with proxy mode for real-time scanning without infrastructure changes 1.9k ★
README
agent-observability-logging
**Know what your AI agents actually did.**
A deterministic audit log and invariant checks for multi-agent systems: a Google ADK plugin, context managers for any Python agent loop, OpenTelemetry trace ids on every line, and secret and PII redaction before anything is written. Ships as plain Python modules and as an [Agent Skill](https://docs.claude.com/en/docs/claude-code/skills).
[](https://github.com/Azhy34/agent-observability-logging/actions/workflows/ci.yml) [](LICENSE)  
The prompt said "always check the budget". The log shows the planner did not, and a rule flags it:
turn 8d02c2d885cb4472 session=s-2 duration=354.8ms agents=2 llm=2 tools=1 violations=1
+0.0ms turn_start input_chars=35
+0.0ms agent_start planner
+0.0ms llm_request planner fake-llm
+121.1ms llm_response planner fake-llm ok 120.7ms in=812 out=64 finish=STOP
+121.1ms tool_call planner search_hotels args=city,nights
+152.0ms tool_result planner search_hotels ok 30.5ms
+152.0ms agent_end planner ok 152.7ms
+153.2ms agent_start writer
+153.2ms llm_request writer fake-llm
+353.9ms llm_response writer fake-llm ok 200.2ms in=1430 out=210 finish=STOP
+353.9ms final_response writer chars=54
+353.9ms agent_end writer ok 201.0ms
+353.9ms reply_selected
Related Skills
AegisGate
Open-source security gateway for LLM APIs — prompt injection detection, PII redaction, dangerous response sani
MCP Intercepter
Transparent proxy + enterprise gateway for MCP: audit logging, tool allow/deny policy, secrets/PII redaction,
Observability Audit
Observability / instrumentation audit: structured logging quality, log levels & correlation IDs, secrets/PII i
Kiteguard
Open-source runtime security guardrails for Claude Code, Cursor, and Gemini CLI — blocks dangerous commands, d
ThinkWatch
Self-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII
ContAIned
A governed coding agent CLI built on Claude Code. Runs inside an isolated Docker container with operator-contr
Related Agents
Verina Pdpa Counsel
Senior legal counsel (Singapore data protection) for Verina. Use to ensure every data flow complies with the P
Redaction Auditor
Expert auditor for secret-redaction code in the claude-handoff project. Use PROACTIVELY whenever src/core/reda
Adk Terraform Infra Coder
This agent is the Terraform and infrastructure specialist for ADK/Vertex-based agents in the bobs-brain repo.\