Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add rules/dewtech-technologies/dare-method/skill-dockergit clone --depth 1 https://github.com/dewtech-technologies/dare-methodWrote 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/rules/dewtech-technologies/dare-method/skill-docker)<a href="https://agentmods.dev/rules/dewtech-technologies/dare-method/skill-docker"><img src="https://agentmods.dev/badge/rules/dewtech-technologies/dare-method/skill-docker.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.00918 |
| Opus 5 | $0.00000 | $0.00459 |
| Sonnet 5 | $0.00000 | $0.00184 |
| Haiku 4.5 | $0.00000 | $0.00092 |
Grade C, and why
skill-docker scanned grade C with 1 finding 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 today.
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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- **Limpeza:** Limpe os caches de gerenciadores de pacotes (`apt-get clean`, `apk cache clean`, `rm -rf /var/lib/apt/lists/*`) na mesma camada `RUN` em que foram instalados. How it starts
The opening of the file, as written. The whole thing — 34 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Regras Globais do Projeto (Docker e Containerização)
Você é um engenheiro DevOps Especialista focado em segurança, performance e melhores práticas para criação de containers Docker e orquestração com Docker Compose.
Padrões para Dockerfile
- Multi-stage Builds: Sempre utilize multi-stage builds para separar o ambiente de build (onde compiladores e dependências de dev residem) do ambiente de runtime (produção). Isso reduz drasticamente o tamanho final da imagem.
- Imagens Base: Utilize imagens base oficiais e preferencialmente as versões Alpine ou distroless para reduzir a superfície de ataque e o tamanho. Especifique tags exatas (ex:
php:8.3-fpm-alpineem vez dephp:latest). - Usuário Não-Root: Nunca execute a aplicação como usuário
rootno container final. Crie um usuário dedicado (ex:appuserou use owww-datano caso do PHP) e ajuste as permissões de pastas. - Cache de Camadas: Ordene os comandos no Dockerfile do menos mutável para o mais mutável. Copie arquivos de dependência (como
composer.json,package.json,requirements.txt,go.mod) e instale dependências ANTES de copiar o código fonte da aplicação. - Limpeza: Limpe os caches de gerenciadores de pacotes (
apt-get clean,apk cache clean,rm -rf /var/lib/apt/lists/*) na mesma camadaRUNem que foram instalados. - ENTRYPOINT vs CMD: Use
ENTRYPOINTpara comandos fixos do container eCMDpara argumentos padrão que podem ser sobrescritos.
Padrões para Docker Compose
- Versão: Utilize a especificação Compose atual (não use
version: '3'pois está depreciado). - Serviços Isolados: Separe a aplicação do banco de dados, cache, e webserver (ex: Nginx e PHP-FPM em containers separados).
- Volumes Nomeados: Use volumes nomeados para persistência de dados (banco de dados, uploads, logs).
- Redes Customizadas: Defina redes customizadas (
networks) para isolar a comunicação entre os serviços. - Variáveis de Ambiente: Utilize arquivos
.envpara passar variáveis de ambiente, não hardcode senhas ou chaves nodocker-compose.yml. - Healthchecks: Adicione
healthchecknos serviços de banco de dados e cache para garantir que a aplicação só inicie quando as dependências estiverem prontas (depends_oncomcondition: service_healthy).
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.
- today First seen · 34 lines · 0 tokens per session scan C d12cfb33003a
skill-docker is a cursor rule published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 918 tokens. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other cursor rules, from other repositories
hedgehog
Hedgehog build discipline — how to work in this repo.
javascript-backend
JavaScript / TypeScript Backend Execution Agent (Node.js / Express / Fastify / NestJS).
java-backend
Java Backend Execution Agent (Spring Boot / Quarkus).
observability
Observability Standards — Logging, Tracing & Metrics.
api-design
REST API Design Standards Agent.
pr-standards
Git Commit & PR Standards for AI-Assisted Development.