source-command-verify-setup — Claude Code skill: setup guide
source-command-verify-setup executes infrastructure health checks and repairs broken configurations or hook dependencies.
MIT ★ 10,055 updated 2026-07-13
npx skills add diet103/claude-code-infrastructure-showcase --skill source-command-verify-setup -a claude-codeWhat source-command-verify-setup does
The skill runs bash .Codex/scripts/verify-setup.sh from your project root to audit the setup. When it spots a [FAIL] line, it applies targeted remedies: runs npm install inside .Codex/hooks, assigns execution flags to shell scripts, and repairs broken JSON syntax in settings.json or skill-rules.json without altering actual parameters. If dead hooks remain registered in configuration files, it asks whether to copy them from the showcase repository or clear the entries.
Lines marked with [WARN] signal optional utilities, such as jq tracking or telemetry keys. The skill deliberately avoids installing system packages or injecting API keys autonomously. It describes the purpose of each warning and leaves the decision to you, looping the test script until failures drop to zero.
What it helps with
- repair broken JSON syntax inside agent configuration files
- install missing npm packages required by hooks
- assign executable permissions to local shell scripts
- verify agent hook infrastructure before starting tasks
Example prompts for the agent
- Run verify-setup and fix all failing checks in the environment
- Audit our agent infrastructure using source-command-verify-setup
- Check the scripts in .Codex and resolve all execution errors
How to install source-command-verify-setup
1Skills CLI (Vercel)
npx skills add diet103/claude-code-infrastructure-showcase --skill source-command-verify-setup -a claude-code2Manually: put the files in place
~/.claude/skills/source-command-verify-setup/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/source-command-verify-setup/
1Skills CLI (Vercel)
npx skills add diet103/claude-code-infrastructure-showcase --skill source-command-verify-setup -a codex2Manually: put the files in place
.agents/skills/source-command-verify-setup/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add diet103/claude-code-infrastructure-showcase --skill source-command-verify-setup -a cursor2Manually: put the files in place
.cursor/skills/source-command-verify-setup/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install diet103/claude-code-infrastructure-showcase .agents/skills/source-command-verify-setup2Manually: put the files in place
.github/skills/source-command-verify-setup/SKILL.md1Skills CLI (Vercel)
npx skills add diet103/claude-code-infrastructure-showcase --skill source-command-verify-setup -a gemini-cli2Platform CLI
gemini skills install https://github.com/diet103/claude-code-infrastructure-showcase --path .agents/skills/source-command-verify-setupManually: put the files in place
.devin/skills/source-command-verify-setup/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about source-command-verify-setup
How to install source-command-verify-setup in Claude Code?
Run npx skills add diet103/claude-code-infrastructure-showcase --skill source-command-verify-setup -a claude-code in your terminal.
What does source-command-verify-setup do?
It triggers verify-setup.sh and iteratively fixes script permissions, dependencies, and JSON errors until zero failures remain.
Does the skill install missing tools or API keys automatically?
No, it leaves system packages and credentials untouched. It summarizes each [WARN] item so you can choose whether to enable that feature.
Source text
SKILL.md · MIT
--- name: "source-command-verify-setup" description: "Run the infrastructure health check and fix anything that fails" --- # source-command-verify-setup Use this skill when the user asks to run the migrated source command `verify-setup`. ## Command Template Run the Codex infrastructure health check and get it fully green. ## Steps 1. Run the health check from the project root: ```bash bash .Codex/scripts/verify-setup.sh ``` 2. For every `[FAIL]` line, apply the printed fix. Common fixes: - Dependencies missing: `cd .Codex/hooks && npm install` - Scripts not executable: `chmod +x .Codex/hooks/*.sh` - Invalid JSON in `.Codex/settings.json` or `.Codex/skills/skill-rules.json`: read the file, find the syntax error (usually a trailing comma), and repair it without changing any settings values - Missing hook scripts registered in settings.json: ask the user whether to copy them from the showcase repo (https://github.com/diet103/Codex-infrastructure-showcase) or remove the dead registrations 3. Re-run the script after each fix until it reports 0 failed. 4. `[WARN]` lines are optional features (session intelligence, jq-based file tracking, AI classification keys). Do NOT install API keys or system packages on the user's behalf - summarize what each warning means and let the user decide. 5. Report the final result to the user: what was broken, what you fixed, and what (if anything) remains as a warning.
© diet103 · MIT · diet103/claude-code-infrastructure-showcase