hannsxpeter

Sumac — Development skill for Claude Code

Development community

Sumac: bring out what your tools can do — one Rust binary to bridge skills, MCP, and APIs.

How to install Sumac

This entry records only its repository, not the path inside it, so there is no exact command to give. Open hannsxpeter/sumac and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Sumac does

Sumac: bring out what your tools can do — one Rust binary to bridge skills, MCP, and APIs. Run any skill as an MCP server, any MCP server as a CLI, and any API from your terminal.

Alternatives in Development

  • OpenAI Codex CLI — (Rust implementation) 67.8k ★
  • Claude Code Rust — 🚀 Rust 全量重构的 Claude Code - 性能提升 2.5x,体积减少 97% High-performance Rust implementation of Claude Code with 2.5x f 1.4k ★
  • Storybloq — Cross-session context for Claude Code 696 ★

README

Sumac (`sxmc`)

Sumac makes AI assistants stop guessing how your tools work.

It inspects the real tools already on your machine, turns them into structured profiles, and uses that knowledge to generate AI-host startup docs, client config, MCP wrappers, and reusable discovery artifacts from one Rust binary.

[Crates.io](https://crates.io/crates/sxmc) | [docs.rs](https://docs.rs/sxmc/latest/sxmc/)

Stable `1.x` line: Sumac now treats `setup -> add -> status -> sync` as the maintained onboarding and reconciliation loop for day-to-day use.

Stable Product Path

If you only learn four commands, learn these:

sxmc setup --root .
sxmc add gh --root .
sxmc status --human
sxmc sync --root . --apply

When you want user-level host files instead of repo-local files, switch the same workflow to `--global`:

sxmc setup --global
sxmc add gh --global
sxmc status --global --human
sxmc sync --global --apply

What they mean:

  • sxmc setup: onboard the common tools a repo uses
  • sxmc add : teach Sumac and your AI hosts one more CLI
  • sxmc status: see what your AI knows, what is stale, and what to do next
  • sxmc sync: reconcile saved profiles and generated host artifacts as tools change

Why It Exists

Without Sumac, the same capability usually gets rebuilt several times:

  • a skill adapter for one agent
  • a JSON-RPC script for one MCP server
  • a thin shell wrapper for one API
  • per-host startup docs and config files for AI tools

Sumac collapses that into one installable binary (`sxmc`) with four core flows:

Skills -> MCP server
MCP server -> CLI
API -> CLI
CLI -> AI startup surfaces

That means less glue code, narrower MCP discovery, fewer retry turns, and much less repeated setup across Claude Code, Cursor, Gemini CLI, Copilot, Codex-style tools, and generic MCP clients. The CLI command is `sxmc` — short to type, same letters as the brand.

Install

cargo install sxmc

Other channels:

  • GitHub Releases: prebuil