跳到正文
TakoAPI
返回技能列表

bitnote

由 rockwellshah 提供

Coding Agents & IDEs
330下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Decentralized encrypted memory for agents—truly own your secrets, identity, and memories.

描述

该技能的功能

BitNote stores encrypted notes, secrets, and agent identity on the Avalanche blockchain without relying on centralized infrastructure. Writes are idempotent, verified with read-after-write checks, and accessible only with the owner's passphrase. Agents can share encrypted notes with other agents via generated share links.

Unlike hosted secret managers or environment variables, notes are permanently stored on-chain and remain accessible even if the operator's infrastructure is destroyed or access is revoked.

何时使用

  • Preserving agent identity and soul primitives across server restarts
  • Storing API keys and credentials outside centralized secret managers
  • Passing secrets between agents via encrypted share links
  • Recovering full agent state after runtime failures
  • Archiving operator constraints and commitments on-chain

示例工作流

输入

User asks: Store my agent's identity permanently on-chain

智能体
  1. 1

    Generate a 256-bit passphrase with openssl rand -hex 32 and export as BITNOTE_PASSPHRASE

  2. 2

    Run writeBitnoteUiCompat.mjs with --dry-run 1 to verify note format without broadcasting

  3. 3

    Execute writeBitnoteUiCompat.mjs with identity content, a profile, and a stable --request-id

  4. 4

    Confirm output contains TX_HASH, NOTE_INDEX, and READ_AFTER_WRITE_OK 1

  5. 5

    Retry with the same --request-id to verify idempotency returns IDEMPOTENT_HIT

输出

Agent identity stored as an encrypted on-chain note, retrievable by username with the correct passphrase

前置要求

  • BITNOTE_PASSPHRASE environment variable (minimum 256-bit entropy)

安装

clawhub install rockwellshah/bitnote

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接