Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Duck Diet

ASecurity

Put agent context, memory, and token costs on a diet without starving the essential guidance. Use when the user asks for minimum tokens, a session-cost analysis, an agent setup health check, or trimming of CLAUDE.md, AGENTS.md, or memory, when picking which model tier or agent type a stage runs on, or before a long campaign or multi-agent run.

5 stars
0 votes
0 copies
0 views
Added 9/20/2026
researchsecurity

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add askrubberduck/skills --skill duck-diet --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Duck Diet?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Duck Diet
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/askrubberduck-duck-diet/badge)](https://www.skillsdirectory.com/skills/askrubberduck-duck-diet)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: duck-diet
description: Put agent context, memory, and token costs on a diet without starving the essential guidance. Use when the user asks for minimum tokens, a session-cost analysis, an agent setup health check, or trimming of CLAUDE.md, AGENTS.md, or memory, when picking which model tier or agent type a stage runs on, or before a long campaign or multi-agent run.
---

# Duck Diet

Reduce measured waste in agent context and work. Find repeated reads, duplicated guidance,
unnecessary dispatches or retries before recommending a new setup. Smaller output alone does not
establish lower cost or better results.

Follow the user's language unless they ask otherwise; preserve commands, paths, identifiers, quoted errors and verdicts.
Respect existing edit authority. An audit alone reports proposed changes; a request to trim applies
justified local edits and verifies them without another approval request. Preserve owner decisions,
security boundaries and required workflow evidence.

## Runtime rules

1. **Preserve state at context boundaries.** Use host compaction or an isolated session when useful,
   not automatically per stage. Carry outcome, source/candidate identity, valid evidence, unresolved
   claims and next authorized action into the handoff. Evidence needed later must survive scratch
   cleanup. A scheduled continuation requires a supported, authorized host mechanism and a confirmed
   booking; a written next step is not a scheduled task.
2. **Read what the task needs.** Search first, then read relevant sections with enough surrounding
   context to understand them. Keep paths and working directories explicit. Large output may call
   for filtering, paging or a bounded investigator; it does not automatically justify another agent.
   Do not compress away an error, contract or contradictory observation.
3. **Route by demonstrated capability.** Reuse the current worker for small tasks when delegation
   adds more overhead than useful separation. For mechanical work worth delegating, a cheaper model
   needs a verified pinned identity and a named executable check that catches its failure. Run that
   check before accepting the result; without identity or a suitable check, do not claim a validated
   cheaper route. If it fails, inspect the cause and escalate when capability is the limit, rather
   than retrying the same attempt. Two failed attempts at the same slice end that routing experiment.
   Use `duck-review`'s challenge-selection policy for independent or high-risk judgments; honor the
   owner's model choices and repository requirements.
4. **Batch useful communication.** Dispatch bounded independent tasks with the necessary context.
   Request findings and decisive evidence, not transcripts or repeated idle updates. More workers
   and more rounds need a question they can resolve.
5. **Keep raw output separate.** Extract the evidence needed for the decision. Keep raw logs in
   authorized scratch storage; preserve decisive evidence in the work record before cleanup when
   a later stage needs it. Avoid committing raw session logs or private prompt contents.

## Session cost audit

Use actual host usage records. `duck-learn` owns known transcript-store locations and counting rules;
include subagents and retries without double-counting derived logs. Report available input, cached
input and output usage, measured elapsed time, repeated reads/dispatches and retry outcomes.
A missing field or inaccessible store is unknown, never zero.

Separate measured tokens, context size and billed cost. Bytes or word counts are size proxies, not
measured tokens. Cached-input volume alone does not establish the dominant billed cost: conversion
requires the applicable model rates and billing semantics. Verify current official pricing when a
monetary recommendation needs it, or leave cost uncomputed. Do not invent a savings percentage.

Tie each recommendation to an observed source of waste and a check that useful behavior survives.
Compare before and after on equivalent work when claiming savings; label estimates and their
assumptions. A long session or a large file is not itself proof of waste.

## Installed-config audit

Inspect the active host's actual configuration, instruction includes, skill/plugin discovery and
broken links. Use available host diagnostics when they answer a real health question. Distinguish
always-loaded content from on-demand bodies instead of assuming all installed files are loaded.

Find duplicated or stale guidance and locate its authoritative home. Keep a reference where another
host needs it; do not delete a host's only working instruction path. Compare invocation evidence
when available, but absence of explicit invocation does not prove an implicitly applied rule was
unused. Unreadable logs do not justify disabling a skill.

Preserve non-obvious constraints, owner decisions and safety rules. Remove generic or redundant
advice when existing authority covers it. Do not change an unresolved owner policy under the label
of compression. Report proposed/applied cuts, measured size change and verification limits. Recheck
links and host loading after edits; a shorter configuration that loses required behavior failed.

Attribution

askrubberduckaskrubberduck
View sourceMore from askrubberduck →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Competitor Analysis

This skill provides comprehensive analysis of competitor SEO and GEO strategies, revealing what's working in your market and identifying opportunities to outperform the competition.

1823 votes

Deep Research

Universal deep research agent team. 13-agent pipeline for rigorous academic research on any topic. 7 modes: full research, quick brief, paper review, lit-review, fact-check, Socratic guided research dialogue, and systematic review with optional meta-analysis. Covers research question formulation, Socratic mentoring, methodology design, systematic literature search, source verification, cross-source synthesis, risk of bias assessment, meta-analysis, APA 7.0 report compilation, editorial review...

452202 votes

Paperclip Distill

Use when an operation issue is a Paperclip cursor-window, distill, or backfill — `operationType: "distill"` or `"backfill"` and the body references a Paperclip source bundle for a project or root issue. Turn raw Paperclip activity into a wiki-insightful project page, decisions log, and history note. This skill exists specifically to replace the stiff, datestamp-heavy templated output that the deterministic distiller produces.

805541 votes

Academic Pipeline

Orchestrator for the full academic research pipeline: research -> write -> integrity check -> review -> revise -> re-review -> re-revise -> final integrity check -> finalize. Coordinates deep-research, academic-paper, and academic-paper-reviewer into a seamless 10-stage workflow with mandatory integrity verification, two-stage peer review, and reproducible quality gates. Triggers on: academic pipeline, research to paper, full paper workflow, paper pipeline, end-to-end paper, research-to-publi...

452201 votes

Exa Search

Semantic search, similar content discovery, and structured research using Exa API

304951 votes
View all in research →