Borrowing it
Nothing to install: this file belongs to sorkila/lockpaw. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sorkila/lockpaw/main/CLAUDE.mdgit clone --depth 1 https://github.com/sorkila/lockpawWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/sorkila/lockpaw/claude-md)<a href="https://agentmods.dev/instructions/sorkila/lockpaw/claude-md"><img src="https://agentmods.dev/badge/instructions/sorkila/lockpaw/claude-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.08307 | $0.08307 |
| Opus 5 | $0.04154 | $0.04154 |
| Sonnet 5 | $0.01661 | $0.01661 |
| Haiku 4.5 | $0.00831 | $0.00831 |
Grade D, and why
lockpaw CLAUDE.md scanned grade D with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- **Six hookable agents (since v1.2.0)** — Claude (`Notification`+`Stop`, `~/.claude/settings.json`), Codex (`notify`, `~/.codex/config.toml` — its richer hooks.json is still feature-flagged upstream, so `notify` stays), Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- **Latest release** — v1.3.0 released 2026-08-24 (build 14). DMG SHA-256: `9b1df1d26c433c18f1921f09390b04c3a806015c0fdb07c4c12ed6ca3e694251`. Fade to black display protection (contributed in #15 by @swbiggart; follow-up How it starts
The opening of the file, as written. The whole thing — 262 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lockpaw
macOS menu bar screen guard. Lock/unlock with a hotkey; the covered screen glows when your AI agent (Claude Code / Codex / Gemini) needs you. Dog or cat mascot.
Quick reference
- App name: Lockpaw
- Bundle ID:
com.eriknielsen.lockpaw - URL scheme:
lockpaw:// - Website: getlockpaw.com (hosted on Inleed, deployed via FTP from
sorkila/lockpaw-web) - Repo: [email protected]:sorkila/lockpaw.git
- Requires: macOS 14+, Xcode 16+, XcodeGen
- Dependencies: Sparkle (SPM, auto-updates with EdDSA signing)
- Current version: 1.3.0
- Size: ~10 MB DMG download, ~13 MB installed (2.7 MB of that is Sparkle) — keep README/site/marketing claims in sync with the actual DMG when this changes
Build
xcodegen generate
xcodebuild -project Lockpaw.xcodeproj -scheme Lockpaw -configuration Debug build
After each rebuild, reset TCC (binary signature changes invalidate Accessibility permission):
tccutil reset Accessibility com.eriknielsen.lockpaw
Test
xcodebuild -project Lockpaw.xcodeproj -scheme Lockpaw -configuration Debug test
91 unit tests covering LockState transitions, Constants formatting, HotkeyConfig conflict detection/auth-required unlock preference, SleepPreventer state handling, Mascot resolution, PingDecision agent-ping branching, FadeToBlack preference resolution (checkbox × delay), and every branch of the PresentationLogic fade-to-black reducer.
Release
./scripts/build-release.sh
Builds unsigned → copies to /tmp for signing → signs with Developer ID → creates DMG → notarizes → staples → sets custom DMG file icon. Output: build/Lockpaw.dmg.
Requires: lockpaw-notarize keychain profile (already stored), Sparkle EdDSA signing key in Keychain.
Signing: The build script copies the app to /tmp via ditto --norsrc before signing. This is required because the repo lives in iCloud-synced ~/Documents which adds irremovable com.apple.FinderInfo and com.apple.fileprovider.fpfs#P xattrs that cause codesign to fail with "resource fork, Finder information, or similar detritus not allowed". Signing is done inside-out with --timestamp: XPC service binaries → XPC bundles → Autoupdate → Updater.app binary → Updater.app → Sparkle.framework → main app.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 262 lines · 8,307 tokens per session scan D d24479ebb342
lockpaw CLAUDE.md is an instructions file published in the GitHub repository sorkila/lockpaw (148 stars, last pushed 13d ago), licensed MIT. It adds 8,307 tokens to every session, about $0.0415 per session on Opus 5. A static security scan graded it D with 2 findings (reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.