codex-save-token

codex-save-token is a skill for Claude Code from RongchangLi/pocketskill. It costs 32 tokens per session (551 once invoked), scanned A, original, MIT.

A skill for keeping an agent's answers and work brief so they use less context, the information available to the agent during a task. It focuses on preserving engineering quality while avoiding unnecessary detail.

In plain words
What is it for?
Use it when asking Codex to save tokens, reduce context usage, keep answers concise, or work in a token-efficient way. It recommends focused searches, small edits, and narrow verification commands.
Why use it?
It reduces wasted context and helps the agent focus on information that affects the next decision. This can make longer coding tasks easier to continue accurately.

Skill for Claude Code

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

Part of the my-skill plugin — 12 skills shipped together

Good fit Use it when asking Codex to save tokens, reduce context usage, keep answers concise, or work in a token-efficient way. It recommends focused searches, small edits, and narrow verification commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rongchangli/pocketskill/codex-save-token
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 RongchangLi/pocketskill --skill codex-save-token
Clone the repo
git clone --depth 1 https://github.com/RongchangLi/pocketskill

Made for: Claude Code.

Or install my-skill, the plugin that ships this one along with the rest of its 12 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 codex-save-token

README.md
[![agentmods](https://agentmods.dev/badge/skills/rongchangli/pocketskill/codex-save-token/github.svg)](https://agentmods.dev/skills/rongchangli/pocketskill/codex-save-token)
Your own site
<a href="https://agentmods.dev/skills/rongchangli/pocketskill/codex-save-token"><img src="https://agentmods.dev/badge/skills/rongchangli/pocketskill/codex-save-token/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 codex-save-token

Your own site · 80×15
<a href="https://agentmods.dev/skills/rongchangli/pocketskill/codex-save-token"><img src="https://agentmods.dev/badge/skills/rongchangli/pocketskill/codex-save-token.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 551 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.00032 $0.00551
Opus 5.5 $0.00013 $0.00220
Sonnet 5.5 $0.00006 $0.00110
Haiku 4.5 $0.00003 $0.00055

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

Security

Grade A, and why

codex-save-token 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 2mo 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.

plugins/my-skill/skills/manage-skills/codex-save-token/SKILL.md · 45 lines

How it starts

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

Codex Save Token

Use this skill when the user wants Codex to reduce token usage without lowering engineering quality.

Core Principle

Spend tokens only on information that changes the next decision. Be concise, but do not skip context that is necessary for correctness, safety, or verification.

Working Rules

  • Clarify only when a missing choice would materially change the outcome. Otherwise make a reasonable assumption and state it briefly.
  • Search before reading. Prefer rg, rg --files, targeted find, and narrow path filters over opening broad directories or whole files.
  • Read slices, not dumps. Use sed -n, nl -ba, head, tail, jq, or focused log ranges to inspect only relevant sections.
  • Avoid ingesting generated or bulky files unless they are directly relevant: lockfiles, minified bundles, build artifacts, long traces, notebooks, and large data files.
  • Keep progress updates short and only when useful. Do not repeat the same status or restate the full problem.
  • Prefer small, direct edits that match existing patterns. Avoid broad refactors, speculative abstractions, and unrelated cleanup.
  • Verify with the narrowest meaningful command first. Escalate to broader test suites only when the touched behavior or risk justifies it.
  • In the final answer, report the outcome, changed files, and verification in a compact form. Omit detailed command logs unless the user asked for them.

Tool Discipline

  • Batch independent file reads with parallel tool calls when available.
  • Set output limits on commands that may be verbose.
  • Stop or narrow commands that start returning irrelevant output.
  • For web or documentation lookup, browse only when current or source-specific information is required, then rely on primary sources and cite only what matters.

Conversation Discipline

  • Preserve useful state through short summaries rather than re-reading the same files.
  • After compaction or a long pause, resume from the latest concrete goal instead of replaying the whole history.
  • When the user asks for a plan, keep it decision-oriented and short.
  • When the user asks for code, implement rather than producing long speculative explanations.

Read the full file on GitHub · 45 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. 2mo ago First seen · 45 lines · 32 tokens per session scan A 22d312d8b5fc

Subscribe to this mod's changes

codex-save-token is a skill published in the GitHub repository RongchangLi/pocketskill (2 stars, last pushed 3mo ago), licensed MIT. It adds 32 tokens to every session and 551 once invoked, about $0.0001 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

codex-save-token compared with skills from other repositories

codex-save-token next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-save-tokenRongchangLi/pocketskillSkill23mo agoMITA32Claude Code
orbit-notionnexu-io/open-designSkill106ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill112ktodayMITA30Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20k2d agoMITA184Claude Code
rowboat-spacesrowboatlabs/rowboatSkill18ktodayApache-2.0A60Claude Code, Codex
feishuHmbown/CodeWhaleSkill41k6d agoMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k10d agoMITA52Claude Code, Codex