repobuddy/buddy-agent-harness
Initialize standards-based agent configuration across agent harnesses
buddy-agent-harness
0.12.0
Minor Changes
-
668e569: Claude Code reads
AGENTS.mditself from v2.1.277, so theCLAUDE.mdimport bridge is gone from the model.initwrites noCLAUDE.md— not at the root, and not beside a nestedAGENTS.md. Its instruction work is consolidation instead: aCLAUDE.mdholding content of its own is now the urgent finding, because Claude Code reads it instead ofAGENTS.md, and it is consolidated and removed on approval rather than left behind as a generated copy. ACLAUDE.mdthat is only@AGENTS.md, or a symlink to it, is offered for removal and kept on a no — the import is still the only way in for sessions that cannot readAGENTS.mddirectly, such as a third-party provider or a version before v2.1.277.doctorreports two new findings in theinstructionssection:instructions-shadowingfor a file read instead of theAGENTS.mdbeside it, andinstructions-supersededfor a bridge that still works and is no longer needed. Both are checked per directory holding anAGENTS.md, forCLAUDE.md,.claude/CLAUDE.md, andCLAUDE.local.md. It no longer reports a missingCLAUDE.md.Gemini CLI is now the only harness in the registry that needs an instruction bridge. Nothing changes about skills projections: Claude Code still needs
.claude/skills. -
7c29ed6: The
enhanceskill now recommends the owner's own global instruction file for the## Delegationsection, rather than the repository'sAGENTS.md.Nothing in that text is about the repository in front of it: it says how to work with subagents, which holds in every repository the owner opens. Copying it into each one is a copy per repository to keep in step — the drift this package exists to remove, one level up from the file it removes it in. So an addition now declares where it belongs, the offer leads with that destination, and the alternative is named with what each one buys: the global file reaches every repository the owner opens and nobody else, and the project file reaches everyone who clones it at the cost of a copy per repository.
Where the agent's own always-loaded instructions already carry the text, the offer says so — the repository copy then adds the team and nothing else, and the owner carries the text twice. That is stated, not decided.
A global placement is handed over rather than written. The skill still writes the root
AGENTS.mdand nothing else, so it gives the text and the path and stops; on Claude Code that path is~/.claude/CLAUDE.md. Where the harness in use documents no user-scope instruction file, no path is guessed. -
fe1a601: Add
buddy-agent-harness governance listandgovernance show <name>, and own the override layers a governance can be replaced in.A governance is a version-pinned Markdown rule set a skill loads, such as
skill-designoragent-tool-output. Each skill ships its own committed copy, which is the version it was tested against. This command reads the layers someone can override that copy in, in lookup order: the project's.agents/governances/, the user's~/.agents/governances/, then two machine-wide directories, which are defaults rather than enforcement and therefore sit last. The layered resolver moved here fromuniversal-pluginrather than being written again.There are two machine-wide layers on purpose. A new install uses the directory this package owns (
/etc/buddy-agent-harness/governanceson Linux,/Library/Application Support/BuddyAgentHarness/governanceson macOS,%ProgramData%\BuddyAgentHarness\governanceson Windows). The directoryuniversal-pluginwrote is still read one layer below it, so a machine already carrying governances keeps resolving them. Wherever that layer appears it is reported as deprecated:governance listcarries a status on its row alone, anddoctornames the directory each override was read from, so an admin can see both that there is somewhere else to put it and where it is now. Nothing is enforced — the old location still answers, so there is nothing to repair.governance showwrites the document itself on stdout by default;--format toonor--format jsonwraps it with the layer it came from.governance listreports every name at the layer that would win, alongside the layers themselves, so a reader knows where to write an override.--overrides-onlyon either subcommand restricts the answer to those three layers and never returns a governance this package ships, exiting non-zero when none of them holds the name. That is what lets a skill decide whether an override exists without paying for a registry lookup: it runs the command only from an already-installed copy, and reads the exit code.initnow also creates.agents/governances/when it is absent and reports how many documents it holds, the same contract it already has for.agents/skills.doctornow carries agovernancessection naming each override and the layer it came from, or stating the zero. An override is a choice someone made, so it is never a finding:doctor's existing findings, its repairs, its exit code, and its project-scope-only MCP policy are unchanged. -
aa1b57a: Rename the
initanddoctorskills toinit-buddy-agent-harnessanddoctor-buddy-agent-harness.A plugin-scoped skill named
initordoctorcollides with the same names shipped by other plugins, so a harness loading several plugins could not tell which one a bareinitordoctorinvocation meant. Invoke them as/buddy-agent-harness:init-buddy-agent-harnessand/buddy-agent-harness:doctor-buddy-agent-harness.The CLI commands
initanddoctorkeep their names — this only renames the two agent skills that wrap them.
Patch Changes
-
7d98f7e: The
enhanceskill's## Delegationsection now also tells the agent how to pick a subagent's reasoning effort: the lowest, unless it could not write down the steps that reach the answer.A repository holding the previous wording is offered the new one as a replacement.
-
9c2bd77: The
initskill now weighs a derivedAGENTS.mdline against the work a repository actually does, not only against whether the fact is worth knowing.A line that passes the value test can still serve a minority of sessions, and every session pays for it. So a surviving line is now checked for the share of the repository's work it serves — read off the repository's own commit history — and one serving a minority is folded into a line that already earns its place, or cut with a note saying where the repository already catches it. Before cutting, the line is restated in its universal form: a narrow-sounding line is often a narrow phrasing of a fact that covers everything.
Two smaller rules come with it. Where the repository already keeps an index of where facts live,
initreads it first and then names it in one line, instead of copying its rows into the file that points at it. And a command goes intoAGENTS.mdonly after it has been run in the repository and done what the line claims, so a task list read out of a build config — or a second command the first already covers — is caught before it ships.
0.11.0
Minor Changes
- 75a5d3a:
listMcpServersnow also reads VS Code, Windsurf (underdevin-desktop), OpenCode, and Zed at every scope those hosts document; Claude Code's project-local servers nested in~/.claude.json; and the MCP servers an installed Claude Code plugin ships, gated on whether that plugin is enabled for the project.McpServerEntry.scopegained'local'and'plugin', andMcpServerEntrygained an optionalpluginfield naming the plugin id.ListMcpServersOptionsgained an optionalplatformoverride so the VS Code user directory is testable on every OS.
0.10.0
Minor Changes
-
945a3a5: Export
listMcpServers— a redaction-safe inventory of every MCP server configured across the supported harnesses, for a project directory and (where a harness documents one) an injectable home directory.It reuses
diagnoseMcp's own parsing, model, and secret-redaction rather than re-implementing them, and it never surfaces a credential:commandis trimmed to its basename,argsdrops any--flag=valuepair a credential-bearing flag would carry literally, andurlis trimmed to its origin and path.envandheadersare not returned at all.Unlike
doctor, which stays project-scope only by design, this export also reads the user-scope MCP configuration each harness documents — Codex and Copilot CLI resolve theirs throughCODEX_HOME/COPILOT_HOMEfirst. It changes nothing about whatdoctoritself reads.This is meant for a consumer that wants to bundle an MCP inventory without pulling in this package's CLI: the module this ships from imports nothing from
clibuilder.
0.9.1
Patch Changes
-
53b3609: Bundle each shipped skill's script per skill folder, so it runs standalone from a copy of that folder alone — the state an installer that copies only the skill folder (
skills add --skill <name>, a symlinked or partial install) actually leaves it in.Previously each skill's
scripts/<subcommand>.mjswalked four directories up from itself todist/cli.mjs, which only resolves when the whole package sits above the skill. Each script is now a self-contained bundle — built from a smallsrc/skill-scripts/<subcommand>.tssource, with every runtime dependency inlined — that reaches nothing outside its own file.The bundle is a build artifact distributed through the npm package's
files, not committed to git:pnpm buildproduces and copies it, andprepackruns it before publish. A skill installed from a git source, or a harness that cannot resolve or run the script path, falls back to the pinnednpx -y buddy-agent-harness@^<version> <subcommand>invocation eachSKILL.mddocuments — unchanged from before.pnpm skill:gen:checkno longer compares the bundle (there is nothing committed left to diff); a newpnpm pack:checkpacks the package the waynpm publishwould, unpacks it, and verifies every shipped script is present and one runs standalone with nonode_modulesabove it. It runs as part ofpnpm verify, afterbuild.
0.9.0
Minor Changes
-
38f8b58:
enhancenow spots a section carrying a wording it has since retired, and offers the current one in its place.Coverage was judged by meaning alone, so a repository holding an earlier form of
## Delegationread as covered and the current text was never surfaced. Coverage is now two questions: the first is unchanged, and only text that reads as covered is asked the second, which is about provenance rather than meaning — did this text come from the addition, at a wording it used to ship?A present section is checked against the text the addition would offer before anything else: a section that already is that text is reported as already current, not as the owner's own, and nothing is offered. Otherwise each addition keeps every wording it has retired, verbatim, beside it;
references/delegation.history.mdis the first. To decide whether a section is stale, it is compared against those — never weighed against the text that would be offered, since differing from it is what a rewrite produces. A section reproducing one, edits and all, gets the replacement offered under the same approval gate as an addition, and on approval only that section changes. A section written from scratch on the same subject is left alone. Where it is honestly neither — part of a retired wording inside prose the owner clearly wrote — the skill says it cannot tell, shows all three texts, and asks rather than guessing.That question carries three answers, and the third is to settle it by measurement: the repository's own evaluation harness, where it has one, scores the existing section against the current wording and reports both. This package's own repository uses its
eval-delegationskill; a consumer repository has its own or none, and the skill checks before offering it. The replacement is offered only if the current wording wins; a section that scores level or better is kept, and said to be kept. It is never run unasked.
Patch Changes
-
1c6433e: Bundle the CLI's dependencies into
dist/cli.mjs, so the shipped skill launchers actually work.The
skills/*/scripts/*.mjslaunchers already preferred the shipped CLI overnpx, but an installed plugin directory is a copy of a source checkout rather than an npm install, so itsnode_modulesis absent or incomplete — running a launcher from one failed withCannot find package 'type-plus' imported from .../clibuilder/esm/builder.js. The publisheddist/cli.mjsnow inlines every runtime dependency and runs with nonode_modulespresent at all.Bundling also required pointing
jsonc-parser(reached through clibuilder) at its ESM build. Itsmainis a UMD bundle whose factory callsrequire("./impl/format")and three siblings — specifiers a bundler cannot analyse, so those modules were silently left out and the CLI threwCannot find module './impl/format'at startup.The library entry (
.) is unchanged. Its dependencies stay external on purpose: it exportsactivate/*Commandfor a host CLI to compose, and host and plugin must share oneclibuilderinstance rather than each holding a private copy.
0.8.0
Minor Changes
-
a5d5ddc: Rewrite the Delegation section
enhanceoffers so it tells the agent to pick a spawned subagent's model.The previous wording bounded how cheap a subagent may be but never asked for the choice, so an unset model kept inheriting the parent's. The section now names that inheritance, and makes the cheapest model the pick unless the agent cannot say what a right answer looks like or could not cheaply tell a wrong one.
-
c9fd249: Add
dep-plugins: derive a marketplace catalog for plugins shipped by a repository's dependencies.A dependency that ships an Agent Plugins manifest at its package root is a plugin the consuming repository could use, but no harness discovers one on its own. This command derives a marketplace catalog from the declared dependencies that ship a manifest, so a harness can install them through its own plugin mechanism. It reaches whole plugins — agents, commands, hooks, MCP servers — rather than only skills.
buddy-agent-harness dep-plugins # write .agents/buddy-agent-harness/.claude-plugin/marketplace.json buddy-agent-harness dep-plugins --check # report whether it is current; writes nothing buddy-agent-harness dep-plugins --format text # human-readable report; `toon` is the default, `json` is also available buddy-agent-harness dep-plugins --root ./pkg # run against a directory other than the current oneThree decisions worth knowing:
- Resolution, not scanning. Only declared
dependenciesanddevDependenciesare considered, located through the module resolver. Walkingnode_moduleswould pull in transitive dependencies nobody vetted, and a plugin is instruction text that steers an agent. npmsources, not paths. A path source is resolved against the marketplace root and may not escape it, so a path-based catalog would have to sit at the repository root — where the repository's own public catalog already lives, leaking dependency plugins to anyone adding it. Annpmsource carries no path, so this catalog lives in its own directory. It also means the design is unaffected by pnpm's layout or by a missingnode_modules.- Derived in full, never merged. A plugin added, removed, or moved to a new version all follow
from regeneration, so there is no reconciliation logic to get wrong.
--checkcompares bytes.
The catalog is the committed artifact. Registering it with a harness and installing from it are per-machine actions, so the command reports what the harness needs and the command that does it, and never touches harness state itself:
harness: runtime: claude-code actions: do: claude plugin marketplace update acme-web && claude plugin update review@acme-web --scope project why: installed 1.0.0, catalog pins 2.0.0It reads each harness's own state files to compute that delta, covering the three cases a dependency change produces — a plugin appearing, a version moving, and a plugin whose dependency was removed. The last one matters most: nothing else removes it, so the harness leaves it installed and reporting a load failure. Every emitted verb carries
--scope project, because all of them default to user scope, and user scope is shared across every repository on the machine — two repositories whose catalogs share a marketplace name collide there silently. A registration already pointing elsewhere is reported rather than overwritten.Runtime support, each established by running the shipped CLI rather than from documentation:
Runtime Consumes this catalog Notes Claude Code yes every verb defaults to user scope, so each carries --scope project; refresh isplugin update, since re-runninginstallis a no-opCodex yes no update verb and no scope — re-running plugin addre-reads the catalog and replaces the cached copy; the installed version appears only in the cache directory nameCopilot CLI no rejects an npm source ( plugins.0.source: Invalid input); it accepts a path source, which cannot reachnode_modulesfrom a subdirectoryCursor no exposes no plugin subcommand from a terminal Only runtimes actually present on the machine are reported, so the output names work the reader can actually do.
- Resolution, not scanning. Only declared
0.7.0
Minor Changes
-
99db013: Give the CLI a callable entry point, so
binowns the process and skills stop mutatingargv.src/cli.tsexportedmain(), which built the app, readprocess.argvand wroteprocess.exitCode. Nothing could invoke a command without going through the process, and the cost showed up in generated code: every skill launcher spliced the subcommand into globalprocess.argvand then side-effect-imported the executable.The two boundaries are now separate.
bin/buddy-agent-harness.mjsis the process boundary, the only place that readsprocess.argvor writesprocess.exitCode.src/cli.tsis the application boundary: it takes an argv and returns an exit code.New export
run(argv: string[]): Promise<number>. Theclibuilderapplication stays internal — exporting it would makeclibuilder's builder shape part of this package's public API, so aclibuildermajor would become a major here. The generated launchers now compose an argv and callrun, mutating nothing:const code = await run([...process.argv.slice(0, 2), 'doctor', ...process.argv.slice(2)]) if (code !== 0) process.exitCode = codeThe code is applied only when non-zero because
clibuilderreports an unknown option or unknown command by writingprocess.exitCodeitself and returning nothing, sorunreports0on a path where the process must still exit2.doctorandinitnow return their exit codes rather than writingprocess.exitCode. A command that writes the code reports its failure past the caller instead of to it, sorunwould have returned0for the commonest failure there is. Nothing changes for a shell caller.New export
buildDoctorReport, with itsDoctorReporttype.doctor's assembled report — thebinline, the healthy-answer sentence, the dedupedhelpsection — was reachable only by running the CLI and re-parsing its own TOON. Three layers are now each reachable on their own:diagnoseBridgesand its siblings return the raw diagnosis,buildDoctorReportreturns the report as a value, andrunreturns that report serialized plus an exit code.Two fixes in the lines this touched:
- Errors went to stdout.
doctor's default output is TOON that agents parse, and the error line landed in the stream they were parsing. It goes tostderr. --versionwas wrong. It reported0.1.0while the package was at0.6.0, five minors behind. It is read from the manifest.
Also fixed:
skills/repair/'s launcher was labelled generated but was not on the generator's list, so nothing rewrote it and nothing caught it going stale. The generator now keys each launcher by the subcommand it runs, and a test asserts every shipped launcher is a target it checks. - Errors went to stdout.
-
3550496: The
doctorskill is split into a leanSKILL.mdand lazy-loaded reference pages, the wayinitis.Everything
doctorknows was in one 125-line file, so an agent acting on a single MCP credential finding read the skills-bridge table, the instruction-bridge table, the configuration table and the Windows case to get there.SKILL.mdis now 62 lines — how to run it, how to read the report, the routing rule, and a pointer table — and the finding tables live one family per page underreferences/, with a page per harness underreferences/harnesses/.The pages are generated from the same guidance table and the harness registry that the command reports from, so they cannot drift from it. Editorial judgment about a harness stays hand-written in the
initskill, and each generated harness page links to it where one exists; which harnesses have one is read off the filesystem rather than listed.Three checks come with the split: every reference page matches what the generator would write, every page the pointer table names exists, and every cross-reference into the
initskill resolves. -
3550496:
doctorreports agent configuration that only one harness can read.Four finding families all answered a version of "is something broken". None of them asked how far the configuration that is there actually reaches, so a
.cursor/rules/*.mdc— which works, in Cursor, and nowhere else — was invisible to the one command that is safe to run from a session-start hook. The guidance in it reaches one tool, and nobody finds out except by noticing an agent behave differently somewhere else.The new family reports each artifact with the canonical form it converts to: legacy instruction files and always-on rules to
AGENTS.md, harness commands and harness-directory skills to.agents/skills. A.mdcrule splits on whether its frontmatter binds it to globs — always-on prose is whatAGENTS.mdholds verbatim, while a rule bound to paths converts to a skill only where the scoping is incidental. A subagent names no owner at all: no cross-harness format exists, so the finding reports that gap rather than promising a conversion.Nothing here is repaired by
repair, which corrects configuration that is wrong; nothing here is wrong. Nothing is offered byenhance, which adds guidance a repository is missing; this guidance is present. Every conversion with a destination isinit's, and every one is approved before it lands.The artifacts are declared per harness in the registry, beside that harness's other paths, and the per-harness reference pages are generated from the same declaration. Hooks, LSP settings, and output styles are deliberately not covered: their shapes differ per harness with no safe projection, so no canonical form can be named for them.
-
2927512:
doctornow reports each repair as a runnable command and a prose instruction, instead of wrapping every repair inRunEvery
helpentry used to be rendered asRun `<repair>`, whether or not the repair was a command. Most are not, so the report published lines likeRun `remove .windsurf/skills and enable the harness that replaced it`— an invitation to paste prose into a shell.helpis now one row per repair with two columns:help[3]{command,instruction}: buddy-agent-harness init --copy --force,run `buddy-agent-harness init --copy --force` to rebuild .claude/skills as a real directory buddy-agent-harness init,run `buddy-agent-harness init` to create the bridge at .windsurf/skills "","hand .gemini/settings.json to `/buddy-agent-harness:init`, which writes the bridge into it"commandruns verbatim and completes the repair. It is empty when no single invocation does, which is the signal to act oninstructioninstead — and it stays empty for a repair whose prose quotes a runnable diagnostic, so a caller that executes every non-emptycommandnever rebuilds a diverged bridge over the side holding the newer edit.Both keys are always emitted, so TOON renders
helpin its tabular form rather than degrading to a nested list. -
3550496:
initlists the configuration only one harness can read, and asks before migrating any of it.doctornow reports these artifacts;initis the skill that acts on them. It reads the list fromdoctorrather than deriving a second one, presents each with the canonical form it is a candidate for, and asks per artifact — never for the set, because two rules can be in the list for opposite reasons and one approval would carry a file the owner never looked at.Rules leave the canonical-only bucket. A rule whose paths are incidental to what it says converts to a skill, which every harness reads; a rule whose path scoping is the point has no equivalent and stays. Which one a given rule is cannot be read off the file, so it is offered rather than assumed. Subagents, hooks, output styles and MCP servers stay canonical-only and are reported as having no candidate at all, so the list is not read as a queue of pending work.
No conversion is offered that would leave fewer readers than before. Cursor reads
AGENTS.mdin Agent mode only, so consolidating.cursorrulesand deleting it takes that guidance out of Chat and Composer; the offer is always the consolidation together with the generated copy that keeps them working. The existing rule against rewriting those files is not removed — it is the reason the migration is offered rather than applied.The
initskill now ships adoctorlauncher beside its own, the wayrepairalready does. -
9be4f0b:
doctordiagnoses a golden MCP server set.A repository may now keep one canonical MCP server per entry at
.agents/buddy-agent-harness/mcp.toml, in the superset of fields the supported hosts accept. Where that file exists,doctorcompares it against each harness's own project-scope MCP configuration — Claude Code's.mcp.json, Cursor's.cursor/mcp.json, Codex's.codex/config.toml, and Gemini CLI's.gemini/settings.json— and reports how the two have drifted, in either direction. No golden set means no MCP findings, andinitstill converts nothing.Comparison is semantic rather than textual: no two of those files ever share bytes, so each side is parsed into one model. A field the golden set leaves unset is never a difference, because a host restating its own default cannot be told apart from a deliberate edit. Direction comes from a last-projected record where there is one and from git history for a tracked target, and is reported as unknown rather than guessed when neither answers.
doctoralso reports a literal credential sitting in any of those files, including the golden set. A finding carries the file, the server, and the field and never the value — no truncated preview either — and an unreadable golden set is reported by line and column, because a parser's own message quotes the line that holds the secret. A literal in a tracked file is reported as committed, and its repair is to rotate the credential rather than to move it.doctorremains read-only. Projecting the golden set into a harness and reconciling a harness-side edit back into it are writes and are not part of this change. -
2b3b42d: Add a
repairskill, and growdoctorto detect what it repairs.initconsolidates what a repository has,enhanceoffers what it is missing, anddoctorreports what is wrong. Configuration that is present but wrong had no home: not missing, soenhancewould not offer it; user-authored, soinitwould not rewrite it.doctorgains a third section alongside its bridge and instruction findings — configuration that resolves fine and is still wrong:deprecated-harness,ignored-bridge,unread-local-override, andunloadable-skill. It stays read-only, so it is still safe in a session-start hook.The new
repairskill runsdoctorand repairs what it reported, detecting nothing itself, so detection cannot drift into two homes. Every correction is offered with its before and after and written only on approval. Bridge and instruction findings are handed toinit, which writes both kinds of bridge in the first place — and writes aCLAUDE.mdstub without asking, whererepairasks for everything.doctor'sfindingsrows now carry aproblemfield naming the finding, alongsidepathanddetail. Route onproblem:detailis prose meant to be read, and improving its wording must not change what a caller does.BridgeFindinggains a requiredproblemfield. Reading one is unaffected; code that constructs one needs the new field. This is the breaking edge of the release.New exports:
diagnoseConfiguration, and the typesConfigurationFinding,DiagnoseConfigurationOptions,ConfigurationFault, andConfigurationProblem. -
46a7b16:
init --forcenow takes the targets to replace, so a run cannot reach past the conflict it was invoked for.The flag was a single boolean: the command preflighted every projection target and, when it was set, replaced every conflicting one. Two harnesses whose targets were both occupied were both replaced by a run intended to fix one of them, and
doctoremitted a bareinit --forceas the repair for a single bridge — so following that repair could silently delete a second harness's user-authored directory.--force .claude/skillsnow replaces that projection and reports any other conflicting target as skipped instead of replacing it. Naming a target no enabled harness projects is an error rather than a run that quietly forces nothing. A bare--forcestill replaces every conflicting target, so existing invocations keep their meaning; the repairsdoctorprints now name the bridge they are for.The conflict message now prints its targets repo-relative, so what it names is what
--forceaccepts back. The initialization result gains askippedfield listing the harnesses left untouched.
Patch Changes
-
990972f: Teach the
enhanceskill that a heading inside a fenced code block is not a heading.Every addition
enhanceoffers is a fenced block containing its own heading, so a repository that documents this tool — or anAGENTS.mdthat quotes an addition — carries the exact heading the addition would write while remaining entirely uncovered. Coverage is now judged only against the prose an agent reads as instruction, and the fence is stripped when the approved section is written, so an addition lands as prose rather than as a code block. -
804a542:
doctorreads each file once per commit while deciding which side of a diverged MCP server moved.Naming the side that moved walks git history for the newest commit where the golden set and the harness config agreed on a field. That walk ran once per diverged field and re-read and re-parsed both files at every commit each time: three targets, five servers, two diverged fields each and fifty commits of history is on the order of three thousand
git showcalls and as many parses. Drift is the case the walk exists for, and the shippeddoctorskill says the command is cheap enough to run from a session-start hook.The parse is now memoized per commit and file, and the commit walk per target, for the lifetime of the one diagnosis. The reported direction is unchanged.
-
804a542:
doctornames a dotted MCP server in full in its repair.A finding's locator addresses a place inside a file —
.cursor/mcp.json#servers.linear.command— and the two membership repairs recovered the server name from it by splitting on.and taking the last segment. For.codex/config.toml#servers.io.github.foothat gavefoo, a server present in neither file, so the repair for anmcp-unprojectedormcp-undeclaredfinding named something the user could not act on.io.github.*is a common way to name an MCP server.The file, server, and field now travel with the finding as parts and are assembled into the locator at the one place that renders it. Nothing splits a locator back apart, because no separator survives the dotted case.
-
41338f9: Correct the
initskill's reason for leaving MCP servers alone. It said no safe cross-harness mapping exists; one does, published across fourteen hosts. The reason that survives is that the mapping is not lossless — some servers cannot be expressed for some hosts, and writing one into another host's format means supplying fields the source never carried.initstill reports MCP configuration rather than converting it, and now says why accurately. -
4177091: Route the
repairskill's family split on the finding'sproblemname.The skill told an agent that every
doctorfinding's repair inhelpnames a skill, and to decide theinit/repairsplit on that name. It does not:helpcarries the command rendering of a repair, which names a shell invocation for every bridge finding and nothing at all for every MCP finding. Only the instruction and configuration families name a skill there — eight of twenty-seven problems — so an agent following the rule literally had no match and no stated fallback for the other nineteen, including the whole MCP family, which the skill never mentioned.Routing is now on
problem, which every finding carries and whichreferences/classes.mdis keyed by: aproblemwith a section there is the skill's, and one without it is not. Who a handed-on finding goes to is read off its repair —initwhere the repair names it, a person where it names no skill — and the skill now says outright that an owner is never to be inferred. -
aa7d27d: Judge a skill bridge by where it resolves, not by how it is spelled.
initanddoctorboth decided a symbolic link was correct by comparing its text against the one relative pathinitwrites. A link that resolves to.agents/skillsbut is spelled differently — one a user wrote as an absolute path, or any repository reached through a symbolic link in a parent directory — was read as a foreign target:doctorreported itstaleandinitrefused to run without--force. Both now compare resolved paths, so a bridge that works reports as working.Write the link target the way the platform resolves it. Windows resolves a relative junction target against the process directory rather than the link's own, so the target is now absolute there and stays relative everywhere else, where a relative link survives the repository moving.
0.6.0
Minor Changes
-
74a17e8: Stop projecting
.agents/skillsinto.gemini/skills. Gemini CLI reads the.agents/skillsalias at project scope as well as user scope, and that alias takes precedence over.gemini/skillsin each tier — confirmed against the vendor's own discovery code (packages/core/src/config/storage.ts,packages/core/src/skills/skillManager.ts) and its skills documentation, recorded as E-GEM-02.initnow writes nothing forgemini-cli, anddoctorno longer reports a.gemini/skillsbridge for it. Claude Code is the only harness left with a skills projection. Gemini CLI's instruction bridge is unaffected: it still does not readAGENTS.md, socontext.fileNamein.gemini/settings.jsonstill has to name it.An existing
.gemini/skillssymlink keeps working — that path is still scanned — so nothing has to be removed from a repository that already has one. -
1a33cca: Model user scope as well as project scope in the harness registry.
Harnessnow carries aprojectrecord and an optionaluserrecord, each with its owndetectdirectory and optionalskillsDirectory, so a harness that answers the canonical-directory question differently at each scope can be recorded truthfully — Gemini CLI needs a projection inside a repository and none at user scope. A missinguserrecord means no vendor path is documented, as with Devin Desktop.The published
harnessRegistryentries change shape: readharness.project.detectandharness.project.skillsDirectoryin place ofharness.detectandharness.skillsDirectory. TheHarness,HarnessScope, andHarnessScopeNametypes are now exported.initanddoctorare unchanged and still act only inside the repository. -
0ce8068:
doctornow verifies the instruction bridges as well as the skill bridges. It reports a newinstructionssection covering the rootCLAUDE.mdimport, one stub per nestedAGENTS.md, and thecontext.fileNameentry in.gemini/settings.json, gated per harness the same way the skill bridges are. Every repair there is/buddy-agent-harness:init: those files carry prose someone wrote, so restoring a bridge without discarding what displaced it is theinitskill's judgment.The harness registry records an
instructionBridgeper harness scope, so the checked set cannot drift from what theinitskill writes.
Patch Changes
- 14a925c:
initnow says how to edit a user-authored settings file: amend it in place rather than round-tripping it throughJSON.parse, keeping key order, indentation, and comments..gemini/settings.jsonlegally carries comments that a whole-file rewrite would silently delete;.claude/settings.jsonrejects them outright, so nothing may add one.
0.5.0
Minor Changes
-
090bfce: Add an
enhanceskill that offers guidance a repository'sAGENTS.mdis missing.initconsolidates what a repository already has and bridges the harnesses that cannot read it. It carries no opinions, which is what makes it safe to run anywhere.enhanceis the other half: it proposes content the repository does not have, one vetted section at a time, and writes only what you approve.initnow ends by asking whether to run it.Detection decides every run.
enhancereads the rootAGENTS.mdtogether with any harness instruction file whose content still belongs in it, because that combined text is what an agent effectively reads — guidance living in a Cursor always-on rule counts as already present. It reads those files and never consolidates them; that staysinit's work. Coverage is judged by meaning rather than by heading, so a repository covering the subject under its own wording is left alone.One addition ships: a
## Delegationsection telling an agent when to hand work to a subagent, when to do the work itself, which decisions to keep, and what every brief must carry. It names no model, vendor, or version, so it does not go stale as model lineups change.
0.4.1
Patch Changes
-
e40dc14: Name the launcher relative to the skill, without a placeholder.
Both skills said
node "<skill>/scripts/<name>.mjs", which asked the reader to substitute something the agent already knows. An agent reads theSKILL.mdfrom a directory, sonode scripts/<name>.mjsresolves against that directory on its own.nodestays in front. The launcher ships as mode100644, so its shebang never runs it, and on Windows a shebang does nothing regardless of mode. Naming the file alone would fail on both counts.
0.4.0
Minor Changes
-
9f1ee23: Run the CLI that ships with the skill, and pin the
npxfallback.Both skills told an agent to run
npx -y buddy-agent-harness, which downloads the package even when an installed plugin already has it on disk. Each skill now ships a launcher atskills/<name>/scripts/<name>.mjsthat resolves the CLI from its own location, so it runs against the working directory without fetching anything.npxstays documented as the fallback, now pinned to the caret range of the version that generated the skill. Unpinned, a skill from an older install drove whatever npm called latest, and its flags and findings table stopped describing the command it had just run.The fallback is not redundant. A plugin installed from git is a source checkout whose dependencies are never installed, so the launcher cannot resolve
clibuilderandnpxis the only path that works. An npm-installed plugin has them and takes the launcher.renderDoctorSkillnow takes the version to pin, andscripts/generate-doctor-skill.tsbecomesscripts/generate-skills.ts(pnpm skill:gen), which writes both launchers, regenerates thedoctorskill, and rewrites the pinned fallback in the hand-writteninitskill. It runs duringchangeset versionso the pin follows the release.
0.3.1
Patch Changes
-
bebd1d7: Use "agent harness" as the single term for a coding-agent runtime.
The published package description, the three plugin manifests, both READMEs, the project spec, and the
initskill'sdescriptionall said "coding-agent harness" while the rest of the project said "agent harness". One concept carried two names across exactly the metadata a user reads first, in a package whose own name isbuddy-agent-harness.Only the wording changes. The clause edited in the skill
descriptionsits after the harness names that do the trigger matching, so when the skill loads is unaffected.
0.3.0
Minor Changes
-
46d24e6: Teach the
initskill to take arguments, sodoctorcan hand it a repair verbatim.doctornames repairs like--copy --force, and until now theinitskill had no documented way to receive them. It now reads flags and their prose equivalents out of the invocation, passes them through to the command in Phase 4, and still stops for the Phase 3 approval that--forcewould otherwise skip.The mechanism is deliberately not a placeholder. Claude Code appends what the caller typed as
ARGUMENTS: <value>whenever the body omits$ARGUMENTS, Codex skills have no argument mechanism at all, and the Agent Skills spec defines none — so a body that says how to read the invocation is the only form that works everywhere, while a literal$ARGUMENTSwould resolve on one harness and stay on the page on the rest.argument-hintis added for Claude Code's autocomplete. The new references explain why that field is the exception to harness-specific frontmatter being dropped in silence: claude.ai uploads and the Skills API reject it with a hard error. -
ee027bb: Add a read-only
doctorcommand and a generateddoctorskill.doctorreports whether the skill bridgesinitcreates still resolve into.agents/skills, deriving the bridge list from the same harness registryinitprojects into. It detects the silent Windows failure — a checkout withcore.symlinks=falsematerializes a committed symlink as a regular file holding the target path, and the harness loads zero project skills with no warning — along with missing bridges, symlinks pointing elsewhere, and copies that have drifted from the canonical directory.A diverged copy is reported with a direction, computed against the last commit where the two sides agreed, so the report says which side moved rather than only that they differ. A tracked copy is also checked for its
skip-worktreebit, which some checkout and merge operations clear.The command writes nothing and exits
0even with findings; each finding names its repair. The command names aninitinvocation for a person at a shell, while the skill hands the same repair to theinitskill, because rebuilding a bridge can move skills a user wrote.skills/doctor/SKILL.mdis generated from the same guidance the command prints, withpnpm skill:doctor:checkinverifyfailing when the committed skill goes stale. -
46d24e6: Mount the plugin's commands as
agent-harnessrather thanharness.repobuddyputs every plugin's commands in one namespace, whereharnessis generic enough for a second plugin to want it. The commands are otherwise unchanged:buddy agent-harness doctorandbuddy agent-harness init.This renames the mount point. A consumer running
buddy harness inithas to update the call; thenpx buddy-agent-harnessinvocations are unaffected. -
e46215a: Add
--format texttoinitanddoctor.TOON stays the default because it is what an agent parses.
--format textrenders the same result for a person: scalars askey: value, each collection of records as a table with its columns aligned, and lists of names as bullets.--formatnow rejects an unknown value with--format must be toon, json, or text.
Patch Changes
-
2992e06: Use
codex,gemini-clias theinit --harnesshelp example, matchingdoctor.The previous example named
windsurf, which is a deprecated alias fordevin-desktop, so the one name the help text taught was the one the result reports back as deprecated.
0.2.0
Minor Changes
-
6fc3d80: Adopt the Agent Plugins 1.0.0 canonical manifest.
plugin.jsonat the package root is now the single source the vendor manifests are generated from, with skills and per-harness settings underextensions["org.cyberuni.universal-plugin"]. The superseded.plugin/plugin.jsonis removed. -
2988ece: Tell the
initskill what belongs inAGENTS.md.The skill created the file and said not to invent policy, which left a repository with no existing instruction content getting an empty heading. An empty
AGENTS.mdis worse than none: it looks authoritative and invites the next agent to fill it with guesses.The new
references/agents-md.mdsplits the two cases — consolidate existing instruction content preserving its wording, or derive candidates from the repository and confirm each one with the user before writing. Deriving a fact frompackage.jsonis not invention; asserting a rule nobody agreed to is.It also carries the test for whether a line earns its place.
AGENTS.mdis read every session, so a fact the agent could get in one read costs more than it returns, and anything a linter or type checker already enforces is a second source of truth that goes stale. What survives is the constraint that fails a build in a non-obvious way, the workflow with an unguessable step, and the decision that resolves a real ambiguity. Everything else is pushed into a skill, where only its description stays resident and the body loads on match. -
0d1b8af: Align initialization with how harnesses actually discover skills.
.agents/skills/is read natively by Codex, Cursor, and GitHub Copilot CLI, so those harnesses no longer receive projected files. Only Claude Code, Gemini CLI, and Windsurf are linked, and the link is now a single directory-level symlink to.agents/skillsrather than one symlink per skill — a skill added later appears in every enabled harness without re-running the command.Claude Code and Cursor are always enabled; other harnesses are added by detection or with the new
--harnessoption. The result reportsnativeandlinkedharnesses separately so it is clear what was written to disk. Gemini CLI is now a supported harness, and the Cursor, Codex, and Windsurf skill paths have been corrected.The
initskill is rewritten as a guided survey → classify → confirm → apply → verify workflow. It detects agent configuration a repository already has — instruction files, skills, commands, subagents, rules, MCP servers, hooks — consolidates what has a safe canonical home, reports the rest, and never rewrites a user-authored file without approval. New references cover per-harness support and the cross-harness frontmatter rules that decide whether a shared skill loads at all. -
0d1b8af: Add
devin-desktopand deprecatewindsurf.Cognition rebranded Windsurf to Devin Desktop on 2026-06-02. More consequentially, Devin scans nine project-scope skill paths and lists
.agents/skills/first as the recommended one, so it reads the canonical directory natively and needs no projection at all.devin-desktopis now a supported harness with no projection target.windsurfremains accepted as a deprecated alias and still creates the legacy.windsurf/skillssymlink, which Devin continues to scan — existing repositories keep working unchanged. The initialization result gains adeprecatedfield listing any enabled superseded names alongside their replacements.This leaves only Claude Code and Gemini CLI requiring a skills projection.
Documentation adds Antigravity and VS Code as native
.agents/skillsreaders. Neither is a registry entry: both need nothing written, and neither has a safe project-scope detection marker — VS Code's.vscode/indicates the editor rather than skills support. Harness Support also now records per-claim evidence confidence and the agent list published bynpx skills. -
3fe068e: Support portable plugin manifests for Claude Code, Cursor, Codex, and Copilot CLI.
Patch Changes
- ab2589a: Update
clibuilderto v10. - 22fe775: Document the Claude Code marketplace as the single install path and drop the
npx skills addinstructions, which vendor a copy of the skill into the consumer's harness directories and make theinitskill's own projection step fail. Rename the plugin marketplace torepobuddyso the documentedbuddy-agent-harness@repobuddyinstall resolves.