dancing-bear: Skill for Claude Code

.claude/skills/dancing-bear-rules/SKILL.md

dancing-bear-rules is a skill for Claude Code from dancing-bear-show/dancing-bear. It costs 40 tokens per session (1,682 once invoked), scanned A, original, MIT.

A shared set of project rules for agents working on the Dancing Bear project, covering command wrappers, coding conventions, credential handling, and staged changes.

In plain words
What is it for?
Use it to guide mail, calendar, phone, messaging, workflow, and worker commands, protect credentials, and apply approved changes in a controlled order.
Why use it?
It reduces inconsistent commands and unsafe changes, such as exposing secrets or modifying state without a preview. The plan, dry-run, and apply steps make changes easier to inspect first.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents; mentions AGENTS.md.

This is dancing-bear-show/dancing-bear's own configuration. It tells Claude Code how to work on dancing-bear 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 dancing-bear configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./bin/mail <subcommand> [flags].

Reuse

Borrowing it

Nothing to install: this file belongs to dancing-bear-show/dancing-bear. 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/dancing-bear-show/dancing-bear/main/.claude/skills/dancing-bear-rules/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dancing-bear-show/dancing-bear

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 dancing-bear-rules

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dancing-bear-show/dancing-bear/dancing-bear-rules"><img src="https://agentmods.dev/badge/skills/dancing-bear-show/dancing-bear/dancing-bear-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,682 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.
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.00040 $0.01682
Opus 5.5 $0.00016 $0.00673
Sonnet 5.5 $0.00008 $0.00336
Haiku 4.5 $0.00004 $0.00168

Measured yesterday against content hash 77395cfc956d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dancing-bear-rules 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 yesterday.

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/dancing-bear-rules/SKILL.md · 139 lines

How it starts

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

dancing-bear Project Rules

1. Bin Wrappers First

Always use ./bin/<tool> wrappers, never module execution (-m) directly:

./bin/mail <subcommand> [flags]
./bin/calendar <subcommand> [flags]
./bin/schedule <subcommand> [flags]
./bin/phone <subcommand> [flags]
./bin/assistant resume <subcommand> [flags]
./bin/whatsapp <subcommand> [flags]
./bin/workflow <subcommand> [flags]
./bin/worker <subcommand> [flags]

2. Sub-Agents Must Not Auto-Familiarize

When spawned via Agent tool, you receive all needed context in your prompt. Do not run /familiarize — it wastes tokens and triggers permission prompts.

3. Plan → Dry-Run → Apply

Never mutate state without first staging and previewing:

./bin/<tool> <action> plan --out out/<plan>.yaml
./bin/<tool> <action> apply --plan out/<plan>.yaml --dry-run
./bin/<tool> <action> apply --plan out/<plan>.yaml

4. Credential Protection

  • Never overwrite ~/.config/credentials.ini
  • Never log or print tokens, API keys, or secrets
  • Use profiles: [mail.gmail_personal], [mail.outlook_personal], etc.
  • Avoid --credentials/--token flags; prefer profile-based auth

5. Config Source of Truth

  • Canonical filters: ~/.config/dancing-bear/filters_unified.yaml (outside checkout; config/filters_unified.example.yaml is the tracked template)
  • Derived outputs: out/filters.gmail.from_unified.yaml, out/filters.outlook.from_unified.yaml
  • Always derive from unified config, never edit derived files directly

6. Coding Standards

  • @dataclass for structured data, never plain dicts
  • Type hints on all function signatures; PEP 585/604 syntax (list[str], str | None)
  • Lazy imports for optional deps (Google APIs, PyYAML, MSAL)
  • No bare except Exception: pass/continue — add # nosec B110/B112 with intent comment

7. Testing

  • Framework: unittest (not pytest); run with make test — never a bare unittest run in a worktree (inherited PYTHONPATH resolves imports to the main checkout and yields false greens). Fallback: PYTHONPATH="$PWD/src" python3 -m unittest discover -s tests -t .
  • Coverage: make cov (or make cov-html)
  • Patch where the name is used, not where it's defined
  • Use factories/fakes from tests/fakes/; never construct API response dicts manually

Read the full file on GitHub · 139 lines

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. yesterday First seen · 139 lines · 40 tokens per session scan A 77395cfc956d

Subscribe to this mod's changes

dancing-bear-rules is a skill published in the GitHub repository dancing-bear-show/dancing-bear (7 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 1,682 once invoked, about $0.0002 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-11-07.

Related

dancing-bear-rules compared with skills from other repositories

dancing-bear-rules next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dancing-bear-rulesdancing-bear-show/dancing-bearSkill7yesterdayMITA40Claude Code
gogolafkfreund/nixos_configSkill32yesterdayGPL-3.0A125Claude Code, Codex
google-workspace-authbobmatnyc/claude-mpmSkill1582mo agononeA22Claude Code
outlook-mcpmpalermiti/outlook-mcpSkill412d agoMITA96Claude Code, Codex
olkrlrghb/olkcliSkill2314d agoMITA28Claude Code, Codex
ghealthGoogle-Health-API/google-health-cliSkill2814mo agoApache-2.0A41Claude Code, Codex
ghealth-sharedGoogle-Health-API/google-health-cliSkill2814mo agoApache-2.0A22Claude Code, Codex