funsanity

Matriarch — AI skill for Claude Code

AI community

Team knowledge base shared by people and AI agents: pitfalls and proven fixes are captured automatically and surface right when they're needed.

How to install Matriarch

This entry records only its repository, not the path inside it, so there is no exact command to give. Open funsanity/Matriarch and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Matriarch does

Team knowledge base shared by people and AI agents: pitfalls and proven fixes are captured automatically and surface right when they're needed. 团队记忆知识库,员工和 Agent 共用:踩过的坑、解决经验自动沉淀,下次遇到时自动出现。Self-hosted · Claude Code · Codex · Gemini CLI · Qoder · Trae · Cursor

Alternatives in AI

  • Clay — Multiplayer Claude Code and Codex 388 ★
  • Oto Dock — The self-hosted platform for your company's AI agents 198 ★
  • Opendray — Self-hosted gateway for Claude Code, Codex, Antigravity, Grok Build, OpenCode 59 ★

README

Matriarch

Matriarch

Agent = Loop(Model, Harness, Context)

A team knowledge base shared by people and AI agents: pitfalls and proven fixes are captured automatically and surface right when they're needed.

English · 简体中文


Every agent is such a loop, and a team runs many of them at once: one per person, one per session. Everyone uses much the same models and harnesses; what differs is the context, and each loop's context is isolated. The pitfall your teammate's agent hit and solved last week is unknown to yours, so the same pitfall gets hit again and again.

Matriarch supplies the shared team context. An elephant herd is led by its matriarch, who remembers where the water is and where the danger lies. Matriarch does the same for small teams that code with AI tools (Claude Code, Codex, Gemini CLI, Qoder, Trae, WorkBuddy, Cursor and others):

  • When a teammate's agent hits a problem and solves it, the system distills a memory from the code change and the agent session.
  • The memory goes through an independent AI review with a clean context. Only memories that score at least 85 (configurable) are shared.
  • The next day, the moment your agent is about to edit that file, or hits the same error, the memory appears in front of it.
  • The system counts this as "1 pitfall avoided" and keeps curating the memory store so it gets smaller, not bigger.

Everything runs on your own network: one server with an admin console, and one client per team member. All data lives in a single SQLite file, so a backup is a copy. Matriarch is designed for teams of 2–30 people.

The admin console and client UI are bilingual (Chinese by default, English available). Command-line messages are in Chinese.

Related Skills