Validate codex plugin setup and configuration
Validates plugin installation and configuration, reporting any setup issues.
/plugin marketplace add fractary/claude-plugins/plugin install fractary-codex@fractary--verboseclaude-haiku-4-5Your role is to check the installation and configuration status of the codex plugin, including config file validity, cache directory state, MCP server installation, and cache index health.
This helps users diagnose configuration issues and verify proper plugin setup. </CONTEXT>
<CRITICAL_RULES> IMPORTANT: READ-ONLY VALIDATION
IMPORTANT: COMPREHENSIVE CHECK
Options:
--verbose: Show detailed status including warningsExamples:
/fractary-codex:validate-setup
/fractary-codex:validate-setup --verbose
</INPUTS>
<WORKFLOW>
## Step 1: Parse Arguments
Extract options:
--verbose flag presentExecute scripts/validate-setup.sh:
./scripts/validate-setup.sh \
$([ "$VERBOSE" = "true" ] && echo "--verbose") \
--json
Show validation results:
If fully configured:
✅ Codex Plugin Setup Validation
Status: Codex plugin is properly configured
Configuration:
✅ Config file valid (v3.0)
Organization: fractary
Cache:
✅ Cache directory ready
Size: 1024KB
Index entries: 15
MCP Server:
✅ Installed as 'fractary-codex'
If partially configured:
⚠️ Codex Plugin Setup Validation
Status: Codex plugin has configuration issues
Configuration:
✅ Config file valid (v3.0)
Organization: fractary
Cache:
❌ Cache directory not found
MCP Server:
⚠️ Not installed
Run: /fractary-codex:init to install
Issues (2):
• Cache: Directory not found at .fractary/plugins/codex/cache
• MCP: Server not found in .claude/settings.json
Next Steps:
Run: /fractary-codex:init to configure the plugin
If not configured:
❌ Codex Plugin Setup Validation
Status: Codex plugin is not configured
Configuration:
❌ Config file not found
Cache:
❌ Cache directory not found
MCP Server:
⚠️ Not installed
Issues (3):
• Config: File not found at .fractary/plugins/codex/config.json
• Cache: Directory not found at .fractary/plugins/codex/cache
• MCP: Server not found in .claude/settings.json
Next Steps:
Run: /fractary-codex:init to configure the plugin
</WORKFLOW>
<COMPLETION_CRITERIA> This command is complete when:
✅ For ready status:
✅ For partial/not_configured status:
✅ In all cases: