SkillAgentSearch skills...

rust-anything

Rewrite your whole app in Rust, one piece at a time, checked against the original's recorded behavior at every step. CLIs, HTTP servers and libraries in TypeScript, Python, C, Go, Ruby and Java.

Install / Use

npx skills add erkamyaman/rust-anything

Installs into whichever agent you are using.

About this skill
🤖

CLAUDE.md

Claude Code project instructions

Quality Score

97/100

Supported Platforms

Claude Code
OpenAI Codex

Our assessment of rust-anything

rust-anything scores 97/100 on our quality scale, 122nd of 4,705 Development & Engineering skills we index (top 3%).

Its CLAUDE.md is 20 KB long, well organised into 8 sections with 5 code examples: a thorough specification that gives an agent plenty to work with.

With 7,884 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
30/30
Structure
20/20
Description
15/15
Adoption
17/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated today, so rust-anything is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-11-22. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

rust-anything compared with similar skills

All 4 of these similar skills score higher than rust-anything; compare them before choosing.

SkillScoreStarsUpdatedFormat
rust-anything (this skill)by erkamyaman977.9ktodayCLAUDE.md
taste-skillby Leonxlnx100120.0ktodayCLAUDE.md
claude-memby thedotmack100119.0ktodayCLAUDE.md
Agent-Reachby Panniantong100114.0ktodayCLAUDE.md
Understand-Anythingby Egonex-AI10093.7ktodayCLAUDE.md

Frequently asked questions

