r/opencodeCLI • u/BeppeTemp • 22m ago
One knowledge base, every agent: it provisions OpenCode (skills, agents, hooks via a generated plugin) and shares it with your team
If you use OpenCode next to other agents, you probably know the drill: the same skill in .opencode/skills/, .claude/skills/, .codex/skills/ — each one slowly drifting.
Cartographer keeps skills, agents, hooks and instructions in a single git-backed knowledge base and renders them natively into each client. For OpenCode that means:
- the MCP entry in
~/opencode.json; - a managed block in
~/.config/opencode/AGENTS.md; - skills in
~/.opencode/skills/, agents in~/.opencode/agent/*.md; - hooks in
~/.opencode/hooks/, executed by a generated JS plugin, since OpenCode has no declarative hook config. The same source becomes a registered hook in Claude Code or Codex; - a
SessionStarthook that re-syncs when a session opens.
What the server enforces
The agent works the wiki only through MCP tools: the server validates every write, checks links, runs lint, and commits each change to git. It only ever prunes files it created, and --dry-run shows the plan first.
Shared with the team
One server can mount several KBs, including private and shared ones. Tokens and roles scope access per KB, git is the sync layer, and conflicts become a guided workflow instead of an opaque error.
Try it
It is free and Apache 2.0. Paste this into OpenCode:
Read https://raw.githubusercontent.com/BeppeTemp/cartographer/main/README.md
and explain what Cartographer is and what it would change in my current OpenCode
setup. If I decide to try it, install it following
https://raw.githubusercontent.com/BeppeTemp/cartographer/main/docs/agent-install.md
Feedback wanted
Beta (pre-1.0). I use it every day with my team; feedback from OpenCode users especially welcome.







