Docs
Documentation
Pathrule is the context layer and the workbench for AI coding agents: it routes path-scoped memories, rules and skills to the agent at hook time, before the first tool call. Pathrule Studio runs Claude Code, Codex, Grok, Kimi, OpenCode and Antigravity natively; Cursor, Windsurf and GitHub Copilot connect over MCP. These docs cover the data model, the surfaces, and the MCP tools.
Start here
Introduction
What Pathrule is, how it routes team knowledge into AI coding sessions, and what it stores instead of your source code.
Quickstart
Install a Pathrule runtime, create a workspace, write your first memory, and see Claude Code pick it up through the hook.
Core concepts
Memories, rules, and skills, plus the workspace tree and path scope that route them to the right AI session.