Skip to content

Releases

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 26 Nov 17:52

Plugin sources, richer Copilot support, and tighter diffs.

New

  • Plugin sources. apply, diff, status, sync and doctor can take a plugin directory, or a git URL to one, as well as a kitbag profile. A plugin is a folder with rules/<name>.md at its root and no kitbag.toml. Frontmatter accepts globs (a list or a comma-separated string), paths and applyTo. A rule without those fields applies everywhere. Tools that cannot scope a rule still load it always-on, labelled with its globs. The plugin is named from .claude-plugin/plugin.json or plugin.json, or after its directory. Nothing is written into the plugin; sync --from refuses one, so a profile is not created inside it. (#78, agent-plugins-spec discussion #100)
  • Copilot commands and skills. The copilot target now carries commands as VS Code prompt files (.github/prompts/<name>.prompt.md at project scope) and skills under $COPILOT_HOME/skills/ and .github/skills/. Custom agents and chat modes are still listed by capture and not carried. (#22, #74)

Changed

  • A bare $VAR in a Copilot project .mcp.json or .github/mcp.json is captured as a reference, as in the user file. The warning about references in url and cwd now says neither Copilot CLI's nor VS Code's docs say they expand there. (#22)

Fixes

  • undo after an apply or sync that had nothing to write no longer leaves status saying tool edited where it should say profile changed. (#63)
  • capture --force into an existing profile keeps MCP servers it found in no tool (for example one disabled everywhere, or one for a tool not installed here). --prune drops them instead. (#59)
  • An apply that left a disabled MCP server in place no longer says only "Up to date" above the warning. A corrupt applied-servers.json is kept as applied-servers.json.bak before it is rewritten. The README says how git source URLs are matched and that some tools hash resolved secret values. (#60)

Security

  • Diffs now mask secrets already in a tool's config that they used to show: a random-looking value under an ordinary name, a flag whose value is on the next line of a pretty-printed args array, and single-quoted TOML values. Checksums, image digests (ghcr.io/…@sha256:…), ObjectIds and ULIDs stay visible unless they sit under a secret-sounding name. (#75)

Full details in CHANGELOG.md.

Note

kitbag is still early: redaction is best-effort, so review a captured profile before sharing it, and only apply profiles from sources you trust. See SECURITY.md.

Install

curl -fsSL https://raw.githubusercontent.com/cargopete/kitbag/main/install.sh | sh

Windows (PowerShell): irm https://raw.githubusercontent.com/cargopete/kitbag/main/install.ps1 | iex

This release also attaches install.sh and install.ps1. To pin the installer to 0.1.5:

curl -fsSL https://github.com/cargopete/kitbag/releases/download/v0.1.5/install.sh | sh

Or download an archive below; each has a matching .sha256.

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 26 Nov 14:23

New targets, doctor insights, and a second round of safety hardening.

New

  • opencode target for MCP servers and instructions, at user and project scope. Secrets stay off disk as {env:VAR}. Project instructions share AGENTS.md with Codex, Cursor and Antigravity. Rules, commands, skills, agents and plugins are still to do. (#26)
  • GitHub Copilot target for MCP servers, instructions and rules, for Copilot CLI and the Copilot agent in VS Code. Project servers go to .mcp.json, shared with Claude Code. Prompt files, custom agents, chat modes and skills are still to do. (#22)
  • claude is accepted as an alias for the claude-code target, and never matches claude-desktop. (#55)
  • kitbag doctor --why [DIR] shows, per tool, which instruction files it loads in that directory, which it skips and why, and known traps. Nothing is started or written. (#44)
  • kitbag doctor --mcp-tokens estimates, per tool, how many tokens each MCP server's tool definitions take, so you can see what to switch off. Starting servers is opt-in and only on setups you trust. (#51)

Changed

  • capture --from help lists the target ids, and the Antigravity rules note is clearer when Gemini CLI is also targeted. (#58)

Fixes and safety

  • On Unix, a skill script that lost its executable bit is no longer "Up to date": apply and diff report it and apply restores the bit, with the usual undo. (#52)
  • Docs and messages that didn't match behaviour are aligned, including the English of looks like a secret (openai-key), what diffs actually mask, that a git #ref must be a branch or tag, and that backups are kept until you delete them. (#38)
  • Interrupted applies can be undone (doctor reports them; undo <id> restores them). A project apply re-checks confinement at write time. Nested settings and skill support files get the same secret checks as structured config. Installers fail closed on a bad checksum and replace the binary atomically. The release workflow pins actions to commit SHAs, narrows permissions, attests each archive, and attaches install.sh and install.ps1 to every GitHub Release. (#37)

Full details in CHANGELOG.md.

Note

kitbag is still early: redaction is best-effort, so review a captured profile before sharing it, and only apply profiles from sources you trust. See SECURITY.md.

Install

curl -fsSL https://raw.githubusercontent.com/cargopete/kitbag/main/install.sh | sh

Windows (PowerShell): irm https://raw.githubusercontent.com/cargopete/kitbag/main/install.ps1 | iex

This release also attaches install.sh and install.ps1. To pin the installer to 0.1.4:

curl -fsSL https://github.com/cargopete/kitbag/releases/download/v0.1.4/install.sh | sh

Or download an archive below; each has a matching .sha256.

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 26 Nov 12:10

Antigravity and per-tool MCP servers, a more precise sync, and a batch of correctness and safety fixes.

New

  • Antigravity target for MCP servers and instructions, at user and project scope. Applying to both Antigravity and Gemini CLI shares one managed block in GEMINI.md. Rules, skills and workflows are still to do. (#27)
  • Per-tool MCP servers. A server in the profile can list the only tools it applies to (targets) or the tools it is kept out of (disabled_on). apply, diff, status and sync honour that, and a server kitbag itself applied can be removed again when it becomes disabled for a tool. kitbag 0.1.2 and older refuse a profile that uses the new field names (fails safe). (#33)

Changed

  • kitbag sync now holds back only the instruction block or rule file you edited in the tool, not the whole tool. New MCP servers, rules, commands and skills still get applied, in the same undoable transaction. (#43)

Fixes and safety

  • A bare --allow-git-mcp before the source is no longer taken as a server name. (#41)
  • apply and sync no longer say "up to date" about a target they skipped. (#38, #42)
  • Security: credentials in source URLs, tighter undo backup checks, broader diff masking, and clearer secret naming. (#37, #40, #53)
  • Correctness: duplicate JSON keys kitbag would edit are refused; CRLF line endings are kept; Windows device names and case-clashing item names are rejected; profile reads are capped; --home keeps state under that home unless KITBAG_STATE_DIR is set; and several other #38 fixes (undo, doctor --to, skill executable bits, --no-overwrite, namespaced command clashes, .mdc capture).

Full details in CHANGELOG.md.

Note

kitbag is still early: redaction is best-effort, so review a captured profile before sharing it, and only apply profiles from sources you trust. See SECURITY.md.

Install

curl -fsSL https://raw.githubusercontent.com/cargopete/kitbag/main/install.sh | sh

Windows (PowerShell): irm https://raw.githubusercontent.com/cargopete/kitbag/main/install.ps1 | iex

This release also attaches install.sh and install.ps1. To pin the installer to 0.1.3:

curl -fsSL https://github.com/cargopete/kitbag/releases/download/v0.1.3/install.sh | sh

Or download an archive below; each has a matching .sha256.

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 26 Nov 08:48

Keep your agent setup in step across tools and machines, plus two safety fixes.

New

  • kitbag status shows which tool's instruction file (CLAUDE.md, AGENTS.md, GEMINI.md, rules) has drifted from your profile, and which MCP servers, skills and commands differ. --exit-code for scripts. (#32)
  • kitbag sync PROFILE brings every tool back in line with the profile, with a diff, backups and kitbag undo. If you edited a file in one tool, it leaves that tool alone unless you pull the edit into the profile with --from <tool> or replace it with --overwrite. (#32)
  • Second machine / dotfiles: home paths are stored as ~ and expanded per machine, so a profile captured on one box applies cleanly on another (macOS, Linux, Windows). Capture into a folder in your dotfiles repo, clone it on the other machine, run kitbag sync <dir>. See the README section "Second machine / dotfiles". (#31)

Safety

  • MCP servers from git sources are opt-in. A profile applied straight from a git URL no longer adds or changes MCP servers unless you name them with --allow-git-mcp name (or --allow-git-mcp / --trust-source for all). The plan lists each held-back server. Local profiles, including a local clone of your own dotfiles, are unchanged. (#36)
  • undo --force and init --force never follow symbolic links that appeared after an apply, so they can't delete or overwrite files outside the target. (#35)

Full details in CHANGELOG.md.

Note

kitbag is still early: redaction is best-effort, so review a captured profile before sharing it, and only apply profiles from sources you trust. See SECURITY.md.

Install

curl -fsSL https://raw.githubusercontent.com/cargopete/kitbag/main/install.sh | sh

Windows (PowerShell): irm https://raw.githubusercontent.com/cargopete/kitbag/main/install.ps1 | iex

Or download an archive below; each has a matching .sha256.

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 25 Nov 19:44

Security hardening release. Upgrading is recommended for everyone, especially if you apply profiles from git sources.

kitbag 0.1.1, a security hardening release

  • Profiles from GitHub are untrusted by default. They can't add permission rules, hooks, or commands that run shell snippets, and your local secrets aren't filled into servers they define. --trust-source opts in.
  • Better secret redaction. It now covers frontmatter, permission rules, short passwords, more secret names, ${VAR:-default} fallbacks, tokens in URLs and webhooks, and secrets sitting next to ${VAR}.
  • Replacing an MCP server no longer inherits the old one's trust or login settings.
  • Files that get a secret written into them are made private (0600) on Mac and Linux.
  • --project can't be tricked into writing or reading outside the project through symlinks.
  • Error messages for broken config files no longer print the offending line, which could contain a key.
  • Hidden terminal control characters in a profile are shown visibly, so a profile can't disguise what it's about to change.
  • Every apply plan lists the MCP servers it adds or changes, for review.

Fixes #1, #2, #3, #4, #5, #6, #7, #8. Full details in CHANGELOG.md.

Note

kitbag is still an early release: redaction is best-effort, so review a captured profile before sharing it, and only apply profiles from sources you trust. See SECURITY.md. Roadmap: #29.

Install

curl -fsSL https://raw.githubusercontent.com/cargopete/kitbag/main/install.sh | sh

Windows (PowerShell): irm https://raw.githubusercontent.com/cargopete/kitbag/main/install.ps1 | iex

Or download an archive below; each has a matching .sha256.

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 17:33

First public release of kitbag: capture your AI agent setup (MCP servers, instructions, rules, slash commands, skills, settings) into a portable, git-friendly profile and apply it to Claude Code, Cursor, OpenAI Codex CLI, Gemini CLI and Claude Desktop, with a diff first, backups and kitbag undo.

Important

Early release. Secret redaction on capture is best-effort and is known to miss some formats, so review a captured profile before you share or commit it. Only apply profiles from git sources you trust: a remote profile can currently carry permission rules, hooks and MCP servers. Known issues are tracked under the security label; see SECURITY.md.

Install

curl -fsSL https://raw.githubusercontent.com/cargopete/kitbag/main/install.sh | sh

Windows (PowerShell): irm https://raw.githubusercontent.com/cargopete/kitbag/main/install.ps1 | iex

Or download an archive below; each has a matching .sha256.

Added

  • Portable profile format (kitbag.toml, instructions.md, rules/, commands/, skills/), format version 1.
  • Adapters for Claude Code, Cursor, OpenAI Codex CLI, Gemini CLI and Claude Desktop, at user and project scope.
  • init, capture, apply, diff, undo, history, doctor and list-targets commands.
  • Secret redaction on capture, native env-reference rendering on apply, masking in diffs.
  • Format-preserving JSON/JSONC and TOML merges, managed blocks in shared markdown files.
  • Transactional apply with backups, rollback on failure and undo.
  • Profiles from git URLs (github:owner/repo, https://…, git@…, file://…).

Changed

  • Profiles from git sources no longer apply settings that let agents act without asking (permissive defaultMode, additionalDirectories, broad allow rules, Codex approval_policy = never / sandbox_mode = danger-full-access) unless --allow-risky-settings is given. Local profiles are unchanged. additionalDirectories and broad rules with arguments such as Bash(rm -rf *) are now flagged as risky.

Fixed

  • xAI, Groq, Perplexity, Tavily, Supabase, Replicate, OpenRouter and Firecrawl keys are recognised (free text, env values, headers and args).
  • Free-text redaction of URL credentials replaces only the password, instead of swallowing the host and the Markdown after it. Placeholder passwords in documentation examples are left alone.
  • Header arguments without a space after the colon (X-Api-Key:…, Authorization:Bearer …, as in the mcp-remote docs) no longer make capture refuse to write the profile after redacting them.
  • Applying a captured profile back to the tool it came from no longer overwrites the original files (or managed blocks) with their redacted copies; files that differ in other ways get a warning about the [REDACTED] markers.
  • Capture decodes UTF-16 (with a byte-order mark) and drops a UTF-8 byte-order mark in text items; files in other encodings are skipped with a warning instead of aborting the capture.
  • A UTF-8 byte-order mark at the start of a JSON/JSONC/TOML config no longer fails with "invalid JSON"; it is kept when the file is written back.
  • Capture follows symbolic links inside a skill only when they stay inside the skill. Escaping links, loops, dangling links and unreadable entries are skipped with a warning.
  • Capture skips files over the 2 MiB profile limit (and skills beyond 200 files) with a warning, so it no longer writes profiles that apply refuses.
  • Capture lists Claude Code subagents, output styles and plugins it found but doesn't carry, and drops an outputStyle setting that names a custom style.
  • Malformed server entries ("mcpServers": [], a server that isn't an object) are reported instead of silently ignored.
  • capture with several tools (--from all, detected or a list) reports a tool whose config can't be read and captures the rest; it fails only if nothing could be read. A single --from still fails loudly.
  • install.sh and install.ps1 download kitbag-<target>.sha256, the checksum name the release workflow uploads (found in the v0.1.0-rc.1 dry run).