aoa-config-doctor
Diagnose AoA Codex wiring when shared launcher skills or AoA MCP servers are missing, misnamed, or disconnected. Use when /mcp is incomplete, dependencies do not resolve, or a skill should work but does not.
- License 许可
- Apache-2.0
- 最近更新
- 2026-07-15
- Stars
- ★ 15
- Forks
- 1
01 前言 Front Matter
- name
- aoa-config-doctor
- description
- Diagnose AoA Codex wiring when shared launcher skills or AoA MCP servers are missing, misnamed, or disconnected. Use when /mcp is incomplete, dependencies do not resolve, or a skill should work but does not.
02 资源文件 1
- 参考文档agents/openai.yaml368 B
03 SKILL.md 正文
AoA Config Doctor
Diagnose the wiring instead of guessing.
First checks
- Confirm the user is inside the intended AoA workspace.
- Ask Codex to show
/mcpand/skills. - Check that the expected MCP names are present:
aoa_workspaceaoa_statsdionysus
If local shell access is appropriate
Recommend the smallest real validators that already exist in the workspace:
WORKSPACE_ROOT="$(
python - <<'PY'
from pathlib import Path
start = Path.cwd().resolve()
for candidate in [start, *start.parents]:
if not (candidate / "AOA_WORKSPACE_ROOT").exists():
continue
if (
(candidate / "aoa-sdk").exists()
and (candidate / "aoa-skills").exists()
and (candidate / ".codex").exists()
):
print(candidate)
break
else:
raise SystemExit("Could not find an AoA workspace root above the current directory.")
PY
)"
python "$WORKSPACE_ROOT/.codex/scripts/aoa_codex_doctor.py" \
--workspace-root "$WORKSPACE_ROOT" \
--write-report
python "$WORKSPACE_ROOT/aoa-skills/scripts/validate_skill_mcp_wiring.py" \
--workspace-config "$WORKSPACE_ROOT/.codex/config.toml" \
--paths "$WORKSPACE_ROOT"/.codex/plugins/aoa-shared-launchers/skills/*/agents/openai.yaml \
--format text
Use the first command for workspace-root Codex seam drift. Use the second command when the plugin is visible but MCP dependency names or skill metadata still look wrong.
Output contract
Return:
- What is missing
- Whether the problem is skill discovery or MCP wiring
- Exact path to fix first
- Shortest verification step
Boundary rules
- Prefer naming mismatches and path mismatches over vague blame.
- Do not recommend duplicating shared skills into every repo unless there is a clear reason.
04 同仓库更多 Skills
deploy-app
Deploy the application to staging or production environments.
deploy
Deploy the application to environments.
building-native-ui
Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.
create-section
Use when creating a new section for the AI Workshop presentation. Guides through title slide setup, layout choices, and content gathering. Activates when user wants to add a new topic section to the slideshow.
ship-checker
Run a full pre-ship review for this repo. Use when asked if a change is ready to deploy, publish, or ship.
lint-check
Run repository linters and report failures.