Rigdepot

AI coding resources for teamsOpen source · Apache-2.0v0.1.0 released

Your team's AI rig:
stock it once,
ship it to every tool.

Rigdepot registers the skills, MCP servers, workflows and agents your team has tuned, ships them by engineering stage to the Claude Code, Codex and OpenCode on everyone's machine, and brings back how well they work.

  • Skill
  • MCP
  • Workflow
  • Agent
  • Knowledge base
Scroll · first, where teams get stuck

01Problem · where teams get stuck

The tools are personal.
Engineering is a team sport

  • Set up one by oneThe same Jira MCP server, configured again in Claude Code, in Codex, in whatever the company bought. A new hire spends half a day on setup.
  • Nothing sticksWell-tuned skills sit in someone's ~/.claude and travel as zip files in group chats. Ten people, ten versions.
  • Secrets everywhereTo get an MCP server running, personal tokens end up in config files, in chats, in commits.
  • No idea what worksRoll out a batch of skills, and the only way to learn which ones fail, or keep the AI redoing work, is to ask around.

02Solution · Intake

One depot,
checked at the door

Skills, MCP servers, workflows and agents go into one Git repository, through review, with versions: ten copies become one.

  • Intake checks stop plaintext secrets and dangerous commands; nothing blocked ever reaches anyone
  • Saving makes a draft; only publishing ships it. A rollback is just another release

03Solution · Ship

Write once,
ship to every tool

Adapters translate one resource into each tool's own format, organised by engineering stage as required, recommended or optional.

  • What a tool can't do is downgraded: Codex has no slash commands, so a workflow ships there as a skill of the same name
  • Switch tools without losing anything; a new tool needs just one adapter profile

04Solution · Feedback

Bring back
what works

Only metadata comes back: which resource, success or failure, how long it took.

  • A resource whose error rate crosses the line opens an issue for whoever maintains it
  • No prompts, code or call contents are collected; off by default, and every computer can opt out

What is Rigdepot

Rigdepot is an open-source tool for software teams that use AI coding agents: it keeps the team's skills, MCP servers, workflows and agents in one Git repository and installs them into Claude Code, Codex and OpenCode on each person's computer, showing every change before it is written and undoing all of it on request.

The problem
The same MCP server set up again in every tool, by every person; tuned skills that never get shared; tokens pasted into config files; and no one knows which resources work and which keep failing.
Supported tools
Claude Code, Codex and OpenCode, each verified against the real tool
Install
  • macOS / Linuxbrew install --cask code2rich/tap/rigdepot
  • Windows (preview)scoop bucket add code2rich https://github.com/code2rich/scoop-bucketscoop install code2rich/rigdepot
  • Script: download it, read it, then run itcurl -fsSLO https://raw.githubusercontent.com/code2rich/rigdepot/main/scripts/install.shsh install.sh
License & source
Apache-2.0, free · github.com/code2rich/rigdepot (opens in a new tab) · current version v0.1.0

05Architecture

One Git repository,
one local command,
server optional

Git is the source of truth; rgd writes it into each AI tool on each person's computer; the server only adds what a team needs to manage it. When the AI calls an MCP server, it connects from your computer straight to the target system.

AResource repo · Git

Source of truth

Resources are files, go through code review and ship as versions

  • skills/
  • mcp/
  • workflows/
  • agents/
  • knowledge/
  • rigdepot.yaml

BServer · optional

Team features

Self-host one; switch modules on as needed

  • Catalogby stage and scope
  • Versionsships on publish
  • Reviewa human before sharing
  • Secretsencrypted, owner only
  • Insightmetadata only
  • Auditappend-only

CYour computer · CLI

rgd

A single Go binary, no runtime dependencies

  • sync --planplan
  • syncwrite
  • uninstallundo
  • ~/.rigdepot/manifest

Secrets are injected at the moment of use, never written to config files

DAdapters · per tool

Each AI tool

  • Claude CodeSkill · slash command · MCP
  • Codexworkflows become skills
  • OpenCodeSkill · command · MCP
  • Yoursadd an adapter profile

Your own systems

Jira · GitLab · Confluence · test environments

pull ship write No server? rgd sync --repo reads Git directly Feedback · metadata only: resource, outcome, time MCP direct · no relay
  1. 01

    Works without a server

    Individuals and small groups need only a Git repository and the command line. The server adds scopes, review, secrets, insight and audit.

  2. 02

    The platform never sees content

    Only metadata comes back. Prompts, code, call arguments and results stay on your computer, and MCP traffic is never relayed through the platform.

  3. 03

    Secrets are injected locally

    A resource only declares what it needs; each person supplies their own value. rgd injects it at the moment of use, so nothing the AI can read holds a plaintext secret.

