by EL4CTEO
Don't rewrite it in Rust. Rewrite the 5% that's slow: profile Python, Node or Ruby apps, port the hot functions with your coding agent, prove they behave the same.
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/EL4CTEO/fast-anythingGuides for using ai agents skills like fast-anything.
See how fast-anything compares with popular alternatives.
Rewriting a whole app in Rust costs months, minute-long compiles and gigabytes of target/. Most of the runtime sits in a few functions anyway.
fast-anything finds those functions, has your coding agent port only them to Rust, proves the port gives the same results on real recorded calls, and swaps it in. One command, fully reversible.
npm i -g @el4cteo/fast-anything # or: cargo install fast-anything
Ports are compiled with your Rust toolchain (rustup).
fast-anything go --agent claude -- python app.py # or: -- node app.ts / ruby app.rb / java App.java / mvn exec:java / gradle run / go run . / php app.php / clang -O2 main.c
Or step by step:
| command | what it does |
|---|---|
scan -- <cmd> |
profiles the app, ranks functions by time × how portable they are |
port [id] |
records up to 500 real calls, creates a one-function Rust crate + TASK.md |
verify |
release-builds the port and replays every recorded call |
enable / disable |
swaps the Rust in or out (one marked block, removed byte for byte) |
bench |
times the whole app, original vs Rust, interleaved runs |
report |
markdown + SVG card for your PR |
doctor |
checks Rust, your runtimes and your agents |
--agent takes claude, codex, or any command that reads a prompt on stdin. Without it, hand TASK.md to whatever you use.
That port looked right but compared bytes instead of characters. 148 of 500 real calls caught it. On top of the recorded calls, fast-anything derives extra cases and lets the original answer them: edge cases (NaN, ±infinity, -0.0, zero and ±1, non-ASCII text, empty and up to 16× bigger inputs) and shrunk inputs (tiny and random slices). Nothing is enabled until every case matches: same values (floats within 1e-9), errors where the original errors. A port that is right but slower per call than the original (calling into Rust costs more than the work saved) isn't enabled either. FAST_ANYTHING_DISABLE=1 runs the original any time.
Real runs on an i5-10500, Windows 11 (C and C++: a 4-core GitHub Actions Linux runner). Reproduce them from examples/.
| app | before | after |
|---|---|---|
| Python fuzzy dedupe (700 names) | 4.91s | 42ms, 116× |
| TypeScript fuzzy dedupe (2,000 names) | 3.11s | 155ms, 20× |
| PHP fuzzy dedupe (600 names) | 2.94s | 53ms, 55× |
| Go fuzzy dedupe (3,000 names) | 3.02s | 144ms, 21× |
| Ruby fuzzy dedupe (400 names) | 3.13s | 228ms, 14× |
| Java fuzzy dedupe (4,000 names) | 3.50s | 1.18s, 3× (11× on the function; the rest is JVM startup) |
| C mandelbrot (8 zoom levels) | 431ms | 127ms, 3.4× |
| C++ fuzzy dedupe (6,000 names) | 3.02s | 1.09s, 2.7× |
fast-anything ports the outermost loop it can, not the tiny function called inside it, so the app crosses into Rust once instead of millions of times. Porting only the inner levenshtein gave 35× and 1.9×.
.fast/target. Delete it whenever you like./plugin marketplace add EL4CTEO/fast-anything, then /plugin install fast-anything@fast-anything and /fast-anything:fast python app.pyclaude mcp add fast-anything -- fast-anything mcp. 8 tools: fast_scan, fast_port, fast_verify, fast_enable, fast_disable, fast_bench, fast_report, fast_status.skills/fast-anything teaches any agent the loop.| language | binding | status |
|---|---|---|
| Python 3.10+ | PyO3 | ✅ |
| JavaScript / TypeScript (Node 22+) | napi-rs | ✅ |
| Ruby 3.3+ | C ABI + JSON, through Ruby's built-in Fiddle | ✅ |
Java 22+ (java App.java, Maven, Gradle) |
the same C bridge, through the FFM API | ✅ |
Go 1.22+ (go run .) |
the same C bridge, through the Windows loader or dlopen (cgo) | ✅ |
PHP 8.1+ (php app.php) |
the same C bridge, through PHP's FFI extension (extension=ffi) |
✅ |
C and C++ (gcc or clang: clang -O2 main.c lib.c) |
the same C bridge, through LoadLibrary or dlopen | ✅ |
It ports top-level, deterministic functions that take plain data (numbers, strings, lists, dicts, typed arrays…), including ones in your entry script when its main code sits under if __name__ == "__main__": (or if __FILE__ == $0). In Java and PHP that means static methods (and PHP functions), in Go plain functions, in C and C++ free functions and static methods. scan says why anything else can't move yet.
Ruby, Java, Go, PHP, C and C++ need no headers, bindings or extra tools: the port is a plain Rust library with one C entry point taking and returning JSON, and fast-anything replays the recorded calls against it directly. Any language that can call C can use that bridge.
MIT
fast-anything is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by EL4CTEO. Don't rewrite it in Rust. Rewrite the 5% that's slow: profile Python, Node or Ruby apps, port the hot functions with your coding agent, prove they behave the same. It has 60 GitHub stars.
fast-anything'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/EL4CTEO/fast-anything" and add it to your Claude Code skills directory (see the Installation section above).
fast-anything is primarily written in Rust. It is open-source under EL4CTEO 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 fast-anything against similar tools.
No comments yet. Be the first to share your thoughts!