# Add to your Claude Code skills
git clone https://github.com/tobilg/ai-observerGuides for using ai agents skills like ai-observer.
Last scanned: 5/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-30T15:31:19.266Z",
"npmAuditRan": true,
"pipAuditRan": true
}See how ai-observer compares with popular alternatives.
ai-observer is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by tobilg. Unified local observability for agents. It has 298 GitHub stars.
Yes. ai-observer passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/tobilg/ai-observer" and add it to your Claude Code skills directory (see the Installation section above).
ai-observer is primarily written in Go. It is open-source under tobilg on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ai-observer against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
Unified local observability for AI coding assistants
AI Observer is a self-hosted, single-binary, OpenTelemetry-compatible observability backend designed specifically for monitoring local AI coding tools like Claude Code, Gemini CLI, OpenAI Codex CLI, GitHub Copilot, and OpenCode.
Track token usage, costs, API latency, error rates, and session activity across all your AI coding assistants in one unified dashboard—with real-time updates and zero external dependencies.
AI coding assistants are becoming essential development tools, but understanding their behavior and costs remains a challenge:
linux/amd64 and linux/arm64



docker run -d \
-p 127.0.0.1:8080:8080 \
-p 127.0.0.1:4318:4318 \
-p 127.0.0.1:4317:4317 \
-v ai-observer-data:/app/data \
--name ai-observer \
tobilg/ai-observer:latest
Dashboard: http://localhost:8080
The ports are published on 127.0.0.1 only: AI Observer has no authentication unless you set AI_OBSERVER_AUTH_TOKEN and stores prompts, code and tool output (see Network access). Drop the 127.0.0.1: prefix only on trusted networks. Port 8080 serves the dashboard and API, 4318 OTLP/HTTP and 4317 OTLP/gRPC. The image's health check asks /ready (ai-observer healthcheck), so docker ps shows the container as healthy once its database answers.
Using a local directory for data persistence:
# Create a local data directory
mkdir -p ./ai-observer-data
# Run with local volume mount
docker run -d \
-p 127.0.0.1:8080:8080 \
-p 127.0.0.1:4318:4318 \
-p 127.0.0.1:4317:4317 \
-v $(pwd)/ai-observer-data:/app/data \
-e AI_OBSERVER_DATABASE_PATH=/app/data/ai-observer.duckdb \
--name ai-observer \
tobilg/ai-observer:latest
This stores the DuckDB database in your local ./ai-observer-data directory, making it easy to backup or inspect.
brew tap tobilg/ai-observer
brew install ai-observer
ai-observer
Download the latest release for your platform from Releases, then:
./ai-observer
git clone https://github.com/tobilg/ai-observer.git
cd ai-observer
make setup # Install dependencies
make all # Build single binary with embedded frontend
./bin/ai-observer
ai-observer --help lists all settings, grouped. Command-line flags of serve, watch and the other commands (--host, --api-port, --otlp-port, --otlp-grpc-port, --db, --mcp) override the variables of the same name. Invalid values are logged as warnings and replaced by the default.
| Variable | Default | Description |
|---|---|---|
AI_OBSERVER_HOST |
127.0.0.1 (binary) or 0.0.0.0 (Docker) |
Network interface the servers listen on, an IP address or host name (--host) |
AI_OBSERVER_API_PORT |
8080 |
HTTP server port (dashboard + API; --api-port) |
AI_OBSERVER_OTLP_PORT |
4318 |
OTLP/HTTP ingestion port (--otlp-port) |
AI_OBSERVER_OTLP_GRPC_PORT |
4317 |
OTLP/gRPC ingestion port; 0 or off turns it off (--otlp-grpc-port) |
AI_OBSERVER_FRONTEND_URL |
http://localhost:5173 |
Allowed CORS origin (dev mode) |
AI_OBSERVER_ALLOWED_HOSTS |
(empty) | Comma-separated host names accepted by the dashboard/API (Host header) and as browser origins, in addition to IP addresses and localhost; * disables both checks |
AI_OBSERVER_MCP |
false |
Serve the MCP endpoint for agents at /mcp on the API port; same as the --mcp flag of serve and watch (see Agent Access) |
AI_OBSERVER_ADMIN_API |
false |
Serve the maintenance endpoints /api/admin/* and the Status page's Maintenance section (see Maintenance) |
AI_OBSERVER_AUTH_TOKEN |
(empty: no authentication) | Shared token required on OTLP and API requests (see Authentication) |
AI_OBSERVER_TLS_CERT, AI_OBSERVER_TLS_KEY |
(empty: no TLS) | PEM certificate and private key: HTTPS on both HTTP ports and gRPC over TLS (see TLS) |
AI_OBSERVER_REDACT |
secrets |
What is replaced in telemetry before it is stored: secrets (API keys, tokens, passwords), all (secrets and personal data such as emails and card numbers) or off (see Redaction) |
AI_OBSERVER_DATABASE_PATH |
./data/ai-observer.duckdb (binary) or /app/data/ai-observer.duckdb (Docker) |
DuckDB database file path (--db) |
AI_OBSERVER_DB_MEMORY_LIMIT |
(empty: 80% of memory) | Memory DuckDB may use for data and queries, as a size such as 2GB or 512MB. Queries that need more use temporary files next to the database and get slower. The process uses more than this: the limit does not cover the server's own memory |
AI_OBSERVER_DB_THREADS |
(empty: one per CPU core) | Number of threads DuckDB runs queries on |
AI_OBSERVER_RETENTION_DAYS |
(empty: keep all) | serve and watch delete telemetry older than this many days, on startup and then hourly (a day at a time, so ingestion is not blocked) |
AI_OBSERVER_MAX_DB_SIZE |
(empty: no limit) | serve and watch delete the oldest days while the stored data exceeds this size, such as 20GB (KB, MB, GB and TB count in 1024s), never the last 24 hours (see Maintenance) |
AI_OBSERVER_STORE_ALL_SPANS |
false |
Also store the spans left out as noise: Codex's spans for every streamed response event and session file write (see the Codex telemetry reference, Traces) |
AI_OBSERVER_BACKUP_DIR |
backups next to the database |
Where the admin API writes backups and exports |
AI_OBSERVER_SKIP_MIGRATION_BACKUP |
false |
Migrate the database without copying it to <database>.pre-migration-v<N> first |
AI_OBSERVER_LOG_LEVEL |
INFO |
Log level: DEBUG, INFO, WARN, ERROR |
AI_OBSERVER_LOG_FORMAT |
text |
Log format of all commands: text or json (one JSON object per line) |
AI_OBSERVER_CLAUDE_PATH |
~/.config/claude/projects and ~/.claude/projects |
Claude Code session directories to import and watch, comma-separated |
AI_OBSERVER_CODEX_PATH |
$CODEX_HOME/sessions or ~/.codex/sessions |
Codex session directory to import and watch |
AI_OBSERVER_GEMINI_PATH |
$GEMINI_HOME/tmp or ~/.gemini/tmp |
Gemini CLI directory to import and watch |
AI_OBSERVER_PRICING_DIR |
(empty) | Directory with pricing files that add models or replace built-in prices, such as the current prices written by pricing update (see Pricing) |
CORS allows AI_OBSERVER_FRONTEND_URL plus http://localhost:5173 and http://localhost:8080; set AI_OBSERVER_FRONTEND_URL when serving a custom UI origin. Browser requests and WebSocket connections are accepted from loopback origins, those CORS origins, origins whose host is in AI_OBSERVER_ALLOWED_HOSTS, and the dashboard's own origin when it is an IP address.
AI Observer has no authentication unless you set AI_OBSERVER_AUTH_TOKEN (see Authentication), and the stored telemetry can include prompts, code and tool output. The binary therefore listens on 127.0.0.1 only, so the dashboard, API