Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    Boot Context Integrity

    by Tradeplier

    1

    Detect unauthorized drift in your agent's always-loaded files: SHA-256 baselines on a heartbeat, human-gated re-seed by Telegram tap.

    Secure checkout via Stripe

    0 installsSecurity scanned

    See it in action

    You say

    Run the integrity heartbeat over my agent's always-loaded files and tell me if anything drifted from baseline since the last check.

    Your agent does

    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)

    What you get

    Detect silent drift in persistent memory filesRequire human approval for context updatesAuthenticate re-seeding with single-use tokensVerify the deployed checker matches the tested one, byte for byte.Let deliberate, journaled edits re-baseline with a warning instead of an alarm.

    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.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    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 today

    Listedtoday

    Creator

    Ten-plus years in construction, laborer to apprentice carpenter to founder; business-school trained; operating president of a $1M/year design-build firm. I run that company on an agent back office: lead intake, CRM, contracts, proposals, and cost tracking, in production since April 2026, built on five years of the company's real job data. These skills exist because a three-day chartered audit of that system found the failure modes the hard way, and every fix became a test. Built on OpenClaw, standard SKILL.md, nothing platform-locked. I file the bugs I find upstream: six issues on openclaw/openclaw to date, four rated diamond lobster by the project — full list: https://github.com/openclaw/openclaw/issues?q=is%3Aissue+author%3Adexiosmb The two behind these skills: https://github.com/openclaw/openclaw/issues/106996 https://github.com/openclaw/openclaw/issues/107010 If a skill breaks in your fleet, the incident becomes a test and you get the fix.

    Frequently Asked Questions

    Popular in AI Agents & LLM Ops