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 skills/dongduong2001/pudo-code-system/rustnpx skills add DongDuong2001/pudo-code-system --skill rustgit clone --depth 1 https://github.com/DongDuong2001/pudo-code-systemWrote 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/dongduong2001/pudo-code-system/rust)<a href="https://agentmods.dev/skills/dongduong2001/pudo-code-system/rust"><img src="https://agentmods.dev/badge/skills/dongduong2001/pudo-code-system/rust.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.00452 |
| Opus 5 | $0.00000 | $0.00226 |
| Sonnet 5 | $0.00000 | $0.00090 |
| Haiku 4.5 | $0.00000 | $0.00045 |
Grade A, and why
rust 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 3d 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.
What it actually says
Rust (Backend) PUDO Checklist
1. PLAN (Architecture & Strategy)
- Framework Selection: Choose web framework (Axum, Actix-web) based on performance vs. ecosystem needs.
- Crate Ecosystem: Plan dependencies (e.g.,
tokiofor async runtime,serdefor serialization,sqlxorsea-queryfor DB). - Error Handling: Define a centralized application error type using crates like
thiserrororanyhow. - State Management: Plan how application state (DB pools, config) will be shared across thread workers.
2. UNDERSTAND (Context & Auditing)
- Borrow Checker & Lifetimes: Audit data structures to minimize clones; rely on references where safe across async boundaries.
- Async Context: Ensure types crossing
.awaitpoints implementSendandSync. - Safety: Review
unsafeblocks if any exist. Justify their existence.
3. DEVELOP (Implementation)
- Structs & Traits: Define core domain models. Use
#[derive(Serialize, Deserialize)]for data transfer objects. - Routes: Implement handlers with strongly typed extractors (Json, Path, Query).
- Database: Use compile-time checked SQL queries (e.g.,
sqlx::query!) for type safety. - Testing: Write inline unit tests (
#[test]) and asynchronous integration tests (#[tokio::test]).
4. OPTIMIZE (Performance & Review)
- Binary Size & Speed: Review
Cargo.tomlprofiles (e.g., strictlyopt-level = 3, LTO enabled for release). - Memory Allocation: Profile long-lived objects. Consider
Arcfor shared read-only state instead of cloning. - Compilation Time: Use
cargo clippyandcargo fmtto enforce idiomatic code and avoid macro bloat where unnecessary. - Logging: Configure structured async logging using
tracingandtracing-subscriber.
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.
- 3d ago First seen · 24 lines · 0 tokens per session scan A 552e30adedab
rust is a skill published in the GitHub repository DongDuong2001/pudo-code-system (5 stars, last pushed 27d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 452 tokens. 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.
Other skills, from other repositories
rust-best-practices
Comprehensive Rust best practices covering ownership, error handling, async patterns, testing, and project structure.
ratatui
Build terminal UIs in Rust with Ratatui. Use when creating TUI applications, immediate-mode rendering, high-performance terminal interfaces, or production Rust CLIs.
rust-developer
Professional Rust Developer skill. Build performant, secure, and scalable backend logic and RESTful or GraphQL APIs.
compiler-port
Port a compiler pass from TypeScript to Rust. Gathers context, plans the port, implements in a subagent with test-fix loop, then reviews.
rust-code-quality
Run a focused Rust quality review when the user requests one, when reviewing a Rust PR/commit, or when another selected review workflow delegates Rust-specific checks. Do not auto-load for every implementation edit.
switchyard-rust-review
Review Switchyard Rust changes for correctness and maintainability. Use for pull requests or diffs touching crates, PyO3 bindings, async runtime behavior, streaming, protocol types, translation, algorithms, or LLM clients.