Kilo Code is an open-source AI coding agent that works inside VS Code and JetBrains, from the command line, or through cloud services. Developers use it to build software with AI models, switch between providers, and run cloud agents or automated code reviews. The catalogue includes eleven skills, eight agents, and one instruction for Kilo Code.
Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Kilo-Org/kilocodenpx agentmods add skills/kilo-org/kilocode/vscode-visual-regressionWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/kilo-org/kilocode/vscode-visual-regression)<a href="https://agentmods.dev/skills/kilo-org/kilocode/vscode-visual-regression"><img src="https://agentmods.dev/badge/skills/kilo-org/kilocode/vscode-visual-regression/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/kilo-org/kilocode/vscode-visual-regression"><img src="https://agentmods.dev/badge/skills/kilo-org/kilocode/vscode-visual-regression.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Snyk pass
- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.02950 |
| Opus 5.5 | $0.00010 | $0.01180 |
| Sonnet 5.5 | $0.00005 | $0.00590 |
| Haiku 4.5 | $0.00003 | $0.00295 |
Grade A, and why
vscode-visual-regression scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 311 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Use this skill when the user asks you to add visual regression tests, screenshot tests, or Storybook stories for components in packages/kilo-vscode/.
Architecture
The VS Code extension uses Storybook + Playwright for visual regression testing:
- Storybook stories define UI scenarios using SolidJS components with mock contexts
- Playwright auto-discovers all stories, renders each in headless Chromium, and compares screenshots against baseline PNGs using
toHaveScreenshot() - Baselines are Linux Chromium PNGs stored in
packages/kilo-docs/public/img/screenshot-tests/kilo-vscode/visual-regression/(tracked via Git LFS)
The test runner at tests/visual-regression.spec.ts is fully automatic — it fetches ALL stories from the Storybook index and creates one Playwright test per story. You do NOT write Playwright test code. You only write stories.
How to add a visual regression test
Step 1: Decide which story file to use
Stories live in packages/kilo-vscode/webview-ui/src/stories/. Existing files and their scope:
| File | Components covered |
|---|---|
agent-manager.stories.tsx |
FileTree, DiffPanel, FullScreenDiffView, WorktreeItem |
chat.stories.tsx |
ChatView, QuestionDock |
composite.stories.tsx |
AssistantMessage with tool cards, permissions, questions |
prompt-input.stories.tsx |
PromptInput (sidebar prompt bar) |
settings.stories.tsx |
Settings panel, ProvidersTab |
history.stories.tsx |
SessionList |
shared.stories.tsx |
ModelSelector and shared controls |
Add to an existing file if the component fits. Create a new file only for a genuinely new component area.
Step 2: Write the story
Every story file follows this exact structure:
/** @jsxImportSource solid-js */
/**
* Stories for [ComponentName].
*/
import type { Meta, StoryObj } from "storybook-solidjs-vite"
import { StoryProviders } from "./StoryProviders"
// Import the component(s) under test
import { MyComponent } from "../components/path/MyComponent"
const meta: Meta = {
title: "MyCategory", // Becomes the snapshot subdirectory name (lowercased)
parameters: { layout: "padded" }, // or "fullscreen"
}
export default meta
type Story = StoryObj
export const MyStoryName: Story = {
name: "MyComponent — description of variant",
render: () => (
<StoryProviders>
<div style={{ "max-height": "400px", overflow: "auto" }}>
<MyComponent someProp="value" />
</div>
</StoryProviders>
),
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago Changed · -17 lines 71911de33e4e
- 3mo ago First seen · 328 lines · 25 tokens per session scan A e9daf2235326
vscode-visual-regression is a skill published in the GitHub repository Kilo-Org/kilocode (28,206 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 2,950 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
vscode-visual-regression compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vscode-visual-regressionKilo-Org/kilocode | Skill | 28k | today | MIT | A | 25 | Claude Code, Codex |
| webapp-testingyunseo-kim/agent-toolbox | Skill | 1 | today | none | A | 39 | Claude Code |
| javascript-testing-patternsyunseo-kim/agent-toolbox | Skill | 1 | today | none | B | 63 | Claude Code, Codex |
| release-overnightpingdotgg/t3code | Skill | 90k | today | MIT | A | 151 | Claude Code, Codex |
| hardenpingdotgg/t3code | Skill | 90k | today | MIT | A | 129 | Claude Code, Codex |
| verifyasgeirtj/system_prompts_leaks | Skill | 74k | today | CC0-1.0 | A | 95 | Claude Code |
| e2e-testingQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 94 | Claude Code, Codex |