session-health

session-health is a skill for Claude Code from flonat/flonat-research. It costs 58 tokens per session (995 once invoked), scanned A, original, MIT.

A diagnostic check for whether a coding session has clear instructions, a focused task, a safe handoff state, and the right project context. It also checks for an active plan and recent session log.

In plain words
What is it for?
Use it when starting, resuming, or diagnosing a session that has lost focus or context.
Why use it?
It helps detect confused or poorly documented sessions before work continues. This reduces the risk of making changes with missing guidance or unclear ownership.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md; $skill-name invocation.

Good fit Use it when starting, resuming, or diagnosing a session that has lost focus or context.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flonat/flonat-research/session-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 flonat/flonat-research --skill session-health
Clone the repo
git clone --depth 1 https://github.com/flonat/flonat-research

Made for: Claude Code.

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 session-health

README.md
[![agentmods](https://agentmods.dev/badge/skills/flonat/flonat-research/session-health/github.svg)](https://agentmods.dev/skills/flonat/flonat-research/session-health)
Your own site
<a href="https://agentmods.dev/skills/flonat/flonat-research/session-health"><img src="https://agentmods.dev/badge/skills/flonat/flonat-research/session-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 session-health

Your own site · 80×15
<a href="https://agentmods.dev/skills/flonat/flonat-research/session-health"><img src="https://agentmods.dev/badge/skills/flonat/flonat-research/session-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 995 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00058 $0.00995
Opus 5 $0.00029 $0.00498
Sonnet 5 $0.00012 $0.00199
Haiku 4.5 $0.00006 $0.00100

Measured 8d ago against content hash 3537d0e51589, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

session-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 8d ago.

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/session-health/SKILL.md · 116 lines

How it starts

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

Context Status: Session Health Check

On-demand diagnostic showing context usage, preservation state, and open work items. Fast and lightweight — no vault queries.

What to Check

1. Context Usage Estimate (host-aware)

Use the active client's native context meter when it is exposed. A client adapter may provide a tool-call counter, but it is optional and must never be treated as shared memory. If no meter is available, report SKIPPED (client does not expose context telemetry); do not guess a percentage from conversation length.

Calculate:

  • Tool calls so far
  • Estimated percentage (calls / 150)
  • Which thresholds have fired (from the fired array)
  • Time since last warning

2. Active Plan

Find the latest file in log/plans/:

  • If found: show filename, first 3 lines, and whether it contains "APPROVED" or is still "DRAFT"
  • If none: report "No active plan"

3. Latest Session Log

Find the latest non-compact .md file in log/ (skip files with -compact in the name):

  • If found: show filename and first 3 lines
  • If none: report "No session log found"

4. Focus Freshness

Check when .context/current-focus.md was last modified:

  • Show the modification date
  • If older than 3 days: warn "Focus file is stale — consider running update-focus"
  • Show the first 5 lines (headline)

5. Preservation and Continuity

Verify the client-neutral continuity files first: applicable root guidance, .context/ai-handoff.md, .context/current-focus.md, latest approved plan, and portable memory index. Then read docs/reference/ai-surface-availability.md or run the staged AI-infrastructure doctor to report each client hook adapter as CONFIGURED, UNAVAILABLE, or NOT APPLICABLE. Missing optional lifecycle hooks are informational when the files-first layer is healthy.

6. Open Loops

Count unchecked items (- [ ]) in .context/current-focus.md:

  • Report the count
  • If > 5: warn "Many open loops — consider triaging"

Output Format

Present as a compact status panel:

Read the full file on GitHub · 116 lines

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. 8d ago First seen · 116 lines · 58 tokens per session scan A 3537d0e51589

Subscribe to this mod's changes

session-health is a skill published in the GitHub repository flonat/flonat-research (133 stars, last pushed 17d ago), licensed MIT. It adds 58 tokens to every session and 995 once invoked, about $0.0003 per session on Opus 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-09-03.

Related

Other skills, from other repositories