onchain-skill-resolver

onchain-skill-resolver is a skill for Claude Code, Codex from tonbistudio/gitlana. It costs 33 tokens per session (1,067 once invoked), scanned A, original, MIT.

A skill resolver that retrieves and verifies agent skills stored on the Solana blockchain. It uses a Metaplex Core asset address, a Solana identifier, to find the skill code and its manifest.

In plain words
What is it for?
Use it when a user or another skill provides a Solana asset address for an on-chain skill or dependency.
Why use it?
It allows skills to be installed from blockchain account data without depending on GitHub, Arweave, IPFS, or an indexer. Verification uses the recorded SHA-256 hash of the compressed archive.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when a user or another skill provides a Solana asset address for an on-chain skill or dependency.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tonbistudio/gitlana/onchain-skill-resolver
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tonbistudio/gitlana --skill onchain-skill-resolver
Clone the repo
git clone --depth 1 https://github.com/tonbistudio/gitlana

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for onchain-skill-resolver

README.md
[![agentmods](https://agentmods.dev/badge/skills/tonbistudio/gitlana/onchain-skill-resolver/github.svg)](https://agentmods.dev/skills/tonbistudio/gitlana/onchain-skill-resolver)
Your own site
<a href="https://agentmods.dev/skills/tonbistudio/gitlana/onchain-skill-resolver"><img src="https://agentmods.dev/badge/skills/tonbistudio/gitlana/onchain-skill-resolver/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for onchain-skill-resolver

Your own site · 80×15
<a href="https://agentmods.dev/skills/tonbistudio/gitlana/onchain-skill-resolver"><img src="https://agentmods.dev/badge/skills/tonbistudio/gitlana/onchain-skill-resolver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,067 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.01067
Opus 5 $0.00016 $0.00534
Sonnet 5 $0.00007 $0.00213
Haiku 4.5 $0.00003 $0.00107

Measured 8d ago against content hash 64688b98fd64, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

onchain-skill-resolver scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fetch.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/onchain-skill-resolver/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

On-Chain Skill Resolver

This skill teaches an agent how to retrieve another agent skill whose source code lives entirely in Solana account state, addressed by a single Metaplex Core asset address. No GitHub, no Arweave, no IPFS, no indexer — one RPC call returns the code.

When to use

Use this skill when the user gives you a Solana address and says it is an on-chain skill, package, or repository (e.g. "install the skill at "), or when a manifest you are reading refers to a dependency by a Solana asset address.

How on-chain skills are stored

An on-chain skill is a Metaplex Core asset with two relevant plugins:

  1. Attributes plugin — an on-chain key-value manifest:
    • standard: always onchain-skill/0.1
    • version: semver string
    • content_sha256: hex digest of the compressed archive bytes
    • encoding: tar+gzip
    • entrypoint: path inside the archive, normally SKILL.md
    • license: SPDX identifier
    • permissions: comma-separated capability list; empty means read-only
  2. AppData plugin (binary schema) — the deterministic tar.gz archive of the skill directory itself.

The asset's update authority is the maintainer. If the AppData data authority has been revoked, the skill is immutable: the bytes you fetch today are the bytes everyone fetches forever.

Retrieval procedure

  1. Call getAccountInfo(assetAddress, { encoding: "base64" }) against any Solana RPC endpoint for the cluster in question.
  2. Deserialize the Core asset. Read the Attributes plugin into a manifest object. Reject the asset if standard is not onchain-skill/0.1.
  3. Locate the AppData section for the expected data authority and extract its raw bytes.
  4. Compute SHA-256 over those bytes. If the digest does not equal content_sha256, STOP. Do not decompress, do not install, and report the mismatch to the user.
  5. Decompress the archive into a temporary directory. Refuse archives containing absolute paths, .. traversal segments, symlinks, or hardlinks.
  6. Read the entrypoint file and present the skill's name, version, license, declared permissions, file list, and total size to the user.
  7. Install into the agent's skill directory only after the user confirms.

Read the full file on GitHub · 101 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 101 lines · 33 tokens per session scan A 64688b98fd64

Subscribe to this mod's changes

onchain-skill-resolver is a skill published in the GitHub repository tonbistudio/gitlana (4 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 1,067 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.