by erkamyaman
Rewrite your app in Rust, piece by piece, checked against the original at every step. Works with TypeScript, JavaScript, Python, Go, Ruby, Java, C, PHP, C#, Kotlin and PowerShell.
# Add to your Claude Code skills
git clone https://github.com/erkamyaman/rust-anythingGuides for using ai agents skills like rust-anything.
Last scanned: 11/28/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-11-28T21:16:24.715Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}rust-anything is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by erkamyaman. Rewrite your app in Rust, piece by piece, checked against the original at every step. Works with TypeScript, JavaScript, Python, Go, Ruby, Java, C, PHP, C#, Kotlin and PowerShell. It has 11,553 GitHub stars.
Yes. rust-anything passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/erkamyaman/rust-anything" and add it to your Claude Code skills directory (see the Installation section above).
rust-anything is primarily written in Rust. It is open-source under erkamyaman on GitHub, so you can review or fork the full source.
Yes. AgentsLLM 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 rust-anything against similar tools.
No comments yet. Be the first to share your thoughts!
Paste this into your coding agent:
Install Rust Anything with npm i -g rust-anything, then run rust-anything setup. Run rust-anything go -- <slow command of this app> and finish the port until rust-anything gate passes.
Or install it yourself:
cargo install rust-anything # or: npm install -g rust-anything
rust-anything setup # adds it to Claude Code, Codex, Cursor, Gemini CLI and OpenCode
rust-anything doctor # checks the runtimes your original needs, with the fix for each
[!WARNING] Recording runs the original's real code. Work on a copy, and point a server at a test database.
record --sandboxandapp record --sandboxrun it with no network, the repository read-only and a CPU limit (sandbox-exec on macOS, bubblewrap on Linux;doctorchecks for it). There is no memory limit on macOS, and the Linux path has not been run yet (see STATUS).
[!TIP] Agents: read rustanything.ai/llms.txt for the install steps, every command and the porting workflow.
What counts as done. Behavior, not your tests. record runs the original on generated and given inputs and saves what each call returns, throws and prints. A port is done when gate passes: every recorded case matches (an error must have the original's type; its message text is not compared), and fmt, clippy, cargo test, the unsafe check, the stub check and the check for recorded answers pasted into the port all pass. Your own tests run too.
Your tests become cases. record --from-tests -- npx jest (or pytest) runs the original's own suite and records the calls it makes to the unit. --pin-clock fixes the clock and random numbers on both sides (TS/JS with the napi bridge, and Python), so date-dependent code can match. Calls whose arguments include a function, a symbol, a cycle, a RegExp or an Error are left out of what --from-tests records.
Whole apps: CLIs and servers. app record records a CLI (exit code, stdout, stderr, files written) or, with --http, a server's answers to every request. app front-door scaffolds rust/app, a Rust binary that owns the entry point and hands everything not ported yet to the original. app wire moves units over one at a time, app replay must stay at 100% while the fallback rate drops to zero, and app lift leaves a pure Rust app.
Side effects count. A port that forgets to send the webhook or the email must fail. app record --effects http,smtp (or --effect-env WEBHOOK_URL=http-url) points the app at local stand-ins that record every outgoing call and mail, and --db-dump "sqlite3 app.db .dump" records the database after each request; replay checks the port does the same.
The original keeps changing? app drift replays the original against its recording and lists what now answers differently, and the GitHub Action runs gate on every push.
You make the calls. When you correct the port's behavior, rules --add "<rule>" keeps it, and every later agent prompt includes it. Everything rust-anything generates lives in <repo>/rust/; enable edits the original's files with one removable block, and setup writes your agents' config.
Report or migrate, you pick. analyze and profile only report: a ranked plan of what to port, and what is hot under a real workload. They are plain commands, so the report costs no tokens. go migrates one unit: it bridges the hottest function, records it, hands the port to your agent, then builds, diffs and gates it, and switches it on only when everything matches. It needs profile, so it runs for TS/JS, Python, Go, Ruby and Java; it switches on in place for TS/JS and Python (disable switches it back off), and for the others it stops after gate and bench. PowerShell units go through bridge, record, diff, gate and enable by hand: profile does not run PowerShell.
How long a run takes. One go run ports one unit, with at most --rounds agent turns (3 by default): one for the port, then one per failing diff or gate. A whole app is one run