per.hr for AI · Claude Code · Beta
One command sets up the per.hr plugin. Start a Plan item, check your time and send finished work to Review without leaving Claude Code, then invoice from the app or your terminal.
In beta, part of Pro and Team, with a 14-day trial on Free. Request access and start right away while per.hr Customer Support reviews it. Everything agents share is on per.hr for AI.
Setup
From your terminal or in the app. Both walk the same steps, record through the same plugin and share your progress, so you can start one way and finish the other.
npx perhr setup
Approve the code QMRP-XTKD at per.hr/device
Signed in. Next: your business
Plan Items
Say which Plan item you're on, or let your branch name do it. When one stretch of work covers several items, give it a range or a list.
❯ /perhr:start PAY-214:216
Working on PAY-214, PAY-215 and PAY-216 · estimates 10.00 h · your time splits by estimate
❯ /perhr:status
You 1h 12m · Agents 2h 40m · $5.10 · 27% of the estimate
Plan items and how your time splits
Split by Estimate
Your Time
Your time is the span you were attending the session: prompting, reading, testing and supervising agents. Breaks are left out on their own.
Your time1.50 h
Agent time, counted separately2.60 h
Terminal
perhr is a package on npm. The command that sets you up also runs the business side: clients, projects, time, review, estimates and invoices, without leaving the terminal you're working in. The video here follows it from setup to a sent invoice.
Best Practices
Prefer to stay in Claude Code and the app? Plan the work with Claude as Plan items with references and estimates, import them, then run one self-contained prompt per item in Claude Code with the plugin's commands. Review and invoice in per.hr. Every session is on the record, so clients see exactly what was worked on, and you see what your own projects take.
Start another Plan item, and the work so far goes to Review on its own.
Ranges and lists, with your time split by estimate.
Commits and pull requests attach to the session and show whether they merged.
Model, tokens and an estimate at API rates, from Claude Code's own usage data.
Times and counts. Your prompts and code stay on your computer.
The perhr CLI on npm and the Claude Code plugin are public on GitHub, under the MIT license.
per.hr for AI is in beta. Request access with your per.hr account and start right away: per.hr Customer Support reviews each request, and you can set up and record while you wait. On Free, a 14-day trial starts with your first recorded session. Then set up from your terminal with npx perhr setup, or in the app with Guided Setup; both walk the same steps and share your progress.
Both record the same sessions through the same plugin, so choose by how you like to work. From your terminal: npx perhr setup runs the per.hr CLI straight from npm (Node 18.17 or later), signs your computer in with a code you approve, installs the plugin, and afterward the perhr command handles clients, time and invoices. In the app: Guided Setup does the business steps in your browser, you make a key and add the plugin from inside Claude Code, and you review and invoice in per.hr. No Node, and no terminal if you'd rather stay out of one. You can start one way and add the other later.
From your first prompt to the end of the session, including the time you spend reading, testing and thinking, and the time agents work while you're there. A gap of more than 15 minutes with nothing running is a break and is left out. Pause recording for anything you don't bill. Agent time is counted on its own and never added to yours.
Your prompts, code and files stay on your computer. per.hr receives session and turn times, the repo and branch, and, if you record compute, the model, tokens, cost and commit and line counts. Summaries are the ones you write or approve. Rates are typed at your own keyboard and never pass through Claude.
Request access, set up from your terminal or in the app, and your next Claude Code session arrives ready to confirm.