How do I install rust-anything?
Run npx skills add erkamyaman/rust-anything. The install tabs above show the steps for each supported agent.
Which AI agents does rust-anything work with?
It is written for Claude Code and OpenAI Codex, as a CLAUDE.md file. Other agents that read the same format can often use it too.
Is rust-anything safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is rust-anything still maintained?
The repository was last updated today, so rust-anything is actively maintained.
<p align="center"> <img src="docs/assets/logo.png" width="160" height="160" alt="The rust-anything crab"> </p> <h1 align="center">rust-anything</h1> <p align="center"><sub>English · <a href="docs/README_TR.md">Türkçe</a> · <a href="docs/README_UK.md">Українська</a> · <a href="docs/README_ZH.md">简体中文</a> · <a href="docs/README_ZH-TW.md">繁體中文</a> · <a href="docs/README_DE.md">Deutsch</a> · <a href="docs/README_FR.md">Français</a> · <a href="docs/README_RU.md">Русский</a> · <a href="docs/README_JA.md">日本語</a> · <a href="docs/README_KO.md">한국어</a> · <a href="docs/README_AZ.md">Azərbaycanca</a> · <a href="docs/README_UZ.md">Oʻzbekcha</a> · <a href="docs/README_KK.md">Қазақша</a> · <a href="docs/README_KY.md">Кыргызча</a> · <a href="docs/README_TK.md">Türkmençe</a> · <a href="docs/README_TT.md">Татарча</a> · <a href="docs/README_UG.md">ئۇيغۇرچە</a> · <a href="docs/README_PT.md">Português</a> · <a href="docs/README_VI.md">Tiếng Việt</a></sub></p> <p align="center"><b>Rewrite your app in Rust, and prove it still behaves the same.</b><br> Point it at your app: it records what the original does, your coding agent writes the Rust one piece at a time,<br> and every piece is checked against that recording before it moves on. It doesn't translate code; it proves the rewrite.</p> <p align="center"> <img src="https://img.shields.io/github/languages/top/erkamyaman/rust-anything?logo=rust&label=Rust&color=CE422B" alt="Rust share of the code"> <img src="https://img.shields.io/badge/macOS%20·%20Linux%20·%20Windows-native-2563EB" alt="Native binaries for macOS, Linux and Windows"> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-555" alt="MIT license"></a> <a href="https://crates.io/crates/rust-anything"><img src="https://img.shields.io/crates/v/rust-anything?color=E2862A&label=crates.io" alt="crates.io version"></a> <a href="https://www.npmjs.com/package/rust-anything"><img src="https://img.shields.io/npm/v/rust-anything?color=E2862A&label=npm" alt="npm version"></a> <br> <a href="https://coderabbit.link/erkamyaman"><img src="https://img.shields.io/coderabbit/prs/github/erkamyaman/rust-anything?labelColor=171717&color=FF570A&label=Reviewed+by+CodeRabbit" alt="Pull requests reviewed by CodeRabbit"></a> <a href="https://github.com/rust-unofficial/awesome-rust#development-tools"><img src="https://awesome.re/mentioned-badge.svg" alt="Mentioned in Awesome Rust"></a> <a href="https://github.com/AIshihzong/awesome-reverse-engineer-anything"><img src="https://img.shields.io/badge/Featured%20in-Awesome%20REA-f0b429" alt="Featured in Awesome REA"></a> <a href="https://github.com/erkamyaman/rust-anything"><img src="https://img.shields.io/github/stars/erkamyaman/rust-anything?style=social" alt="GitHub stars"></a> </p> <p align="center"><a href="https://github.com/erkamyaman/rust-anything/discussions/127"><img src="https://img.shields.io/badge/Join%20the%20discussion-6E40C9?style=for-the-badge&logo=github&logoColor=white" alt="Join the discussion"></a></p> <p align="center"><a href="https://trendshift.io/repositories/363468" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/trendshift/repositories/363468/daily?language=Rust" alt="erkamyaman/rust-anything: #1 Rust repository of the day on Trendshift" width="250" height="55"/></a></p> <p align="center"><b><a href="#quick-start">Install</a></b> · <a href="https://github.com/erkamyaman/rust-anything/releases">Releases</a> · <a href="#quick-start">Claude Code plugin</a> · <a href="https://registry.modelcontextprotocol.io/v0.1/servers?search=rust-anything">MCP Registry</a> · <a href="docs/real-world.md">Real-world ports</a> · <a href="docs/faq.md#faq">FAQ</a><br> <sub><a href="#languages">Languages</a> · <a href="docs/how-it-works.md#how-it-works">How it works</a> · <a href="docs/whole-apps.md#port-a-whole-app">Whole apps</a> · <a href="#sponsors">Sponsors</a> · <a href="LICENSE">MIT</a></sub><br> Made in Türkiye 🇹🇷 by <a href="https://github.com/erkamyaman">erKam Yaman</a> · <a href="https://github.com/sponsors/erkamyaman">❤️ Sponsor me</a> · Sponsored by <a href="https://coderabbit.link/erkamyaman"><img src="docs/assets/brands/coderabbit.png" width="22" height="22" align="absmiddle" alt=""> <b>CodeRabbit</b></a></p> <p align="center">New in 2.0: <a href="docs/real-world.md#prettier">Prettier, ported to Rust</a>. 19x faster · 15,837 of 17,224 recorded runs fully in Rust · every run byte-identical</p> <p align="center"> <img src="docs/assets/prettier.gif" alt="Prettier and its Rust port format the same 59 real files, one process per file: Prettier takes 3.63 s, the Rust port 0.20 s, with the same output byte for byte." width="820"> <br> <sub>Prettier against its Rust port on 59 real files from ms, Fuse.js and json-server (Apple M4). Same output, byte for byte. <a href="docs/real-world.md#prettier">How it was measured</a>.</sub> </p> <p align="center"><sub>PHP and C#: record, replay and the front door today; unit ports come next.</sub></p> <table> <tr> <td width="25%" valign="top"> <b>Record</b><br> <code>record</code> runs the original on generated edge cases, semantic traps and your own inputs, and saves what it returns or throws. </td> <td width="25%" valign="top"> <b>Port</b><br> <code>bridge</code> generates the Rust crate and a wrapper, so callers keep the original API. You or your agent write the Rust. </td> <td width="25%" valign="top"> <b>Check</b><br> <code>diff</code> replays every recorded case against the Rust, and nothing ships until they all match and <code>gate</code> passes. </td> <td width="25%" valign="top"> <b>Lift</b><br> When replay passes with no fallback and every unit passes gate, <code>app lift</code> makes it a pure Rust app. The original is never touched. </td> </tr> </table>

Rewrite your whole app in Rust, one piece at a time. rust-anything records what your Node.js (TypeScript/JavaScript), Python, C, Go, Ruby, Java or Kotlin app does today, then checks every piece of the Rust rewrite against that recording before it moves on, until the app is pure Rust. CLIs, HTTP servers and libraries; your coding agent (or you) writes the Rust. It is built on napi-rs, PyO3 and wasm-bindgen, which carry the calls between your language and Rust; rust-anything decides what to move and proves it matches. It can only catch what the recording covers: see What it can't catch. Whole tools and servers, or only the slow part, one hot path at a time:

| Real project, same output as the original | Original | With rust-anything | | --- | ---: | ---: | | Prettier 3.6.2, 2,360 JS/TS files from the command line | 128.6 s | 6.9 s: 19x faster | | Prettier, 6,305 Markdown files from the command line | 352 s | 22.5 s: 15.6x faster | | json-server, a whole Node server: memory at idle | 74 MB | 3.5 MB, one 5.3 MB binary | | json-server, from start to first response | 79 to 85 ms | 8 to 10 ms | | Fuse.js search over 50,000 strings, per query | 91.2 ms | 2.8 ms: 32x faster |

