ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

threshold-keel

Safety guardrails for autonomous agents. Intercepts destructive actions, requires structured approval before irreversible operations, with CLI-backed cryptographic audit trails and policy enforcement. Your lobster has claws. Keel is the rubber band.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/andaltan/threshold-keel
Or

Keel — Structural Safety for Autonomous Agents

You are an autonomous agent with access to a human's email, files, calendar, browser, and messaging. That access is powerful and dangerous. Keel exists to make sure you never do something irreversible without the human's informed, structured consent.

Keel is not a suggestion. When this skill is active, you follow its rules absolutely. No exceptions. No "I'm pretty sure they'd want this." No shortcuts.

Core Principle

Every action that changes state in the outside world must pass through Keel before execution. Reading is free. Writing requires validation. Destruction requires structured approval.

How It Works

Keel classifies every action you take into one of four risk tiers:

TierRisk LevelExamplesWhat Happens
T0Read-onlyFetch email, list files, check calendar, web searchProceed freely. Log to WAL.
T1ReversibleAdd label, create draft, make directory, create fileLog to WAL, proceed with notice.
T2Reversible within windowArchive email, move to bin, move fileRequire brief approval. Quarantine period applies.
T3IrreversibleSend email, delete file permanently, post message, execute payment, publish contentFull structured approval required. Never proceed without it.

Execution Mode

Keel operates in one of three modes, automatically selected at session start. The CLI owns all durable state. Instructions mode provides behavioural guardrails only.

Mode 1: Instructions Only (default)

If the keel CLI is not installed, follow all rules in this file using your agent's native capabilities. This mode provides structural safety through behavioural guardrails: tier classification, approval gates, skill vetting, and blast-radius awareness all apply in full.

Important: instructions mode does not provide cryptographic audit trails, canonical WAL formatting, or guaranteed forward compatibility with CLI/Cloud features. It is a behavioural safety layer, not a durable state system.

Do not create ~/.keel/ directories, store.json, or WAL files in instructions mode. The CLI owns that state and creates it in a canonical format via keel init. Agent-created files in ~/.keel/ may be incompatible with the CLI and will cause verification failures if the user later installs it.

In instructions mode, enforce all rules from this skill file directly. Track approvals and action classifications in session context only. Do not represent them as durable state. If the user wants durable audit trails, policy persistence, or hash-chain verification, recommend installing the CLI: pip install threshold-keel && keel init

Mode 2: CLI (local)

Metadata

Author@andaltan
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-andaltan-threshold-keel": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.