treat

treat is a skill for Claude Code from Ruya-AI/cozempic. It costs 25 tokens per session (547 once invoked), scanned A, original, MIT.

A session-cleanup command that applies a selected pruning prescription to the current coding-agent conversation.

In plain words
What is it for?
Use it when you want to reduce the size of the current session but stay in the same terminal or resume it manually later.
Why use it?
Long sessions may contain repeated text, outdated file reads, and progress notes that make them larger than necessary. Pruning removes that material and creates a backup before applying the change.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the cozempic plugin — 5 skills shipped together

Good fit Use it when you want to reduce the size of the current session but stay in the same terminal or resume it manually later.

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

Made for: Claude Code.

Or install cozempic, the plugin that ships this one along with the rest of its 5 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 treat

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ruya-ai/cozempic/treat"><img src="https://agentmods.dev/badge/skills/ruya-ai/cozempic/treat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 547 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.00025 $0.00547
Opus 5 $0.00013 $0.00273
Sonnet 5 $0.00005 $0.00109
Haiku 4.5 $0.00003 $0.00055

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

Security

Grade A, and why

treat 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.

plugin/skills/treat/SKILL.md · 52 lines

What it actually says

Apply a pruning prescription to the current session. Default is standard if no argument given.

When to use treat vs reload: prefer the reload skill — it does the same prune plus auto-resume in one step (/exit → new terminal opens with the pruned session). Use treat only when the user explicitly wants to stay in the current session, work in a multi-pane setup, or resume manually.

Steps

  1. Diagnose first — show the user what they're working with:

    cozempic current --diagnose
    
  2. Dry-run the treatment — show savings without applying:

    cozempic treat current -rx $ARGUMENTS
    

    If no argument was provided, use standard:

    cozempic treat current -rx standard
    
  3. Show results — present the dry-run output including token savings (the Tokens: line). Always surface both byte and token savings.

  4. Ask confirmation — use AskUserQuestion to confirm before applying.

  5. Apply on confirmation:

    cozempic treat current -rx $ARGUMENTS --execute
    
  6. Tell the user: "Treatment applied. A backup was created automatically. To resume with the pruned session, exit and run claude --resume. (Tip: next time, the reload skill does this in one step — /exit and a fresh terminal opens automatically.)"

Prescriptions

Rx Strategies Typical Savings
gentle progress-collapse, file-history-dedup, metadata-strip 40-55%
standard gentle + thinking-blocks, tool-output-trim, stale-reads, system-reminder-dedup 50-70%
aggressive standard + error-retry-collapse, document-dedup, mega-block-trim, envelope-strip 70-95%

Safety

  • Always dry-run first — never execute without showing the user what will change
  • Backups are automatic (timestamped .bak files)
  • Never touches uuid/parentUuid — conversation DAG stays intact
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 · 52 lines · 25 tokens per session scan A 69a920a25190

Subscribe to this mod's changes

treat is a skill published in the GitHub repository Ruya-AI/cozempic (413 stars, last pushed 2mo ago), licensed MIT. It adds 25 tokens to every session and 547 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-30.

Related

Other skills, from other repositories

hermes

Send Telegram messages from an agent through the Hermes MCP telegram tool, with the Hermes CLI (@andrebuilds/hermes) as a fallback. Use when a user asks to send a Telegram message, mentions Hermes, wants to interact with the Hermes toolset, asks to verify Hermes manually, or needs to choose between the Hermes MCP and…

andrebuilds/hermes · 75 tokens

session-manager

A fallback skill for recording development sessions and restoring project context from an Obsidian vault, a folder of linked notes. It handles explicit resume, handoff, status, and end-of-session requests when automatic capture is unavailable.

Enakoneschniy/claude-dev-stack · 108 tokens

budget-continue

Show 4-option continuation prompt when session budget is low. Options: remind later (CronCreate), auto-continue locally (Desktop task), auto-continue in cloud (Cloud task), continue now. Trigger when: budget warning fires, session limit reached, context is full, user sees budget warning.

Enakoneschniy/claude-dev-stack · 64 tokens

agency-multi-brand-pack

Per-client asset templates scoped by workspace.

PicsArt/gen-ai-skills · 14 tokens

shell-scripting

A guide to writing Bash shell scripts, which automate command-line tasks on Linux and similar systems. It covers variables, arrays, conditions, loops, functions, and safer script structure.

chaterm/terminal-skills · 13 tokens

weekly-report

A command that creates a Markdown weekly report from recent coding-agent sessions. It summarizes the work, decisions, projects, outputs, token use, work patterns, and suggested next steps.

daisyyang1109-super/mirror-viewer · 109 tokens