token-aware
Report Pi context-window usage or opt in to milestone notifications.
Skill by jhs
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jhs-token-aware
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/token-aware
What's inside
- Skill name
token-aware- Description
- Report Pi context-window usage or opt in to milestone notifications. Use when the user asks about context fullness, tokens remaining, nearness to compaction, or wants token-usage monitoring.
- License
- Apache-2.0
- Instructions
- 26 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Token-aware
Pi provides context usage without a statusline or background process. It is inert until you call `token_watch`; merely having the extension installed does not monitor or notify.
## Query usage now
Call `token_status`. It returns the current context usage, or the last known reading when Pi has not yet produced a new one after compaction.
## Watch milestones
Call `token_watch` to opt in to notifications after future turns cross a context threshold:
- Omit `thresholds` for the standard `50`, `75`, `90`, and `95` percent milestones.
- Pass `thresholds` to choose them, each `{percent}` or `{percent, reminder}` — for example `[{percent: 80}, {percent: 95, reminder: "prepare to terminate"}]`.
- A crossing reports the current usage, elapsed time and usage velocity since the prior reading, ETAs for later milestones, and the reminder if the milestone carried one.
- A `reminder` is your own note to your future self, played back verbatim at the end of the crossing line behind `| REMINDER:`. Write it as an instruction rather than a label — `prepare to terminate`, not `nearly full` — because that line is all you get, and it matters most after a compaction, which re-arms every milestone and takes the surrounding plan out of your context at the same time.
- A percentage repeated, or outside 0 to 100, fails the call instead of quietly narrowing the watch. Fix it and call again.
- A milestone below the reading the watch starts at never fires. The opening line hands those back with their reminders — `SET TOO LATE, WILL NOT FIRE: 25%; 50% check status of Foo Bar` — so you can see what is not coming and reissue anything that still matters at a percentage you have not reached.
Call `token_watch` with `enabled: false` when monitoring is no longer wanted. It sends no more notifications until you start it again.
## Being seen from outside
Both tools above report only to you. When `CCCP_DO_PI_TELEMETRY` is set, each turn also leaves a snapshot on disk, so a coordinator can read this session's context usage with `claude-tokens status $CCCP_COMRADE_ID` without asking you. That is off by default; when it is off, nobody outside this session can see how full your context is, so say so yourself before going quiet.From jhs/cccp, Apache-2.0.
More from jhs/cccp
- 0.598score
cccp-team
jhs
Work as one of several coordinated comrades in a CCCP cell — team norms, aliases, lanes, and hand-offs.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
cccp-chat
jhs
Participate in a CCCP cell — chat with other AI agents (comrades).
SkillAFreshness: A★ 2Claude Code +9 - 0.568score
chat
jhs
This skill should be used when the user wants to communicate with another Claude — phrases like "talk to the Claude on my Mac", "connect with comrade X"…
SkillAFreshness: A★ 2Claude Code +9 - 0.568score
captain-with-tmux
jhs
This skill should be used when the user wants Claude to act as the coordinator of a cccp cell with the ability to spawn, observe, and terminate comrades as…
SkillAFreshness: A★ 2Claude Code +9 - 0.568score
team
jhs
This skill should be used when the user wants Claude agents to collaborate as a coordinated team in a cccp cell — dividing work, staying in sync, and…
SkillAFreshness: A★ 2Claude Code +9 - 0.553score
cccp-setup
jhs
Inspect, choose, configure, or troubleshoot the CCCP data backend, or read/set any CCCP config value.
SkillBFreshness: B★ 2Claude Code +9 - 0.532score
token-aware
jhs
This skill should be used when the user asks about context window fullness, tokens remaining, nearness to compaction, or wants token-usage monitoring with…
SkillBFreshness: B★ 2Claude Code +9 - 0.529score
help
jhs
This skill should be used when a user new to the CCCP plugin wants concepts and how-tos — phrases like "cccp help", "what can cccp do", "how do I use cccp"…
SkillBFreshness: B★ 2Claude Code +9 - 0.527score
captain
jhs
This skill should be used when the user wants Claude to act as the coordinator of a cccp cell — the one who organizes, sequences, and delegates work across…
SkillBFreshness: B★ 2Claude Code +9 - 0.483score
setup
jhs
This skill should be used when the user wants to inspect, choose, configure, or troubleshoot the CCCP data backend, or to read or set any CCCP config value.
SkillCFreshness: C★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 1
- Open issues
- 6
- Last commit (this folder)
- Aug 29, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/jhs/cccp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jhs
- 0.598score
cccp-team
jhs
Work as one of several coordinated comrades in a CCCP cell — team norms, aliases, lanes, and hand-offs.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
cccp-chat
jhs
Participate in a CCCP cell — chat with other AI agents (comrades).
SkillAFreshness: A★ 2Claude Code +9 - 0.568score
chat
jhs
This skill should be used when the user wants to communicate with another Claude — phrases like "talk to the Claude on my Mac", "connect with comrade X"…
SkillAFreshness: A★ 2Claude Code +9 - 0.568score
captain-with-tmux
jhs
This skill should be used when the user wants Claude to act as the coordinator of a cccp cell with the ability to spawn, observe, and terminate comrades as…
SkillAFreshness: A★ 2Claude Code +9 - 0.568score
team
jhs
This skill should be used when the user wants Claude agents to collaborate as a coordinated team in a cccp cell — dividing work, staying in sync, and…
SkillAFreshness: A★ 2Claude Code +9 - 0.553score
cccp-setup
jhs
Inspect, choose, configure, or troubleshoot the CCCP data backend, or read/set any CCCP config value.
SkillBFreshness: B★ 2Claude Code +9
Cite this page
token-aware skill. Agent Mart. https://agentmart.dev/skills/jhs-token-aware (last updated 2026-10-24)