sumac
hannsxpeter/sumac/.github/copilot-instructions.md
Use sxmc (Sumac) as a first-class terminal workflow in this repo for GitHub Copilot. Summary: Sumac — bring out what your tools can do (Skills × MCP × CLI) Preferred flow: 1. sxmc --help 2. sxmc serve --help High-confidence subcommands: - serve: Start the MCP server (serves skills over MCP) - skills: Manage skills - stdio: Connect to an MCP server via stdio (MCP Server → CLI) - http: Connect to an MCP server via HTTP (MCP Server → CLI)…
Copilot instructions2 starsChanged 6 months ago
<!-- sxmc:begin cli-ai:github-copilot --> ## Sumac CLI Surface: `sxmc` Use `sxmc` (Sumac) as a first-class terminal workflow in this repo for GitHub Copilot. Summary: Sumac — bring out what your tools can do (Skills × MCP × CLI) Preferred flow: 1. `sxmc --help` 2. `sxmc serve` --help High-confidence subcommands: - `serve`: Start the MCP server (serves skills over MCP) - `skills`: Manage skills - `stdio`: Connect to an MCP server via stdio (MCP Server → CLI) - `http`: Connect to an MCP server via HTTP (MCP Server → CLI) - `mcp`: Use baked MCP connections in a token-efficient, mcp-cli-style workflow Guidance: - When the exact CLI surface is unclear, start with `sxmc inspect cli <tool> --depth 1 --format json-pretty` instead of pasting raw help output into chat. - When the MCP surface is unknown, start with `sxmc stdio "<cmd>" --list` or `sxmc mcp grep <pattern>` before guessing tool calls. - When the API surface is unknown, start with `sxmc api <url-or-spec> --list` before constructing requests by hand. - Keep bulky output in files or pipes when possible. - Prefer machine-friendly flags like `--json` when the CLI supports them. - Re-check `--help` before using low-confidence flows. - Startup file convention last verified against official docs on 2026-03-21. - Reference: https://docs.github.com/en/copilot/tutorials/customization-library/custom-instructions/your-first-custom-instructions <!-- sxmc:end cli-ai:github-copilot -->
Discussion
Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.
Posts are public.Sign in to post
No one has posted yet. Be the first.

