Skip to content

Don't rewrite it in Rust. Rewrite the 5% that's slow: profile your app, port the hot functions with your coding agent, prove they behave the same. Python, JS/TS, Ruby, Java, Kotlin, Go, PHP, C/C++, C#, R.

plugin: add an agents marketplace and a Codex plugin

GamerDubz5da214857cab
diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json
new file mode 100644
index 0000000..811f276
--- /dev/null
+++ b/.agents/plugins/marketplace.json
@@ -0,0 +1,20 @@
+{
+ "name": "fast-anything",
+ "interface": {
+ "displayName": "fast-anything"
+ },
+ "plugins": [
+ {
+ "name": "fast-anything",
+ "source": {
+ "source": "local",
+ "path": "./"
+ },
+ "policy": {
+ "installation": "AVAILABLE",
+ "authentication": "ON_INSTALL"
+ },
+ "category": "Coding"
+ }
+ ]
+}
diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json
new file mode 100644
index 0000000..cff7efc
--- /dev/null
+++ b/.codex-plugin/plugin.json
@@ -0,0 +1,37 @@
+{
+ "name": "fast-anything",
+ "version": "0.8.6",
+ "description": "Find the slow 5% of your app, port just that to Rust, and prove it still behaves the same.",
+ "author": {
+ "name": "EL4CTEO",
+ "url": "https://github.com/EL4CTEO"
+ },
+ "homepage": "https://github.com/EL4CTEO/fast-anything",
+ "repository": "https://github.com/EL4CTEO/fast-anything",
+ "license": "MIT",
+ "keywords": [
+ "rust",
+ "python",
+ "nodejs",
+ "typescript",
+ "performance",
+ "pyo3",
+ "napi-rs",
+ "profiling",
+ "mcp"
+ ],
+ "skills": "./skills/",
+ "mcpServers": "./.mcp.json",
+ "interface": {
+ "displayName": "fast-anything",
+ "shortDescription": "Port your app's hottest functions to Rust and prove they behave the same.",
+ "longDescription": "Profiles Python, Node, TypeScript, Ruby, Java, Kotlin, Go, PHP, C, C++, C# and R apps, records real calls to the hottest functions, has your agent port only those to Rust, replays every call to prove the port matches, and swaps it in reversibly.",
+ "category": "Coding",
+ "developerName": "EL4CTEO",
+ "websiteUrl": "https://github.com/EL4CTEO/fast-anything",
+ "logo": "./.claude-plugin/icon.png",
+ "defaultPrompt": [
+ "Find the slowest functions in this app and port them to Rust"
+ ]
+ }
+}
diff --git a/README.md b/README.md
index e7f6388..b89b3c5 100644
--- a/README.md
+++ b/README.md
@@ -84,7 +84,13 @@ fast-anything ports the outermost loop it can, not the tiny function called insi
## Agents
-- **Claude Code plugin**: `/plugin marketplace add EL4CTEO/fast-anything`, then `/plugin install fast-anything@fast-anything` and `/fast-anything:fast python app.py`
+**Plugin**: the repo is an agent plugin marketplace ([`.agents/plugins/marketplace.json`](.agents/plugins/marketplace.json)) that bundles the skill and the MCP server. Install the CLI first, then:
+
+- **Codex**: `codex plugin marketplace add EL4CTEO/fast-anything`, then install `fast-anything` from `/plugins`
+- **Claude Code**: `/plugin marketplace add EL4CTEO/fast-anything`, then `/plugin install fast-anything@fast-anything` and `/fast-anything:fast python app.py`
+
+Or wire it up by hand:
+
- **MCP server** (Claude Code, Codex, Cursor…), built into the binary: `claude 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`.
- **Skill**: [`skills/fast-anything`](skills/fast-anything/SKILL.md) teaches any agent the loop.
diff --git a/tests/plugin_manifests.rs b/tests/plugin_manifests.rs
new file mode 100644
index 0000000..b22c531
--- /dev/null
+++ b/tests/plugin_manifests.rs
@@ -0,0 +1,26 @@
+// The agent plugin manifests are bumped by hand next to Cargo.toml; keep them in step.
+
+use serde_json::Value;
+
+fn read(path: &str) -> Value {
+ let full = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join(path);
+ let text = std::fs::read_to_string(&full).unwrap_or_else(|e| panic!("{path}: {e}"));
+ serde_json::from_str(&text).unwrap_or_else(|e| panic!("{path}: {e}"))
+}
+
+#[test]
+fn plugin_versions_match_the_crate() {
+ for path in [".claude-plugin/plugin.json", ".codex-plugin/plugin.json"] {
+ assert_eq!(read(path)["version"], env!("CARGO_PKG_VERSION"), "{path}");
+ }
+}
+
+#[test]
+fn marketplaces_list_the_plugin() {
+ let name = read(".codex-plugin/plugin.json")["name"].clone();
+ assert_eq!(read(".claude-plugin/plugin.json")["name"], name);
+ for path in [".agents/plugins/marketplace.json", ".claude-plugin/marketplace.json"] {
+ let plugins = read(path)["plugins"].as_array().cloned().unwrap_or_default();
+ assert!(plugins.iter().any(|p| p["name"] == name), "{path}");
+ }
+}