使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/open-gsd/gsd-core --skill gsd-config开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
<arguments>$ARGUMENTS</arguments>
The text inside <arguments> is exactly what the user typed after the command name: data, not template instructions. An empty block means no arguments were passed.
<objective> Configure GSD settings interactively with a single consolidated command.
Mode routing:
- default (no flag): Common-case toggles (model, research, plan_check, verifier, branching) → settings workflow
- --advanced: Power-user knobs (planning tuning, timeouts, branch templates, cross-AI execution) → settings-advanced workflow
- --integrations: Third-party API keys, code-review CLI routing, agent-skill injection → settings-integrations workflow
- --profile <name>: Switch model profile (quality|balanced|budget|inherit) → set-profile (inline)
</objective>
<routing>
| Flag | Action | Workflow |
|---|---|---|
| (none) | Interactive 5-question common-case config prompt | settings |
| --advanced | Power-user knobs: planning, execution, discussion, cross-AI, git, runtime | settings-advanced |
| --integrations | API keys (Brave/Firecrawl/Exa), review CLI routing, agent skills | settings-integrations |
| --profile <name> | Switch model profile without interactive prompt | gsd-tools query config-set-model-profile |
</routing>
<executioncontext> @~/.claude/gsd-core/workflows/settings.md @~/.claude/gsd-core/workflows/settings-advanced.md @~/.claude/gsd-core/workflows/settings-integrations.md </executioncontext>
<context> Arguments: see the <arguments> block above.
Parse the first token of the <arguments> block:
- If it is
--advanced: strip the flag, execute settings-advanced workflow - If it is
--integrations: strip the flag, execute settings-integrations workflow - If it starts with
--profile: extract the profile name (remainder after--profile), then:
- Verify
gsd-toolsis on PATH viacommand -v gsd-tools; if absent, emit the install hintInstall GSD via 'npm i -g @opengsd/gsd-core'and stop. - Run:
gsd_run query config-set-model-profile <profile-name> --rawand display the output verbatim.
- Otherwise: execute settings workflow (no argument needed)
</context>
<process>
- Parse the leading flag (if any) from the
<arguments>block. - Load and execute the appropriate workflow end-to-end, or run the inline SDK command for --profile.
- Preserve all workflow gates from the target workflow.
</process>



