health

health is a skill for Claude Code from 7xmohamed/Kata. It costs 43 tokens per session (1,228 once invoked), scanned A, original, MIT.

A health-audit skill for checking the six layers of a Kata AI configuration: project instructions, rules, skills, hooks, subagents, and verifiers.

In plain words
What is it for?
Use it to collect and audit the current configuration, classify the project by complexity, and identify the layer that needs correction.
Why use it?
It helps explain why an agent ignores instructions, behaves inconsistently, has malfunctioning hooks, or uses MCP services incorrectly.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: mentions subagents; mentions Gemini CLI.

Good fit Use it to collect and audit the current configuration, classify the project by complexity, and identify the layer that needs correction.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/7xmohamed/kata/health
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 7xmohamed/Kata --skill health
Clone the repo
git clone --depth 1 https://github.com/7xmohamed/Kata

Made for: Claude Code.

Its marketplace also offers this one on its own, as the plugin health — /plugin install health after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for health

README.md
[![agentmods](https://agentmods.dev/badge/skills/7xmohamed/kata/health/github.svg)](https://agentmods.dev/skills/7xmohamed/kata/health)
Your own site
<a href="https://agentmods.dev/skills/7xmohamed/kata/health"><img src="https://agentmods.dev/badge/skills/7xmohamed/kata/health/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for health

Your own site · 80×15
<a href="https://agentmods.dev/skills/7xmohamed/kata/health"><img src="https://agentmods.dev/badge/skills/7xmohamed/kata/health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,228 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.01228
Opus 5.5 $0.00017 $0.00491
Sonnet 5.5 $0.00009 $0.00246
Haiku 4.5 $0.00004 $0.00123

Measured 1mo ago against content hash 10ffd3e235d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

health scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/collect-data.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/health/SKILL.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Health: Audit and Fix Your AI Configuration

Prefix your first line with ⚔️ inline, not as its own paragraph.

Audit the current project's Kata setup against the six-layer framework: GEMINI.md → rules → skills → hooks → subagents → verifiers

Find violations. Identify the misaligned layer. Calibrate to project complexity only.

Output language: Check in order: (1) GEMINI.md ## Communication rule (global over local); (2) user's recent language; (3) English.

Step 0: Assess project tier

Pick one. Apply only that tier's requirements.

Tier Signal What's expected
Simple <500 files, 1 contributor, no CI GEMINI.md only; 0-1 skills; hooks optional
Standard 500-5K files, small team or CI GEMINI.md + 1-2 rules; 2-4 skills; basic hooks
Complex >5K files, multi-contributor, active CI Full six-layer setup required

Step 1: Collect data

Run the collection script. Do not interpret yet.

bash "${GEMINI_SKILL_DIR:-$HOME/.agents/skills/health}/scripts/collect-data.sh"

Sections may show (unavailable) when tools are missing:

  • jq missing → conversation sections unavailable
  • python3 missing → MCP/hooks/allowedTools sections unavailable
  • settings.local.json absent → hooks/MCP may be unavailable (normal for global-only setups)

Treat (unavailable) as insufficient data, not a finding. Do not flag those areas.

Step 1b: MCP Live Check

Test every MCP server: call one harmless tool per server. Record live=yes/no with error detail. Respect enabled: false (skip without flagging). For API keys, only check if the env var is set (echo $VAR | head -c 5), never print full keys.

Step 2: Analyze

Confirm the tier. Then route:

  • Simple: Analyze locally. No subagents.
  • Standard/Complex: Launch two subagents in parallel. Redact credentials to [REDACTED].
    • Agent 1 (Context + Security): Read agents/inspector-context.md. Feed CONVERSATION SIGNALS section.
    • Agent 2 (Control + Behavior): Read agents/inspector-control.md. Feed detected tier.
  • Fallback: If a subagent fails, analyze that layer locally and note "(analyzed locally)".

Read the full file on GitHub · 123 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 123 lines · 43 tokens per session scan A 10ffd3e235d5

Subscribe to this mod's changes

health is a skill published in the GitHub repository 7xmohamed/Kata (1 stars, last pushed 4mo ago), licensed MIT. It adds 43 tokens to every session and 1,228 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

cmux-capture

Screenshot or record a cmux window from the CLI, for a pull request, a bug report, or to see what the app actually looks like right now. Use when a change is visual, when a drag or an animation cannot be described in text, or when a reviewer needs evidence rather than a claim.

manaflow-ai/cmux · 67 tokens

product-design-director

Define product UX and visual direction from user goals, brand evidence, states, responsiveness, and accessibility. Use when the main question is what the experience should communicate or feel like.

cmdr-chara/codex-toolkit · 40 tokens

screenshot-to-interface

Reconstruct a maintainable interface from screenshots or visual references. Use when fidelity to supplied visual evidence is the primary requirement.

cmdr-chara/codex-toolkit · 29 tokens

code_explorer

Explores the repository to locate primary source files, coupled UI components, and test files for bug reports or feature requests.

google-gemini/gemini-cli · 28 tokens

liquid-glass

Apple Liquid Glass design system. Use when building UI with translucent, depth-aware glass morphism following Apple's design language. Provides CSS tokens, component patterns, dark/light mode, and animation specs.

fengshao1227/ccg-workflow · 43 tokens

critique

Evaluate design from a UX perspective, assessing visual hierarchy, information architecture, emotional resonance, cognitive load, and overall quality with quantitative scoring, persona-based testing, and actionable feedback. Use when the user asks to review, critique, evaluate, or give feedback on a design or…

fengshao1227/ccg-workflow · 59 tokens