Which agent primitives (instructions, skills, agents, hooks) does this repository take from the shared skills source, at what pin, and for which tools?
Decide: pinned refs versus the default branch now that contributors install them; whether the shared always-on coding and testing rules ship as an apm primitive; which tools beyond Claude are targeted; whether docs/agents/* stays copied per repository; whether apm becomes one of the pinned dev tools.
Context
Decided already: the apm setup stays tracked and shared primitives are the intended way to share workflow and standards.
apm.yml installs from a source contributors cannot reach yet; the maintainer is moving it to a public repository in this organisation on a separate track. This ticket waits on that move.
Entries are unpinned on purpose today. In public, that means a contributor's agent runs whatever is on the source's default branch at install time.
apm.yml targets Claude only.
Part of #87
## Question
Which agent primitives (instructions, skills, agents, hooks) does this repository take from the shared skills source, at what pin, and for which tools?
Decide: pinned refs versus the default branch now that contributors install them; whether the shared always-on coding and testing rules ship as an apm primitive; which tools beyond Claude are targeted; whether `docs/agents/*` stays copied per repository; whether `apm` becomes one of the pinned dev tools.
## Context
- Decided already: the apm setup stays tracked and shared primitives are the intended way to share workflow and standards.
- `apm.yml` installs from a source contributors cannot reach yet; the maintainer is moving it to a public repository in this organisation on a separate track. This ticket waits on that move.
- Entries are unpinned on purpose today. In public, that means a contributor's agent runs whatever is on the source's default branch at install time.
- `apm.yml` targets Claude only.
Facts found (survey of apm.yml, apm.lock.yaml, the deployed .claude/ and apm_modules/ at commit 60f9b22)
Plugins ship only skills and two agents: no instructions, hooks, prompts or MCP config. bin and core (8 skills) are referenced nowhere here; gitea and mattpocock carry the in-use workflow; git is incidental.
mattpocock has no primitives of its own: it pins 20 third-party skills at mattpocock/skills#v1.3.2 inside the source.
The source has no tags today; its marketplace declares a repo-wide v{version} pattern. Every lock entry resolves to one commit.
The shared coding and testing rules sit at the source's root, outside every plugin; apm never installs them.
git-commits mandates rtk git and gives Co-authored-by: examples; the git skills cite source-internal ADR numbers.
apm (apm-cli on PyPI; lock made with 0.28.0) is in neither requirements-dev.txt, the ci image nor dev-setup.sh.
apm's own docs (microsoft/apm, "what to commit"): commit apm.yml, apm.lock.yaml and the deployed files; ignore only apm_modules/. apm documents no auto-install on clone or session; lifecycle: scripts run only inside apm commands and are skipped until trusted.
Renovate has an apm manager (present in 44.227.4; not checked in 44.161.0, the version renovate.yml runs). It reads only the string form host/owner/repo/subpath#<ref> (the git:/path: object form is skipped), understands per-plugin tags <name>-v<version>, and regenerates the lock by running apm install. A bare SHA without a # <tag> comment is not tracked.
Decision
Plugins. Take git and mattpocock. Drop bin and core (unused) and gitea (the maintainer is rebuilding it on the tea CLI instead of MCP; it returns in the follow-up). Accepted risks, by the maintainer's choice:
git-commits offers Co-authored-by:; the AI-assistance policy (#94) in root AGENTS.md wins. The source-side fixes go to an issue in the skills source; nothing here waits on it.
Third-party skills arrive through the source's mattpocock plugin, which the maintainer curates there; they are treated as the source's own.
rtk (Rust Token Killer, public) is a required contributor tool, which makes the git skills' rtk git instruction work. The contributor docs give its install command, a tested minimum version and the name-collision check (rtk gain). Each contributor installs its hook with rtk init -g (user config). No hook is tracked here: a tracked hook calling a missing binary breaks every shell call.
Deployed files are committed..claude/skills and .claude/agents are tracked; apm_modules/ stays ignored. Reason: the map's "Standing alone" note (a contributor's agent gets everything from the clone, with no apm, network or hook), apm's documented default, and a bump's diff shows the skill text changing. Costs accepted: about 170 files and 1.3 MB, a REUSE.toml annotation for the third-party MIT skills, lint and link-check exclusions, noisy bump diffs. No SessionStart or git hook. .claude/ is not under CODEOWNERS: skills carry no rules, and a code-owner gate would stop automerge (#179).
Pins. Each entry is pinned to a per-plugin tag <plugin>-v<version>(assumed until public), in the string form Renovate's apm manager reads. Renovate moves the pins and regenerates apm.lock.yaml and the deployed .claude/ files with apm install in its job (assumed until public: the job can run apm and reach the source). Bumps of the skills source automerge, mattpocock included. The bot-diff gate also allows the apm.yml ref lines, the lock and .claude/, only when apm.yml changed in the same PR. By hand, apm update / apm outdated do the same.
No rule through apm. No apm primitive carries a rule (instructions included), extending "a skill never carries a rule": deployed content changes upstream without review here. The repository's rules stay in its own AGENTS.md files (#91, #101).
Targets:claude only. Every tool already gets the full guidance from AGENTS.md; another target is added on first real use (a one-line change).
docs/agents/* stays tracked and hand-edited per repository (it is this repository's configuration of the skills). domain.md's ADR 0004 line goes in #164.
apm as a tool:apm-cli pinned in requirements-dev.txt (and lock), for whoever changes a plugin or pin; not in the ci image; dev-setup.sh does not run it. One triggered line in root AGENTS.md: to change a plugin or its pin, edit apm.yml, run apm install, commit the deployed files. Agreement between apm.yml, the lock and .claude/ is held by review, by the maintainer's choice: a control would need apm and source access in Lint.
No ADR: every part is a one-line reversal.
Assumed until public
The public source's URL and host, and that contributors and the Renovate job reach it over HTTPS without credentials.
Per-plugin tags <plugin>-v<version>, annotated, on the public source.
The public source's licence (each plugin declares MIT today) and that its third-party content keeps its own licence notices.
That the public source carries no private names or source-internal ADR citations.
That the Renovate version this repository runs has the apm manager and can run apm install for the artifacts.
Contributor onboarding to the shared skills: no longer a separate question; a clone carries the skills, rtk is in #193, and the tea setup in #194.
## Resolution
Resolved on 2026-11-15 against the *planned* public skills source, by the maintainer's choice; it does not wait on the move. Every part marked **(assumed until public)** is verified by [Re-check Shared agent primitives once the skills source is public](https://git.rkdr.net/Mortis/Kamino/issues/194).
### Facts found (survey of `apm.yml`, `apm.lock.yaml`, the deployed `.claude/` and `apm_modules/` at commit `60f9b22`)
- Plugins ship only skills and two agents: no instructions, hooks, prompts or MCP config. `bin` and `core` (8 skills) are referenced nowhere here; `gitea` and `mattpocock` carry the in-use workflow; `git` is incidental.
- `mattpocock` has no primitives of its own: it pins 20 third-party skills at `mattpocock/skills#v1.3.2` inside the source.
- The source has no tags today; its marketplace declares a repo-wide `v{version}` pattern. Every lock entry resolves to one commit.
- The shared coding and testing rules sit at the source's root, outside every plugin; apm never installs them.
- `git-commits` mandates `rtk git` and gives `Co-authored-by:` examples; the git skills cite source-internal ADR numbers.
- apm (`apm-cli` on PyPI; lock made with 0.28.0) is in neither `requirements-dev.txt`, the `ci` image nor `dev-setup.sh`.
- apm's own docs (microsoft/apm, "what to commit"): commit `apm.yml`, `apm.lock.yaml` and the deployed files; ignore only `apm_modules/`. apm documents no auto-install on clone or session; `lifecycle:` scripts run only inside apm commands and are skipped until trusted.
- Renovate has an `apm` manager (present in 44.227.4; not checked in 44.161.0, the version `renovate.yml` runs). It reads only the string form `host/owner/repo/subpath#<ref>` (the `git:`/`path:` object form is skipped), understands per-plugin tags `<name>-v<version>`, and regenerates the lock by running `apm install`. A bare SHA without a `# <tag>` comment is not tracked.
### Decision
1. **Plugins.** Take `git` and `mattpocock`. Drop `bin` and `core` (unused) and `gitea` (the maintainer is rebuilding it on the `tea` CLI instead of MCP; it returns in the follow-up). Accepted risks, by the maintainer's choice:
- `git-commits` offers `Co-authored-by:`; the AI-assistance policy ([#94](https://git.rkdr.net/Mortis/Kamino/issues/94)) in root `AGENTS.md` wins. The source-side fixes go to an issue in the skills source; nothing here waits on it.
- Third-party skills arrive through the source's `mattpocock` plugin, which the maintainer curates there; they are treated as the source's own.
2. **`rtk`** (Rust Token Killer, public) is a required contributor tool, which makes the `git` skills' `rtk git` instruction work. The contributor docs give its install command, a tested minimum version and the name-collision check (`rtk gain`). Each contributor installs its hook with `rtk init -g` (user config). No hook is tracked here: a tracked hook calling a missing binary breaks every shell call.
3. **Deployed files are committed.** `.claude/skills` and `.claude/agents` are tracked; `apm_modules/` stays ignored. Reason: the map's "Standing alone" note (a contributor's agent gets everything from the clone, with no apm, network or hook), apm's documented default, and a bump's diff shows the skill text changing. Costs accepted: about 170 files and 1.3 MB, a `REUSE.toml` annotation for the third-party MIT skills, lint and link-check exclusions, noisy bump diffs. No SessionStart or git hook. `.claude/` is **not** under CODEOWNERS: skills carry no rules, and a code-owner gate would stop automerge (#179).
4. **Pins.** Each entry is pinned to a per-plugin tag `<plugin>-v<version>` **(assumed until public)**, in the string form Renovate's `apm` manager reads. Renovate moves the pins and regenerates `apm.lock.yaml` and the deployed `.claude/` files with `apm install` in its job **(assumed until public: the job can run apm and reach the source)**. Bumps of the skills source automerge, `mattpocock` included. The bot-diff gate also allows the `apm.yml` ref lines, the lock and `.claude/`, only when `apm.yml` changed in the same PR. By hand, `apm update` / `apm outdated` do the same.
5. **No rule through apm.** No apm primitive carries a rule (instructions included), extending "a skill never carries a rule": deployed content changes upstream without review here. The repository's rules stay in its own `AGENTS.md` files (#91, #101).
6. **Targets:** `claude` only. Every tool already gets the full guidance from `AGENTS.md`; another target is added on first real use (a one-line change).
7. **`docs/agents/*`** stays tracked and hand-edited per repository (it is this repository's configuration of the skills). `domain.md`'s ADR 0004 line goes in [#164](https://git.rkdr.net/Mortis/Kamino/issues/164).
8. **apm as a tool:** `apm-cli` pinned in `requirements-dev.txt` (and lock), for whoever changes a plugin or pin; not in the `ci` image; `dev-setup.sh` does not run it. One triggered line in root `AGENTS.md`: to change a plugin or its pin, edit `apm.yml`, run `apm install`, commit the deployed files. Agreement between `apm.yml`, the lock and `.claude/` is **held by review**, by the maintainer's choice: a control would need apm and source access in Lint.
9. **No ADR:** every part is a one-line reversal.
### Assumed until public
- The public source's URL and host, and that contributors and the Renovate job reach it over HTTPS without credentials.
- Per-plugin tags `<plugin>-v<version>`, annotated, on the public source.
- The public source's licence (each plugin declares MIT today) and that its third-party content keeps its own licence notices.
- That the public source carries no private names or source-internal ADR citations.
- That the Renovate version this repository runs has the `apm` manager and can run `apm install` for the artifacts.
### Backlog
- Buildable now: [chore: commit the deployed agent skills, trim the apm plugins and pin apm-cli](https://git.rkdr.net/Mortis/Kamino/issues/193).
- Waiting on the public source (tag pins, Renovate, bot-diff gate, `gitea` on `tea`): in the scope of [the follow-up](https://git.rkdr.net/Mortis/Kamino/issues/194).
- `domain.md` line: added to [#164](https://git.rkdr.net/Mortis/Kamino/issues/164).
### Not part of this decision
- A tracked guard hook or permission allowlist: [Agent guard hook and permission allowlist](https://git.rkdr.net/Mortis/Kamino/issues/195).
- Contributor onboarding to the shared skills: no longer a separate question; a clone carries the skills, `rtk` is in #193, and the `tea` setup in #194.
Partly superseded by Agent guard hook and permission allowlist: apm hook and instruction primitives are now taken. Instructions may carry rules shared across the maintainer's repositories (in .claude/rules/ for now); hooks are allowed with apm approve. .claude/settings.json, .claude/hooks/ and .claude/rules/ go under CODEOWNERS; skills and agents stay unowned and automerged.
Partly superseded by [Agent guard hook and permission allowlist](https://git.rkdr.net/Mortis/Kamino/issues/195): apm hook and instruction primitives are now taken. Instructions may carry rules shared across the maintainer's repositories (in `.claude/rules/` for now); hooks are allowed with `apm approve`. `.claude/settings.json`, `.claude/hooks/` and `.claude/rules/` go under CODEOWNERS; skills and agents stay unowned and automerged.
Committed skills and agents are agent instructions, and all of .claude/ is under CODEOWNERS.
The commit waits for the clean public source.
rtk is required as rtk-oss, installed by dev-setup.sh, with a guarded tracked hook.
apm audit --ci replaces "held by review".
apm-cli goes into the ci image.
Partly superseded by [Committed skills as agent instructions: ownership, updates and required tools](https://git.rkdr.net/Mortis/Kamino/issues/208):
- Committed skills and agents are agent instructions, and all of `.claude/` is under CODEOWNERS.
- The commit waits for the clean public source.
- `rtk` is required as `rtk-oss`, installed by `dev-setup.sh`, with a guarded tracked hook.
- `apm audit --ci` replaces "held by review".
- `apm-cli` goes into the `ci` image.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #87
Question
Which agent primitives (instructions, skills, agents, hooks) does this repository take from the shared skills source, at what pin, and for which tools?
Decide: pinned refs versus the default branch now that contributors install them; whether the shared always-on coding and testing rules ship as an apm primitive; which tools beyond Claude are targeted; whether
docs/agents/*stays copied per repository; whetherapmbecomes one of the pinned dev tools.Context
apm.ymlinstalls from a source contributors cannot reach yet; the maintainer is moving it to a public repository in this organisation on a separate track. This ticket waits on that move.apm.ymltargets Claude only.Resolution
Resolved on 2026-11-15 against the planned public skills source, by the maintainer's choice; it does not wait on the move. Every part marked (assumed until public) is verified by Re-check Shared agent primitives once the skills source is public.
Facts found (survey of
apm.yml,apm.lock.yaml, the deployed.claude/andapm_modules/at commit60f9b22)binandcore(8 skills) are referenced nowhere here;giteaandmattpocockcarry the in-use workflow;gitis incidental.mattpocockhas no primitives of its own: it pins 20 third-party skills atmattpocock/skills#v1.3.2inside the source.v{version}pattern. Every lock entry resolves to one commit.git-commitsmandatesrtk gitand givesCo-authored-by:examples; the git skills cite source-internal ADR numbers.apm-clion PyPI; lock made with 0.28.0) is in neitherrequirements-dev.txt, theciimage nordev-setup.sh.apm.yml,apm.lock.yamland the deployed files; ignore onlyapm_modules/. apm documents no auto-install on clone or session;lifecycle:scripts run only inside apm commands and are skipped until trusted.apmmanager (present in 44.227.4; not checked in 44.161.0, the versionrenovate.ymlruns). It reads only the string formhost/owner/repo/subpath#<ref>(thegit:/path:object form is skipped), understands per-plugin tags<name>-v<version>, and regenerates the lock by runningapm install. A bare SHA without a# <tag>comment is not tracked.Decision
gitandmattpocock. Dropbinandcore(unused) andgitea(the maintainer is rebuilding it on theteaCLI instead of MCP; it returns in the follow-up). Accepted risks, by the maintainer's choice:git-commitsoffersCo-authored-by:; the AI-assistance policy (#94) in rootAGENTS.mdwins. The source-side fixes go to an issue in the skills source; nothing here waits on it.mattpocockplugin, which the maintainer curates there; they are treated as the source's own.rtk(Rust Token Killer, public) is a required contributor tool, which makes thegitskills'rtk gitinstruction work. The contributor docs give its install command, a tested minimum version and the name-collision check (rtk gain). Each contributor installs its hook withrtk init -g(user config). No hook is tracked here: a tracked hook calling a missing binary breaks every shell call..claude/skillsand.claude/agentsare tracked;apm_modules/stays ignored. Reason: the map's "Standing alone" note (a contributor's agent gets everything from the clone, with no apm, network or hook), apm's documented default, and a bump's diff shows the skill text changing. Costs accepted: about 170 files and 1.3 MB, aREUSE.tomlannotation for the third-party MIT skills, lint and link-check exclusions, noisy bump diffs. No SessionStart or git hook..claude/is not under CODEOWNERS: skills carry no rules, and a code-owner gate would stop automerge (#179).<plugin>-v<version>(assumed until public), in the string form Renovate'sapmmanager reads. Renovate moves the pins and regeneratesapm.lock.yamland the deployed.claude/files withapm installin its job (assumed until public: the job can run apm and reach the source). Bumps of the skills source automerge,mattpocockincluded. The bot-diff gate also allows theapm.ymlref lines, the lock and.claude/, only whenapm.ymlchanged in the same PR. By hand,apm update/apm outdateddo the same.AGENTS.mdfiles (#91, #101).claudeonly. Every tool already gets the full guidance fromAGENTS.md; another target is added on first real use (a one-line change).docs/agents/*stays tracked and hand-edited per repository (it is this repository's configuration of the skills).domain.md's ADR 0004 line goes in #164.apm-clipinned inrequirements-dev.txt(and lock), for whoever changes a plugin or pin; not in theciimage;dev-setup.shdoes not run it. One triggered line in rootAGENTS.md: to change a plugin or its pin, editapm.yml, runapm install, commit the deployed files. Agreement betweenapm.yml, the lock and.claude/is held by review, by the maintainer's choice: a control would need apm and source access in Lint.Assumed until public
<plugin>-v<version>, annotated, on the public source.apmmanager and can runapm installfor the artifacts.Backlog
giteaontea): in the scope of the follow-up.domain.mdline: added to #164.Not part of this decision
rtkis in #193, and theteasetup in #194.Partly superseded by Agent guard hook and permission allowlist: apm hook and instruction primitives are now taken. Instructions may carry rules shared across the maintainer's repositories (in
.claude/rules/for now); hooks are allowed withapm approve..claude/settings.json,.claude/hooks/and.claude/rules/go under CODEOWNERS; skills and agents stay unowned and automerged.Partly superseded by Committed skills as agent instructions: ownership, updates and required tools:
.claude/is under CODEOWNERS.rtkis required asrtk-oss, installed bydev-setup.sh, with a guarded tracked hook.apm audit --cireplaces "held by review".apm-cligoes into theciimage.