Dippy: Skill for Claude Code

.claude/skills/add-command/SKILL.md

add-command is a skill for Claude Code from ldayton/Dippy. It costs 22 tokens per session (599 once invoked), scanned A, original, MIT.

A development checklist for adding support for a new command-line tool to Dippy, including safety rules and tests. A command-line tool is a program controlled by typed terminal commands.

In plain words
What is it for?
Use it to research a command's options, choose a safe-list entry or custom handler, add approval tests, and verify safe and unsafe cases.
Why use it?
It helps distinguish read-only commands from commands that can change or delete data, so unsafe operations can require confirmation and new support is tested.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

This is ldayton/Dippy's own configuration. It tells Claude Code how to work on Dippy itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Dippy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ldayton/Dippy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ldayton/Dippy/main/.claude/skills/add-command/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ldayton/Dippy

Made for: Claude Code.

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 add-command

README.md
[![agentmods](https://agentmods.dev/badge/skills/ldayton/dippy/add-command/github.svg)](https://agentmods.dev/skills/ldayton/dippy/add-command)
Your own site
<a href="https://agentmods.dev/skills/ldayton/dippy/add-command"><img src="https://agentmods.dev/badge/skills/ldayton/dippy/add-command/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 add-command

Your own site · 80×15
<a href="https://agentmods.dev/skills/ldayton/dippy/add-command"><img src="https://agentmods.dev/badge/skills/ldayton/dippy/add-command.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 599 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00022 $0.00599
Opus 5.5 $0.00009 $0.00240
Sonnet 5.5 $0.00004 $0.00120
Haiku 4.5 $0.00002 $0.00060

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

Security

Grade A, and why

add-command 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 1mo 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.

.claude/skills/add-command/SKILL.md · 96 lines

How it starts

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

Add support for $ARGUMENTS in Dippy.

1. Research

tldr pages:

ls ~/source/tldr/pages/*/$ARGUMENTS*.md
cat ~/source/tldr/pages/*/$ARGUMENTS.md

CLI docs:

$ARGUMENTS --help
man $ARGUMENTS

Note which operations are read-only vs mutations.

2. Decide: Handler or SIMPLE_SAFE?

  • SIMPLE_SAFE: Always safe regardless of arguments (read-only, no destructive flags). Go to step 3A.
  • Handler: Needs subcommand/flag analysis. Go to step 3B.

3A. SIMPLE_SAFE Path

Add to SIMPLE_SAFE in src/dippy/core/allowlists.py and add tests to tests/test_simple.py in the appropriate category. Skip to step 5.

3B. Handler Path

Create tests/cli/test_$ARGUMENTS.py:

"""Test cases for $ARGUMENTS."""

import pytest
from conftest import is_approved, needs_confirmation

TESTS = [
    # Safe operations
    ("$ARGUMENTS <safe-subcommand>", True),
    ("$ARGUMENTS --help", True),
    # Unsafe operations
    ("$ARGUMENTS <unsafe-subcommand>", False),
]

@pytest.mark.parametrize("command,expected", TESTS)
def test_command(check, command: str, expected: bool):
    result = check(command)
    if expected:
        assert is_approved(result), f"Expected approve: {command}"
    else:
        assert needs_confirmation(result), f"Expected confirm: {command}"

4. Implement Handler

Create src/dippy/cli/$ARGUMENTS.py:

"""$ARGUMENTS handler for Dippy."""

from dippy.cli import Classification, HandlerContext

COMMANDS = ["$ARGUMENTS"]

SAFE_ACTIONS = frozenset({"list", "show", "status"})

def classify(ctx: HandlerContext) -> Classification:
    tokens = ctx.tokens
    action = tokens[1] if len(tokens) > 1 else None
    if action in SAFE_ACTIONS:
        return Classification("allow", description=f"$ARGUMENTS {action}")
    return Classification("ask", description="$ARGUMENTS")

For handler patterns (nested subcommands, flag-checking, delegation), see patterns.md.

5. Iterate

just test

Fix failures until tests pass.

Read the full file on GitHub · 96 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 96 lines · 22 tokens per session scan A 882731a0b3d3

Subscribe to this mod's changes

add-command is a skill published in the GitHub repository ldayton/Dippy (243 stars, last pushed 4mo ago), licensed MIT. It adds 22 tokens to every session and 599 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-30.

Related

Other skills, from other repositories

longline-repo-allowlist

Use when scoping allow/ask rules for a command family (kubectl, oc, terraform, aws, gcloud, docker, etc.) to one repository so routine invocations stop prompting only inside that repo. Triggers include "allow kubectl in this repo", "stop asking about X commands", "add longline rules for this project", "allowlist…

devinbarry/longline · 102 tokens

ondb

A logical analysis and reasoning tool for AI. Use when decomposing documents into structured knowledge, querying entities and relations, validating consistency, or indexing files. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", "analyze this document", entity CRUD, or cross-skill…

x-cmd/x-cmd · 71 tokens

naming

Naming framework for x-cmd modules / commands / subcommands. Subjective + scenario-driven; the skill is a thin shell, NOT a rulebook. Three layers: investigate (goal), naming. .yml (OKR + session record, a .rule file), naming.okr-creator.yml (meta-rule that audits the session).

x-cmd/x-cmd · 74 tokens

skill0-writer

Writing conventions for skill0 documents — pyramid structure, line limits, and layout rules.

x-cmd/x-cmd · 22 tokens

ccal

Chinese Calendar with Lunar-Solar Conversion.

x-cmd/x-cmd · 10 tokens

claw-admin

Claw system administration: service management, IM connections, logs, cron, and workspace diagnostics. Use when the user asks to manage claw services, connect/disconnect IM platforms, view logs, or perform system-wide operations.

x-cmd/x-cmd · 48 tokens