About setup-arcreel-skills
setup-arcreel-skills guides an agent to connect its host to ArcReel and persist the same connection for the current workspace. It checks existing settings, handles API key safeguards, and verifies the setup by listing projects.
Key features
- 01Checks host and workspace settings
- 02Validates endpoint and API key format
- 03Persists a streamable HTTP connection
- 04Guides repository secret safeguards
- 05Verifies setup with `list_projects`
Use cases
- 01Connect an agent host to ArcReel
- 02Align workspace settings with an existing MCP connection
- 03Avoid committing API keys in repository configuration
MCP support
The skill configures the host to connect to ArcReel as a streamable HTTP MCP server, using a Bearer API key. It verifies the connection by calling `list_projects`.
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ arcreel/ skills --skill setup-arcreel-skillsAfter installing, type/setup-arcreel-skillsin Claude Code to confirm it loaded.
Bundled filesagents/openai.yaml
Details
From the project README接入 ArcReel
将当前 Agent 宿主连接到 ArcReel,并为当前工作区持久化同一连接。
配置
- 检查宿主中名为
arcreel的 MCP 配置与当前工作区的.arcreel/settings.json。两处连接完全一致时复用;值缺失时再询问用户,任一值不一致时请用户选择后同步。 - 确认 MCP 端点以
/mcp结尾、API Key 以arc-开头。端点使用https;回环端点可使用http。 - 使用宿主原生的持久配置方式,添加名为
arcreel的 streamable HTTP 服务,并把 API Key 作为 Bearer 凭证持久化(可明文)。若宿主支持 MCP 工具调用超时,设为至少600秒。 - 按当前工作区的本地配置惯例写入
.arcreel/settings.json,仅保存同一连接的mcp_url与api_key。 - 写入 API Key 后,处理第 3、4 步写入的文件中位于 Git 仓库内的那些,例如 Claude Code 项目范围的
.mcp.json与.arcreel/settings.json。每个文件须同时满足两点:仓库内的.gitignore有规则忽略它,用git check-ignore -v --no-index看命中来源,只命中全局 excludes 或.git/info/exclude的不算,这些规则不随仓库走;它没有被跟踪,git ls-files能列出的须git rm --cached,否则修改仍会被提交。列出不满足的文件与需要的操作,提醒用户处理,或改用仓库外的配置位置;用户明确同意后才可代为执行,用户拒绝或未答复时不改动。已跟踪的文件若在历史提交中含有同一个 API Key,停止跟踪不会清除历史,提醒用户到 ArcReel 撤销该令牌并重新创建。
验证
按宿主的生效方式加载配置,再无参数调用 list_projects。返回结构化 projects 列表,且宿主 MCP 与工作区配置指向同一实例时即完成;空列表有效。已有配置满足这些条件时无需改写。
Comments
Markdown supported