用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/merceralex397-collab/codex-claude-integration --skill codex-config命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | codex-config |
| description | View and modify Codex plugin settings for this session |
| user-invocable | true |
| allowed-tools | ["Read","Write","Bash"] |
Manage Codex plugin settings. View current configuration, override settings for the session, or edit the settings file.
/codex-config - Show current settings/codex-config <key>=<value> - Set value for this session/codex-config reset - Reset to file defaults/codex-config edit - Open settings file for editing/codex-config create - Create settings file from template/codex-config # Show all settings
/codex-config model=gpt-5.1-codex-max # Override model
/codex-config reasoning_effort=high # Override reasoning
/codex-config gates.enabled=test,lint # Set active gates
/codex-config reset # Reset session overrides
/codex-config create # Create settings file
Check if user settings file exists:
python scripts/settings_loader.py --check
Load and display current effective settings:
python scripts/settings_loader.py --json
Format output as a readable summary:
Codex Plugin Settings
=====================
Settings file: ~/.claude/codex-settings.toml [exists/not found]
Defaults:
model: gpt-5.2-codex
reasoning_effort: medium
verbosity: normal
Quality Gates:
enabled: test, lint
max_retries: 3
auto_iterate: true
Profiles:
quick: gpt-5.1-codex-mini (low reasoning)
standard: gpt-5.2-codex (medium reasoning)
deep: gpt-5.1-codex-max (high reasoning)
review: gpt-5.2 (medium reasoning)
Parse the argument and explain that the override applies to the current session only. Note: Session overrides are held in conversation context and need to be passed to subsequent /codex calls.
Display confirmation:
Session override set:
model = gpt-5.1-codex-max
This override applies to the current session only.
To make it permanent, run: /codex-config edit
Clear any session overrides and confirm:
Session overrides cleared.
Using settings from: ~/.claude/codex-settings.toml
cp <plugin_dir>/config/codex-settings.toml ~/.claude/codex-settings.toml
Created settings file: ~/.claude/codex-settings.toml
Edit this file to customize your Codex plugin settings.
| Setting | Values | Description |
|---|---|---|
model | gpt-5.2-codex, gpt-5.1-codex-max, gpt-5.1-codex-mini, gpt-5.2 | Default model |
reasoning_effort | low, medium, high, xhigh | Default reasoning level |
verbosity | quiet, normal, verbose | Output detail level |
| Setting | Values | Description |
|---|---|---|
enabled | Array of: test, lint, typecheck, security | Which gates to run |
max_retries | 1-10 | Retries per failing gate |
auto_iterate | true/false | Continue after gate failure |
Each profile can override:
model: Which Codex model to usereasoning_effort: How much reasoning to applytimeout: Max seconds to wait~/.claude/codex-settings.toml
This file is user-specific and is not overwritten by plugin updates.
These flags override settings for a single call:
| Flag | Effect |
|---|---|
--model=<model> | Override model |
--reasoning=<level> | Override reasoning effort |
--profile=<name> | Use specific profile |
--no-iterate | Skip quality gates |
--verbose | Show detailed output |
--quiet | Minimal output |