Kit is a coding agent runtime and terminal client. Choose a project working directory, authenticate the model provider, and then use the installed kit binary interactively, for one prompt, or as an ACP/A2A server. Run kit --help and kit <command> --help for the current, exhaustive command-line reference.
Run kit init to write the recommended ~/.kit/config.toml and an empty ~/.kit/mcp.json when those files do not exist. It selects gpt-5.6-sol and file-backed credentials in ~/.kit/credentials. The command leaves existing files unchanged.
Use kit config get, kit config set, and kit config unset to inspect and edit ~/.kit/config.toml. For example, kit config set model gpt-6-astra saves a plain-string model ID without changing the provider or checking model availability. Choose a model supported by your provider; a per-command --model still overrides the saved value.
Install the latest packaged release with mise, then verify that the executable is on PATH:
mise use -g github:speakeasy-api/kit
kit --version
kit --helpA version can be pinned with a mise package such as github:speakeasy-api/kit@0.1.83. The examples below invoke the installed binary directly; they do not use cargo run.
Linux builds load ALSA/PulseAudio libraries only when voice is started. Ordinary
Kit commands and the TUI do not require audio libraries or devices. The GNU
binary needs the standard C/C++ runtime libraries (libstdc++6 on Debian/Ubuntu).
For voice, install libpulse0 for PulseAudio (including PipeWire's PulseAudio
compatibility service), or libasound2 on Debian 12 / libasound2t64 on Ubuntu
24.04 for ALSA. A working audio service/device and microphone and speaker access
are also required. If audio libraries or usable devices are missing, /voice on
fails locally before creating a subscription call. See Native voice
for setup and controls; using the packaged binary does not require build tools.
Use the packaged binary when you need the terminal client or voice. The container
images are headless: they omit the terminal client, voice, and audio libraries.
Debian flavors include libstdc++6; Alpine includes libstdc++. The Alpine container is a separate
dynamically linked musl build, not a fully static binary for arbitrary
distributions or scratch. The release workflow publishes an x86-64 GNU Linux
tarball with the full feature set, not a static musl tarball.
Kit supports openai-subscription, anthropic, gemini, openrouter, and speakeasy. The default provider is openai-subscription, and the default model is gpt-5.4. A --provider or --model command-line value overrides the corresponding value in ~/.kit/config.toml.
Authenticate directly with Kit, then start the runtime:
kit auth login openai --credential-store keychain
kit auth status openai --credential-store keychain
kit tui --root /path/to/project --credential-store keychainLogin opens OpenAI's browser authorization flow. Keep localhost port 1455 or
1457 available for the browser callback.
OpenAI and MCP use one selected credential backend. The default is process-local
memory, but standalone OpenAI login rejects it; select persistent keychain or
file storage, including --credential-dir when selecting file.
Kit refreshes your credentials automatically. Subscription connections are managed automatically and require no additional configuration. Kit retries temporary failures when it is safe to do so; if a request fails, it reports the error rather than risk silently repeating an accepted request.
Use kit auth status openai with the same credential-store options to check the credential.
kit auth logout openai revokes the refresh token before local deletion and keeps
the local credential if revocation fails. kit auth logout openai --local-only
skips revocation and prints a warning.
Use a single-workspace API key from Claude Console. Kit uses the Anthropic API directly, not Claude Max subscription OAuth:
kit auth login anthropic --credential-store keychain
kit auth status anthropic --credential-store keychain
kit prompt --provider anthropic --model claude-sonnet-5-5 \
--credential-store keychain "Summarize this project"
kit auth logout anthropic --credential-store keychainLogin reads the key at a hidden prompt, validates it with the non-inference Models
API, and saves it only on success. Use the same persistent credential store for
login and runtime commands. File storage is also supported with
--credential-store file --credential-dir /path/to/private-directory.
Alternatively, set ANTHROPIC_API_KEY; a nonempty environment key overrides the
saved key. Do not put API keys in command-line arguments or config.toml.
Multi-workspace keys that require an explicit workspace header are not supported.
Use direct Anthropic model IDs with --model, not OpenRouter's
anthropic/… IDs. Kit discovers available models, context limits, and thinking
capabilities from the authenticated Anthropic Models API rather than a fixed
model list. If discovery is unavailable, an explicitly selected model remains
usable with default reasoning; Kit does not guess its context limit. Responses
have an output limit of at most 16,384 tokens, capped by the model's advertised
maximum when available. Leave reasoning_effort unset for the provider default,
or select low, medium, or high when discovery confirms support. Logout deletes the locally
saved key; revoke it in Claude Console to disable it remotely. An environment key remains active after logout.
Use an API key from Google AI Studio:
kit auth login gemini --credential-store keychain
kit auth status gemini --credential-store keychain
kit prompt --provider gemini --model gemini-2.5-pro \
--credential-store keychain "Summarize this project"
kit auth logout gemini --credential-store keychainLogin reads the key at a hidden prompt, validates it with the non-inference Models
API using the x-goog-api-key header, and saves it only on success. Use the same
persistent credential store for login and runtime commands. File storage is also
supported with --credential-store file --credential-dir /path/to/private-directory.
Alternatively, set GEMINI_API_KEY; a nonempty environment key overrides the
saved key. Do not put API keys in command-line arguments or config.toml.
Use direct Gemini model IDs with --model (for example, gemini-2.5-pro), not
OpenRouter's google/… IDs. Kit discovers available generateContent models
and context limits from the authenticated Gemini Models API. Leave
reasoning_effort unset for the provider default when a model's supported
levels are unknown; explicit low, medium, and high settings are validated
by model support (for example, gemini-3-pro-preview accepts low and high,
not medium). Logout deletes the locally saved key; revoke it in Google AI
Studio to disable it remotely. An environment key remains active after logout.
Set OPENROUTER_API_KEY, select openrouter, and use an OpenRouter model identifier:
export OPENROUTER_API_KEY=sk-or-v1-...
kit prompt --provider openrouter \
--model anthropic/claude-sonnet-4 \
--root /path/to/project \
"Reply with a short project summary"Kit uses the CLI or TOML model; OPENROUTER_MODEL does not override that selection. The adapter also accepts OPENROUTER_BASE_URL, OPENROUTER_APP_NAME, OPENROUTER_SITE_URL, OPENROUTER_MAX_COMPLETION_TOKENS, OPENROUTER_TEMPERATURE, and OPENROUTER_REASONING_EFFORT. Its model-catalog lookup for the selected model's context length is best-effort, so a catalog failure does not by itself prevent normal provider usage.
For deployed workloads with projected identity tokens, use workload identity for inference instead of local API-key or browser authentication.
TypeSafe authentication is BYOK (bring your own key). Create a key at https://console.typesafe.ai/keys, then enter it at the hidden terminal prompt:
kit auth login typesafe --credential-store keychain
kit auth status typesafe --credential-store keychain
kit auth logout typesafe --credential-store keychainUse the same storage option for all three commands. You can instead
use --credential-store file --credential-dir /path/to/private-directory.
Login requires keychain or file to save your key. Enter the key only at the
hidden prompt, not in command-line arguments or config.toml.
Status gives a nonempty TYPESAFE_API_KEY environment variable precedence over a
stored key; an empty variable does not override stored credentials. Login still
prompts and saves a key when the variable is set, and warns about this precedence.
Login checks the key with TypeSafe before saving it, without running inference
or incurring inference charges. If authentication fails, your previously saved
key is unchanged. Successful login confirms authentication. Status reports
whether a key is configured; it does not check whether that key is still valid.
Logout removes only the stored key and warns if TYPESAFE_API_KEY remains active.
Revoke the key separately at https://console.typesafe.ai/keys; --local-only
suppresses that reminder. These commands manage credentials only: TypeSafe is not
a model provider, and this does not enable Jev inference, compaction, filtering,
or behavior configuration.
Sign in through the Speakeasy dashboard, then use the same persistent credential store for runtime commands:
kit auth login speakeasy --credential-store keychain
kit auth status speakeasy --credential-store keychain
kit prompt --credential-store keychain \
--provider speakeasy --model anthropic/claude-sonnet-4 \
--root /path/to/project "Reply with a short project summary"Login verifies your key and accessible projects with ai.speakeasy.com and saves
the selected project with the credential. New and resumed Kit conversations stay
together in AI Control Plane Agent Sessions. The model selector uses OpenRouter's
catalog because Speakeasy does not provide a public model catalog; confirm that
your selected model is allowed by your Speakeasy project if requests fail.
Logout removes only the local credential. Revoke the API key remotely in the
Speakeasy dashboard.
The working directory must exist and be a directory. If --root is omitted, Kit uses configured root, then .. A bad path reports could not open working directory; a non-directory reports working directory is not a directory. This directory supplies project context and relative-path resolution; it does not restrict filesystem access.
Start the ACP-backed terminal client at a project root:
kit tui --root /path/to/projectChoose a persisted conversation in the startup picker, or resume directly by ID:
kit tui --root /path/to/project --resume
kit tui --root /path/to/project --resume <session-id>Without an ID, --resume opens the same workspace-scoped, newest-first picker as /sessions, including session names and inline rename. Workspace selection honors --root and configured root defaults as in normal startup. Opening the picker does not create a persisted session.
Esc at the top level or Ctrl+C cancels startup successfully without creating or resuming a session; Esc while renaming only cancels the rename. An empty catalog reports no resumable sessions and exits successfully. Catalog read failures exit unsuccessfully with an actionable error; a selected session that cannot be resumed reports its resume error instead of starting a new session.
If a dead process left a stale session lock, --force can accompany either form of --resume. With the picker, it applies only to the selected session and never takes over a lock held by a live process. Use it only with --resume; it is not a general overwrite option. See session locks and recovery.
Run one prompt and exit:
kit prompt --root /path/to/project "Summarize the project in five bullets"kit prompt prints the response and then session_id: <id>. Continue that persisted session with:
kit prompt --root /path/to/project \
--resume <session-id> \
"Now identify the highest-risk module"Use kit serve for ACP v1 on stdio plus selectable HTTP protocol surfaces:
kit serve --root /path/to/project # A2A
kit serve --root /path/to/project --remote-acp # A2A and remote ACP
kit serve --root /path/to/project --remote-acp --no-a2a # remote ACP only
kit serve --root /path/to/project --http 127.0.0.1:7331
kit serve --remote-acp --no-a2a --no-stdio --http 0.0.0.0:8081 # daemonWithout --a2a (or its --http alias), serve binds an available loopback port. Remote ACP v1 and v2 negotiate on the standard /acp endpoint; /acp/v2 is an explicit v2-only alias. Both routes use the same HTTP listener, bearer-token policy, and HTTP/SSE or WebSocket transports. The kit serve stdio connection defaults to ACP v1; the hidden --stdio-protocol-version 2 flag selects v2 for that connection only. Stdout remains reserved for ACP, so local stdio and remote ACP can run together. Add --no-stdio for a foreground daemon that does not depend on stdin; this option requires --remote-acp. SIGINT and, on Unix, SIGTERM interrupt active ACP sessions and allow about five seconds for cleanup before shutdown.
Add --server-credential-file /private/token to require the file's single bearer token for every request on the HTTP listener. A non-loopback daemon must not be exposed without authentication and suitable network controls. Use kit acp when the host needs only ACP on stdio and no HTTP listener. Select the wire version explicitly with --protocol-version 1|2; omitting it defaults to ACP v1:
kit acp --root /path/to/project --protocol-version 1
kit acp --root /path/to/project --protocol-version 2Stable GitHub releases include an agent.json manifest for ACP registry integrations. It pins the macOS Apple Silicon and Linux x86-64 CLI archives and their SHA-256 checksums, and launches ./kit acp after extraction. Prereleases do not include this stable-channel manifest. Publishing the manifest does not automatically add Kit to an editor's agent catalog; catalog inclusion requires a separate ACP registry submission.
ACP clients can supply additional stdio MCP servers per session: use mcpServers on v1 session/new, session/load, or session/fork, or on v2 session/new or session/resume. V2 stdio entries require type: "stdio". These servers are attachment-scoped, preserve configured servers, and must be supplied again when reattaching; Kit does not persist their launch configuration.
For ACP client replay cursors and recovery behavior, see the native Kit replay protocol reference.
At startup, every runtime and authentication command attempts to load $HOME/.kit/config.toml. An absent file is allowed. If HOME is unset or empty, Kit uses built-in defaults without loading a home config. Unknown top-level keys are ignored so configurations remain compatible across Kit versions. Invalid values, an unreadable file, and invalid TOML syntax are errors.
Use these noninteractive commands as the recommended way to edit the saved configuration:
kit config get # print the whole TOML document
kit config get model # read one value
kit config set model gpt-6-astra # a plain string needs no TOML quotes
kit config unset model # remove the saved value
kit config set capture_error_spans true
kit config set 'plugins.local-plugin' '{ source = "path", path = "./plugins/local-plugin" }'
kit config get 'plugins.local-plugin.path'Paths use generic TOML dotted-key syntax, not a fixed list of Kit settings. Quote a TOML path segment when a key contains a literal dot: kit config set 'custom."key.with.dots"' value. The outer single quotes in these shell examples preserve the inner TOML quotes.
set parses valid TOML values, including booleans, numbers, arrays, and inline tables. Plain text such as gpt-6-astra is accepted as a string. To force a literal string rather than a typed value, pass a quoted TOML string: kit config set custom.value '"true"' stores the string true, not the boolean. Use --string to pass literal text without TOML quoting, for example kit config set --string custom.value true. Malformed quoted, structured, or numeric-looking input (such as 123abc) is rejected rather than silently stored as text; use --string for these strings.
If the config file is missing, set creates it, get reports an error, and unset is a no-op. get without a key prints the original document unchanged, not the runtime's merged defaults. With a key, get prints a TOML value that can be passed directly to set: tables become inline tables and arrays of tables become arrays of inline tables, retaining nested contents. Keyed output need not preserve formatting or comments. Edits preserve comments, unrelated settings and unknown keys, an existing UTF-8 BOM, and symlinks (updating the target without replacing the link). The TOML editor may normalize CRLF line endings to LF when changing the document; unsetting an absent key leaves the file untouched.
These commands only inspect or edit the local configuration: they do not run migrations, authenticate, or access the network. They do not open an interactive dialog. Use standard help such as kit config --help or kit config set --help for command syntax. Runtime commands still validate the settings they consume.
To prevent Kit's native agent from exposing the ask_user tool, set the top-level
ask_user boolean to false:
kit config set ask_user falseThis writes ask_user = false in ~/.kit/config.toml. Restart the running Kit
process to apply the setting; configuration is read at startup. The default is
true, but the tool still requires an ACP client that supports form elicitation.
This setting does not disable generic form display or change the TUI's advertised
form capability.
To restore the default, remove the setting and restart Kit:
kit config unset ask_userA representative configuration is:
root = "/path/to/project"
provider = "openai-subscription" # or "openrouter" or "speakeasy"
model = "gpt-5.4"
reasoning_effort = "medium" # low, medium, or high
a2a = "127.0.0.1:7331"
capture_error_spans = false # optional local context in fatal error logs
skill_poll_interval_seconds = 5 # 0 disables live skill catalog polling
otel_endpoint = "http://localhost:4317"
otel_protocol = "grpc" # grpc, http/protobuf, or http/json
otel_capture_message_content = false
otel_message_content_max_messages = 64
otel_message_content_max_bytes = 16384
# Optional: user MCP servers below project .mcp.json and --mcp-config.
mcp_config = "/path/to/mcp.json"
credential_store = "file" # "memory", "keychain", or "file"
credential_dir = "/path/to/private/credentials"
[experimental]
voice = false # opt in to native TUI voice with true
[acp.review]
command = "review-agent"
args = ["acp"]
permissions = "allow" # default; legacy "deny" and "cancel" also allow
[subagent]
harness = "acp.review"
[subagent.harnesses."acp.review"]
allow_model_overrides = ["provider:model-a"]
[subagent.harnesses."acp.review".models]
review = "provider:model-a"
[plugins.local-plugin]
source = "path"
path = "./plugins/local-plugin"
[plugins.remote-plugin]
source = "archive"
url = "https://example.com/plugin.tar.gz"
sha256 = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
[plugins.git-plugin]
source = "git"
url = "https://plugins.example.com/repository.git"
rev = "main"
subdir = "agent-plugins/example"experimental.voice enables experimental native voice in the TUI. It defaults to false when the table or key is absent and accepts only TOML booleans (true or false), not strings or numbers. Enable it with kit config set experimental.voice true; disable it with kit config set experimental.voice false or remove it with kit config unset experimental.voice. The TUI snapshots this setting at startup; restart the TUI after changing it. Enabling the setting only makes the controls available: it does not connect a paid session or start microphone capture. Use /voice on explicitly to connect or resume capture, /voice mute to pause capture, and /voice off to end the call. When disabled, voice completion/help is hidden and local /voice commands are rejected. See Native Voice for requirements and usage.
root, provider, model, and credential settings apply to all four runtime commands. Subagent model aliases and explicit-override allowlists are scoped by fully qualified harness under [subagent.harnesses."acp.name"]. Omitting allow_model_overrides permits all explicit model selections accepted by that harness; an empty list disables explicit model overrides. This policy does not restrict the harness's inherited or default model.
a2a applies to serve and tui. Configured plugins can provide MCP servers without mcp_config; supported stdio and streamable-http declarations are registered, while sse declarations are skipped with a stderr diagnostic. MCP servers merge by name in this order: plugins, configured mcp_config, <canonical-root>/.mcp.json, then --mcp-config. Higher layers replace whole conflicts while preserving non-conflicting lower entries; live removal reveals the next lower layer. Plugin data is stored under <config-directory>/plugin-data/<plugin-manifest-name>. See Agent Plugins for placeholders, collision rules, and ACP child behavior. otel_endpoint enables OTLP export of AgentKit's GenAI trace spans. otel_protocol accepts exactly grpc, http/protobuf, or http/json; gRPC is the default. For either HTTP protocol, Kit appends /v1/traces to a base endpoint unless it already ends with that path. credential_store selects one backend for model providers and MCP and defaults to memory; selecting file requires credential_dir, while a credential directory is invalid with memory or keychain. Memory credentials are process-local and are not shared with the TUI server process or nested Kit children. Standalone provider login requires persistent keychain or file storage. ACP profiles are direct executable-and-argument configurations, not shell command strings. [subagent].harness must name an available fully qualified profile such as acp.review; otherwise startup reports unknown subagent ACP harness. When no subagent harness is selected, the built-in acp.kit profile is used.
Agent hooks are configured in ~/.agents/hooks.json and <root>/.agents/hooks.json. See Agent Hooks Protocol.
To compact at 200,000 tokens or 55% of the provider's context window, whichever comes first, add:
[compaction]
threshold_percent = 55
max_context_tokens = 200000
precompute_margin_percent = 10
precompute_margin_tokens = 20000Or save the trigger settings with:
kit config set compaction.threshold_percent 55
kit config set compaction.max_context_tokens 200000| Setting | Default | Valid values |
|---|---|---|
threshold_percent |
80 |
Integer from 1 through 99 |
max_context_tokens |
Unset (no token ceiling) | Positive integer |
precompute_margin_percent |
10 |
Integer from 0 through 100; percentage points of the full context window |
precompute_margin_tokens |
20000 |
Nonnegative integer |
Omitting the table keeps these defaults. Partial tables inherit omitted defaults. Use kit config unset compaction.max_context_tokens to remove the token ceiling. Unknown keys in this table are ignored for compatibility across Kit versions. Invalid values for known settings prevent runtime startup; the config editor saves TOML without validating the policy. Reading configuration never rewrites the file.
The token ceiling is a compaction trigger, not a strict limit on context size: provider usage arrives after work, and retained instructions and recent history may exceed a small ceiling. If the provider's context window is unknown or zero, automatic compaction remains disabled even with a token ceiling. See Automatic context compaction for preparation timing, hooks, and limitations. The model-switch safety warning uses its separate safety margin; these settings do not change it.
For settings exposed by a command, precedence is:
- command-line options, such as
--root,--provider, or--model; - values in
~/.kit/config.toml; - built-in defaults.
Set capture_error_spans = true when troubleshooting unexpected failures or
preparing a bug report. Kit adds diagnostic context about recent operations to
error logs in ~/.kit/errors/<session-id>/, which can help explain a failure.
It is disabled by default to avoid additional collection overhead and does not require OpenTelemetry. The extra context excludes prompts and tool inputs and outputs; it is not a complete execution history.
The OpenTelemetry endpoint follows the same CLI-over-TOML precedence, then falls
back to the standard OTEL_EXPORTER_OTLP_ENDPOINT environment variable. If none
is set, trace export is disabled. The trace protocol precedence is
--otel-protocol, otel_protocol, OTEL_EXPORTER_OTLP_TRACES_PROTOCOL,
OTEL_EXPORTER_OTLP_PROTOCOL, then grpc. Kit passes
OTEL_EXPORTER_OTLP_HEADERS and OTEL_EXPORTER_OTLP_TRACES_HEADERS to the upstream
exporter. Message capture is disabled by default because structured prompts, tool
arguments, outputs, file content, and compaction summaries
can contain secrets. Kit resolves --otel-capture-message-content BOOL, the TOML
otel_capture_message_content value, and
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT in that order. The environment
value must be true or false (case-insensitive). CLI or TOML can bound capture
with otel_message_content_max_messages (1–1024, default 64) and
otel_message_content_max_bytes (1–1048576, default 16384) per input or output
attribute. Enabling capture configures both the gen_ai.input.messages and
gen_ai.output.messages structured message arrays. Input capture keeps the newest
bounded tail, while output capture keeps the bounded head. If source content exceeds
the byte budget, Kit emits a structured truncation entry instead of partial content;
the arrays remain valid JSON and truncation does not split UTF-8. Capture applies to
main agents, ACP sessions, nested in-process agents, and compaction summarizer prompts
and outputs. Kit forwards all resolved values, including an explicit false, to its
TUI server and nested acp.kit children. Kit's OTLP subscriber exports AgentKit
loop and MCP semantic spans, ACP request spans (acp.request), and Kit operation
spans (kit.operation). Other dependency spans and source location, thread, tracing
target, and span busy/idle metadata are omitted. ACP clients can supply W3C
traceparent, tracestate, and baggage in request _meta to associate work with
their trace. Invalid context is ignored. Baggage stays in request-local telemetry
context; Kit does not copy it or other arbitrary metadata into exported span attributes.
For example:
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 kit prompt "Summarize this project"
kit prompt --otel-endpoint http://localhost:4317 "Summarize this project"
kit prompt --otel-protocol http/protobuf --otel-endpoint https://otel.example.com/ingest "Summarize this project"
kit prompt --otel-capture-message-content true --otel-message-content-max-messages 32 "Summarize this project"The main built-in defaults are:
| Setting | Default |
|---|---|
root |
. |
provider |
openai-subscription |
model |
gpt-5.4 |
credential_store |
memory |
serve/tui A2A address |
an available loopback port |
| subagent harness | acp.kit |
For example, with model = "gpt-5.4" in TOML, kit prompt --model anthropic/claude-sonnet-4 ... uses the CLI model. Omitting both CLI and TOML model selections uses gpt-5.4. The same CLI-over-TOML rule applies to reasoning_effort on serve, acp, prompt, and tui. Use --reasoning-effort default to override a configured value and leave effort unset. This preserves provider defaults, including OPENROUTER_REASONING_EFFORT. Environment variables used by a provider supply credentials or provider adapter settings; they do not change CLI-over-TOML precedence.
To give Kit instructions for every project, create or edit $HOME/.kit/AGENTS.md. For repository-wide guidance, use an AGENTS.md in the repository; put subproject-specific guidance nearer the working directory you select with --root.
Kit reads the global file first, then project AGENTS.md files from the outermost ancestor down to the selected working directory. It does not discover descendant instruction files: select that subproject with --root when its guidance should apply. These instructions supplement Kit's built-in instructions rather than replace them.
Start a new session after editing global or primary project instructions. Active, resumed, and forked sessions keep their saved instructions. Attaching additional project directories through ACP refreshes those directories' instructions, but does not reload global instructions.
If startup reports could not load AGENTS.md context, check the named file's readability and permissions. Missing instruction files are optional; other read errors prevent loading. Changing ~/.kit/config.toml does not replace instructions: use it for runtime settings and AGENTS.md for guidance to the agent.
Kit discovers Agent Skills recursively from <root>/.agents/skills and ~/.agents/skills. Validated Agent Plugins can add exact skill directories and supported MCP servers from local packages, checksum-pinned archives, or HTTPS Git sources pinned to a full commit or validated tag. Collision precedence for skills is project skills, user skills, then plugins in lexical alias order. Project skills therefore override user and plugin skills with the same name. Each skill lives in a directory containing SKILL.md; its frontmatter must include a name using lowercase letters, digits, and hyphens that matches the directory name and a non-empty description.
---
name: review
description: Review code changes for correctness.
---
Review the change and run the smallest relevant checks.The skill entry in compose initially discloses only valid skill names and descriptions. When a task matches, the agent loads the skill before proceeding; the result contains the full Markdown body, skill directory, and paths to supporting resources. Project and user skill files are read with the Kit process's normal host permissions. Invalid or unreadable skills are omitted, and the same skill can be loaded repeatedly.
When Kit connects to a server that advertises the Skills over MCP extension, the skill catalog can show its advertised names and descriptions. Each entry has a selector containing the configured server name and the skill URI, so it cannot shadow a local skill or one from another server. Pass the exact selector to skill to inspect an entry. To browse entries that do not fit in the catalog preview, pass mcp:list as the skill name, then pass the returned next value as the name for the next page. If the inventory changes between pages, restart with mcp:list. A truncated result means the inventory is incomplete: discovery may still be retrying or may have reached a limit.
Kit retains up to 256 skill entries and 256 KiB of metadata per server. MCP skill entries are metadata only: Kit does not fetch or activate their instructions, run their scripts, or expose them as slash commands. ACP sessions report inventory changes at the next prompt.
In the TUI or an ACP client, enter /name to load a skill by name. Append optional task details, for example /release-notes focus on user-facing fixes. Kit loads the latest skill instructions when you invoke the command. Skill commands that collide with /compact or Kit’s local commands (/voice, /new, /clear, /resume, /sessions, /close, /model, /effort, /agents, /login, and /usage) are hidden; use the skill tool to load those skills instead. Unknown or removed skill commands are sent as ordinary prompts; Kit does not reuse their old instructions.
Kit checks for skill catalog changes every five seconds in live sessions, including additions and removals in local path plugins. Polling reuses previously resolved Git plugin revisions rather than contacting their remotes on every interval. Invoke a skill or send a prompt to refresh mutable Git revisions; newly configured Git sources are resolved when discovered. To change the polling interval, set skill_poll_interval_seconds in ~/.kit/config.toml:
skill_poll_interval_seconds = 5The value must be a non-negative integer number of seconds. Set it to 0 to disable polling after the initial skill catalog is sent; start or resume a session to refresh its command menu when polling is disabled. Skill invocation still reads current instructions. Polling applies only to live sessions, not one-shot prompts.
invalid config ...: validate known values and TOML types. Unknown fields are ignored; provider values are exactlyopenai-subscription,anthropic,gemini,openrouter, andspeakeasy, and credential-store values arememory,keychain, andfile.could not read config ...: check permissions and that$HOME/.kit/config.tomlis a readable regular file. Deleting an unwanted config is valid because a missing file falls back to defaults.credential_dir is required when credential_store is file: add the directory or choose another store.credential_dir requires credential_store to be file: remove the directory or selectfile.- Unexpected project or model: check the command line first, then
~/.kit/config.toml, then the built-in defaults. Usekit <command> --helpto confirm which options that command accepts. - Provider authentication failure: for
openai-subscription, use the same persistent--credential-store keychainor--credential-store file --credential-dir ...for login, status, and runtime commands; standalone login rejectsmemory. Also check that callback ports 1455 or 1457 are free. Foropenrouter, checkOPENROUTER_API_KEYand the selected OpenRouter model identifier. Forspeakeasy, use the same persistent credential store for login and runtime commands, and confirm that the stored project can access the selected model.
kit prompt --request-budget-seconds 300 "..." gives each logical provider
request a total 300-second budget, including retries, backoff, and streamed
response reads. The global CLI option overrides request_budget_seconds = 300
in ~/.kit/config.toml. Accepted values are integer seconds
from 1 through 3600; omission preserves the 60-second default. Stream idle
and attempt timeouts remain 30 seconds.
This applies to the resilient OpenRouter and Speakeasy completions paths, not
the OpenAI subscription transport. It does not extend an external container
or task deadline.
Native Kit ACP children and the TUI server inherit this request budget for new and resumed sessions; their local TOML cannot override it.
experimental.eval defaults to false. Enable it in your user configuration to
ask named classification, scoring, and yes/no questions with TypeSafe. A TypeSafe
key is also required. Each call shares its supplied content with TypeSafe and
uses your quota. See Evaluations for setup, examples, and limits.
See Provider usage for account quotas, key spend, and the
kit usage and /usage commands.