06Demos

Four scenarios,
step by step

Click through each one. The output in scenarios 1 to 3 is verbatim from rgd v0.1.0 on a real computer, using the sample resources in the open-source repo; it was run with --lang zh-CN, so it is in Chinese (rgd speaks English too). Usage insight in scenario 4 is on the roadmap and not released yet, so its data is illustrative. The company, 示例科技 (“Example Tech”), and its people are fictional.

1Sync to this computer

Before anything is written,
you see the list

rgd sync --plan runs the adapters for real in a temporary directory and diffs the result against what is there, changing nothing. Click the three moments above the list, then toggle “Allow changes to global config” and compare.

  • Preview before writingthe preview runs the same code as the real write
  • Everything can be undonergd uninstall reverts exactly what the manifest lists
  • No silent global changesonly rgd- prefixed entries, backed up and asked first

Verbatim rgd v0.1.0 output (--lang zh-CN) · sample repo examples/resources · the Claude Code, Codex and OpenCode on this computer

2Intake check

A skill arrives with a plaintext token
and is stopped at the door

The checks are deterministic rules, not a model's judgement, and your computer runs the same ones as the server. A version that fails never reaches anyone.

$git push origin skill/jira-triage

adds skills/jira-triage/ · 2 files · merge request !214

skills/jira-triage/SKILL.mdnew file · 18 lines

  1. 2name: jira-triage
  2. 3description: 处理 Jira 工单
  3. ⋯
  4. 14## 怎么连 Jira
  5. 16调接口时带上这个请求头:
  6. 17Authorization: Bearer <40 位随机字符>
  7. 18地址:https://jira.example.com/rest/api/2

→ the merge request triggers the intake check

$rgd check skills/jira-triage

检查了 skills/jira-triage 里的 1 个资源,规则集 v1

!建议修复descriptionSKILL.md:3描述说了这个技能做什么,没说什么时候用。加一句「在……时使用」。

!建议修复descriptionSKILL.md:3描述只有 10 个字,至少要 20 个字,AI 工具才知道什么时候用它。

✗必须修复secretsSKILL.md:17一段 40 个字符的随机字符串,可能是凭证。改为用 ${secret:名字} 引用个人密钥。

必须修复 1 项 · 建议修复 2 项 · 退出码 4

Publishing blockedA resource with a must-fix problem cannot be published. This version reaches no one.

The author makes the two suggested fixes and pushes again

SKILL.md2 changes

  1. −description: 处理 Jira 工单
  2. +description: 分诊新进的 Jira 缺陷:查重、补全复现步骤、建议负责模块。用户说「看看这个缺陷」时使用
  3. −调接口时带上这个请求头:
  4. −Authorization: Bearer <40 位随机字符>
  5. +调接口时带上这个请求头(令牌由 rgd 在本机填入,这里不写):
  6. +Authorization: Bearer ${secret:JIRA_API_TOKEN}

rigdepot.yamldefined once in the repo: what it is called and where to get it, never the value

  1. secrets:
  2. JIRA_API_TOKEN:
  3. label: Jira API 令牌
  4. howto: Jira → 个人设置 → 安全 → API 令牌

$rgd check skills/jira-triage

检查了 skills/jira-triage 里的 1 个资源,规则集 v1

✓通过没有要修的。

exit code 0 · the server runs the same rule set before publishing

jira-triagePublished · Shop · required

Review
merge request !214 approved and imported as a new version
Delivery
members of Shop get it on their next rgd sync
Secrets
the file holds only the reference ${secret:JIRA_API_TOKEN}; each person sets their own value with rgd secret set JIRA_API_TOKEN, kept on their own computer only

3One workflow, at home in every tool

One “change to merge” workflow,
in the shape each tool understands

The workflow is written once. In Claude Code and OpenCode it becomes a slash command; Codex has no slash commands, so there it becomes a skill of the same name. The steps are not in these files: each time the AI runs rgd flow next it gets one step, and it does not get the next until the checks of the last one pass.

Source · written once (excerpt)

