Skip to content
Leashr

Leashr documentation

Leashr is a local agent that checks what a coding agent is about to do, enforces spending caps, keeps an audit log and measures cost per mission. It is built and tested for Claude Code. Limits on the other agents are listed.

PublicThe code is public on GitHub (Leashr/leashr-skills) and the package is on npm: npx leashr init works. The hosted dashboard is not released yet. Or run the agent from a clone of the repository: see Installation.

Every function below carries a status. “Tested” means two things: an automated test of the repository covers it (the proof file is named, results of 25/11/2026) and the behavior was observed on the real agent whose version is named. “Planned” means no code exists. Costs are estimates in USD, not invoices.

What you can do on your own

TaskCommand or filePage
Installnode skills/lsh-init/scripts/init.js --target <project>Installation
Write a rule.leashr/rules.json, rules.js testHooks and rules
Name a missionmission.js start <slug>Cost and missions
Set a spending capcap.js set --mission 2 --day 10Spending caps
Require approvalan ask ruleMobile approval
Read the auditaudit.js --summaryEvent format
Stop everythingcap.js killSpending caps

What each page covers

PageStatus
Installationnpx leashr init: published on npm. From a clone: tested
Local agentTested
Hooks and rulesTested
Cost and missionsTested
Spending capsTested
Event formatTested
Data policyTested
Mobile approvalPlanned. The local ask decision is tested
APIPlanned
Limits by agentTested, per agent

Tests of 28/11/2026: node --test in each skill folder, all passing (rules 155, cap 73, init 65, mission 24, agents 34, audit 18, cost 14, learn 12, quota 6, custom 26, sync 23; Node.js 24.14). Real sessions: Claude Code 2.1.310.

The local agent is public. Join the waitlist to hear when the hosted dashboard opens.

Join the waitlist