health
- Repo stars 0
- Author updated Live
- Author repo skills-registry
- Domain
- Security
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @tomevault-io · no license declared
- Token usage
- Lean
- Setup complexity
- Guided setup
- External API key
- Not required
- Operating systems
- macOS · Linux · Windows
- Runtime requirements
- Node.js
- Permissions
-
- Read-only
- Shell exec
- Write / modify
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: health
description: Verify Codex configuration health — AGENTS.md, hooks, config.toml, agents, skills, secrets scan…
category: security
runtime: Node.js
---
# health output preview
## PART A: Task fit
- Use case: Verify Codex configuration health — AGENTS.md, hooks, config.toml, agents, skills, secrets scan, and MCP reachability. Reports ✅/⚠️/❌ for each check. Use when this capability is needed..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Steps / 1. AGENTS.md / 2. config.toml” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Verify Codex configuration health — AGENTS.md, hooks, config.toml, agents, skills, secrets scan, and MCP reachability. Reports ✅/⚠️/❌ for each check. Use when this capability is needed.”.
- **02** When the source has headings, the agent prioritizes “Steps / 1. AGENTS.md / 2. config.toml” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, run shell commands, write/modify files; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, run shell commands, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, run shell commands, write/modify files.
Start with a small task and check whether the result follows “Steps / 1. AGENTS.md / 2. config.toml”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: health
description: Verify Codex configuration health — AGENTS.md, hooks, config.toml, agents, skills, secrets scan…
category: security
source: tomevault-io/skills-registry
---
# health
## When to use
- Verify Codex configuration health — AGENTS.md, hooks, config.toml, agents, skills, secrets scan, and MCP reachability.…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Steps / 1. AGENTS.md / 2. config.toml” and keep inference separate from source facts.
- read files, run shell commands, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "health" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Steps / 1. AGENTS.md / 2. config.toml
rules -> SKILL.md triggers / order / output contract
runtime -> Node.js | read files, run shell commands, write/modify files | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} Health Skill — Codex Configuration Validation
Verify that the Codex Brain configuration is healthy and complete.
Steps
1. AGENTS.md
- Exists and is not empty
- Line count:
wc -l < AGENTS.md - Size:
wc -c < AGENTS.md(budget: ≤32KB = 32768 bytes) - Contains key sections: Skills Roster, Exit Checklist, Terminal Rules
2. config.toml
.codex/config.tomlexists and is valid TOML- Has
#:schemadirective on first line - Has
codex_hooks = trueunder[features]
3. hooks.json
.codex/hooks.jsonexists and is valid JSON:jq . .codex/hooks.json- Hook count:
jq '[.. | objects | select(has("command"))] | length' .codex/hooks.json
4. Hook Scripts
- All
.codex/hooks/*.shfiles exist and are executable:for h in .codex/hooks/*.sh; do test -x "$h" || echo "NOT_EXEC: $h"; done
5. Subagents
- All
.codex/agents/*.tomlfiles exist - Each has
name,description,developer_instructionsfields:for f in .codex/agents/*.toml; do grep -q 'developer_instructions' "$f" || echo "INCOMPLETE: $f"; done
6. Skills
- All
.agents/skills/*/SKILL.mdfiles exist - Each has
name:anddescription:in frontmatter:for f in .agents/skills/*/SKILL.md; do grep -q '^name:' "$f" || echo "BAD FRONTMATTER: $f"; done
7. Error Log
brain/tasks/CODEX_ERRORS.mdexists (warn if missing)
8. Secrets Scan
git ls-files | xargs grep -l 'BEGIN.*PRIVATE KEY\|password\s*=\s*[^{][^"\x27]\{8,\}' 2>/dev/null | head -10
Report any matches as ⚠️ warnings.
9. MCP Tool Reachability
Check that the required runtimes are available (all MCP tools run via uvx or npx):
command -v uvx &>/dev/null && echo "uvx: ✅" || echo "uvx: ❌ missing — install via: pip install uv"
command -v npx &>/dev/null && echo "npx: ✅" || echo "npx: ⚠️ missing — install Node.js (for playwright)"
command -v ccc &>/dev/null && echo "cocoindex CLI (ccc): ✅" || echo "cocoindex CLI (ccc): ⚠️ optional — install via: pip install cocoindex"
# uvx-based: codebase-memory-mcp, code-review-graph, serena, cocoindex-code-mcp-server (available when uvx installed)
Report Format
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Codex Health — <repo>
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
AGENTS.md budget ✅ 187 lines / 4.2KB (budget: 32KB)
config.toml ✅ valid + schema directive
hooks.json ✅ valid JSON, 9 hooks registered
Hook scripts ✅ 9/9 executable
Subagents ✅ 5/5 complete
Skills ✅ 30/30 have valid frontmatter
Error log ✅ CODEX_ERRORS.md exists
Secrets scan ✅ no leaks detected
codebase-memory-mcp ⚠️ missing — run setup-plugins.sh
cocoindex (ccc) ✅ installed
code-review-graph ✅ installed
uvx (playwright/serena) ✅ installed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Overall: ⚠️ healthy with 1 warning
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
After the table, list any ⚠️/❌ items with one-line fix instructions.
Source: brain-bootstrap/codex-brain-bootstrap — distributed by TomeVault.
Decide Fit First
Design Intent
How To Use It
Boundaries And Review