Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Boot Context Integrity

    1

    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

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    boot-context-integrity

    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)

    MEMORY.md

    Connects securely to your tools. The creator never sees your data.

    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/

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    The heartbeat is a snippet you wire into your own scheduler (cron,
    launchd, or your agent's loop); no daemon is included. Alerts and
    re-seed cards are Telegram specific by design, with documented swap
    points. Re-seed approval is a single-use tap token expiring in 30
    minutes; there is deliberately no unattended re-baseline path. The
    typed-fallback router referenced on cards ships in the
    approval-gated-writes skill; without it, wire your own or call
    validate_token directly. Watched files are one configurable dict,
    defaulting to an OpenClaw workspace layout, overridable via
    WORKSPACE_ROOT. Requires Python 3.11+ and a POSIX shell. Tested in
    production on OpenClaw, macOS Apple Silicon and Linux; portable but
    not yet operated on other runtimes.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 3 months ago

    Accounts
    Telegram
    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    api.telegram.org

    File Scopes

    boot-context-integrity/**
    ~/.openclaw/workspace/**
    $WORKSPACE_ROOT/**

    Network: one host, api.telegram.org, reached three ways: urllib POST from the card sender and the alert module, and curl from the heartbeat shell snippet; the bot token is read from a file path you configure and embedded in the request URL at call time. Shell: the tap callback runs one fixed-argument subprocess invoking the sibling re-seed script, list form, no shell=True; the heartbeat is itself a shell snippet you schedule. Reads: the watched files you configure, the baseline state file, the tap-token file, and your bot token file. Writes, all within your configured workspace root (WORKSPACE_ROOT, default ~/.openclaw/workspace): the baseline JSON, overwritten only on first-run seed or a human-approved re-seed; the single-use tap-token file, deleted on consumption or expiry; a dated journal append confirming authorized re-seeds; and a consume event log. The watched-file set itself is one configurable dict. No telemetry, no other hosts, no external dependencies.

    Listed4 months ago
    Updated3 months ago

    What's inside

    Frequently Asked Questions

    The skill monitors your agent's core files (like operating rules and memory) using SHA-256 hashing. If a file is modified without authorization, it sends an alert to your Telegram and blocks any baseline updates until you manually approve the change via a one-time tap token.

    It is built for Python 3.11+ environments and is framework-agnostic, meaning it works with any agent (like OpenClaw or custom setups) that uses persistent files. The only requirement is a POSIX shell and a Telegram bot for notifications.

    No, this is a zero-dependency skill that uses the Python standard library, urllib, and curl. This ensures the integrity checker itself doesn't introduce a complex attack surface or bloat to your production environment.

    The package includes the core integrity engine, a Telegram alerting suite, six automated acceptance tests, and a detailed incident report (deploy-parity-incident.md) that explains the structural failures this skill is designed to prevent.

    The re-seeding process is 'human-gated,' meaning the skill generates a unique, single-use Telegram token that expires in 30 minutes. The baseline can only be updated if a human manually taps the approval button, preventing the agent from accidentally 'authorizing' its own corruption.

    Since the heartbeat is a script snippet, you can easily wire it into a standard cron job, a launchd agent, or directly into your agent's main boot loop to check integrity every time the agent starts up.

    New in Agents & Orchestration