Skip to content

AI Agent Skills

Skills are portable instruction files that extend AI coding agents with domain-specific knowledge. Instead of reading docs and explaining best practices to your agent manually, skills give your agent direct awareness of Kopai’s CLI, workflows, and conventions.

Kopai ships three skills that cover the full observability workflow — from instrumenting your app, to debugging production issues, to building dashboards.

Skills follow the Agent Skills open standardSKILL.md files with YAML frontmatter that any compatible agent can read. Your agent loads the skill’s instructions and automatically invokes them when your conversation matches the skill’s description, or when you trigger them manually via slash command.

The standard is supported by 20+ AI coding agents including Claude Code, Cursor, and Codex CLI. See the Agent Skills specification for details.

Pick one of the three options below. Each installs the same skills.

Option 1 - skills CLI (all three skills at once, pulls latest from GitHub):

Terminal window
npx skills add kopai-app/kopai-mono

Option 2 - Tessl registry (install individually, version-pinned, quality-reviewed):

Terminal window
npx tessl i kopai/otel-instrumentation
npx tessl i kopai/root-cause-analysis
npx tessl i kopai/create-dashboard

Browse all Kopai skills on the Tessl registry.

Option 3 - manually, if you prefer not to use a package manager: clone the kopai-mono repo and copy the skills/ directories into your agent’s skills folder. See the docs links above for your agent’s exact path.

AgentSkills directoryDocs
Claude Code.claude/skills/Where skills live
GitHub Copilot.github/skills/Creating skills
Cursor.cursor/skills/Skill directories
Codex CLI.codex/skills/Where to save skills
Gemini CLI.gemini/skills/Skill discovery tiers
OpenCode.opencode/skills/Place files

Instruments your application with OpenTelemetry SDK and validates that telemetry reaches Kopai.

  • Supports: Node.js, Next.js, Python, Go, Java, .NET
  • Triggers automatically when you say things like: “add observability to my app”, “set up tracing”, “my traces aren’t showing up”
  • Slash command: /otel-instrumentation
  • Prerequisite: Kopai backend running (npx @kopai/app start)
  • What to expect: your agent installs the right OTEL SDK packages, creates the instrumentation setup file, configures environment variables, and validates data is flowing using npx @kopai/cli traces search

View on GitHub →

Analyzes telemetry data to debug errors, latency issues, and distributed failures.

  • Triggers automatically when you say things like: “why is my API slow”, “getting 500 errors”, “service is down”, “requests are timing out”
  • Slash command: /root-cause-analysis
  • Prerequisite: services sending OpenTelemetry data to Kopai
  • What to expect: your agent searches error traces → gets full trace context → correlates logs → checks metrics → presents findings with a summary, evidence, impact assessment, and suggested fix

View on GitHub →

Builds observability dashboards from OTEL metrics, logs, and traces.

  • Triggers automatically when you say things like: “create a dashboard”, “show me a metrics view”, “build a monitoring panel”
  • Slash command: /create-dashboard
  • Prerequisite: metrics data ingested into Kopai
  • What to expect: your agent discovers available metrics via npx @kopai/cli metrics discover, designs a component layout, and creates the dashboard via the CLI — you get a link to view it in the Kopai web UI

View on GitHub →