operational-state

operational-state is a skill for Claude Code from pitimon/8-habit-ai-dev. It costs 140 tokens per session (1,606 once invoked), scanned A, original, MIT.

An operations skill for classifying infrastructure and application findings by their actual state, such as an active incident, a watch item, a handoff, or a known accepted issue. It covers cases where a service appears healthy but a dependency or user-facing check is not.

In plain words
What is it for?
Use it before deployment changes, post-incident reports, or management updates when a finding has unclear impact, recurring symptoms, recovery, ownership, or operational status.
Why use it?
It prevents every alert from being treated as an immediate fix or closed as resolved, preserving the right ownership and next action.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the 8-habit-ai-dev plugin — 24 skills, 2 agents, 1 hook shipped together

Good fit Use it before deployment changes, post-incident reports, or management updates when a finding has unclear impact, recurring symptoms, recovery, ownership, or operational status.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add pitimon/8-habit-ai-dev
Claude Code
/plugin install 8-habit-ai-dev

Made for: Claude Code.

Or install 8-habit-ai-dev, the plugin that ships this one along with the rest of its 24 skills, 2 agents, 1 hook.

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 operational-state

README.md
[![agentmods](https://agentmods.dev/badge/skills/pitimon/8-habit-ai-dev/operational-state.svg)](https://agentmods.dev/skills/pitimon/8-habit-ai-dev/operational-state)
Your own site
<a href="https://agentmods.dev/skills/pitimon/8-habit-ai-dev/operational-state"><img src="https://agentmods.dev/badge/skills/pitimon/8-habit-ai-dev/operational-state.svg" alt="Measured on agentmods" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,606 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.00140 $0.01606
Opus 5 $0.00070 $0.00803
Sonnet 5 $0.00028 $0.00321
Haiku 4.5 $0.00014 $0.00161

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

Security

Grade A, and why

operational-state 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.

plugin/skills/operational-state/SKILL.md · 115 lines

How it starts

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

Operational State

Habits: H1 (Be Proactive) + H5 (Seek First to Understand) + H8 (Find Your Voice) | Anti-pattern: treating every operational signal as either "fix now" or "close"

When to Use

  • An alert, daily-fix item, health check, or ops finding needs classification before action.
  • The system is currently healthy but the signal recurs or could become noisy.
  • A pod/service says Running, but a mount path, dependency, endpoint, or user-visible check is unhealthy.
  • Ownership is unclear and the next step may be AppDev, Registry, vendor, or another team handoff.
  • A known issue should stay visible without counting as an active incident.
  • You need to distinguish report hygiene from a cluster/service mutation.

Use this before /deploy-guide for operational mutations, before /post-mortem for fixed incidents, and before /management-talk when leadership needs state wording.

When to Skip

  • The finding already has a validated root cause, approved fix, rollback plan, and current impact; go to /deploy-guide or /post-mortem.
  • The work is only a wording/status update with no operational ambiguity.
  • The user explicitly asks for an incident RCA after a validated fix; use /post-mortem.
  • The problem is a hard unknown-root-cause bug; use /diagnose first.

State Decision Process

  1. Capture the signal: symptom, source, timestamp, environment, owner candidate, and user/customer impact if any.
  2. Check current reality: fresh status, logs/events/metrics, and one independent confirmation when root cause or recovery is claimed.
  3. Choose exactly one current state from the table in reference.md.
  4. Name the evidence threshold that would promote, demote, close, or hand off the finding.
  5. Separate action classes:
    • report hygiene: docs, ticket wording, owner routing, alert wording
    • read-only validation: logs, metrics, dry-run, rendered config, endpoint check
    • mutation: deploy, restart, scale, config write, secret rotation, data repair
  6. Gate mutations: if production/shared infrastructure is involved, require explicit human approval plus rollback/mitigation notes before any write.

Read the full file on GitHub · 115 lines

Files

What ships with it

1 file 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. 8d ago First seen · 115 lines · 140 tokens per session scan A 9ab4e8ec9a00

Subscribe to this mod's changes

operational-state is a skill published in the GitHub repository pitimon/8-habit-ai-dev (3 stars, last pushed 1mo ago), licensed MIT. It adds 140 tokens to every session and 1,606 once invoked, about $0.0007 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-08-31.