Gad360/apothem
GitHub: Gad360/apothem
Apothem 是一个统一管理多种 AI 编码工具配置的 CLI 工具,通过单一共享配置文件自动适配并同步到十一个不同工具的原生配置目录,消除手动维护多套配置的漂移问题。
Stars: 0 | Forks: 0
A
A --> CC["~/.claude/
Claude Code"] A --> CU["~/.cursor/
Cursor"] A --> GE["~/.gemini/
Gemini CLI"] A --> CO["~/.codex/
Codex"] A --> WI["~/.windsurf/
Windsurf"] A --> GC["~/.github/copilot/
GitHub Copilot"] A --> OC["~/.opencode/
OpenCode"] A --> AG["~/.antigravity/
Antigravity"] A --> OW["~/.openclaw/
Open-Claw"] A --> HE["~/.hermes/
Hermes"] A --> QW["~/.qwen/
Qwen Code"] ``` 每个 harness 都有自己的专属适配器,该适配器: - **映射** 配置元素(rules、skills、agents、hooks)到 harness 的原生原语上。 - **转换** 共享 schema 与 harness 预期的文件系统布局。 - **干净地还原** 卸载操作——不会留下孤立文件,无需手动清理。 - **验证** 安装时、更新时以及按需验证。 阅读 [架构概述](https://apothem.ahmedgad.com/architecture/) 以获取深入的演练说明。 ## 支持的 harness | Harness | 适配器状态 | 具象化根目录 | |---|:---:|---| | Claude Code | ✅ 稳定 | `~/.claude/` | | Cursor | ✅ 稳定 | `~/.cursor/` | | Gemini CLI | ✅ 稳定 | `~/.gemini/` | | GitHub Copilot | ✅ 稳定 | `~/.github/copilot/` | | Codex | ✅ 稳定 | `~/.codex/` | | Windsurf | ✅ 稳定 | `~/.windsurf/` | | OpenCode | ✅ 稳定 | `~/.opencode/` | | Antigravity | ✅ 稳定 | `~/.antigravity/` | | Open-Claw | ✅ 稳定 | `~/.openclaw/` | | Hermes | ✅ 稳定 | `~/.hermes/` | | Qwen Code | ✅ 稳定 | `~/.qwen/` | 适配器位于 [`src/apothem/adapters/`](src/apothem/adapters/)。想要编写新适配器?请参阅 [新 harness 适配器编写 runbook](https://apothem.ahmedgad.com/runbooks/new-harness-adapter-authoring/)。 ## 更新 ``` apothem update --self # bring the apothem CLI itself current apothem update --harness all # propagate profile changes to every harness apothem update --harness cursor # update one specific harness apothem update --dry-run --harness all # preview what would change ``` ## 卸载 ``` apothem uninstall --harness all # remove apothem-managed surfaces from every harness ``` 由操作员确认的逐文件破坏性提示会保护您所做的任何本地编辑。带有时间戳的备份默认存放在 `~/.apothem/backups/YYYY-MM-DDTHHMMSSZ/`;使用 `--no-backup` 可选择永久删除。 要移除 CLI 本身,请使用您的包管理器(`pipx uninstall apothem`、`npm uninstall -g apothem`、`brew uninstall apothem` 等)。 ## 文档 完整的文档站点位于 [**apothem.ahmedgad.com**](https://apothem.ahmedgad.com/): - [入门指南](https://apothem.ahmedgad.com/install/) — 安装、harness 设置、第一个配置文件。 - [CLI 参考](https://apothem.ahmedgad.com/cli-reference/) — 每个子命令、每个标志。 - [架构](https://apothem.ahmedgad.com/architecture/) — 适配器契约、配置文件 schema、源码布局。 - [概念](https://apothem.ahmedgad.com/concepts/) — AI 平台不可知论、review-fortress、认知身份、严肃度层级。 - [Pipeline 命令](https://apothem.ahmedgad.com/pipeline/) — `/plan-spec`、`/plan-generate`、`/plan-review`、`/plan-execute`、`/plan-status` 以及 audit-fortress 家族。 - [Runbook](https://apothem.ahmedgad.com/runbooks/) — 适配器编写、发布工程、安全响应的操作指南。 ## 项目状态 | 表面 | 状态 | |---|---| | CLI | 稳定。在 v0.x 版本遵循 Semver;v1.0 将冻结公共 API。 | | 适配器生态 | 已上线十一个 harness;欢迎通过 PR 提交新适配器。 | | 文档 | 全面;随每次发布同步修订。 | | 供应链 | 追踪 OpenSSF Scorecard;每个发布产物均具有 SLSA-3 来源 + Sigstore 签名;发布 CycloneDX SBOM。 | | 发布 | GPG 签名标签;PEP-740 PyPI 证明;已签名的 Homebrew formula + Scoop manifest + WinGet manifest。 | ## 贡献 欢迎贡献。简短版本如下: 1. 阅读 [`CONTRIBUTING.md`](CONTRIBUTING.md)。 2. 在投入时间提交 PR 之前,先开启一个讨论或 issue 描述您提议的更改。 3. 遵循代码库已确立的约定——每次更改都必须随附测试、文档、CHANGELOG 条目,并在同一个 PR 中通过 CI。 4. 新的 harness 适配器请遵循 [适配器编写 runbook](https://apothem.ahmedgad.com/runbooks/new-harness-adapter-authoring/)。 报告安全漏洞?请参阅 [`SECURITY.md`](SECURITY.md) 了解协调披露协议。 ## 许可证 [MIT](LICENSE) © [Ahmed G. Gad](https://ahmedgad.com)。 第三方许可证已按照 [REUSE](https://reuse.software/) 规范编目于 [`LICENSES/`](LICENSES/) 目录下。 ## 致谢 apothem 建立在 AI 工具生态系统的开放基础之上:每个受支持的 harness 都是由其各自的创建者编写和维护的独立项目。适配器层在不同的 schema 之间进行转换;harness 本身的功劳归属于其原作者。
Claude Code"] A --> CU["~/.cursor/
Cursor"] A --> GE["~/.gemini/
Gemini CLI"] A --> CO["~/.codex/
Codex"] A --> WI["~/.windsurf/
Windsurf"] A --> GC["~/.github/copilot/
GitHub Copilot"] A --> OC["~/.opencode/
OpenCode"] A --> AG["~/.antigravity/
Antigravity"] A --> OW["~/.openclaw/
Open-Claw"] A --> HE["~/.hermes/
Hermes"] A --> QW["~/.qwen/
Qwen Code"] ``` 每个 harness 都有自己的专属适配器,该适配器: - **映射** 配置元素(rules、skills、agents、hooks)到 harness 的原生原语上。 - **转换** 共享 schema 与 harness 预期的文件系统布局。 - **干净地还原** 卸载操作——不会留下孤立文件,无需手动清理。 - **验证** 安装时、更新时以及按需验证。 阅读 [架构概述](https://apothem.ahmedgad.com/architecture/) 以获取深入的演练说明。 ## 支持的 harness | Harness | 适配器状态 | 具象化根目录 | |---|:---:|---| | Claude Code | ✅ 稳定 | `~/.claude/` | | Cursor | ✅ 稳定 | `~/.cursor/` | | Gemini CLI | ✅ 稳定 | `~/.gemini/` | | GitHub Copilot | ✅ 稳定 | `~/.github/copilot/` | | Codex | ✅ 稳定 | `~/.codex/` | | Windsurf | ✅ 稳定 | `~/.windsurf/` | | OpenCode | ✅ 稳定 | `~/.opencode/` | | Antigravity | ✅ 稳定 | `~/.antigravity/` | | Open-Claw | ✅ 稳定 | `~/.openclaw/` | | Hermes | ✅ 稳定 | `~/.hermes/` | | Qwen Code | ✅ 稳定 | `~/.qwen/` | 适配器位于 [`src/apothem/adapters/`](src/apothem/adapters/)。想要编写新适配器?请参阅 [新 harness 适配器编写 runbook](https://apothem.ahmedgad.com/runbooks/new-harness-adapter-authoring/)。 ## 更新 ``` apothem update --self # bring the apothem CLI itself current apothem update --harness all # propagate profile changes to every harness apothem update --harness cursor # update one specific harness apothem update --dry-run --harness all # preview what would change ``` ## 卸载 ``` apothem uninstall --harness all # remove apothem-managed surfaces from every harness ``` 由操作员确认的逐文件破坏性提示会保护您所做的任何本地编辑。带有时间戳的备份默认存放在 `~/.apothem/backups/YYYY-MM-DDTHHMMSSZ/`;使用 `--no-backup` 可选择永久删除。 要移除 CLI 本身,请使用您的包管理器(`pipx uninstall apothem`、`npm uninstall -g apothem`、`brew uninstall apothem` 等)。 ## 文档 完整的文档站点位于 [**apothem.ahmedgad.com**](https://apothem.ahmedgad.com/): - [入门指南](https://apothem.ahmedgad.com/install/) — 安装、harness 设置、第一个配置文件。 - [CLI 参考](https://apothem.ahmedgad.com/cli-reference/) — 每个子命令、每个标志。 - [架构](https://apothem.ahmedgad.com/architecture/) — 适配器契约、配置文件 schema、源码布局。 - [概念](https://apothem.ahmedgad.com/concepts/) — AI 平台不可知论、review-fortress、认知身份、严肃度层级。 - [Pipeline 命令](https://apothem.ahmedgad.com/pipeline/) — `/plan-spec`、`/plan-generate`、`/plan-review`、`/plan-execute`、`/plan-status` 以及 audit-fortress 家族。 - [Runbook](https://apothem.ahmedgad.com/runbooks/) — 适配器编写、发布工程、安全响应的操作指南。 ## 项目状态 | 表面 | 状态 | |---|---| | CLI | 稳定。在 v0.x 版本遵循 Semver;v1.0 将冻结公共 API。 | | 适配器生态 | 已上线十一个 harness;欢迎通过 PR 提交新适配器。 | | 文档 | 全面;随每次发布同步修订。 | | 供应链 | 追踪 OpenSSF Scorecard;每个发布产物均具有 SLSA-3 来源 + Sigstore 签名;发布 CycloneDX SBOM。 | | 发布 | GPG 签名标签;PEP-740 PyPI 证明;已签名的 Homebrew formula + Scoop manifest + WinGet manifest。 | ## 贡献 欢迎贡献。简短版本如下: 1. 阅读 [`CONTRIBUTING.md`](CONTRIBUTING.md)。 2. 在投入时间提交 PR 之前,先开启一个讨论或 issue 描述您提议的更改。 3. 遵循代码库已确立的约定——每次更改都必须随附测试、文档、CHANGELOG 条目,并在同一个 PR 中通过 CI。 4. 新的 harness 适配器请遵循 [适配器编写 runbook](https://apothem.ahmedgad.com/runbooks/new-harness-adapter-authoring/)。 报告安全漏洞?请参阅 [`SECURITY.md`](SECURITY.md) 了解协调披露协议。 ## 许可证 [MIT](LICENSE) © [Ahmed G. Gad](https://ahmedgad.com)。 第三方许可证已按照 [REUSE](https://reuse.software/) 规范编目于 [`LICENSES/`](LICENSES/) 目录下。 ## 致谢 apothem 建立在 AI 工具生态系统的开放基础之上:每个受支持的 harness 都是由其各自的创建者编写和维护的独立项目。适配器层在不同的 schema 之间进行转换;harness 本身的功劳归属于其原作者。
标签:AI编程, AI辅助开发, Cilium, GNU通用公共许可证, MIT协议, Node.js, NPM, PyPI, Python, SOC Prime, 代码生成, 威胁情报, 安全评分, 工具链, 工程效率, 开发工具, 开发者工具, 开源, 文档结构分析, 无后门, 模板引擎, 渗透测试工具, 网络调试, 自动化, 逆向工具, 配置文件管理