- Home
- Skills
- Agents & Orchestration
- boot-context-integrity
Works with the AI tools you already use
Boot Context Integrity
Detect unauthorized drift in your agent's always-loaded files: SHA-256 baselines on a heartbeat, human-gated re-seed by Telegram tap.
$69.96
boot-context-integrity
Example session with this skill installed
Run the integrity heartbeat over my agent's always-loaded files and
tell me if anything drifted from baseline since the last check.
- Read your context and instructions
- Compiled the boot-context-integrity
ALERT: MEMORY.md: +68 chars (sha256 e455979a5b9f...→040c67534758...)
Telegram alert delivered
🔴 MEMORY.md/AGENTS.md changed with no preview-and-approve journal
entry — possible autonomous write (Pattern 29 violation).
Changed: MEMORY.md: +68 chars (sha256 e455979a5b9f...→040c67534758...)
To resolve: revert the change, OR: if authorized, add a journal entry
then ask your agent to run send_reseed_card.py
(Same drift with a journal authorization entry present:
WARN_AUTHORIZED: MEMORY.md (+68 chars, authorized) — no alert fired,
and re-baseline still waits for the human tap.
No change at all: OK: MEMORY.md and AGENTS.md unchanged)
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
The problem
An agent's always-loaded files are its identity: memory, operating rules, routing. They are also silently mutable. A bad write, a truncated save, or an unauthorized edit changes what your agent believes at every boot, and nothing alerts you. The drift compounds until behavior visibly breaks, and by then the clean baseline is gone.
What it does
- Keeps a SHA-256 plus character-count baseline of every watched file in a JSON state file, seeded automatically on first run.
- A heartbeat check compares live files against the baseline and reports OK, ALERT on unauthorized drift, or WARN_AUTHORIZED when a change matches a journal authorization marker.
- Drift alerts name the file, the size delta, and both hashes, delivered to your Telegram chat.
- Re-seeding the baseline is human-gated: a Telegram card with a single-use tap token, expiring in 30 minutes, consumed on use. No approval, no new baseline.
- An authorized-change path: journal entries with recognized markers let deliberate edits re-baseline with a warning instead of an alarm.
- A deploy-parity test catches the divergence class where the checker you deploy is not the checker you tested.
Frameworks & tools
Python 3.11+ and a POSIX shell, standard library only. Zero external dependencies. Telegram Bot API via urllib and curl for cards and alerts. Wire the heartbeat snippet into any scheduler: cron, launchd, or your agent's own loop.
Why this beats prompting it yourself
This skill exists because of one specific production incident: a deployed integrity checker diverged from the tested version, and the divergence was invisible until it mattered. The full incident write-up ships in the package at references/deploy-parity-incident.md, and the deploy-parity acceptance test exists so that class of failure is caught structurally instead of discovered in production. The re-seed path is deliberately hostile to convenience: baselines change only through a human tap on a single-use, expiring token, because an integrity system that can be silently re-baselined is not an integrity system.
The suite ships six acceptance tests, six passing: first-run seed, no-change, unauthorized drift, authorized drift, the full tap-token re-seed round-trip in a clean temp workspace, and shell deploy parity.
Use cases
- Guarding an agent's memory and operating-rules files against unauthorized edits between boots.
- Catching silent corruption or truncation of always-loaded context before it changes agent behavior.
- Requiring human sign-off before any baseline change is accepted as the new normal.
- Verifying that the integrity checker running in production is byte-identical to the one you tested.
Known limitations
The heartbeat is a snippet you wire into your own scheduler; no daemon is included. Alerts and re-seed cards are Telegram specific by design, with documented swap points. The typed-fallback router referenced on cards ships in the approval-gated-writes skill; without it, wire your own or use validate_token directly. Watched files are configured in one dict and default to an OpenClaw workspace layout, overridable via WORKSPACE_ROOT.
About the builder
Built by Tradeplier: a licensed Massachusetts builder running a $1M/yr construction company on an agent back office, in production since April 2026. We file the bugs we find upstream: six issues on openclaw/openclaw to date, four rated diamond lobster by the project. If this skill breaks in your fleet, the incident becomes a test and you get the fix. The full audit story behind all three, including the part where the audit caught these packages themselves, is at https://www.tradeplier.com/audit-story/
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 1 month ago
- Passed all security checks, Safe to install