Changelog
All notable changes to @mongez/agent-kit are documented here. The format follows Keep a Changelog and this project follows Semantic Versioning.
[1.2.0] 2026-06-06 Added (3) · Changed (1) · Docs (3)
Added
agent-kit initnow seedsagentKit.targetsinpackage.json. The skill-sync default has always been["claude"], but it was implicit — you had to read the docs to learn both the default and the exactagentKitsyntax for changing it.initnow writes"agentKit": { "targets": ["claude"] }on disk, so the default is visible and a one-line edit away from adding"cursor"/"codex"/etc.- New
--targetflag oninit.agent-kit init --target claude,cursorseeds that exact list instead of the default. Accepts the same vocabulary assync(claude,copilot,cursor,codex,opencode,amp,goose,kiro,antigravity) and validates the names up front — an unknown target errors before anything is written, since (unlike asyncflag typo) the value is persisted. initauto-wires"postinstall": "agent-kit sync"— but only when it’s safe. Two gates prevent a broken install step: (1)@mongez/agent-kitmust already be a declareddependency/devDependency(so the bareagent-kitbinary actually resolves — thenpx @mongez/agent-kit@latest initbootstrap installs nothing, so it would otherwise wire a postinstall that fails on the next install), and (2) nopostinstallmay already exist (an existing build step is never clobbered or appended to). When either gate blocks,initprints a hint instead of writing.
Changed
initis non-clobbering foragentKit.targets. An existingagentKit.targetsis left untouched unless you pass--target(mirrors howinitalready refuses to overwrite an existingAGENTS.md). OtheragentKitfields (pick,omit,monorepo), any siblingscripts, and the manifest’s existing indentation + trailing newline are all preserved, and the file is only rewritten when the content actually changes. Notetargetsgates only the skills export, so the seeded value first takes effect on the nextagent-kit sync.
Docs
- New Troubleshooting page / skill. Symptom → cause → fix for the common failure modes:
agent-kit: command not found, unscopednpx agent-kitfetching the wrong package, sync looks successful but the agent shows zero skills,agentKit.pick matched no installed packages, two-package slug collision,syncerrors whenAGENTS.mdis missing, a published package’sskills/invisible to consumers,--targetvalidation errors,watchignoringnode_modules, and--overrideclobbering hand-authored folders. - Agent integrations table + three new agent sections. A one-table at-a-glance reference covers every supported
--target, the derived file (if any), the skills folder, and the reload step. Added per-agent walkthroughs for OpenCode (.opencode/skill/— singularskill), Amp (.agents/skills/— pluralagents), and Goose (.goose/skills/). The singular/plural-path lookalikes —.agent/(Antigravity) vs.agents/(Amp) vs.opencode/skill/(OpenCode) — are now explicitly called out so they’re hard to mis-type. - Sixty-second walkthrough now states the local install step. The overview’s bootstrap previously jumped from the no-install
npx @mongez/agent-kit@latest initstraight intopostinstall: agent-kit syncwithout an explicit “install agent-kit as a dev dep” line, which left a contradiction with the same page’s own scoped-npx warning. The install step is now spelled out, and the postinstall block notes thatinitmay have already wired it.
[1.1.1] 2026-06-04 Added (1) · Changed (1)
Added
## Skillssection in the scaffoldedAGENTS.md.agent-kit initnow writes an agent-neutral instruction telling the AI agent to check available skills before searching the codebase or reverse-engineering a package’s API from its source — closing the gap where agents ignored installed skills. Worded for any agent (Claude Code, Cursor, Codex, Copilot, Gemini, …), not just one.
Changed
- Docs lead with the no-install bootstrap.
npx @mongez/agent-kit@latest init(scoped, always-latest, zero install) is now the documented entry point, with theinitvssyncdelivery model spelled out:initis a one-time scaffold (always-latest npx is ideal);syncruns on every install + in CI and belongs as a pinned dev dependency (never always-latest, which could silently change generated output). Clarifies that the scoped name is required withnpx—npx agent-kit(unscoped) resolves a different package.
[1.1.0] 2026-06-04 Added (6) · Fixed (2) · Removed (1)
Added
- Monorepo skill aggregation via
--projectsandagentKit.monorepo.projects— runagent-kit synconce at a repo root to pull skills from sibling projects (backend,frontend, …) into the single root skills dir agents read. - Each project is scanned as its own project: its
node_modules/deps (filtered by that project’s ownpick/omit) plus its authoredskills/. - Authored skills are prefixed with the project directory name (
backend/skills/code-standards→backend-code-standards) so same-named skills across projects don’t collide. - Shared dependencies dedupe to one copy (union of kept skills); the root’s
omitapplies as a global veto. - Project patterns accept literal dirs and one-level globs (
apps/*). - New
--projectsflag onsyncandwatch; new exportsresolveMonorepoProjects/scanProject/scanProjects(+ResolvedProject/ProjectScanResulttypes);syncSkillsgains aprojectsoption and result field.
Fixed
agent-kit watchre-syncs on skill edits again — chokidar v4+ dropped glob support, so the oldskills/**/SKILL.mdwatch patterns matched nothing (onlyAGENTS.mdfired). Watch now watches the real skill-source directories.agent-kit --versionreports the real version (was hardcoded to0.1.0; now read frompackage.jsonat runtime).
Removed
- Stale
SyncResulttype — it never matched any function’s return shape and was unused. Dropped from the exports.
[1.0.23] 2026-05-29 Fixed (1)
Fixed
- Correct repository ownership in links.
agent-kitlives athassanzohdy/agent-kit, notwarlockjs/agent-kit. Fixed the stale repo URLs inllms.txtand, more importantly, in the starterAGENTS.mdthatagent-kit initscaffolds (it was baking the wrong link into every consumer’s file). Replaced the internalwarlockjs/warlockdesign-spec link with the public docs site.
[1.0.22] 2026-05-29 Changed (1)
Changed
- Docs now foreground organizing your own project’s skills. The README, bundled skills (
overview,authoring-skills), andllms/llms-fullfiles now lead with the everyday case: keep a single nestedskills/folder at your project root (skills/backend/auth/SKILL.md) andagent-kit syncflattens it into the top-level.claude/skills/layout Claude Code requires. Shipping skills from an npm package is now framed as the same mechanism applied tonode_modules/. No code/API changes.
[1.0.21] 2026-05-29 Fixed (1)
Fixed
- Linux skill discovery crash when a scan path’s root holds a
package.jsonfile —readTextFilenow treatsENOTDIRandEISDIRas “no file here” (returningnull), the same asENOENT. Previously, probing a manifest path whose parent is a file (e.g.package.json/package.json, which happens when a scan path points at a project root) threwENOTDIRon Linux butENOENTon Windows — so discovery crashed on Linux only. Both platforms now behave identically.
[1.0.20] 2026-05-29 Fixed (1) · Added (1)
Fixed
- Cross-platform skill discovery order —
scanForSkillPackagesand the nested-skill walk now sort theirreaddirresults, so the set and order of discovered skills is identical on Linux (ext4) and Windows (NTFS). Previously the order tracked raw directory order, which differs per filesystem and made order-sensitive output non-deterministic in CI.
Added
- CI test workflow —
.github/workflows/test.ymlruns the suite on Node 20/22 (ubuntu) plus Node 20 (windows) for path/CRLF coverage. Node 18 is excluded because a transitive test dependency (chokidar@5) requires Node >=20.19; the CLI itself still runs on Node 18+ at runtime.
[1.0.19] 2026-05-29 Docs overhaul Added (2) · Changed (2) · Removed (1)
Added
agent-integrationsskill — per-IDE setup walkthroughs for Claude Code, Cursor, Codex, Kiro, Gemini CLI, GitHub Copilot, Aider, and Antigravity. Each covers the exact--targetflag, the files agent-kit creates, and the reload quirk; honest about Gemini/Aider being derive-only (no skills directory convention).- README “Set up with your agent” section — a compact per-agent table (target / derived file / skills folder / reload) plus multi-agent guidance.
Changed
- Recipes refreshed — dropped duplicates that overlapped the overview and CLI pages; kept the genuinely cross-cutting patterns (monorepo wiring,
pick/omitfiltering, CI drift guardrail, programmatic API, watch mode). - Overview rewritten — narrative intro, highlight cards, quick peek, and a developer-vs-package-author split in “Where to go next”.
Removed
when_to_useguidance — dropped thewhen_to_usefrontmatter convention from the authoring guide and all skill files.descriptionnow carries both discovery and activation; the authoring guide explains how to write it for both roles.
No code/API changes —
deriveAll,syncSkills, the CLI, and the exports map are unchanged. Documentation and bundled-skill content only.
[1.0.x] Earlier releases
Version history prior to this changelog is available via the git tags and GitHub releases on hassanzohdy/agent-kit.