# Config health

> Config health is an open-source agent skill for developer tools. Startup checks that flag broken Claude Code hook paths, dead rule files and stale rules. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/smartworldarafath/REA_Skill/tree/main/.agents/skills/config-health
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** config-health
- **Collection:** https://github.com/smartworldarafath/REA_Skill
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Config Health is a soft monitoring layer for Claude Code. At session start it audits the hook commands in the settings files, checking whether each script a hook references exists on disk, and it verifies that rule files named in CLAUDE.md are present. It also looks for rules whose fire counter has stayed at zero across recent recorded sessions, flagging them as possibly dead. Findings are warnings only and never block the session, so it complements the session-end gate by catching drift early.

The monitor resolves hook paths the way a shell would, expanding home, project and plugin-root placeholders, and it reports what it could not judge, such as unresolved placeholders, unclosed quotes and JavaScript or Python inline bodies. An optional per-tool mode can run the same audit before each Edit or Write call, but it is not wired by default because it adds process overhead on every call.

The skill runs a Python entry point with helper modules, and it expects Python 3 and a Claude Code installation with settings files and a rule-health log. It is intended for Claude Code only, and it is installed either through an ECC module or copied by hand.

## When your agent uses it

> Runtime configuration integrity monitoring for Claude Code. Detects config drift, rule staleness, and hook wiring gaps at startup, with an optional per-tool mode. Complements delivery-gate with startup soft monitoring.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/config-health)
- [License: MIT](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/config-health)

## Features

- **Hook wiring audit:** Checks that every script referenced by a hook command exists, expanding common path placeholders.
- **Rule file check:** Confirms that rules/*.md files referenced from CLAUDE.md are present on disk.
- **Rule staleness detection:** Flags rules whose fire counter stayed at zero across the last five complex recorded sessions.
- **Soft startup warnings:** Reports findings as warnings at session start without blocking work.
- **Blind-spot reporting:** The --check mode lists hook paths and commands the monitor could not judge.
- **Optional per-tool mode:** An opt-in PreToolUse wiring runs the audit before matched Edit and Write calls.

## Good for

- Find hook scripts that were deleted or moved after a plugin update
- Check whether rule files referenced in CLAUDE.md still exist
- Spot rules that have not fired in recent sessions
- Diagnose why Claude Code hooks have silently stopped running

## Install

### Claude Code

This skill ships in the `rea-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath
```

Or copy only this skill to `~/.claude/skills/config-health`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/config-health &&
cp -R "$tmp/.agents/skills/config-health" ~/.claude/skills/config-health &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/config-health` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/config-health` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/config-health &&
cp -R "$tmp/.agents/skills/config-health" ~/.agents/skills/config-health &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/config-health` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/config-health` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/config-health &&
cp -R "$tmp/.agents/skills/config-health" ~/.cursor/skills/config-health &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/config-health` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/config-health
```

Or copy the folder to `~/.gemini/skills/config-health` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/config-health`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/config-health &&
cp -R "$tmp/.agents/skills/config-health" ~/.copilot/skills/config-health &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/config-health` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git
```

Then copy `REA_Skill/.agents/skills/config-health` into your agent's skills folder as `config-health`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Config health run?

By default it runs as a SessionStart hook, scanning once per session. An optional PreToolUse mode can run before matched Edit and Write calls but is not recommended by default.

### Does Config health block my session if it finds a problem?

No. It only prints soft warnings and exits with status 0 for findings.

### Which settings does Config health read?

It reads settings.json in the user and project directories, .claude/settings.local.json in the project directory, the plugin hooks file when a plugin root is set, CLAUDE.md, and the rule-health log.

### What does Config health need to run?

It is a Python script with three helper modules that must sit in the same directory. It is designed for Claude Code and is not wired for other clients.

### How do I install Config health in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/config-health to use it in all your projects, or to .claude/skills/config-health in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

### Does Config health run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Config health?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Config health?

The closest alternatives to Config health are Config gc, Writing hooks, Code health, Lifecycle audit and Claude settings audit.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Config gc](https://ai-powered.com/skills/config-gc): Config gc is an open-source agent skill for developer tools.
- [Writing hooks](https://ai-powered.com/skills/writing-hooks-xiaolai): Writing hooks is an open-source agent skill for developer tools.
- [Code health](https://ai-powered.com/skills/code-health): Code health is an open-source agent skill for developer tools.
- [Lifecycle audit](https://ai-powered.com/skills/lifecycle-audit): Lifecycle audit is an open-source agent skill for developer tools.
- [Claude settings audit](https://ai-powered.com/skills/claude-settings-audit): Claude settings audit is an open-source agent skill for ai models and llm tooling.
- [Codehealth MCP](https://ai-powered.com/skills/codehealth-mcp): Codehealth MCP is an open-source agent skill for developer tools.
- [Baton setup](https://ai-powered.com/skills/baton-setup): Baton setup is an open-source agent skill for developer tools.
- [Maintenance](https://ai-powered.com/skills/maintenance-chachamaru127-2): Maintenance is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/config-health
