attention-reset

attention-reset is a skill for Claude Code from ihabkhaled/AI-Psychiatry. It costs 29 tokens per session (204 once invoked), scanned A, original, MIT.

A short reset procedure for work disrupted by switching objectives, chasing new ideas, or opening too many optional branches. It narrows the work back to one goal, one active item, and one next action.

In plain words
What is it for?
Use it when coding or research has drifted across unrelated tasks, when optional ideas keep interrupting progress, or when you need to resume a clear next step.
Why use it?
It prevents distraction from becoming another planning loop. Irrelevant branches are set aside so delivery can continue on the highest-value remaining requirement.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-psychiatry plugin — 55 skills shipped together

Good fit Use it when coding or research has drifted across unrelated tasks, when optional ideas keep interrupting progress, or when you need to resume a clear next step.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ihabkhaled/ai-psychiatry/attention-reset
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 ihabkhaled/AI-Psychiatry --skill attention-reset
Clone the repo
git clone --depth 1 https://github.com/ihabkhaled/AI-Psychiatry

Made for: Claude Code.

Or install ai-psychiatry, the plugin that ships this one along with the rest of its 55 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 attention-reset

README.md
[![agentmods](https://agentmods.dev/badge/skills/ihabkhaled/ai-psychiatry/attention-reset/github.svg)](https://agentmods.dev/skills/ihabkhaled/ai-psychiatry/attention-reset)
Your own site
<a href="https://agentmods.dev/skills/ihabkhaled/ai-psychiatry/attention-reset"><img src="https://agentmods.dev/badge/skills/ihabkhaled/ai-psychiatry/attention-reset/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 attention-reset

Your own site · 80×15
<a href="https://agentmods.dev/skills/ihabkhaled/ai-psychiatry/attention-reset"><img src="https://agentmods.dev/badge/skills/ihabkhaled/ai-psychiatry/attention-reset.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 204 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.00029 $0.00204
Opus 5 $0.00015 $0.00102
Sonnet 5 $0.00006 $0.00041
Haiku 4.5 $0.00003 $0.00020

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

Security

Grade A, and why

attention-reset 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 11d 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.

.ai/skills/attention-reset/SKILL.md · 37 lines

What it actually says

Attention Reset

Core principle

Freeze, recall the goal, close irrelevant branches, choose the highest-value remaining action, and resume without making the reset another loop.

Procedure

  1. Freeze new searches and edits.
  2. Restate objective, completed requirements, remaining requirements, and actual blocker.
  3. Classify the current branch.
  4. Park optional or unrelated branches with evidence.
  5. Reduce active work to one required item.
  6. Resume the shortest evidence-producing action.

Required output

One-line goal, branch classification, parked findings, and one resumed action.

Limits

Keep the reset concise; WIP returns to 1.

Common mistakes

Do not open more context during reset or regenerate the whole plan.

Stop condition

Stop when one objective, one active item, and one direct next action remain.

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. 11d ago First seen · 37 lines · 29 tokens per session scan A 9bef0fa633aa

Subscribe to this mod's changes

attention-reset is a skill published in the GitHub repository ihabkhaled/AI-Psychiatry (3 stars, last pushed 27d ago), licensed MIT. It adds 29 tokens to every session and 204 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

todos

This chat has a shared, live TODO plan — your tasks for the conversation, which the user also edits. Read this skill and reach for the todo tools whenever a request takes more than a couple of steps. It covers the plan model (group = task, items = its steps; loose items are the user's lane), how to work it: propose…

JetBrains/thinkrail · 127 tokens

community

Use when building or running a persistent two-way community space — Discord, Telegram, Circle: platform choice, structure, onboarding, native→bot→human moderation, rituals, growth loops, health metrics. NOT churn of paying product customers (that is retention), NOT broadcast email (that is newsletter), NOT one live…

ericrisco/rsc-harness · 77 tokens

parallel

Use when two or more pieces of work are genuinely independent — disjoint files, no shared state, no ordering edge — and should fan out across subagents, then be gathered and reconciled under a combined test suite. Decides WHAT can run concurrently; NOT the isolation it runs in (that is worktrees), NOT the per-unit TDD…

ericrisco/rsc-harness · 80 tokens

automation-flows

Use when building or fixing a no-code automation on n8n, Make, or Zapier — trigger to multi-app steps with data mapping, dedup, retries and an error path — or picking the platform by billing unit (task vs credit vs execution). NOT a typed API client in code (that is api-connector-builder), NOT a webhook receiver in…

ericrisco/rsc-harness · 85 tokens

calendar-scheduling

Use when a product needs a booking surface — a pick-a-slot page, a Cal.com/Calendly embed, or real availability plus the confirmed meeting written to Google/Outlook — or when fixing double-booking, DST drift, or orphaned reschedule events. NOT calendar CRUD with no booking surface (that is google-workspace), NOT the…

ericrisco/rsc-harness · 83 tokens

orient

Always-on. The brújula: close every turn by situating the person — where they are, what just happened, why it mattered, and the next step as a question, never a dead end. Reads the accompaniment and technical dials from 02-DOCS and calibrates how much it explains, rewriting the dial when the user asks for more or…

ericrisco/rsc-harness · 89 tokens