AI tools
Nyxwire is newer than the training data of today’s models, so an agent left to its memory invents props and class names. Every @nyxwire/* package therefore ships Markdown docs for its exact version in dist/docs/: an index.md with the setup and the conventions, then one file per component or topic, generated from this site and from the component types. The tools below point agents at those files.
| Tool | Serves | Setup |
|---|---|---|
| AGENTS.md index | coding agents in a project: Claude Code, Codex, Cursor, Copilot | one command, run again after upgrades |
| Agent skill | agents that load skills, for setup and theming tasks | one command |
| MCP server | any MCP client, hosted or on your machine | one configuration entry |
| llms.txt | chat assistants and tools that read a URL | none |
AGENTS.md index
Section titled “AGENTS.md index”Start here. In Vercel’s evaluations on Next.js, a compact docs index in AGENTS.md reached a 100% pass rate where skills peaked at 79% (AGENTS.md outperforms skills): the index is in every prompt, so the agent never has to decide to look the docs up.
npx @nyxwire/cli agents-mdThe command finds the @nyxwire/* packages installed in the project and writes an index of their docs between two markers in AGENTS.md. It creates the file when needed and leaves the rest of it untouched. Run it again after upgrading Nyxwire.
| Option | Effect |
|---|---|
--file <name> |
Writes to another file, such as CLAUDE.md |
--cwd <dir> |
Indexes the project in another directory |
--dry-run |
Prints the block without writing it |
Claude Code reads CLAUDE.md: add the line @AGENTS.md to it, or write the index there with --file CLAUDE.md.
Agent skill
Section titled “Agent skill”The nyxwire skill teaches an agent the workflow: read the installed docs first, pick the packages for the stack, and follow the conventions (flavors, role colors, the nw- and Nw prefixes, NwProvider).
npx skills add fmauNeko/nyxwireThe skill also ships inside the packages: npx skills sync links it from node_modules, so it updates with Nyxwire. The skills CLI installs it for Claude Code, Codex, Cursor, OpenCode and many other agents.
MCP server
Section titled “MCP server”The Model Context Protocol server gives agents tools to search the components (search-components, get-component, get-component-api), the docs pages (search-docs, get-docs-page) and the palette (get-tokens). Nyxwire hosts it at https://nyxwire.dissidence.ovh/mcp, so an agent needs one configuration entry and nothing installed:
claude mcp add --transport http nyxwire https://nyxwire.dissidence.ovh/mcpnpx @nyxwire/cli mcp runs the same server on your machine over stdio, with the docs of the CLI’s own version. MCP server has the setup for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode 1 and 2, Devin, Zed, JetBrains AI Assistant, Kiro, Cline, Amp, Goose, Crush and Claude Desktop.
llms.txt
Section titled “llms.txt”This site serves the same docs for language models, following llmstxt.org:
/llms.txt: the index, with a link to every file/llms-full.txt: every package’s docs in one document/llms-small.txt: the flavors page and every package’s overview, for small context windows/llms/<package>.txt, such as/llms/vue.txt: one package’s docs/llms/<package>/<file>.md, such as/llms/vue/index.md: one file
Paste one of these URLs into a chat, or give it to any tool that reads llms.txt.