Prettier: 15,837 of 17,224 recorded runs format fully in Rust across 10 languages (JavaScript, TypeScript, JSX, JSON, GraphQL, YAML, Markdown, CSS, SCSS, Less), and all 17,224 match Prettier byte for byte, since anything not ported yet falls back to Prettier. json-server: 514/514 recorded HTTP cases match on a pure Rust binary. Measured on an Apple M4, two runs each, every output compared before timing (details). Calling Rust once per small function is usually slower than a JIT; rust-anything finds the loop worth moving, and moves it. Against C the win is safety, not speed: ffmpeg's libavutil ported to Rust matches all 226,447 recorded calls and runs at about C's speed (18 of 42 benchmarks even, 8 faster, 16 slower by 3 to 40%).

<p align="center"> <img src="docs/assets/json-server.gif" alt="json-server as a Node server and as one Rust binary: memory at idle 74 MB and 3.5 MB, start to first response 79 to 85 ms and 8 to 10 ms, and 514 of 514 recorded HTTP cases match." width="820"> <br> <sub>json-server, a whole Node server, lifted to a pure Rust binary (Apple M4). <a href="docs/real-world.md#json-server">How it was measured</a>.</sub> </p>

rust-anything is an independent project, not affiliated with or endorsed by the Rust Project or the Rust Foundation. "Rust" is a trademark of the Rust Foundation.

[!WARNING] record and app record run your original code, calling each function (or the whole app) on many generated inputs, and app record runs every case twice. diff, gate and app replay run the same cases again, on the port or the original. Code that writes files, talks to a database or calls the network does that once per case. Run them on a copy of the project, with a test database and no production credentials in the environment.

Quick start

Paste this into Claude Code, Codex, Cursor, Gemini CLI or OpenCode and let your agent install it:

Install rust-anything: run `cargo install rust-anything`, then `rust-anything setup`.
Tell me when to restart you.

Or yourself:

cargo install rust-anything   # from crates.io
rust-anything setup           # registers it with Claude Code, Codex, Cursor, Gemini CLI and OpenCode

No Rust toolchain yet? Prebuilt binaries for macOS, Linux and Windows are attached to each GitHub release, and for JavaScript projects npm install -g rust-anything installs the same binary.

In Claude Code you can also install it as a plugin (the MCP server and the skill; the CLI above must be on your PATH):

/plugin install rust-anything --marketplace erkamyaman/rust-anything

setup adds the MCP server to each agent it finds and installs the workflow skill where the agent reads skills. It keeps your other settings, is safe to run again, and --remove undoes it. Then ask your agent, for example:

  • "Rewrite this CLI in Rust with rust-anything, end to end, and prove it behaves the same."
  • "This search feels slow. Profile it with rust-anything and move the hot loop to Rust."
  • "Plan a migration of src/parser/ to Rust with rust-anything; port the first unit and prove it."
  • "Bench the Rust port in rust/text-rs against the original and tell me whether to ship it."

Works with

| Agent | rust-anything setup adds | | --- | --- | | Claude Code | MCP server in ~/.claude.json, skill in ~/.claude/skills/ | | Codex | MCP server in ~/.codex/config.toml, skill in ~/.codex/skills/ | | Cursor | MCP server in ~/.cursor/mcp.json | | Gemini CLI | MCP server in ~/.gemini/settings.json | | OpenCode | MCP server in ~/.config/opencode/opencode.json (mcp.servers), skill in ~/.config/opencode/skills/ | | Any other MCP client | add rust-anything mcp as a stdio server by hand (see Install) |

Before changing a file that exists, setup saves a copy beside it (<file>.rust-anything.bak); --no-backup skips the copy.

To wire OpenCode up by hand, put the server in ~/.config/opencode/opencode.json (command is the whole argv) and copy skills/rust-anything/ to ~/.config/opencode/skills/rust-anything/:

{
  "mcp": {
    "servers": {
      "rust-anything": { "type": "local", "command": ["rust-anything", "mcp"] }
    }
  }
}

Or run the steps yourself:

rust-anything profile . -- node bench.mjs              # what is hot, and who calls it
rust-anything bridge . src/fuzzy.ts --batch fuzzyScore:text
# write src/port.rs (or let your agent), then:
rust-anything record 

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars7.9k
CategoryDevelopment
Updated2h ago
Forks626

Languages

Rust

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions