Agent skill

Kiln Conventions

by Kiln-AI in Kiln-AI/Kiln

Kiln's code conventions and per-area gotchas, plus a diff gate that enforces the mechanical ones.

Custom licenceAuto-check: notesAI & LLM Engineering

Install Kiln Conventions

skills CLI
$ npx skills add Kiln-AI/Kiln --skill kiln-conventions -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Kiln-AI/Kiln kiln-conventions --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Kiln-AI/Kiln.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/kiln-conventions .claude/skills/kiln-conventions && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
kiln-conventions
GitHub stars
5.2k
Token cost
~1.7k tokens
SKILL.md length
830 words
Files
9 (incl. scripts, references)
Skills in repo
14
Repo updated
First seen
Licence
Custom licence

At a glance

Kiln's code conventions and per-area gotchas, plus a diff gate that enforces the mechanical ones.

  • Works in 5 steps: Read the rules → Read the reference for each area you touch → Write the code → …
  • Tasks that involve Frontend development
  • SKILL.md covers 1. Read the rules, 2. Read the reference for each…, 3. Write the code and 4. Run the gate on your change, plus 3 more sections
  • Runs Python scripts from its folder; calls uv

What it does

Kiln Conventions is an agent skill from Kiln-AI/Kiln. Kiln's code conventions and per-area gotchas, plus a diff gate that enforces the mechanical ones. Invoke before writing or changing any Python, TypeScript or Svelte code in the Kiln repo (libs/core, libs/server, app/desktop, app/webui), and when reviewing such a change. Covers comments, startup and entry points, globals and module state, config reads, module layering, library-vs-app rules and async I/O.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts and reference files (for example `references/core.md`, `references/rules.md` and `references/server_desktop.md`).

It sits in AI & LLM Engineering, covering Frontend development. It works with Python, Svelte and TypeScript. The repository describes itself as: Build, Evaluate, and Optimize AI Systems. Includes evals, RAG, agents, fine-tuning, synthetic data generation, dataset management, MCP, and more.

When your agent uses it

  • Tasks that involve Frontend development

Example prompts

  • “/kiln-conventions”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Bash

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Read the rules
  2. Read the reference for each area you touch
  3. Write the code
  4. Run the gate on your change
  5. Self-check what the gate can't see

What it can do on your machine

Read from SKILL.md and the folder at commit 8ac9075. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Kiln Conventions loads about 1.7k tokens when it runs, and up to ~10k if it reads all its reference files. Until then it costs about 106 tokens; SKILL.md has 830 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~106
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~10k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Grep, Glob, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 830 words (~1,667 tokens).

“One set of rules for how code is written in Kiln, the facts about the current code that are easy to get wrong, and a cheap check on the lines you add. Existing code is grandfathered: the rules apply to…”

— opening of SKILL.md by Kiln-AI, Custom licence
name
kiln-conventions
allowed-tools
Read, Grep, Glob, Bash

Read the full SKILL.md on GitHub

Files

SKILL.md and 8 other files (scripts, references) in .agents/skills/kiln-conventions of Kiln-AI/Kiln.

  • SKILL.md
  • references/core.md
  • references/rules.md
  • references/server_desktop.md
  • references/web_ui.md
  • scripts/conventions_gate.py
  • scripts/gate_allow.txt
  • scripts/gate_config.json
  • scripts/test_conventions_gate.py

Open the folder on GitHubat commit 8ac9075

Compare with similar skills

Kiln Conventions next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Kiln Conventions compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kiln Conventions this skillKiln-AI/Kiln5.2k—~1.7kAutomated safety check: NotesCustom licence
Gradio App Builderhuggingface/skills11k4 repos~6.2kAutomated safety check: PassApache-2.0
Langgraph State Managementsoba-labs/langchain-agent-skills107—~3.4kAutomated safety check: PassMIT
Add Example AgentGetBindu/Bindu10k—~1.1kAutomated safety check: NotesCustom licence
Gemini API Devgoogle-gemini/gemini-skills4.3k—~5.1kAutomated safety check: PassApache-2.0
Failproof AI SDK IntegrationFailproofAI/failproofai5.3k—~6kAutomated safety check: PassCustom licence

