Reduced AGENTS.md 50 → 40 lines by cutting content already owned elsewhere: behavioral rules duplicated from global ~/.agents/AGENTS.md, a docs/VISION.md on-demand entry already covered by CONTEXT.md's session-start read, and separate Setup/Testing/Commit-conventions sections collapsed into one.
Added a "Prefer plugin skills over raw shell" section mapping operations to the skill that owns them: git:git-commits, git:git-branches, git:git-history, git:git-worktrees, git:git-remotes, git:pc-run/git:pc-author, bin:gitea, lint:vale-config/lint:vale-run, core:agentsmd-author/core:agentsmd-audit.
Moved the "Subagent orchestration" section out of AGENTS.md into core/instructions/subagent-orchestration.md (deployed globally via install.sh, referenced from core/AGENTS.md's content index) — most of that content (fork-stop discipline, TaskList fork-only tools, worktree-isolation-forks-from-main) was universal Agent/Task/worktree-tool knowledge, not specific to working in this repo.
Removed agentsmd-author's "not this repo's own" self-hosting exclusion in CONTEXT.md — confirmed ADR-0012 never mandated it — since this task needed to route through the skill on this repo's own AGENTS.md. Folded the kyberforge:forge-routing rule (previously only in root AGENTS.md) into CONTEXT.md's existing "Skill composition" entry.
Test plan
bash tests/run-tests.sh — 7/7 passed
scripts/check-manifests.sh — clean
agentsmd-audit on the rewritten AGENTS.md — PASS, 0 fails (info-only findings, none applicable to this file)
## Summary
- Reduced `AGENTS.md` 50 → 40 lines by cutting content already owned elsewhere: behavioral rules duplicated from global `~/.agents/AGENTS.md`, a `docs/VISION.md` on-demand entry already covered by `CONTEXT.md`'s session-start read, and separate Setup/Testing/Commit-conventions sections collapsed into one.
- Added a **"Prefer plugin skills over raw shell"** section mapping operations to the skill that owns them: `git:git-commits`, `git:git-branches`, `git:git-history`, `git:git-worktrees`, `git:git-remotes`, `git:pc-run`/`git:pc-author`, `bin:gitea`, `lint:vale-config`/`lint:vale-run`, `core:agentsmd-author`/`core:agentsmd-audit`.
- Moved the "Subagent orchestration" section out of `AGENTS.md` into `core/instructions/subagent-orchestration.md` (deployed globally via `install.sh`, referenced from `core/AGENTS.md`'s content index) — most of that content (fork-stop discipline, TaskList fork-only tools, worktree-isolation-forks-from-`main`) was universal Agent/Task/worktree-tool knowledge, not specific to working in this repo.
- Removed `agentsmd-author`'s "not this repo's own" self-hosting exclusion in `CONTEXT.md` — confirmed ADR-0012 never mandated it — since this task needed to route through the skill on this repo's own `AGENTS.md`. Folded the `kyberforge:forge`-routing rule (previously only in root `AGENTS.md`) into `CONTEXT.md`'s existing "Skill composition" entry.
## Test plan
- [x] `bash tests/run-tests.sh` — 7/7 passed
- [x] `scripts/check-manifests.sh` — clean
- [x] `agentsmd-audit` on the rewritten `AGENTS.md` — PASS, 0 fails (info-only findings, none applicable to this file)
AGENTS.md had grown to duplicate content owned elsewhere: behavioral
rules already active globally via ~/.agents/AGENTS.md, a VISION.md
read-on-demand entry CONTEXT.md already covers at session start, and
setup/testing/commit instructions that explained hook mechanics the
git plugin's pc-run/git-commits skills already own. It also gave no
explicit steer toward using installed plugin skills over raw shell
commands, so agents defaulted to shelling out to git directly.
- Added a "Prefer plugin skills over raw shell" section mapping
operations (commits, branches, hooks, issues/PRs, linting, AGENTS.md
itself) to the skill that owns them.
- Collapsed Setup/Testing/Commit-conventions into one section, keeping
only the two genuinely non-obvious gotchas (missing
default_install_hook_types, bats submodule auto-init).
- Removed the "Subagent orchestration" section: its content was mostly
universal Agent/Task/worktree-tool facts, not specific to working in
this repo, so it moves to core/instructions/subagent-orchestration.md
(deployed globally via install.sh, referenced from core/AGENTS.md's
content index) rather than staying repo-local.
- Removed agentsmd-author's "not this repo's own" scope exclusion in
CONTEXT.md (ADR-0012 never mandated it) so this task could route
through it, and folded the forge-routing rule it left behind into
CONTEXT.md's existing Skill composition entry.
AGENTS.md: 50 -> 40 lines. Full test suite and manifest check pass.
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.
Summary
AGENTS.md50 → 40 lines by cutting content already owned elsewhere: behavioral rules duplicated from global~/.agents/AGENTS.md, adocs/VISION.mdon-demand entry already covered byCONTEXT.md's session-start read, and separate Setup/Testing/Commit-conventions sections collapsed into one.git:git-commits,git:git-branches,git:git-history,git:git-worktrees,git:git-remotes,git:pc-run/git:pc-author,bin:gitea,lint:vale-config/lint:vale-run,core:agentsmd-author/core:agentsmd-audit.AGENTS.mdintocore/instructions/subagent-orchestration.md(deployed globally viainstall.sh, referenced fromcore/AGENTS.md's content index) — most of that content (fork-stop discipline, TaskList fork-only tools, worktree-isolation-forks-from-main) was universal Agent/Task/worktree-tool knowledge, not specific to working in this repo.agentsmd-author's "not this repo's own" self-hosting exclusion inCONTEXT.md— confirmed ADR-0012 never mandated it — since this task needed to route through the skill on this repo's ownAGENTS.md. Folded thekyberforge:forge-routing rule (previously only in rootAGENTS.md) intoCONTEXT.md's existing "Skill composition" entry.Test plan
bash tests/run-tests.sh— 7/7 passedscripts/check-manifests.sh— cleanagentsmd-auditon the rewrittenAGENTS.md— PASS, 0 fails (info-only findings, none applicable to this file)