# Send On-Chain Skill Audit to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "onchain-skill-audit",
    "name": "On-Chain Skill Audit",
    "source": "tencent",
    "type": "skill",
    "category": "安全合规",
    "sourceUrl": "https://clawhub.ai/Emanz1/onchain-skill-audit",
    "canonicalUrl": "https://clawhub.ai/Emanz1/onchain-skill-audit",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/onchain-skill-audit",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=onchain-skill-audit",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "skill.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "onchain-skill-audit",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T10:28:37.060Z",
      "expiresAt": "2026-05-06T10:28:37.060Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=onchain-skill-audit",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=onchain-skill-audit",
        "contentDisposition": "attachment; filename=\"onchain-skill-audit-0.1.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "onchain-skill-audit"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/onchain-skill-audit"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/onchain-skill-audit",
    "downloadUrl": "https://openagent3.xyz/downloads/onchain-skill-audit",
    "agentUrl": "https://openagent3.xyz/skills/onchain-skill-audit/agent",
    "manifestUrl": "https://openagent3.xyz/skills/onchain-skill-audit/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/onchain-skill-audit/agent.md"
  }
}
```
## Documentation

### /check-skill <name>

Look up on-chain provenance for a skill before installing.

Read all three tables (registry, audits, vouches) for the given skill ID
Compute trust level from audit verdicts
Display: trust badge, author, hash, version, audit history, vouch count

### /audit-skill <name> <severity>

Submit an audit verdict (requires IQ tokens in wallet).
Severities: S (secure), L (low), M (medium), H (high), C (critical)
Optionally run ZeroLeaks first and inscribe full report via codeIn.

### /vouch-skill <name> [score]

Community endorsement. Score 1-5 (default 5).

### /register-skill <path>

Register a local skill with on-chain hash.

Read skill.md at given path
Normalize and SHA-256 hash the content
Write registration row with short hash (first 8 hex chars)

### Trust Badges

MALICIOUS: BLOCK installation, warn user
FLAGGED: Strong warning
CAUTIONED: Mild warning
VERIFIED: Green checkmark
AUDITED: Has audits but not yet verified secure
REGISTERED: In registry, no audits yet
UNKNOWN: Not in registry — warn "no on-chain provenance"
Hash mismatch: Warn "content differs from registered version"

### Implementation

Package: @rocketlabs/skill-audit

const { checkSkill, registerSkill, auditSkill, vouchForSkill, hashSkill } = require('@rocketlabs/skill-audit');

### checkSkill({ connection, skillId, rpcUrl })

Returns: { trustLevel, skill, audits, vouches, summary }
Free (RPC read only, no SOL needed).

### registerSkill({ connection, signer, skillId, author, shortHash, version, codeInTx, rpcUrl })

Writes to skill_registry table. Public — anyone can register.

### auditSkill({ connection, signer, skillId, auditor, severity, categories, codeInTx, rpcUrl })

Writes to skill_audits table. IQ-token-gated — signer must hold IQ tokens.
Severity: S/L/M/H/C. Categories: dir,enc,per,soc,tec,cre,mny,cot,pol,asc,ctx,sem,too,sir,ech

### vouchForSkill({ connection, signer, skillId, voucher, score, rpcUrl })

Writes to skill_vouches table. Public — anyone can vouch. Score 1-5.

### hashSkill(content)

Returns: { fullHash, shortHash } — SHA-256 of normalized content.

### On-Chain Architecture

Program: 9KLLchQVJpGkw4jPuUmnvqESdR7mtNCYr3qS4iQLabs
DB Root ID: skill-audit
Tables: skill_registry (public), skill_audits (IQ-gated), skill_vouches (public)
Row limit: ~100 bytes. Full data via codeIn inscriptions.
Reads are free. Only writes cost SOL.
Append-only. No in-place updates. Version counter for re-registration.

### Prerequisites

@iqlabs-official/solana-sdk v0.1.1+ (CommonJS required)
@solana/web3.js v1.x
Solana wallet for writes
IQ tokens for audit writes (token mint: 3uXACfojUrya7VH51jVC1DCHq3uzK4A7g469Q954LABS)
Buffer monkey-patch applied (handled automatically by the package)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Emanz1
- Version: 0.1.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T10:28:37.060Z
- Expires at: 2026-05-06T10:28:37.060Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/onchain-skill-audit)
- [Send to Agent page](https://openagent3.xyz/skills/onchain-skill-audit/agent)
- [JSON manifest](https://openagent3.xyz/skills/onchain-skill-audit/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/onchain-skill-audit/agent.md)
- [Download page](https://openagent3.xyz/downloads/onchain-skill-audit)