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.
curl -O https://raw.githubusercontent.com/dancing-bear-show/dancing-bear/main/.claude/skills/dancing-bear-rules/SKILL.mdgit clone --depth 1 https://github.com/dancing-bear-show/dancing-bearWrote 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.
[](https://agentmods.dev/skills/dancing-bear-show/dancing-bear/dancing-bear-rules)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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/--tokenflags; prefer profile-based auth
5. Config Source of Truth
- Canonical filters:
~/.config/dancing-bear/filters_unified.yaml(outside checkout;config/filters_unified.example.yamlis 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
@dataclassfor 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/B112with intent comment
7. Testing
- Framework:
unittest(not pytest); run withmake test— never a bare unittest run in a worktree (inheritedPYTHONPATHresolves imports to the main checkout and yields false greens). Fallback:PYTHONPATH="$PWD/src" python3 -m unittest discover -s tests -t . - Coverage:
make cov(ormake 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
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.
- yesterday First seen · 139 lines · 40 tokens per session scan A 77395cfc956d
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.
dancing-bear-rules compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dancing-bear-rulesdancing-bear-show/dancing-bear | Skill | 7 | yesterday | MIT | A | 40 | Claude Code |
| gogolafkfreund/nixos_config | Skill | 32 | yesterday | GPL-3.0 | A | 125 | Claude Code, Codex |
| google-workspace-authbobmatnyc/claude-mpm | Skill | 158 | 2mo ago | none | A | 22 | Claude Code |
| outlook-mcpmpalermiti/outlook-mcp | Skill | 41 | 2d ago | MIT | A | 96 | Claude Code, Codex |
| olkrlrghb/olkcli | Skill | 23 | 14d ago | MIT | A | 28 | Claude Code, Codex |
| ghealthGoogle-Health-API/google-health-cli | Skill | 281 | 4mo ago | Apache-2.0 | A | 41 | Claude Code, Codex |
| ghealth-sharedGoogle-Health-API/google-health-cli | Skill | 281 | 4mo ago | Apache-2.0 | A | 22 | Claude Code, Codex |