Contributing Back to the Warehouse¶
Contributing back has two phases:
- Author the artifact — create or improve a skill, knowledge file, context, or agent in the warehouse working tree.
- Commit and push — share it with teammates via the bundled
/contribute-warehouseskill (or the lower-level CLI).
This page covers the commit-and-push half. The sub-pages cover authoring each artifact type:
- Creating Skills — via
/record-skillor by asking an agent to write one - Creating Knowledge and Contexts — via
/record-knowledgeor direct edit - Creating an Agent — direct edit (no bundled skill)
Agentic Beacon uses a symlink model:
abc synccreates symlinks from.agentic-beacon/artifacts/into your warehouse clone. When you author or improve an artifact through any of the paths above, the change is already in the warehouse working tree — you just need to commit and push it.
The Recommended Path: /contribute-warehouse¶
From an OpenCode or Claude Code session inside a connected project:
The skill walks you through the contribution interactively:
- Resolves the warehouse from
.agentic-beacon/config.toml. - Runs
abc warehouse lintas a hard gate — aborts if the warehouse has any integrity errors. - Summarises dirty paths and asks you which to include and which to leave for later.
- Scans
knowledge/files for semantic duplicates so you don't ship the same lesson twice under different names. - Splits the included files into cohesive commits with drafted Conventional Commits messages.
- Pushes all commits atomically at the end — one push, all-or-nothing.
This is the path you should reach for almost every time. It catches problems the raw CLI doesn't, and it produces a tidy commit history without you having to think about it.
For the full design and flag reference, see
contribute-warehouseSkill Reference.
The Lower-Level Primitive: abc warehouse contribute¶
The raw abc warehouse contribute CLI is what the skill wraps. You can use it directly for one-off commits that don't need the full guided flow:
abc warehouse status # review dirty files
abc warehouse contribute -m "<message>" --paths <file> # commit specific files
abc warehouse contribute -m "<message>" --push # commit + push in one step
The --paths option is repeatable — pass it once per file. Omitting it stages every dirty tracked file in the warehouse, which is rarely what you want when you've been editing across several artifacts.
Heads up: raw
abc warehouse contributeis currently less reliable than the bundled skill in some environments. If it misbehaves, reach for/contribute-warehouseinstead.
Manual Git, If You Prefer¶
Because artifacts are symlinks into the warehouse clone, the warehouse working tree is always up to date. You can also just use plain git:
cd ~/team-warehouse
git add knowledge/python/type-hints.md
git commit -m "docs: improve type hints guide"
git push
This bypasses the lint gate and the cohesion split — fine for trivial edits, but for anything substantive, prefer the bundled skill.
Teammates Pick It Up¶
Once the commit is on the remote, teammates pull and resync:
Their existing symlinks pick up the new content immediately; abc sync only needs to run if beacon.yaml references new paths or if symlinks have drifted.
Contribution Checklist¶
Whichever path you use, before you push:
- [ ] Tested the artifact in a real session — the agent actually used it correctly.
- [ ] Content is generic — no project-specific paths, credentials, or names.
- [ ] No broken references or links.
- [ ] Commit message describes why the change helps, not just what changed.
See Also¶
contribute-warehouseSkill Reference — full flow, flags, and design notes- Day-to-Day Workflow — how contributing fits into the broader loop
- CLI Reference — every
abc warehouse contributeoption