presence
llms.txt7 starsChanged 7 months agoApache-2.0View on GitHub
A Claude Code plugin that turns every coding session into part of a continuum: living per-repo project model, outcome telemetry (commit/revert tracking), inter-turn event digest, and a calibrated-confidence gate that catches "fixed", "done", "works" claims unbacked by actual test/build evidence. 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 behaviors, all active globally with one install: To also auto-install Python 3.13 via uv…
- Pipes a download into a shell
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
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Calibrated confidence: Stop hook checks unhedged success claims against actual verification events from the session.
- Distinctive: line 74
Not a coding assistant or LLM.
- Distinctive: line 75
Not a security/compliance attestation.
- Distinctive: line 76
Not a daemon, not a service.
≈ “Common” is an estimate: at least 1 in 5 of the 1,484 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 turns every coding session into part of a continuum: living per-repo project model, outcome telemetry (commit/revert tracking), inter-turn event digest, and a calibrated-confidence gate that catches "fixed", "done", "works" claims unbacked by actual test/build evidence. 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 (verified by CI) - **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, Linux (CI matrix). Windows not tested. - **Tests**: 167 passing across the Python matrix. - **Cold hook startup**: 80 ms median, 87 ms p95 (macOS arm64, Python 3.14.4, n=50). - **SessionStart populated**: 108 ms median (10 KB model + 100 events + 50 claims, n=50). - **Aggregate session overhead**: 6.4 s for a synthetic 77-fire session (median, n=10). - **Platforms**: macOS arm64 + Linux x86_64 (CI matrix); Windows via WSL2. ## What presence does Four behaviors, all active globally with one install: 1. **Living project model.** Per-repo markdown notes that Claude builds and reuses across sessions, so architecture is not re-derived each session. 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. **Calibrated confidence.** Stop hook checks unhedged success claims against actual verification events from the session; warns or blocks based on preset. ## 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; `zerotrust` disables even the one optional outbound call (`gh` PR status). - 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 daemon, not a service. Each hook is a short-lived Python process invoked by Claude Code. ## Key files - `README.md` - full project overview, install, presets, privacy, disclaimer - `CHANGELOG.md` - per-version diff (current: v0.5.0) - `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/` - 6 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/` - 4 reproducible perf bench scripts - `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.

