Z Plugin — AI skill for Claude Code
Cut 95% wasted tokens, stop breaking changes with sub-2ms call-graphs, and ban AI code slop.
How to install Z Plugin
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open kzxl/z-plugin and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Z Plugin does
Cut 95% wasted tokens, stop breaking changes with sub-2ms call-graphs, and ban AI code slop. Universal MCP toolkit for Cursor, Claude Code, Antigravity & Windsurf.
Alternatives in AI
README
🔌 z-plugin — The Context-Saving & Quality Engine for AI Coding Agents
[](package.json) [](https://nodejs.org) [](https://github.com/kzxl/z-plugin) [](https://modelcontextprotocol.io) [](package.json) [](LICENSE)
[Tiếng Việt](README.vi.md) · [English](README.md) · [Roadmap](ROADMAP.md) · [Changelog](CHANGELOG.md)
**Stop burning tokens, prevent breaking code regressions, and ban AI code slop.** `z-plugin` is a lightweight, zero-dependency engineering toolkit and MCP server suite that turns **Cursor**, **Claude Code**, **Google Antigravity**, and **Windsurf** into disciplined senior engineers.
⚡ 30-Second Quick Start
No cloning or manual configuration required. Run directly in your project root:
# Set up Cursor (.cursorrules + .cursor/mcp.json)
npx @kzxl/z-plugin init cursor
# Or set up Claude Code (CLAUDE.md + .claude_mcp.json)
npx @kzxl/z-plugin init claude
# Or set up all supported AI agents at once (Cursor, Claude, Windsurf, Copilot, Cline)
npx @kzxl/z-plugin init all
# Run the interactive visual capability demo
npx @kzxl/z-plugin demo
For **Google Antigravity 2.0** and **ZCode**, link all core plugins via zero-copy directory junctions:
powershell -ExecutionPolicy Bypass -File install.ps1
💥 Why z-plugin? (Before vs. After)
| Common AI Agent Pain Point | With z-plugin Active |
Verified Impact |
|---|---|---|
Context Window Blowout: Agent opens 5 large files or runs recursive grep, bur |
Related Skills
Microbrainsforagents
Sub-2ms CPU safety shield & smart tool router for AI agents (Claude Code, MCP). Stops bugs, destructive shell
Framer Template Skills
Agent skills for my Framer templates. Each template has its own folder of skills that let Claude, ChatGPT and
Context Engine
Drop-in token saver for Claude Code & MCP agents — auto-rewrite hooks + 10-tool MCP server + BM25/PageRank rep
Living Codebase Cartographer
Offline codebase cartographer: language-agnostic repo maps, dependency/call graphs, blast-radius impact analys
Srclight
Deep code indexing MCP server for AI agents. 25 tools: hybrid FTS5 + embedding search, call graphs, git blame/
Sidequest
Cut Claude Code token costs by delegating bulk LLM work to cheap models. 600+ models via NanoGPT, OpenRouter,
Related Agents
10x Tool Calls
Cursor and Windsurf meter usage by requests and tool calls rather than tokens, which means a finished or stall
Budget Optimizer
Finds wasted spend and winners across platforms, then reallocates budget by ROAS, tunes bids, and kills losers
Data Seneschal
Process steward. Use at project kickoff to set up the Notion project page and .devteam/journal.json, for ticke