Similar skills

  • Gradio App Builder

    huggingface/skills

    Official

    Guides building Gradio web UIs and ML demos in Python, covering Interface, Blocks, ChatInterface, event listeners, layouts and chatbots.

    11k GitHub starsUsed in 4 repos~6.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Langgraph State Management

    soba-labs/langchain-agent-skills

    Design state schemas, implement reducers, configure persistence, and debug state issues for LangGraph applications.

    107 GitHub stars~3.4k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Add Example Agent

    GetBindu/Bindu

    Add a new self-contained example agent under examples/. An agent skill from GetBindu/Bindu.

    10k GitHub stars~1.1k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check: notes
  • Gemini API Dev

    google-gemini/gemini-skills

    Official

    A skill your agent uses when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, speech generation (TTS), voice…

    4.3k GitHub stars~5.1k tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed
  • Failproof AI SDK Integration

    FailproofAI/failproofai

    Helps instrument a custom Python or TypeScript agent to record events for Failproof AI, verify what gets written, and run an evaluator worker that scores the runs.

    5.3k GitHub stars~6k tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed
  • Azure Openai To Responses

    microsoft/ai-agents-for-beginners

    Official

    Migrate Python apps from Azure OpenAI Chat Completions to the Responses API.

    77k GitHub stars~6k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes

More from Kiln-AI/Kiln

All 14 skills in this repo
  • Check Kiln's model list for deprecated or sunset models across all providers.

    5.2k GitHub stars~2.5k tokensUpdated yesterday
    Auto-check: notes
  • Check Kiln's fine-tunable model list for deprecated or unsupported base models.

    5.2k GitHub stars~1.9k tokensUpdated yesterday
    Auto-check: notes
  • Release Digest

    Kiln-AI/Kiln

    Post a "what's changed since the last release" recap to the release Slack channel for final QA.

    5.2k GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed
  • Playwright

    Kiln-AI/Kiln

    Look at Kiln's UI in a real browser, and run its end-to-end tests.

    5.2k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Open PR

    Kiln-AI/Kiln

    Open a pull request on the Kiln repo for a human to complete.

    5.2k GitHub stars~6.1k tokensUpdated yesterday
    Auto-check passed
  • QA

    Kiln-AI/Kiln

    Multi-agent, browser-driven QA pass over a branch or PR — scope it, plan it, fan out one subagent per testing area in its own isolated sandbox, compile a severity-ranked markdown report.

    5.2k GitHub stars~3.6k tokensUpdated yesterday
    Auto-check passed

Questions about Kiln Conventions

What does Kiln Conventions do?

Kiln's code conventions and per-area gotchas, plus a diff gate that enforces the mechanical ones. Kiln Conventions is an agent skill from Kiln-AI/Kiln. Kiln's code conventions and per-area gotchas, plus a diff gate that enforces the mechanical ones.

When should I use Kiln Conventions?

Kiln Conventions fits situations like: tasks that involve Frontend development.

How do I install Kiln Conventions in Claude Code?

Run `npx skills add Kiln-AI/Kiln --skill kiln-conventions -a claude-code`. Or copy the skill folder (.agents/skills/kiln-conventions in Kiln-AI/Kiln) into .claude/skills/kiln-conventions in your project. Claude Code loads it when a task matches its description.

How do I install Kiln Conventions in Codex?

Run `npx skills add Kiln-AI/Kiln --skill kiln-conventions -a codex`. Or copy the skill folder (.agents/skills/kiln-conventions in Kiln-AI/Kiln) into .agents/skills/kiln-conventions in your project. Codex loads it when a task matches its description.

Can I use Kiln Conventions in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Kiln-AI/Kiln --skill kiln-conventions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kiln-conventions, .gemini/skills/kiln-conventions, .github/skills/kiln-conventions and .opencode/skills/kiln-conventions in your project.

What does Kiln Conventions need to run?

Going by SKILL.md and its folder, Kiln Conventions needs Python for the scripts in its folder and the command-line tools its instructions call (uv). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Grep, Glob, Bash.

Does Kiln Conventions access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Kiln Conventions safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Kiln Conventions use?

Kiln Conventions has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Kiln Conventions use?

About 1.7k tokens (SKILL.md is roughly 6.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.6k tokens, read only when the agent opens those files.

What are the alternatives to Kiln Conventions?

Skills that share tags, products or a category with Kiln Conventions: Gradio App Builder (huggingface/skills, 11k stars), Langgraph State Management (soba-labs/langchain-agent-skills, 107 stars), Add Example Agent (GetBindu/Bindu, 10k stars) and Gemini API Dev (google-gemini/gemini-skills, 4.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kiln Conventions?

Kiln-AI (a GitHub organization) maintains it in Kiln-AI/Kiln, which has 5,181 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 9, 2026.

Source: Kiln-AI/Kiln on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.