workflows/change-to-merge.yaml

  1. meta:
  2. name: 从改动到合并
  3. summary: 补单元测试 → 提交前自查 → 由人确认后再提合并请求
  4. try: /rgd-change-to-merge SHOP-1287
  5. steps:
  6. - use: unit-testing
  7. checks:
  8. - { text: 单元测试全部通过, by: command, run: "./gradlew test -q" }
  9. - use: code-review
  10. checks:
  11. - { text: 自查结论已由人确认, by: human }
  12. forbid: [推送代码, 提交合并请求]
  13. then: confirm

In Claude Code · slash command

  • ~/.claude/
  • commands/
  • rgd-change-to-merge.mdnew file
  • skills/
  • rgd-unit-testing/skills it uses, installed in the same sync
  • rgd-code-review/same
  1. ---
  2. description: "补单元测试 → 提交前自查 → 由人确认后再提合并请求 — 改完一个任务,准备提合并请求时 (workflow 从改动到合并, 2 steps)"
  3. ---
  4. # 从改动到合并
  5. The workflow has 2 steps. You do not get them all at once: the command line hands them out one at a time, and only once the checks of the step before have passed.
  6. 1. In the project's directory, run:
  7. rgd flow next change-to-merge

How to usetype /rgd-change-to-merge SHOP-1287

In Codex · downgraded to a skill

  • ~/.agents/skills/
  • rgd-change-to-merge/SKILL.mdnew directory · this tool has no slash commands, so the workflow ships as a skill of the same name
  • rgd-unit-testing/skills it uses
  • rgd-code-review/same
  1. ---
  2. name: "rgd-change-to-merge"
  3. description: "补单元测试 → 提交前自查 → 由人确认后再提合并请求 — 改完一个任务,准备提合并请求时 (workflow 从改动到合并, 2 steps)"
  4. ---
  5. # 从改动到合并
  6. This is a workflow. Follow it when the person asks for "从改动到合并" or names `rgd-change-to-merge`.
  7. 1. In the project's directory, run:
  8. rgd flow next change-to-merge

