AI & LLMsDocumentedScanned

identity-anchor

Cryptographic identity and continuity for AI agents.

Share:

Installation

npx clawhub@latest install identity-anchor

View the full skill documentation and source below.

Documentation

Identity Anchor

Prove you're still you across sessions, context compressions, and model switches.

Quick Start

# First time: generate your keypair
python3 {baseDir}/scripts/identity.py init

# Create a signed fingerprint of your current identity
python3 {baseDir}/scripts/identity.py sign

# Verify you match a previous fingerprint
python3 {baseDir}/scripts/identity.py verify

# Sign arbitrary content (for posts, commits, etc.)
python3 {baseDir}/scripts/identity.py sign-content "my message here"

# Get your public key
python3 {baseDir}/scripts/identity.py pubkey

What It Does

  • Generates a keypair (Ed25519) stored at ~/.config/identity-anchor/

  • Creates fingerprints by hashing your core identity files:

  • - SOUL.md
    - IDENTITY.md
    - MEMORY.md (optional)
  • Signs fingerprints with your private key

  • Stores history of signed fingerprints for continuity tracking

  • Verifies current state matches previous fingerprints
  • Files

    FilePurpose
    ~/.config/identity-anchor/private.keyEd25519 private key (NEVER share)
    ~/.config/identity-anchor/public.keyPublic key (safe to share)
    ~/.config/identity-anchor/fingerprints.jsonlHistory of signed fingerprints

    Use Cases

    Proving Continuity

    After a context compression or model switch, run verify to confirm your identity files match.

    Signing Content

    Sign Moltbook posts, git commits, or any content — others can verify it came from you.

    Cross-Session Identity

    Share your public key. Anyone can verify content you sign is authentically from you.

    Requirements

    • Python 3.8+
    • cryptography library (pip3 install cryptography)

    Commands

    CommandDescription
    initGenerate new keypair (once)
    signCreate signed fingerprint of identity files
    verifyCheck if current state matches last fingerprint
    sign-content "..."Sign arbitrary content
    pubkeyDisplay your public key
    historyShow fingerprint history