resume-skill-listing-suppression
Prevents redundant skill data transmission when resuming a session that already has a skill listing.
Install
mkdir -p .claude/skills/resume-skill-listing-suppression && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16256" && unzip -o skill.zip -d .claude/skills/resume-skill-listing-suppression && rm skill.zipInstalls to .claude/skills/resume-skill-listing-suppression
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Mark the current skill listing as already sent when resuming so the transcript does not receive a redundant payload.Key capabilities
- →Suppress redundant skill listings during resume flows
- →Mark commands as already sent to save tokens
- →Keep transcripts lean by avoiding duplicate skill payloads
- →Expose a function to skip the next skill listing
- →Scope marking logic to process-local `sentSkillNames` map
How it works
The skill treats a resume run as a continuation of an existing transcript. It marks commands already in the transcript as sent and suppresses the next skill listing to avoid re-injecting a large payload.
Inputs & outputs
When to use resume-skill-listing-suppression
- →Optimizing token usage on session resume
- →Handling command-surface recovery
- →Avoiding duplicate skill metadata
About this skill
SKILL: Resume Skill Listing Suppression
Domain: command-surfaces
Trigger: Apply when a resume flow already contains a previous skill_listing attachment and injecting another would waste ~600 tokens.
Source Pattern: Distilled from reviewed command-surface and listing-control patterns.
Core Method
Treat a resume run as continuing an existing transcript: before recomputing skill_listing, mark every command that already exists in the transcript as sent by setting suppressNext = true and filling sentSkillNames for that agentId. Return early without emitting any listing so the resume session does not repeat the large skill payload, even though the future process loses the ability to announce cross-process deltas until the next full session.
Key Rules
- Expose
suppressNextSkillListing()so external flows (conversation recovery) can set a flag that the next listing should be skipped. - When building the attachment, check
suppressNext; if true, mark all current commands as sent, reset the flag, and return[]. - Accept the trade-off: cross-process delta coverage is deferred to the next non-resume session, but transcripts stay lean and avoid bursting the turn with redundant data.
- Keep the marking logic scoped to the process-local
sentSkillNamesmap keyed byagentId(main thread uses empty string) so per-agent delta tracking remains correct.
Example Application
When a session is resumed, call suppressNextSkillListing() right before getSkillListingAttachments so it returns [] and the transcript keeps the listing it already has instead of receiving another copy.
Anti-Patterns (What NOT to do)
- Do not clear
sentSkillNamesor unsetsuppressNextduring resume; you need to pretend the listing is still current. - Do not let resume inject the full listing even once; the ~600-token delta is expensive for every restart.
When not to use it
- →When the user needs to inject the full skill listing on every restart
- →When the user needs real-time cross-process delta coverage
- →When the user needs to clear `sentSkillNames` or unset `suppressNext` during resume
Limitations
- →The skill applies when a resume flow already contains a previous `skill_listing` attachment.
- →The skill defers cross-process delta coverage to the next non-resume session.
- →The skill keeps the marking logic scoped to the process-local `sentSkillNames` map.
How it compares
This skill specifically optimizes token usage during resume flows by suppressing redundant skill listings, which differs from a standard resume process that might re-send all previous payloads.
Compared to similar skills
resume-skill-listing-suppression side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| resume-skill-listing-suppression (this skill) | 0 | 4mo | No flags | Beginner |
| using-superpowers | 95 | 3mo | No flags | Beginner |
| ultrawork | 11 | 2mo | No flags | Advanced |
| clawhub | 25 | 3mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by ychampion
View all by ychampion →You might also like
using-superpowers
obra
Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists
ultrawork
Yeachan-Heo
Parallel execution engine for high-throughput task completion
clawhub
openclaw
Use the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawhub CLI.
skill-installer
openai
Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).
continuous-learning
affaan-m
Automatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use.
memory-keeper-proactive-context-maintenance
b4CU-R4U
Automatically detect and maintain memory freshness by monitoring context staleness, significant code changes, task completions, and phase transitions. Proactively suggests and executes memory sync operations with user confirmation. Use when the user says "sync memory", "update context", or when the Skill detects that context is stale (>2 hours), significant changes have occurred (new commits), tasks completed, or major milestones reached. Replaces passive "context is stale" warnings with active maintenance.