Olakai Skills
Official skills for integrating AI agents with Olakai - the enterprise AI observability and governance platform.
These skills follow the Agent Skills Standard and work with Claude Code, Cursor, VS Code Copilot, and other compatible AI coding assistants.
Installation
Using add-skill (Recommended)
# List available skills
npx add-skill olakai-ai/olakai-skills --list
# Install a specific skill
npx add-skill olakai-ai/olakai-skills/olakai-get-started
npx add-skill olakai-ai/olakai-skills/olakai-new-project
npx add-skill olakai-ai/olakai-skills/olakai-integrate
npx add-skill olakai-ai/olakai-skills/olakai-troubleshoot
npx add-skill olakai-ai/olakai-skills/olakai-reports
npx add-skill olakai-ai/olakai-skills/olakai-governance
npx add-skill olakai-ai/olakai-skills/olakai-finops
Manual Installation
# Clone to user-level skills directory
git clone https://github.com/olakai-ai/olakai-skills ~/.claude/skills/olakai-skills
# Or clone to project-level
git clone https://github.com/olakai-ai/olakai-skills .claude/skills/olakai-skills
Available Skills
| Skill | Description |
|---|
| olakai-get-started | Install the CLI, authenticate, and send your first monitored event |
| olakai-new-project | Build a new AI agent project from scratch with full observability |
| olakai-integrate | Add Olakai to existing AI code with minimal changes |
| olakai-troubleshoot | Diagnose and fix issues with events, KPIs, or SDK integration |
| olakai-reports | Generate usage summaries, KPI trends, ROI reports from the terminal |
| olakai-monitor-local-coding-agent | Set up hooks-based monitoring for local coding agents — Claude Code, Codex CLI, Cursor (olakai monitor init --tool <tool>) |
| olakai-monitor-doctor | Self-heal a coding tool's monitoring — olakai monitor list / doctor [--fix] / repair |
| olakai-tune-my-setup | Diff your AI Fluency report against your ACTUAL local agent config, propose two or three specific changes, show each as a diff, apply only on approval |
| olakai-governance | Read and interpret AI governance data over the Olakai MCP connector — exposure, compliance, shadow AI, audit prep, flag triage. The only skill here that drives MCP rather than the CLI |
| olakai-finops | Read and interpret AI cost data over the Olakai MCP connector — spend posture, unit economics, allocation and showback, anomalies, budget variance and forecasts, model-mix optimization, ROI. The second MCP-driven skill, alongside olakai-governance |
Bundled Agent
The olakai-expert agent combines all four skills into a single specialist:
| Agent | Description |
|---|
| olakai-expert | Full Olakai integration specialist - creates agents, adds monitoring, troubleshoots issues, generates reports |
Prerequisites
Before using these skills, ensure you have:
- Olakai CLI installed:
npm install -g olakai-cli (stable 0.15.1, needs Node.js 20+). No Node.js? A standalone binary (beta) is available. See the olakai-get-started skill.
- CLI authenticated:
olakai login
- API key for SDK integration (generated per-agent via CLI)
The Golden Rule: Test - Fetch - Validate
Always validate your Olakai integration by generating a test event and inspecting it:
# 1. Run your agent/trigger LLM call
# 2. Fetch the event
olakai activity list --agent-id AGENT_ID --limit 1 --json
olakai activity get EVENT_ID --json | jq '{customData, kpiData}'
# 3. Validate:
# - customData has all expected fields
# - kpiData shows NUMBERS (not strings like "MyVariable")
# - kpiData shows VALUES (not null)
Quick Reference
# CLI Authentication
olakai login
olakai whoami
# View Activity
olakai activity list --limit 10
olakai activity get EVENT_ID --json
olakai activity sessions --agent-id ID # Session decoration status
# Manage Agents (includes API key generation)
olakai agents list
olakai agents create --name "Agent Name" --with-api-key --json | jq -r '.apiKey.key' # full key, shown once
# Manage KPIs
olakai kpis list --agent-id ID
olakai kpis create --name "My KPI" --calculator-id formula --formula "Variable" --scope PROMPT_REQUEST --agent-id ID
# Manage Custom Data
olakai custom-data list --agent-id ID
olakai custom-data create --agent-id ID --name "Field" --type NUMBER # per agent
SDK Quick Start
TypeScript:
import { OlakaiSDK } from "@olakai/sdk";
const olakai = new OlakaiSDK({ apiKey: process.env.OLAKAI_API_KEY! });
await olakai.init();
const openai = olakai.wrap(new OpenAI({ apiKey }), { provider: "openai" });
Python:
from olakaisdk import olakai_config, instrument_openai
olakai_config(os.getenv("OLAKAI_API_KEY"))
instrument_openai()
Optional: Improved Skill Discovery
For automatic skill activation (recommended for heavy Olakai users):