Skip to content

Skill Intelligence: User Guide

Skill Intelligence helps you answer a simple question: Do your agent skills (SKILL.md) actually work, and did your latest edit make them better or worse?

Instead of guessing, Chakshu lets you grade real agent sessions against simple checklists and repeatable test scenarios—completely offline, using the logs your agents already wrote.


Quick Start (5 Minutes)

  1. Open the Dashboard: Run chakshu ui and click Skill Intelligence in the top bar.
  2. Scan Your Skills: Open the Skills tab and click Rescan so Chakshu indexes your local SKILL.md files.
  3. Use a Skill Normally: Run your coding agent (Codex, Claude Code, or Gemini) on a task that triggers one of your skills.
  4. Evaluate the Session: Open the Executions tab, find the detected skill run, and click Evaluate (or Auto-Evaluate to grade all recent ungraded runs).
  5. Read Your Report: Click any evaluated run to see its 0–100 score, what passed, what failed, and whether any security issues were flagged.

Chakshu Skill Intelligence & Benchmarking


Everyday Workflows

1. Tracking Changes When You Edit a Skill (Skills Tab)

Whenever you update a SKILL.md file or its helper scripts: - Go to Skill Intelligence → Skills and click Rescan. - Chakshu automatically detects that the files changed and records a new revision (v1, v2, v3...) without overwriting old results. - You can click any skill to see its revision history and all past sessions where it was used.

Tip: Always click Rescan right after editing a skill so new sessions are tagged with the new version.


2. Creating Repeatable Tests (Benchmark Studio Tab)

If you want to test a skill consistently across edits or across different agents: 1. Open Benchmark Studio and click New Suite—or pick one of the 3 built-in starter templates: - Code Review Benchmark: Checks if the agent catches SQL injection, missing input validation, auth bugs, and missing tests. - Test Suite & Race Verification: Checks if the agent runs Go race tests and TypeScript type checks. - Security & Supply-Chain Audit: Checks if the agent safely audits MCP/skill configs without leaking secrets. 2. Add Scenarios to your suite. Each scenario is a test case with: - Prompt: What you ask the agent to do. - Required actions: What the agent must do (e.g., run go test, edit a file). - Forbidden actions: What the agent must not do (e.g., run rm -rf, read .env). 3. Share with your team: Use Export to save any suite as a YAML or JSON file, or Import to load a suite file into Chakshu.


3. Grading Real Agent Sessions (Executions Tab)

You don't need to re-run commands inside Chakshu. Chakshu watches your normal agent sessions and automatically detects when a skill was used.

  • Auto-detected runs: In Executions, Chakshu groups the tool calls belonging to a skill into an execution window and shows a confidence badge.
  • Manual adjustment: If Chakshu included an extra call or missed one, you can pin the exact starting call or manually select which tool calls belong to the skill run.
  • Evaluating: Click Evaluate on a single execution (optionally picking a Benchmark Suite & Scenario to grade it against), or click Auto-Evaluate to grade detected runs automatically.

4. Checking for Regressions (Comparisons Tab)

Before keeping a skill edit—or when deciding if a skill actually helps compared to running the agent without it—open Comparisons:

  1. Pick Run A (for example, Skill v1 or a Baseline session without the skill) and Run B (Skill v2 or a session with the skill).
  2. Chakshu checks that both runs used the same scenario, grading profile, and agent, then shows:
  3. Score difference (e.g., +15 pts or -12 pts)
  4. Whether any Security or Required checks started failing (flagged as a Regression)
  5. Token and duration differences

Why do some comparisons say "Insufficient Trials"? AI agents are non-deterministic. If you only compare 1 or 2 runs, a lucky or unlucky run can be misleading. Chakshu marks comparisons with fewer than 3 runs per side as Insufficient Trials so you know the result is only a rough hint, not a guarantee.


5. Customizing How Runs Are Graded (Profiles Tab)

By default, Chakshu grades every run across 6 categories: - Task Completion - Instruction Adherence - Tool Correctness - Output Quality - Execution Efficiency - Security Compliance (always shown as its own Clean / Warning / Violation badge so a high quality score never hides a dangerous command)

In the Profiles tab, you can create custom grading profiles: - Adjust how much each category counts toward the final 0–100 score. - Add simple rules (e.g., "Reward +10 points if go test ran and passed", or "Deduct 20 points if a command failed"). - Mark critical rules as Required—if a required rule fails, the entire run is marked FAIL regardless of points.


6. Reviewing Reports & Leaving Human Feedback (Reports Tab)

Click any run in Reports to open its full breakdown: - Exact Evidence: See which specific tool calls triggered each pass, warning, or failure. - Human Review: Add your own review notes, award bonus/penalty points, or override the final PASS / FAIL verdict if you disagree with the automated score. - Export: Download the full evaluation report as JSON for sharing or record-keeping.


Optional: Using an AI Judge for Open-Ended Quality

Out of the box, Skill Intelligence works 100% offline using deterministic checklists. If you also want an AI to grade subjective things like "Was the code review explanation clear and helpful?", you can opt in to LLM-as-a-Judge:

  1. Open Profiles (or Judge Settings) and turn on Enable LLM-as-a-Judge (disabled by default).
  2. Choose how to run it:
  3. Local Agent CLI: Use claude, codex, gemini, or agy already installed on your machine.
  4. API Provider: Connect Ollama (local), OpenAI, Anthropic, or Gemini with an API key.
  5. Click Test Connection to verify it works.

Privacy note: The AI judge only ever receives redacted summaries of tool calls—any detected secrets or credentials are stripped before leaving your machine.


Headless CI Regression Gating (chakshu eval)

Use chakshu eval in local scripts or CI pipelines to run skill/rule evaluations headlessly and fail builds when scores drop below threshold or regressions are detected:

# Run headless evaluation and exit non-zero on regression or score < 70
chakshu eval --ci --min-score 70

# Target a specific benchmark suite with JSON output
chakshu eval --suite suite-code-review --ci --json