no-op-empty-skill-delta-return
Ensures no empty update payloads are sent when no new information is detected in a delta stream.
Install
mkdir -p .claude/skills/no-op-empty-skill-delta-return && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16027" && unzip -o skill.zip -d .claude/skills/no-op-empty-skill-delta-return && rm skill.zipInstalls to .claude/skills/no-op-empty-skill-delta-return
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.
Return no attachment when an incremental skill delta has no unseen items instead of emitting a formally empty update payload.Key capabilities
- →Filter candidate sets for unseen items.
- →Return no attachment if the delta set is empty.
- →Prevent empty update payloads in communication streams.
- →Preserve semantic distinction between 'nothing changed' and 'empty object'.
How it works
The skill computes a delta set and, if it is empty, returns no attachment. This avoids sending empty payloads downstream.
Inputs & outputs
When to use no-op-empty-skill-delta-return
- →Cleaning up command surfaces
- →Preventing empty event emissions
- →Managing delta updates
About this skill
SKILL: No-Op Empty Skill Delta Return
Domain: command-surfaces
Trigger: Apply when an incremental attachment or announcement pass recomputes a delta set and discovers there is nothing new to send.
Source Pattern: Distilled from reviewed command-surface and listing-control patterns.
Core Method
Treat an empty delta as the absence of an event, not as an event with empty contents. After filtering the candidate set down to unseen items, return immediately with no attachment if that delta set is empty. This keeps the downstream stream free of meaningless no-op payloads, avoids forcing consumers to special-case empty updates, and preserves the semantic distinction between "nothing changed" and "something changed but happened to serialize to an empty-looking object."
Key Rules
- Compute the delta set first, then check for emptiness before doing any formatting or payload construction.
- Return no attachment at all when the delta is empty; do not emit placeholder objects, zero-count events, or empty content strings.
- Keep the no-op return close to the delta filter so future refactors cannot accidentally reintroduce formatting work for empty updates.
- Preserve the difference between empty delta and initial/dynamic batch metadata; batch semantics only exist when something is actually emitted.
Example Application
If a command-listing attachment runs after a plugin reload but every visible command was already announced earlier in the session, detect that newCommands is empty and return []. The caller sees no update event because the actionable surface did not change.
Anti-Patterns (What NOT to do)
- Do not emit an empty delta object just so the pipeline has a uniform shape; that creates noise consumers must ignore.
- Do not continue into expensive formatting or logging after discovering the unseen set is empty.
When not to use it
- →When files_involved are already frozen.
Limitations
- →It does not emit placeholder objects.
- →It does not emit zero-count events.
- →It does not emit empty content strings.
How it compares
This approach treats an empty delta as the absence of an event, rather than an event with empty contents, which keeps communication streams free of meaningless payloads.
Compared to similar skills
no-op-empty-skill-delta-return side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| no-op-empty-skill-delta-return (this skill) | 0 | 4mo | No flags | Beginner |
| pptx | 393 | 6mo | Review | Advanced |
| nano-pdf | 63 | 3mo | Review | Beginner |
| video-downloader | 101 | 7mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by ychampion
View all by ychampion →You might also like
pptx
anthropics
Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks
nano-pdf
openclaw
Edit PDFs with natural-language instructions using the nano-pdf CLI.
video-downloader
ComposioHQ
Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.
youtube-transcript
michalparkola
Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.
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
browser-automation
browserbase
Automate web browser interactions using natural language via CLI commands. Use when the user asks to browse websites, navigate web pages, extract data from websites, take screenshots, fill forms, click buttons, or interact with web applications. Triggers include "browse", "navigate to", "go to website", "extract data from webpage", "screenshot", "web scraping", "fill out form", "click on", "search for on the web". When taking actions be as specific as possible.