scaffold-rust

scaffold-rust is a skill for Claude Code from urmzd/dotfiles. It costs 102 tokens per session (2,858 once invoked), scanned B, original, Apache-2.0.

A project starter for Rust applications, libraries, and workspaces. Rust is a programming language, and Cargo is its standard tool for building and testing Rust code.

In plain words
What is it for?
It helps create or standardize Rust projects with Cargo-based builds, continuous integration, code checks, and release configuration.
Why use it?
It removes the repetitive setup work for project files, automated checks, and release workflows.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uses: ./.github/workflows/ci.yml.

Good fit It helps create or standardize Rust projects with Cargo-based builds, continuous integration, code checks, and release configuration.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/urmzd/dotfiles
agentmods
npx agentmods add skills/urmzd/dotfiles/scaffold-rust

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 scaffold-rust

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/urmzd/dotfiles/scaffold-rust"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/scaffold-rust.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,858 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00102 $0.02858
Opus 5.5 $0.00041 $0.01143
Sonnet 5.5 $0.00020 $0.00572
Haiku 4.5 $0.00010 $0.00286

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

Security

Grade B, and why

scaffold-rust scanned grade B 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

run: sudo apt-get update && sudo apt-get install -y musl-tools
dot_agents/skills/scaffold-rust/SKILL.md · 297 lines

How it starts

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

Scaffold Rust Project

Generate a production-ready Rust project following established CI/CD patterns. Read the scaffold-project skill first for standard files (README, AGENTS.md, LICENSE, CONTRIBUTING.md, llms.txt).

When to Use

  • Creating a new Rust CLI tool, library, or workspace
  • Adding CI/CD to an existing Rust project missing workflows
  • Standardizing a Rust project to match org conventions

Generated Files

.github/workflows/ci.yml

name: CI

on:
  pull_request:
    branches: [main]
  workflow_call:

permissions:
  contents: read

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

env:
  CARGO_TERM_COLOR: always

jobs:
  check:
    name: Check
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - uses: dtolnay/rust-toolchain@39008827e6b4319a349e9a42dfc90579dd25f1ca # stable
      - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
      - run: cargo check --workspace

  clippy:
    name: Clippy
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - uses: dtolnay/rust-toolchain@39008827e6b4319a349e9a42dfc90579dd25f1ca # stable
        with:
          components: clippy
      - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
      - run: cargo clippy --workspace -- -D warnings

  fmt:
    name: Format
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - uses: dtolnay/rust-toolchain@39008827e6b4319a349e9a42dfc90579dd25f1ca # stable
        with:
          components: rustfmt
      - run: cargo fmt --all -- --check

  test:
    name: Test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - uses: dtolnay/rust-toolchain@39008827e6b4319a349e9a42dfc90579dd25f1ca # stable
      - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
      - run: cargo test --workspace

Read the full file on GitHub · 297 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. today Changed · -10 lines d15a53b52203
  2. 11d ago Changed · +4 lines f71b408e03da
  3. 1mo ago Changed · -2 lines e2f118a57705
  4. 3mo ago First seen · 305 lines · 102 tokens per session scan B 5560aa9cec84

Subscribe to this mod's changes

scaffold-rust is a skill published in the GitHub repository urmzd/dotfiles (6 stars, last pushed today), licensed Apache-2.0. It adds 102 tokens to every session and 2,858 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

scaffold-rust compared with skills from other repositories

scaffold-rust next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scaffold-rusturmzd/dotfilesSkill6todayApache-2.0B102Claude Code
polarsmagic3007/dotfilesSkill112d agoMITA69Claude Code, Codex
gtarsmagic3007/dotfilesSkill112d agoMITA50Claude Code, Codex
astropymagic3007/dotfilesSkill112d agoMITA56Claude Code, Codex
use-codefreshooloth/dotfilesSkill24yesterdaynoneA45Claude Code
fluidsimmagic3007/dotfilesSkill112d agoMITA69Claude Code, Codex
pyopenmsmagic3007/dotfilesSkill112d agoMITA62Claude Code, Codex