/pairz:pairzfrom Pairz
Builds and tests apps on Pairz, a TypeScript runtime (Node 24+, Deno, Bun) where one set of Actions, Views, and access rules serves web, terminal, agents, and MCP clients. Use when a project depends on pairz or @pairz/pairz.
Ships in Pairz. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Pairz is a runtime for apps that people and AI use alike. You write the app once: its data, what can be done, who may do it, and how it shows. People use it on a web page or in a terminal, the app's own agents use it through tools, and outside assistants (ChatGPT, Claude, any MCP client) use it over MCP. Every way in calls the same Actions, under the same rules, and every write is on one record of who did what, for whom.
The guide that ships with the installed version is the source of truth:
node_modules/pairz/AGENTS.md (on GitHub).
Where it and this skill differ, it wins. When you're unsure of a name, read the package's types
(node_modules/pairz/**/*.d.ts) or its docs page. Don't guess.
package.json or deno.json names pairz or @pairz/…, or its code imports from
pairz.input schema and an allow (who may).
Processors react to events. Views show data in one place: text for a model or the
terminal, React for the web. Resources are configuration by kind (agents, tools,
provider…), and Adapters implement a port (a model provider's protocol).{ kind, id, for?, in? }: a person, a contact, or an agent
working for one of them, in a space.<collection>.created, .updated or
.deleted. An Action call records action.started, then action.completed or action.failed.runtime.observe keeps a View live, and
runtime.subscribe hears events.requires: ["chat"]) and imports only that plugin's contract.ts.On Node 24 or newer, start a checked app with the compiler:
npx pairz@next init orders
cd orders
npm run check
npm run dev
Give each declaration a file with a default export. Type the Action's input on run and the
document on defineCollection<T>. pairz gen writes the schemas, assembles each host's plugins and
records the app's names. Keep React components in lib/web/. Use the “Find it” index in
node_modules/pairz/AGENTS.md for the API and node_modules/pairz/llms.txt for all installed
guides. The compiler.
No test needs an API key or the network. After every change, run npm test. Before you stop, run
npm run check for the types.
A test runs the app as app.ts makes it, on memoryStore(), with the agents' model alias pointed
at a scripted model: an LlmAdapter that plays fixed moves, a text or a tool call, one per call.
const { runtime, store, helper } = await start([
{ tool: "add_task", input: { title: "Bo" } },
"Done.",
]);
await runtime.call("chat.send", { in: space, text: "Add Bo." }, { actor: here });
await runtime.idle(); // until nothing is left to run
Then check three things: what the model read (helper.sent), the record (store.events(0): who
wrote, for whom), and what a person sees (runtime.observe(view, item, { actor }).ready). Test what
callers may not do as well: call as someone else, and expect the refusal. tests/kit.ts (start
and the scripted model) and the patterns for time, outside calls and HTTP are in
testing. To run the app without a key, set the agents' model alias to
"fake/echo", the offline model.
Each one, with why and code: rules.
shared first. Name the collection in the shared resource; what it
can't say goes in the plugin's guard. Don't filter by who's asking inside an Action. Every
write keeps to the collection's schema, updates included.defaults.allow and override per Action or named query. An async
rule may read as the caller before admission. Use inPerson for what only the person may decide.
Without a rule or default, an Action is internal.tool:<name> View:
short text, with ids the model can act on. Views write only from their handlers.failure(code, message, { public: true }). Only a public failure's
words reach a caller outside, or a model.app.ts reads no environment, and agents name a model
alias that the app sets.transaction: true for the whole Action or
ctx.transaction for part of it.personOf(ctx.actor), not ctx.actor.id; where is ctx.in.as for the whole Action or
ctx.as(grant("…")). Keys stay in code: never in Action inputs, never with a model.needs_approval, and the turn asks its person: don't
catch it in a tool, let it through.callId), then write the result.app.ts).https://pairz.ai/docs/<slug>.md, and
https://pairz.ai/llms.txt lists them all. Start with the
reference (every entry point, option, event and context
field), the plugins (chat, spaces, mcp…, a
page each) and Getting Started (a booking app in 10
chapters).search_docs, read_doc and
agents_guide, and the Pairz plugin will register them once they're live. Until then, fetch the
.md pages.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
TypeScript, Node, Deno, Bun
pairz, typescript-runtime, mcp-server, agent-tools, full-stack
Other plugins' skills for the same job
npx claudepluginhub pairzhq/pairz --plugin pairz