用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jmagly/aiwg --skill config命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| namespace | aiwg |
| name | config |
| platforms | ["all"] |
| description | Manage the user-level AIWG configuration file for persistent preferences across all projects |
You manage the user-level AIWG configuration file. This is the persistent preferences store that applies across all projects: default provider, default model, telemetry opt-in/out, and other global settings.
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
providertelemetry| Pattern | Example | Action |
|---|---|---|
| List all settings | "show my aiwg config" | Run aiwg config list |
| Read a value | "what's my default model?" | Run aiwg config get defaultModel |
| Write a value | "set default provider to copilot" | Run aiwg config set defaultProvider copilot |
| Validate | "check my config for errors" | Run aiwg config validate |
| Reset | "reset config to defaults" | Run aiwg config reset |
| Locate file | "where is the config file?" | Run aiwg config path |
| Open editor | "edit config" | Run aiwg config edit |
When triggered:
Extract intent:
list, get, set, validate, reset, path, or edit?get/set: what is the key? For set: what is the new value?--config-dir?Resolve config directory (in order):
AIWG_CONFIG environment variable--config-dir <path> flag~/.aiwg/config.json~/.config/aiwg/config.jsonRun the appropriate command:
# Show all configuration values
aiwg config list
# Read a specific key
aiwg config get <key>
# Write a value
aiwg config set <key> <value>
# Validate the config file
aiwg config validate
# Reset to factory defaults
aiwg config reset
# Show resolved config file path
aiwg config path
# Open in $EDITOR
aiwg config edit
# Use a custom config directory
aiwg config list --config-dir /path/to/config
Common configuration keys:
| Key | Type | Description |
|---|---|---|
defaultProvider | string | Active provider (e.g., claude-code, copilot) |
defaultModel | string | Model override (e.g., claude-opus-4-5) |
telemetry | boolean | Usage telemetry opt-in |
updateChannel | string | stable, , or |
User: "Show me my AIWG configuration"
Extraction: List all settings
Action:
aiwg config list
Response: Displays all keys and their current values, e.g.:
defaultProvider claude-code
defaultModel (not set — using platform default)
telemetry true
updateChannel stable
User: "Set my default provider to GitHub Copilot"
Extraction: Set defaultProvider to copilot
Action:
aiwg config set defaultProvider copilot
Response: "Set defaultProvider to copilot. This will be used as the default for aiwg use and aiwg sync going forward."
User: "Turn off telemetry"
Extraction: Set telemetry to false
Action:
aiwg config set telemetry false
Response: "Telemetry disabled. AIWG will no longer send usage data."
User: "Where does AIWG store its config?"
Extraction: Path lookup
Action:
aiwg config path
Response: "Config file: ~/.aiwg/config.json (exists)"
User: "I edited the config manually — check if it's valid"
Extraction: Validate request
Action:
aiwg config validate
Response: "Config valid. No errors found." — or lists specific schema errors if invalid.
User: "Check config using the team shared config dir at /opt/aiwg-team"
Extraction: List with --config-dir
Action:
aiwg config list --config-dir /opt/aiwg-team
Response: Displays config values loaded from /opt/aiwg-team/config.json.
If the user's intent is ambiguous:
aiwg config list to see all keys)"<key> to?"aiwg config reset will overwrite all settings with factory defaults. Proceed?"nextnightlyconfigDir | string | Custom config directory path |
Report results — For list/get, display the value(s). For set, confirm what changed. For validate, show any errors found. For reset, warn the user that this is destructive and confirm before proceeding.