# harnesspm > The harness package manager: share agent rules, docs, skills and tools through npm packages. ## Documentation - [harnesspm](https://harnesspm.tenphi.me/): Harness management for npm packages. A library ships rules, docs, skills and tools for coding agents in its npm package, and harnesspm gives them to Claude Code and Codex on every install. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/8a5edab282632443219e051e4ade2d1d.md)) - [For AI agents](https://harnesspm.tenphi.me/agents/): Where an AI coding agent starts with harnesspm - what is already installed, the rules that always apply, and the page for each task. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/48e47b4b0ab06a5eaef1eba21f223fa6.md)) - [Ask your agent](https://harnesspm.tenphi.me/ask-your-agent/): Prompts for the common harnesspm tasks, what your agent does with each, and the decisions that stay with you. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/d958a694031274622a2094662af558cd.md)) - [Bring your own harness](https://harnesspm.tenphi.me/bring-your-own/): Keep how you or your team work in a harness of your own, and bring it to every repository with harnesspm, without a commit there. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/547a3ba23ee0547f4b7c4278764a53d6.md)) - [Use a harness](https://harnesspm.tenphi.me/getting-started/): Give your agent the harness of your dependencies. Ask your agent to set up harnesspm, or run two commands, then review what it wrote and decide which packages may run tools. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/fe85b682b40da746ee4e2aa32851ca39.md)) - [Add your own or your team's harness](https://harnesspm.tenphi.me/guides/add-your-own/): Add your team's or your own rules, notes, skills and tools on top of any repository, without committing them. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/d70bae48e64857349a80d4065a0ef2b1.md)) - [Change upstream units](https://harnesspm.tenphi.me/guides/change-upstream/): Patch, replace or exclude any unit from a dependency, find where a line came from with why, and let agents improve a harness the owner's way. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/9da522a864c430f3382129e37b589131.md)) - [Cloud sessions](https://harnesspm.tenphi.me/guides/cloud/): Use the repository's harness and your own added harness in Claude Code cloud sessions. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/1ba783989423ff6c75ad370c998c6fcc.md)) - [Monorepos](https://harnesspm.tenphi.me/guides/monorepos/): How harnesspm resolves each workspace of a monorepo on its own dependencies, and where it writes the outputs. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/5d03b311c9978248ff226e9906e5cbe8.md)) - [Set up a project](https://harnesspm.tenphi.me/guides/setup/): Every step of setting up harnesspm in a project - install, init, what to commit, trust, the CI check and the commands that check the setup. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/a66bc20721f54268a8785c825bdcaac0.md)) - [Share a harness from your library](https://harnesspm.tenphi.me/guides/share/): Ship rules, docs, skills and tools for agents in your library's npm package, and pass on the harness of the libraries it builds on. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/9076c1587dcea17c73c27dd5977c505e.md)) - [Telemetry](https://harnesspm.tenphi.me/guides/telemetry/): Turn on opt-in events about how agents and people use your harness, send them to your own handler, and let people opt out. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/f01d40dfb98563c803e0931925e7ee27.md)) - [Trust and safety](https://harnesspm.tenphi.me/guides/trust/): What needs trust, how a project trusts a package, why an agent cannot grant itself permissions, and how the lock makes every change reviewable. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/e46aa44e91ea01e941b29c70de1d4956.md)) - [Use a package's harness](https://harnesspm.tenphi.me/guides/use/): What a project gets from the harness of its dependencies, how upgrades show up in review, and what to run after an install. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/c989d381b62b1493aec4d684019dc299.md)) - [CLI reference](https://harnesspm.tenphi.me/reference/cli/): Every harnesspm command and option, with exit codes. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/5fa97027d045512b6cc03c71344c9b86.md)) - [Configuration reference](https://harnesspm.tenphi.me/reference/config/): Every field of harnesspm.json, and the per-machine files harnesspm.local.json and ~/.harnesspm/config.json. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/2d16902b3363fb6bcb379ec490f59933.md)) - [Package format reference](https://harnesspm.tenphi.me/reference/package-format/): The harness/ folder at a glance - layout, manifest fields, unit kinds and IDs, rule frontmatter, scripts, hooks, MCP servers and permissions. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/3bc676d36aaafe4d84d8fa18fb888e02.md)) - [Share a harness](https://harnesspm.tenphi.me/share/): Ask your agent to add a harness to your library with harnesspm, decide what goes into it, publish it and tell your users. ([Markdown](https://harnesspm.tenphi.me/_cookbook/pages/f2faf809c8aa079f24a51a3652d62801.md))