onchain

Route on-chain user intent to matching execution skills.

3|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/Pieverse-Eng/purrfect-skills --skill onchain-pieverse-eng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: onchain
Source: https://github.com/Pieverse-Eng/purrfect-skills/tree/main/onchain
Command: npx skills add https://github.com/Pieverse-Eng/purrfect-skills --skill onchain-pieverse-eng

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill removes ambiguity when a workspace contains multiple vendor-specific on-chain skills by classifying user intent and automatically routing requests to the most appropriate sibling skill for execution, reducing manual selection and routing errors.

Core Features & Use Cases

  • Intent classification and routing: Detect chain and intent (swap, transfer, LP, farm, NFT, CEX trade, research) and select the matching sibling skill by reading each skill's description at runtime.
  • Safety and confirmation: Enforce an explicit confirmation contract for any executable action, showing action type, chain, and key parameters before proceeding.
  • Fallbacks and references: Prefer named vendor skills when explicitly requested and fall back to JSON-RPC/explorer workflows for raw on-chain queries when no match exists.
  • Use Case: A user asks to "swap USDT for CAKE on BSC" and the skill routes the request to the pancake skill, or to a specified exchange skill if the user names one.

Quick Start

Ask the onchain skill to classify intent and route a BSC swap of 100 USDT for CAKE to the correct sibling skill.

Frequently Asked Questions about onchain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I route a blockchain swap request to the correct vendor skill?

Blockchain swap requests are routed by classifying the user's chain and intent at runtime, reading sibling skill descriptions to automatically select the matching execution skill for the transaction.

What is deterministic routing for on-chain operations?

Deterministic on-chain routing is the process of classifying cryptocurrency intents like transfers, liquidity operations, or NFT actions, and directing them to the appropriate execution skill to remove manual selection ambiguity.

How do I execute raw on-chain queries when no matching DEX skill is found?

When no matching skill is found for raw on-chain queries, the system falls back to standard JSON-RPC and explorer workflows to handle the blockchain data request directly.

Does on-chain routing require explicit user confirmation before executing a transfer?

Yes, explicit user confirmation is enforced for any executable action, displaying the action type, blockchain chain, and key parameters to ensure safe cryptocurrency transfers and swaps.

Can I specify a named exchange skill instead of automatic intent routing?

Yes, named vendor skills are explicitly preferred when requested, allowing you to bypass automatic classification and directly target a specific cryptocurrency exchange for your operation.

What are the limitations of automatic intent classification for multi-vendor cryptocurrency workspaces?

Intent classification relies on reading sibling skill descriptions at runtime, so if a matching execution skill is not installed in the workspace, it cannot route the request and must fall back to raw JSON-RPC queries.