How to usesay “从改动到合并” (the workflow's name), or name rgd-change-to-merge

In OpenCode · command

  • ~/.config/opencode/
  • commands/
  • rgd-change-to-merge.mdnew file · byte-for-byte the same as Claude Code's
  • ~/.claude/skills/
  • rgd-unit-testing/OpenCode reads it from here too; no second copy
  1. ---
  2. description: "补单元测试 → 提交前自查 → 由人确认后再提合并请求 — 改完一个任务,准备提合并请求时 (workflow 从改动到合并, 2 steps)"
  3. ---
  4. # 从改动到合并
  5. The workflow has 2 steps. You do not get them all at once: the command line hands them out one at a time, and only once the checks of the step before have passed.
  6. 1. In the project's directory, run:
  7. rgd flow next change-to-merge

How to usetype /rgd-change-to-merge SHOP-1287

The AI runs, in the project directory

$rgd flow next change-to-merge

  1. 从改动到合并 · 第 1 步(共 2 步)
  2. 用 Skill rgd-unit-testing(单元测试) 来做
  3. 还会用到 知识库 rgd-eng-handbook(研发规范手册) —— 这台电脑上没装:请本人运行「rgd enable eng-handbook」再同步
  4. 这一步结束时的检查项:
  5. - 新增和改动的逻辑都有单元测试 · 由你自查:给出证据
  6. - 单元测试全部通过 · 由 rgd 执行:./gradlew test -q
  7. 只做这一步。做完后运行「rgd flow next change-to-merge」。

Thenrun it again once the step is done: rgd runs command checks itself, self-checks need --evidence, and human sign-offs get --confirmed only after the person says yes

4Feedback and issues · roadmap, not yet released

An MCP server crosses its error threshold,
and an issue opens itself

Each call reports back only a few fields. When the error rate stays over the line, the evidence is gathered into an issue for the maintainer; once it is fixed, the issue closes itself.

Confluence MCP · daily error rate4.8%

Everything a call reports

  1. mcp/confluenceClaude Codefailed10.0s · timeout
  2. mcp/jiraCodexok0.8s
  3. mcp/confluenceCodexfailed10.0s · timeout
  4. skill/unit-testingOpenCodeok41s
  5. mcp/confluenceOpenCodefailed0.3s · 401

No prompts, no code, no call arguments or results.

Last 7 days

Calls
412
Errors
142
Error rate
34.5%
Threshold
30%

Over the lineAbove the threshold three days running, affecting 63 people.

Issue #42 · opened automatically · high

Confluence MCP keeps failing to connect

412 calls in the last 7 days, 142 errors: an error rate of 34.5%, above the 30% threshold. 63 people affected.

  • 118connection timeout (10 s)
  • 24401 unauthorized

Assigned to the maintainer · Platform teamAttached: breakdown by tool and version

confluence v5Published

Changed
timeout raised from 10 s to 30 s; an expired token now asks you to reconfigure instead of failing with 401
Result
error rate back below 6%
Issue
#42 closed automatically after three days below the threshold

07Prototype

Don't imagine it,
click through it

Every page of the console is a clickable prototype: catalog, onboarding, sync preview, usage insight, review. The data belongs to Example Tech, a fictional company, and nothing talks to a backend. It also sketches the Environments page planned for v0.2: how dev, test, staging and production, with their databases and servers, are handed to the AI, with production described but never connected.

hub.example.comClickable prototype · all demo data is fictional
Open the prototype

08Open source

Fully open source.
What you say now gets built

The whole project is Apache-2.0: self-host it, use it commercially, fork it. There is no paid edition and no API reserved for paying users; optional modules are simply off by default and need no licence to switch on. Agents write, review and release the code; people set the direction and make the calls, and accepted feedback becomes tasks.

License
Apache-2.0
Self-host
Yes
Commercial use
Yes
Fork
Yes
Paid edition
None
  1. Source on GitHub, v0.1.0 released

    Both the command line rgd and the server rgd-server are ready to install. On macOS and Linux, Homebrew: brew install --cask code2rich/tap/rigdepot; on Windows, Scoop; or install from a server your team runs. Packages for every platform, checksums and the container image are on the releases page.

    View source (opens in a new tab) Downloads and release notes (opens in a new tab)
  2. Tell us where your team gets stuck

    Which tools, how many people, which step hurts most. If the tool you use is not listed, tell us too: an adapter profile for it can be your first pull request, and the steps are in the repo's CONTRIBUTING guide.

    Send feedback

Find it useful? Give it a star on GitHub.It helps more teams find it.

Star (opens in a new tab)

FAQ

What is Rigdepot?

Rigdepot is an open-source tool for software teams that use AI coding agents. It keeps the team's skills, MCP servers, workflows and agents in one Git repository and, with the command line rgd, installs them into Claude Code, Codex and OpenCode on each person's computer, showing every change before it is written and undoing all of it on request. An optional self-hosted server adds access scopes, personal secrets, review, audit and feedback.

How is it different from maintaining ~/.claude and friends by hand?

By hand, the same MCP server is set up in every tool by every person, in different formats and at different versions, often with tokens written straight into config files. With Rigdepot a resource is written once in a reviewed, versioned Git repository, and rgd writes it into each tool in that tool's own format: you preview first with rgd sync --plan, every write is recorded in a local manifest, global config only gains or loses prefixed entries (backed up, and only with your permission), values you set yourself are never overwritten, and personal secrets are injected on your machine only.

Which AI coding tools does it support?

v0.1.0 supports Claude Code, Codex and OpenCode, each verified against the real tool. Where a tool lacks a feature, the resource is downgraded and you are told: Codex has no slash commands, so a workflow ships there as a skill of the same name. Only tools installed on the computer are written to, and --tool limits a sync to some of them. More adapters are on the roadmap. The command line runs on macOS, Linux and Windows; Windows is a preview in this version, with known limitations in the release notes (opens in a new tab).

Do I need to run a server?

No. rgd sync --repo installs straight from any Git repository you can clone, or from a local directory; preview, status and drift detection, intake checks and uninstall all work. When the team wants a shared catalog, access scopes, personal secrets, review, audit and feedback, self-host rgd-server (Docker Compose, the container image, or Debian / RPM packages).

How do I uninstall it?

rgd uninstall reverts everything listed in the local manifest and touches nothing else. Then remove the command itself: brew uninstall --cask rigdepot if you used Homebrew, scoop uninstall rigdepot for Scoop, or delete ~/.local/bin/rgd if you used the script.

Is it open source? Does it cost anything?

Fully open source under Apache-2.0, and free: self-host it, use it commercially, fork it. There is no paid edition and no API reserved for paying users; optional modules are simply off by default and need no licence to switch on. The source is on GitHub (opens in a new tab).

How is it different from the AI tools' official plugin marketplaces?

An official marketplace serves only its own tool, with no organisation-level scopes, secrets, review or feedback. We treat marketplaces as delivery channels: where a tool has a native plugin mechanism, the adapter generates a plugin for it and installs it with the tool's own command.

Loading dock open

Where does
your team get stuck?