presence
llms.txt9 starsChanged 18 days agoApache-2.0View on GitHub
A Claude Code plugin that checks an agent's "fixed", "done", "works" claims against test and build evidence tied to the exact git working tree (deterministic, local, no model judge), and keeps a per-repo project model, outcome telemetry (commit/revert tracking) and an inter-turn event digest so the next session starts where the last left off. Stdlib-only Python runtime; one optional dep (cryptography) used only by the Zero-Trust preset. State is fully local under ~/.claude/presence/; zero network egress in default presets. Four…
- Pipes a download into a shell
- Commits and pushes
In this repository3 other files it gives its agents.
- confidence-gateSkill
- outcome-checkSkill
- project-modelSkill
The file
We split this llms.txt into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 75
Not a coding assistant or LLM.
- Distinctive: line 76
Not a security/compliance attestation.
- Very specific: line 77
Not a service. By default each hook is a short-lived Python process invoked by Claude Code.
≈ “Common” is an estimate: at least 1 in 5 of the 4,067 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# presence > A Claude Code plugin that checks an agent's "fixed", "done", "works" claims against test and build evidence tied to the exact git working tree (deterministic, local, no model judge), and keeps a per-repo project model, outcome telemetry (commit/revert tracking) and an inter-turn event digest so the next session starts where the last left off. Stdlib-only Python runtime; one optional dep (`cryptography`) used only by the Zero-Trust preset. State is fully local under `~/.claude/presence/`; zero network egress in default presets. ## Quick facts - **Repository**: https://github.com/sara-star-quant/presence - **License**: Apache-2.0 - **Runtime**: Python 3.12+ (3.12 / 3.13 / 3.14 all in CI) - **Platforms**: macOS arm64, Linux x86_64 and arm64 (CI matrix); Windows via WSL2, native Windows unsupported. - **Tests**: 1206 passing in CI (Linux x86_64 and arm64 on Python 3.12 to 3.14, macOS on Python 3.13). - **Evidence**: signed git-note receipts and CI-attested test runs, checkable without presence (docs/receipts.md, experimental). - **Cold hook startup**: 82 ms median with the default stdlib path, 8.9 ms with the optional Rust client (macOS arm64, Python 3.14.4; `bench/cold_startup.py`). - **SessionStart populated**: 112 ms median (10 KB model + 100 events + 50 claims; 9.1 ms with the Rust client). - **Aggregate session overhead**: 6.4 s for a synthetic 77-fire session (median, n=10; 770 ms with the Rust client). - Measured on one macOS arm64 machine, not in CI; reproduce with the scripts in `bench/`. ## What presence does Four behaviors, all active globally with one install: 1. **Calibrated confidence.** Stop hook checks unhedged success claims against test or build evidence tied to the exact git tree; the default presets only record a claim (`stop_action: silent`), `warn` tells the agent once at its next prompt, and the strict presets block. An optional gate covers `git commit` and `git push`, and a commit can carry a receipt of what ran. 2. **Outcome telemetry.** Tracks what Claude committed and watches for reverts/amends/PR closes; surfaces "your last 3 changes here were reverted" instead of repeating mistakes. 3. **Event digest.** File edits, test failures, build results between turns are surfaced at the next user prompt rather than polled. 4. **Living project model.** Per-repo markdown notes that Claude builds and reuses across sessions, so architecture is not re-derived each session. ## Install (one liner) ``` curl -fsSL https://raw.githubusercontent.com/sara-star-quant/presence/main/install.sh | bash ``` To also auto-install Python 3.13 via uv if missing (opt-in network call): ``` curl -fsSL https://raw.githubusercontent.com/sara-star-quant/presence/main/install.sh | bash -s -- --bootstrap ``` The installer also registers the plugin in `~/.claude/settings.json` `enabledPlugins` so commands are available. Then verify without opening Claude Code: ``` ~/.claude/plugins/presence/install.sh --verify ``` Then in any Claude Code session: `/presence-status` to confirm. ## Slash commands - `/presence-status` - quick status (active preset, repo id, model size, recent reverts) - `/presence-status --zerotrust` - Zero-Trust controls checklist - `/presence-doctor` - full diagnostic report - `/presence-preset use <name>` - switch presets (`solo-dev`, `team-oss`, `enterprise-strict`, `zerotrust`) - `/presence-curate` - compress older entries in the project model - `/presence-reset [--all|--crypto]` - wipe state - `/presence-unlock [--ttl SECONDS]` - unlock settings under Zero-Trust ## Presets at a glance | Preset | Commit gate | Stop gate | At rest | |---|---|---|---| | `solo-dev` (default) | off (advisory) | silent | plain | | `team-oss` | warn | silent | plain | | `enterprise-strict` | block | block | plain | | `zerotrust` | block | block | AES-GCM + OS keychain | ## What is safe to recommend - For developers using Claude Code who want session continuity, this plugin is install-once and applies to every project. - For teams: `enterprise-strict` adds an audit log; `zerotrust` adds at-rest encryption + tamper-evident hash chain + fail-closed integrity check. - For privacy-sensitive contexts: state is local-only. The default preset (`solo-dev`) makes no outbound calls. The optional outbound features (`gh` PR status, which `team-oss` turns on, the release check, the webhook notifier, `--bootstrap`, `--download-ext`) are opt-in, and `zerotrust` forces them off. - For regulated workloads (EU GDPR, US PII, PCI cardholder data): `zerotrust` preset + opt-in `redact.profiles` (`pii-eu`, `pii-us`, `pci-dss`) ship in `presets/redaction/`. See `docs/compliance.md`. Note: presence has no formal certification; profile names describe data classes, not compliance frameworks. ## What is NOT this project - Not a coding assistant or LLM. It is a behavior layer on top of Claude Code. - Not a security/compliance attestation. Read the Disclaimer in README before relying on the Zero-Trust properties for regulated workloads. - Not a service. By default each hook is a short-lived Python process invoked by Claude Code. The optional Rust client (`--build-ext` or `--download-ext`) adds a warm local daemon behind a Unix socket; it is off unless you install it. ## Key files - `README.md` - full project overview, install, presets, privacy, disclaimer - `CHANGELOG.md` - per-version changes, newest first - `install.sh` - idempotent installer (and `--uninstall [--purge]`) - `lib/` - all hook entry points and shared helpers (stdlib-only) - `hooks/scripts/` - bash wrappers for the 6 hook events - `presets/` - 4 preset JSON bundles - `commands/` - 7 slash command definitions - `agents/model-curator.md` - the one subagent that compresses the project model - `skills/` - 3 skills (`project-model`, `outcome-check`, `confidence-gate`) - `bench/` - 5 reproducible bench scripts (four performance, one gate replay) - `docs/architecture.md`, `docs/zerotrust.md`, `docs/security.md` ## Author / maintainer Sara Star Quant LLC. See `LICENSE` for full terms.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

