What is hairline?
hairline is a Claude Code mod by accodev that a status line mod for Claude Code. It is listed under Interface and has 2 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | accodev |
| Repository | accodev/hairline |
| Popularity | 2 GitHub stars |
| Category | Interface |
| Security | High risk (48/100) |
| Rank | #2,197 of 9,397 Claude Code mods; #930 in Interface |
| License | MIT |
| Last commit | 2026-11-27 |
| Hooks | 8 events |
| Sees | only the events it hooks |
| Draws on | PromptHint, AbovePrompt |
Is hairline safe to install?
hairline scores 48/100 on the MCPMods security check: High risk. Things to review: sends data over the network; starts processes outside the sandbox; writes files or config; reads environment variables. It passed 3 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.config.list | |
$.config.set | changes config |
$.env.get | reads env vars |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.http.fetch | network requests |
$.process.run | runs processes |
$.session.authorize | reads the transcript |
$.session.cwd | |
$.session.id | |
$.session.model | |
$.session.usage | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.copy | draws interface |
$.ui.invalidate | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install hairline?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/accodev/hairline claude plugin validate ./hairline/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add accodev/hairline && claude plugin install hairline@hairline
Or ask Claude to set it up
Paste this into Claude Code and it installs hairline for you:
Install the "hairline" Claude Code mod from https://github.com/accodev/hairline. Run claude plugin validate on it first and show me what it can access before you enable it.