omninode-ai/omniclaude/observability
Claude Code and agent skill by omninode-ai/omniclaude
- community
Checking that the SKILL.md file is still in the repository.
Unified agent observability — action logging, tracking, execution logging, and trace correlation
Install
npx vskill@latest install omninode-ai/omniclaude/observabilitySKILL.md
Observability
Overview
Unified agent observability skill consolidating action logging, agent tracking, execution logging, and trace correlation.
Subcommands
| Subcommand | Store | Former skill | |
|---|---|---|---|
log-action | Kafka | action-logging | |
track-routing | PostgreSQL | agent-tracking | |
track-detection | PostgreSQL | agent-tracking | |
track-transformation | PostgreSQL | agent-tracking | |
track-performance | PostgreSQL | agent-tracking | |
start-execution | PostgreSQL | log-execution | |
complete-execution | PostgreSQL | log-execution | |
trace --id <cid> | PostgreSQL+Kafka | trace-correlation-id |
log-action
<!-- Absorbed from action-logging -->
Reusable action logging framework for agents. Provides a convenient wrapper around the action event publishing system with automatic timing, context management, and graceful degradation.
Publishes all agent actions to Kafka (topic: agent-actions) with:
- Automatic Timing: Context manager tracks duration automatically
- Correlation ID Management: Automatic generation and tracking
- Graceful Degradation: Failures don't break workflows
- Type-Safe API: Clear method signatures for each action type
- Non-Blocking: <5ms publish latency (Kafka async)
Quick Start
Core API
ActionLogger Class:
Tool Call Logging (context manager):
Manual Logging:
Decision Logging:
Error Logging:
Success Logging:
Action Types
| Type | When | Key Fields | |
|---|---|---|---|
tool_call | Agent invokes a tool | file_path, command, pattern, success | |
decision | Routing/strategy decisions | selected_agent, confidence, reasoning | |
error | Exceptions and failures | error type, stack_trace, recovery_action | |
success | Task completions | quality_score, files_processed |
Kafka Integration
- Topic:
agent-actions - Consumers: Database Writer, Analytics Consumer, Audit Logger
- Performance: <5ms publish latency, non-blocking async I/O
Database Schema
Events are persisted to PostgreSQL table agent_actions:
| Column | Type | Description | |
|---|---|---|---|
id | UUID | Primary key | |
agent_name | VARCHAR | Agent identifier | |
action_type | VARCHAR | tool_call, decision, error, success | |
action_name | VARCHAR | Specific action name | |
action_details | JSONB | Structured action metadata | |
correlation_id | UUID | Correlation tracking | |
duration_ms | INTEGER | Action duration | |
created_at | TIMESTAMP | Event timestamp |
track-routing / track-detection / track-transformation / track-performance
<!-- Absorbed from agent-tracking -->
PostgreSQL-backed observability for tracking agent routing decisions, detection failures, transformations, and performance metrics.
Sub-commands
- track-routing -- Track successful routing decisions (agent selected, confidence, method)
- track-detection -- Track detection failures for gap analysis
- track-transformation -- Record agent transformation events
- track-performance -- Record latency and throughput metrics
Database Tables
| Table | Tracked By | |
|---|---|---|
agent_routing_decisions | track-routing | |
agent_detection_failures | track-detection | |
agent_execution_logs | track-performance |
start-execution / complete-execution
<!-- Absorbed from log-execution -->
Track agent execution lifecycle in PostgreSQL for observability and intelligence gathering.
Usage
Start Execution -- call at the beginning of your task:
Returns:
Save the execution_id for completion updates.
Complete Execution -- call when your task finishes:
For errors:
Parameters
start-execution:
--agent(required): Agent name--description(optional): Task description--session-id(optional): Session ID (auto-generated if omitted)--metadata(optional): JSON metadata
complete-execution:
--execution-id(required): UUID from start command--status(optional): success | error | cancelled (default: success)--error-message(optional): Error description--quality-score(optional): Quality score 0.0-1.0--metadata(optional): Final JSON metadata
Database Schema
Logs are stored in agent_execution_logs table with:
- execution_id, correlation_id, session_id
- agent_name, user_prompt
- started_at, completed_at, duration_ms
- status (in_progress, success, error, cancelled)
- error_message, error_type
- quality_score (0.0-1.0)
- metadata (JSONB)
Performance
- Execution time: <50ms per call
- Token cost: ~20 tokens per invocation
- Error resilient: graceful fallback if database unavailable
trace
<!-- Absorbed from trace-correlation-id -->
End-to-end execution tracing by correlation ID for debugging and observability.
Usage
Given a correlation ID, traces all events, routing decisions, tool calls, and outcomes associated with that execution across both PostgreSQL and Kafka stores.
Integration Checklist
When integrating observability into an agent:
- [ ] Import
ActionLoggerfromaction_logger - [ ] Initialize logger at agent startup with correlation_id
- [ ] Use context manager for tool calls (automatic timing)
- [ ] Log routing decisions with confidence scores
- [ ] Log errors with full context
- [ ] Log success milestones with quality scores
- [ ] Verify events in Kafka topic
agent-actions - [ ] Check database table
agent_actionsfor persistence
Prerequisites
Infrastructure:
- Kafka/Redpanda: Port 19092 (external) / 9092 (internal Docker)
- PostgreSQL: Port 5436 (omnibase_infra database)
Environment Variables:
Best Practices
- Always use correlation IDs -- essential for tracing across systems
- Prefer context manager for tool calls -- automatic timing with no boilerplate
- Include rich context in details -- makes queries and debugging productive
- Log errors with full context -- stack traces, attempted operation, recovery action
- Log success milestones -- quality scores enable trend analysis
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/onex/skills/observability/SKILL.md
Popularity
- Repository stars
- 2
- Repository forks
- 2
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/omninode-ai/omniclaude/observability)