strain

strain is a skill for Claude Code from jovesun-lab/whetstone. It costs 162 tokens per session (4,065 once invoked), scanned A, original, MIT.

A session-health check that measures how heavily a single conversation is loaded and reports a strain tier. It is intended to warn before a long session's answers become less reliable.

In plain words
What is it for?
It checks the session after configured tool-call ticks or hard warning signals, such as a discovered factual error, and tells the user when wrapping up or starting fresh may be appropriate.
Why use it?
It makes degradation signals visible instead of letting the conversation continue silently after errors, repetition, or context overload. Its measurement belongs to one session and is not combined across windows.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Part of the strain plugin — 2 skills shipped together

Good fit It checks the session after configured tool-call ticks or hard warning signals, such as a discovered factual error, and tells the user when wrapping up or starting fresh may be appropriate.

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

Made for: Claude Code.

Or install strain, the plugin that ships this one along with the rest of its 2 skills.

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 strain

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jovesun-lab/whetstone/strain"><img src="https://agentmods.dev/badge/skills/jovesun-lab/whetstone/strain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,065 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.00162 $0.04065
Opus 5.5 $0.00065 $0.01626
Sonnet 5.5 $0.00032 $0.00813
Haiku 4.5 $0.00016 $0.00407

Measured 22d ago against content hash 693c0dd87dff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

strain 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 22d 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.

strain/skills/strain/SKILL.md · 283 lines

How it starts

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

Strain

Project policy comes first

Before following measurement or threshold instructions below, read the effective project policy and current session mode. In off mode do not create new plugin records. In record-only mode retain sign/start/end/error and explicit handoff records, but do not measure context, ratify tiers, print percentages, or initiate backup/handoff from errors or fill. Handoff requires the user's instruction. Do not interpret RECORD-ONLY as Healthy or UNMEASURED. Do not enable a paused heartbeat because a user returned. The legacy measured behavior below applies only when the resolved policy permits it. See ../../wiki/README.md for fields, commands and deployment limits.

A long session degrades before it fails. The context window fills, the same problem comes back a third time, an earlier answer turns out to be wrong — and the work keeps going, because nothing in the loop is watching the loop. Strain is the thing that watches: a small, countable reading of how loaded this conversation has become, reported on a schedule, in a form the user can act on.

The failure this exists to prevent is not a crash. It is silence — the agent that never mentions the session has gone bad, and lets the user find out from the output.

The one rule

One session, one reading. Strain measures a single conversation, identified by its session id. Two agents working the same project in two windows are two sessions and their counts never add up. If you cannot tell which session a number belongs to, it is not a measurement.

Every place below that asks you to DO something is a numbered procedure. Follow the steps in order and do not skip one because it seems implied. Every command you need is printed, filled in, in the latest strain tick — copy it from there (it carries this session's key, the state folder and the plugin's path).

At the start of a session

The full steps — sign, ask permission, offer the instruction file — are in the strain:start skill. In short:

Read the full file on GitHub · 283 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. 22d ago Changed · +5 lines 693c0dd87dff
  2. 1mo ago Changed · +5 lines f6f6e120016d
  3. 1mo ago Changed · +1 lines 7084f6f8ba78
  4. 2mo ago Changed · +57 lines · +7 tokens per session 4b0481b0f023
  5. 2mo ago Changed · +14 lines e5799239399b
  6. 2mo ago Changed · +8 lines 9042750f7219
  7. 2mo ago Changed · +9 lines fe7adc91d3ef
  8. 2mo ago Changed · +14 lines b2a52ecdfa21
  9. 2mo ago Changed · +20 lines d1a705dfe752
  10. 3mo ago First seen · 150 lines · 155 tokens per session scan A 1ce20fd79d50

Subscribe to this mod's changes

strain is a skill published in the GitHub repository jovesun-lab/whetstone (8 stars, last pushed 24d ago), licensed MIT. It adds 162 tokens to every session and 4,065 once invoked, about $0.0006 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

strain compared with skills from other repositories

strain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
strainjovesun-lab/whetstoneSkill824d agoMITA162Claude Code
cast-eodcodecast-sh/codecastSkill52todayMITA71Claude Code
cast-passcodecast-sh/codecastSkill52todayMITA71Claude Code
cast-morningcodecast-sh/codecastSkill52todayMITA0Claude Code
peon-ping-togglePeonPing/peon-pingSkill5.1k24d agoMITA58Claude Code
peon-ping-logPeonPing/peon-pingSkill5.1k24d agoMITA64Claude Code
resume-builderdavekilleen/DexSkill522yesterdayMITA12Claude Code, Codex