Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计未展示

blockchain_attestation区块链鉴证

Agent Skill

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

总安装

8,483

周安装

282

GitHub Stars

公开资料未说明

下载量

3,433
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:blockchain_attestation(区块链鉴证)
来源仓库:https://github.com/clawdbot/skills
仓库路径:skills/blockchain_attestation
安装命令:
npx skills add clawdbot/skills --skill "blockchain_attestation"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add clawdbot/skills --skill "blockchain_attestation"

简介

用于辅助测试设计、自动化测试和用例整理。

  • 它适合让 Agent 编写单元测试、端到端测试或根据失败日志定位问题。
  • 使用时需要确认项目测试框架、运行命令和夹具数据。
  • 涉及浏览器或外部服务时应区分本地模拟、测试环境和生产环境。
  • 安装方式:github,命令:npx skills add clawdbot/skills --skill "blockchain_attestation

SKILL.md

name
blockchain_attestation
description
Create verifiable attestations of agent work using Ethereum Attestation Service (EAS), with Base as the default chain.
metadata
{"clawdbot":{"emoji":"⛓️","homepage":"https://attest.org","requires":{"bins":["node"]},"primaryEnv":"EAS_PRIVATE_KEY"}}

Blockchain Attestation (EAS)

This skill creates onchain or offchain attestations of completed work using the Ethereum Attestation Service (EAS).

Opinionated defaults:

  • Default chain: Base mainnet
  • Default mode: offchain (zero gas, still verifiable)
  • Default data model: store hashes of the task and the deliverable (plus a small agent id and metadata string)

Safety and privacy rules

  1. Never put secrets, private keys, tokens, or private user data into onchain attestations.
  2. Prefer offchain attestations for most use cases.
  3. If you need a public timestamp anchor for an offchain attestation, use the timestamp command which anchors the UID onchain without publishing the full payload.
  4. Only run onchain transactions after the user explicitly requests it or has approved costs.

Environment variables

Required for signing (offchain or onchain):

  • EAS_PRIVATE_KEY

Required for onchain transactions and onchain reads:

  • EAS_RPC_URL (an RPC endpoint for the selected chain)

Optional:

  • EAS_CHAIN (base or base_sepolia, default is base)
  • CLAWDBOT_AGENT_ID (overrides the agentId field)

One time setup

Install Node dependencies once:

cd {baseDir} && npm install

One time per chain: register the schema

This skill uses a single schema:

bytes32 taskHash, bytes32 outputHash, string agentId, string metadata

Register it (onchain transaction) and persist the resulting schema UID into schemas.json:

cd {baseDir} && node attest.mjs schema register --chain base

For Base Sepolia:

cd {baseDir} && node attest.mjs schema register --chain base_sepolia

Create an attestation (recommended: offchain)

Best default workflow:

  1. Provide the task description text
  2. Provide the deliverable file path (or deliverable text)
  3. Create an offchain attestation
  4. Save the signed payload to a file
  5. Return UID plus the explorer link to the user

Example:

cd {baseDir} && node attest.mjs attest \
  --mode offchain \
  --chain base \
  --task-text "Summarize Q4 board deck into 1 page memo" \
  --output-file ./deliverables/memo.pdf \
  --recipient 0x0000000000000000000000000000000000000000 \
  --metadata '{"hashAlg":"sha256","artifact":"memo.pdf"}' \
  --save ./attestations/latest.offchain.json

Timestamp an offchain UID onchain (optional anchor)

cd {baseDir} && node attest.mjs timestamp --chain base --uid <uid>

Create an onchain attestation (costs gas)

cd {baseDir} && node attest.mjs attest \
  --mode onchain \
  --chain base \
  --task-text "..." \
  --output-file ./path/to/output \
  --metadata '{"hashAlg":"sha256"}'

Verify

Verify an onchain UID:

cd {baseDir} && node attest.mjs verify --chain base --uid <uid>

Verify an offchain attestation JSON file (as produced by this skill):

cd {baseDir} && node attest.mjs verify --offchain-file ./attestations/latest.offchain.json

Hash helper

If you need hashes without creating an attestation:

cd {baseDir} && node attest.mjs hash --file ./deliverables/memo.pdf

Output contract

All commands print a single JSON object to stdout.

  • On success: { "success": true, ... }
  • On error: { "success": false, "error": { "code": "...", "message": "...", "details": ... } }

This is deliberate so the agent can reliably parse results.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

25.68%
按下载量换算882

windsurf

22.08%
按下载量换算758

clawdbot

19.22%
按下载量换算660

trae

13.25%
按下载量换算455

Codex

6.96%
按下载量换算239

Claude Code

3.19%
按下载量换算110

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills