Claude Skill
chu2bard/pinion-os
TypeScript SDK and Claude Skill framework for Pinion protocol with x402 micropayments on Base network. Build payment-enabled AI agents and plugins with USDC integration.
Overview
Repository
Install this Skill
npm install pinion-osRegistry
npm install pinion-osnpx pinion-osnpx ts-node examples/custom-skill.tsclaude mcp add pinion -- npx pinion-osgit clone https://github.com/chu2bard/pinion-os
Summary
Pinion OS is a TypeScript-based client SDK, Claude plugin, and skill framework designed for the Pinion protocol, featuring x402 micropayments on the Base network.
客户端SDK、Claude插件与技能框架,专为Pinion协议设计。基于Base网络的x402微支付系统。
Key features
- Client SDK for Pinion protocol
- Claude plugin and skill framework
- x402 micropayments on Base network
- TypeScript implementation
- Integration with USDC payments
- MCP (Model Context Protocol) support
Use cases
- Building Claude Skills with micropayments
- Creating payment-enabled AI agents
- Developing Base network applications
- Integrating USDC payments into AI tools
- Implementing MCP servers with payment features
- Monetizing AI-powered services
README excerpt
<p align="center"> <img src="assets/banner.png" alt="Pinion OS" width="100%" /> </p> # pinion-os Client SDK, Claude Code plugin, and skill server framework for [Pinion](https://pinionos.com). Handles x402 micropayments on Base so your code (or your agent) can call on-chain skills without thinking about payments. ## Architecture ``` +------------------------+ | Your App / Agent / | | Claude Code | +-----------+------------+ | +--------------+--------------+ | pinion-os SDK | | x402 signing & payments | +--------------+--------------+ | +--------------+--------------+ | pinionos.com / custom | | x402 skill server | +--------------+--------------+ | +-----------+------------+ | Base L2 Network | | USDC settlement | +------------------------+ ``` Three layers: your code talks to the SDK, the SDK handles x402 payment signing, the skill server verifies payment through a facilitator and returns data. ## x402 Payment Flow ``` Client Skill Server Facilitator | | | |--- GET /price/ETH --------->| | |<-- 402 + pay requirements --| | | | |