dare-rust-workspace

dare-rust-workspace is a skill for Claude Code, Codex from dewtech-technologies/dare-method. It costs 81 tokens per session (2,662 once invoked), scanned A, original, MIT.

A decision and migration guide for Rust projects using Axum, a Rust web framework. It helps choose between one Rust package and a Cargo workspace, which is a project containing multiple related packages.

In plain words
What is it for?
Use it during design to choose a Rust project layout, or when migrating a single-package project that has become difficult to manage.
Why use it?
It provides concrete conditions for staying with a simple project layout or moving to a multi-package structure as the system, team, or deployment needs grow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it during design to choose a Rust project layout, or when migrating a single-package project that has become difficult to manage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dewtech-technologies/dare-method/dare-rust-workspace
Install

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.

Any agent
npx skills add dewtech-technologies/dare-method --skill dare-rust-workspace
Clone the repo
git clone --depth 1 https://github.com/dewtech-technologies/dare-method

Made for: Claude Code, Codex.

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 dare-rust-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/dewtech-technologies/dare-method/dare-rust-workspace/github.svg)](https://agentmods.dev/skills/dewtech-technologies/dare-method/dare-rust-workspace)
Your own site
<a href="https://agentmods.dev/skills/dewtech-technologies/dare-method/dare-rust-workspace"><img src="https://agentmods.dev/badge/skills/dewtech-technologies/dare-method/dare-rust-workspace/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 dare-rust-workspace

Your own site · 80×15
<a href="https://agentmods.dev/skills/dewtech-technologies/dare-method/dare-rust-workspace"><img src="https://agentmods.dev/badge/skills/dewtech-technologies/dare-method/dare-rust-workspace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,662 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.00081 $0.02662
Opus 5.5 $0.00032 $0.01065
Sonnet 5.5 $0.00016 $0.00532
Haiku 4.5 $0.00008 $0.00266

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

Security

Grade A, and why

dare-rust-workspace 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.

implementations/antigravity/.agents/skills/dare-rust-workspace/SKILL.md · 276 lines

How it starts

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

DARE — Rust Workspace Skill (single-crate vs multi-crate)

Use esta skill em dois momentos:

  • Design / Blueprint: projeto Rust novo na stack rust-axum. Decida desde o início se ele nasce single-crate ou em workspace multi-crate.
  • Migração: projeto Rust single-crate já existente que cresceu demais e está doendo. Proponha o plano de migração.

Regra geral: comece simples, migre quando os critérios objetivos abaixo aparecerem. Workspace é a estrutura idiomática Rust para projetos maduros, mas é overengineering para o "hello world".


Cenário A — Decisão na fase Design/Blueprint

Comece single-crate quando TODOS forem verdadeiros

  • Apenas 1 binário (HTTP server).
  • Estimativa de < 30 arquivos .rs no src/.
  • 1–2 sistemas externos (apenas DB; ou DB + cache).
  • Equipe ≤ 2 devs.
  • Nenhum requisito de deploy independente para subcomponentes.

Comece workspace multi-crate quando QUALQUER um for verdadeiro

  • ≥ 2 binários previstos (API + worker; API + admin; API + CLI).
  • Múltiplos sistemas externos (3+: PG + Redis + Rabbit + Qdrant + Neo4j…).
  • Deploy independente desejado (workers em pods separados no k8s).
  • Fronteiras arquiteturais críticas (domain puro sem HTTP/DB; SDK publicável; cliente compartilhado com outros projetos).
  • Equipe ≥ 3 devs trabalhando em paralelo.

Layout convencional para workspace

Use o prefixo do projeto (<p>) — ex: wa- para wa-business-api, agent- para agent-ai.

projeto/
├── Cargo.toml                          # workspace root
├── docker-compose.yml
├── Dockerfile
├── crates/
│   ├── <p>-domain/         (lib)       # entities puras
│   ├── <p>-config/         (lib)       # AppConfig::from_env()
│   ├── <p>-db/             (lib)       # sqlx pool, migrations
│   ├── <p>-cache/          (lib)       # redis/moka
│   ├── <p>-queue/          (lib)       # lapin/kafka
│   ├── <p>-crypto/         (lib)       # bcrypt, jwt
│   ├── <p>-services/       (lib)       # business logic, sem HTTP
│   ├── <p>-integrators/    (lib)       # clientes externos (LLM, Stripe…)
│   ├── <p>-api/            (bin + lib) # HTTP server
│   ├── <p>-worker-<X>/     (bin)       # 1 binário por tipo de worker
│   ├── <p>-admin/          (bin)       # CLI admin
│   └── <p>-e2e/            (tests)     # integration tests
└── xtask/                              # scripts em Rust

Read the full file on GitHub · 276 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. 1mo ago First seen · 276 lines · 81 tokens per session scan A 5c0b2f6d6afa

Subscribe to this mod's changes

dare-rust-workspace is a skill published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 3mo ago), licensed MIT. It adds 81 tokens to every session and 2,662 once invoked, about $0.0003 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-31.