by agnogad
AI coding agent skill & zero-dep CLI toolkit for Rust build caching, fast iteration, strict Clippy lints, GPU GUI (rune), and verified porting.
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/agnogad/ohmyrustGuides for using ai agents skills like ohmyrust.
See how ohmyrust compares with popular alternatives.
ohmyrust?AI coding agents can write Rust that compiles—yet still burn context and disk on slow rebuilds, conflicting RUSTC_WRAPPER configs, tokio executor stalls, and brittle .unwrap() panics. ohmyrust gives agents a deterministic audit → scaffold → build → gate loop:
Failure Mode (Without ohmyrust) |
Guardrail (With ohmyrust) |
|---|---|
Stacking kache, sccache, and cargo-steward as RUSTC_WRAPPER |
doctor.mjs detects wrapper conflicts upfront and exits 2 |
./target swells to tens of GB across autonomous agent commits |
Enforces cargo-gc (single worktree) or cargo-steward (multi-worktree) |
.unwrap(), bool flags, silent as casts, std::sync::Mutex across .await |
init.mjs scaffolds BeautifulRust-grade clippy.toml + [lints] + deny.toml |
Agent claims "tests pass" while skipping fmt, clippy, or missing tools |
gate.mjs runs all gates and explicitly marks missing tools as degraded |
| Blindly rewriting a whole app in Rust or guessing GUI/async crates | Routes to fast-anything / rust-anything, crate-stack.md, and anomalyco/rune |
ohmyrust organizes the modern Rust AI-agent ecosystem into 5 non-conflicting layers:
| Layer | Tools & Repos | Role | Reference |
|---|---|---|---|
1. Build Cache & ./target Hygiene |
kunobi-ninja/kache · 0xdoublesharp/cargo-steward · leostera/cargo-gc · Swatinem/rust-cache · mold / lld |
Content-addressed caching, multi-worktree CoW warm starts, ./target compaction, CI cache, fast linking |
build-and-cache.md |
| 2. Fast Inner Loop & Testing | indexable-inc/blaze (ex-ra-jit) · makepad/relax · rustc_codegen_cranelift · bacon · cargo-nextest · cargo-llvm-cov · cargo-mutants · cargo-hakari |
MIR/JIT incremental builds, live hot-patching, Cranelift dev codegen, isolated tests, coverage & mutation feedback | fast-iteration.md |
| 3. Idiomatic Rust, Pitfalls & Lints | morganlinton/BeautifulRust · cargo-deny · cargo-audit · cargo-machete · miri |
max-fn-params-bools = 0, no prod .unwrap(), // SAFETY: & reason = "...", await_holding_lock = "deny", UB & supply-chain checks |
idiomatic-and-lints.md · agent-pitfalls.md |
| 4. Porting to Rust | EL4CTEO/fast-anything · erkamyaman/rust-anything |
Profile & rewrite the slow 5% (fast-anything) or migrate modules piece-by-piece with recorded parity checks (rust-anything) |
porting-to-rust.md |
| 5. Crate Stack, Blueprints & GPU GUI | thiserror / anyhow · tokio · clap · serde · axum · reqwest · tracing · blake3 · rayon · anomalyco/rune |
Battle-tested ecosystem defaults, 5 starter blueprints, and headless-first GPU GUI (rune-kit, Metal/wgpu, AccessKit tree & PNG verification) |
crate-stack.md · project-templates.md |
Requires Node.js 18+. Zero runtime dependencies.
node bin/install.js
The installer detects installed coding agents on your machine and copies skills/ohmyrust/ into each one:
| Agent | Global Install Path |
|---|---|
| Claude Code | ~/.claude/skills/ohmyrust |
| Codex CLI | ~/.codex/skills/ohmyrust |
| Google Antigravity / Gemini CLI | ~/.gemini/skills/ohmyrust |
| Cursor | ~/.cursor/skills/ohmyrust |
| OpenCode | ~/.config/opencode/skills/ohmyrust |
Shared .agents |
~/.agents/skills/ohmyrust |
node bin/install.js --target claude # install for a specific agent
node bin/install.js --project /path/repo # install into <repo>/.agents/skills/ohmyrust
node bin/install.js --all # install to all agent directories
Every script in skills/ohmyrust/scripts/ is zero-dependency Node.js, supports --json, and returns exit 0 (clean) or 2 (blocking issue / failure). You can invoke any command directly or via the unified dispatcher node skills/ohmyrust/scripts/ohmyrust.mjs <cmd>.
new (scaffold.mjs) — Bootstrap a Lint-Clean Rust Projectnode skills/ohmyrust/scripts/ohmyrust.mjs new cli my-app --json
Scaffolds cli, lib, service, workspace, or rune-gui with Cargo.toml, src/, clippy.toml, deny.toml, justfile, and .ohmyrust/project.json.
doctor (doctor.mjs) — Audit Toolchain & Conflictsnode skills/ohmyrust/scripts/ohmyrust.mjs doctor --json --cwd /path/to/rust-project
Checks rustc, cargo, rustfmt, clippy, installed ecosystem tools (kache, cargo-gc, cargo-steward, cargo-hakari, blaze, relax, bacon, cargo-nextest, cargo-deny, cargo-audit, cargo-machete, cargo-llvm-cov, cargo-mutants, rust-anything, fast-anything, mold, lld, just), RUSTC_WRAPPER conflicts, and project config files.
init (init.mjs) — Scaffold Lints, deny.toml, justfile, CI & Linkernode skills/ohmyrust/scripts/ohmyrust.mjs init --cwd /path/to/rust-project --dry-run
node skills/ohmyrust/scripts/ohmyrust.mjs init --cwd /path/to/rust-project --apply --linker mold --ci github
Idempotently adds clippy.toml, deny.toml, justfile, [lints] / [workspace.lints] (lints.toml) into Cargo.toml, optional .github/workflows/ci.yml (ci.yml), optional .cargo/config.toml (mold or lld), and .ohmyrust/project.json.
audit (audit.mjs) — Zero-Compile 12-Rule Static Scannode skills/ohmyrust/scripts/ohmyrust.mjs audit --cwd /path/to/rust-project --json
Scans .rs files and Cargo.toml in milliseconds for PROD_UNWRAP, PROD_PANIC_MACRO, UNDOCUMENTED_UNSAFE, ALLOW_WITHOUT_REASON, DBG_OR_TODO, RAW_BOOL_PARAM, BOX_DYN_ERROR_API, BLOCKING_IN_ASYNC_FILE, SILENT_ERROR_DROP, CLONE_DENSITY, UNPINNED_GIT_DEP, and TOKIO_FULL_IN_LIB (exempting #[cfg(test)] and tests/, with waiver support in .ohmyrust/project.json), returning a 0–100 score.
clean (clean.mjs) — Measure & Compact ./targetnode skills/ohmyrust/scripts/ohmyrust.mjs clean --cwd /path/to/rust-project --apply --json
Measures ./target disk size and compacts stale build artifacts via cargo-gc or cargo-steward.
gate (gate.mjs) — Run the Verification Gatenode skills/ohmyrust/scripts/ohmyrust.mjs gate --cwd /path/to/rust-project --json
Runs audit.mjs, cargo fmt --check, cargo clippy --all-targets --all-features -- -D warnings, cargo nextest run + cargo test --doc (or cargo test), cargo deny check, and cargo machete (with --timeout protection)—reporting pass, fail, or degraded per gate.
RUSTC_WRAPPER only: Never stack kache, sccache, and cargo-steward in the same Cargo config../target: Wrap long agent build loops with cargo gc or cargo steward..unwrap() / .expect() are allowed in #[cfg(test)] only.unsafe & suppressions: Every unsafe block needs // SAFETY:; every #[allow(...)] needs reason = "...".degraded, never silently treated as passing.ohmyrust/
├── .claude-plugin/ # Claude Code plugin & marketplace manifests
├── bin/install.js # Cross-agent skill installer
├── docs/logo.svg # Project emblem
├── skills/ohmyrust/
│ ├── SKILL.md # Tier-2 core instructions & decision router
│ ├── agents/openai.yaml
ohmyrust is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by agnogad. AI coding agent skill & zero-dep CLI toolkit for Rust build caching, fast iteration, strict Clippy lints, GPU GUI (rune), and verified porting. It has 127 GitHub stars.
ohmyrust's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/agnogad/ohmyrust" and add it to your Claude Code skills directory (see the Installation section above).
ohmyrust is primarily written in JavaScript. It is open-source under agnogad on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ohmyrust against similar tools.
No comments yet. Be the first to share your thoughts!