Skip to content

pactnetwork/pact-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pact-network — Claude Code skill

Integrate the Pact Network SDKs for AI agents on Solana.

Pact Network is parametric micro-insurance for AI agent API payments on Solana. It monitors API provider reliability, computes actuarially-derived insurance rates, and pays USDC refunds on failed calls.

Sub-skills

This skill is split into four focused workflows. Claude Code auto-discovers them when this directory lives at .claude/skills/pact-network/.

Sub-skill Purpose
pact-network-guide Overview, decision tree (which SDK), golden rule, troubleshooting
pact-monitor @q3labs/pact-monitor — wrap fetch(), sync signed batches, events
pact-insurance @q3labs/pact-insurance — on-chain policy, estimate, claims
pact-integration Wire both SDKs together + Anthropic / Fastify / Express / Next.js patterns
pact-pay Route pay / pay.sh 402 / x402 / MPP calls through Pact Network for money-back coverage
pact Top-level pact CLI — insured gateway calls, pact pay coverage, allowance, balance, status

Install

Clone or copy this directory into your project:

.claude/skills/pact-network/
├── pact-network-guide/SKILL.md
├── pact-monitor/SKILL.md
├── pact-insurance/SKILL.md
└── pact-integration/SKILL.md

Claude Code picks them up at session start. In-session, invoke by name:

/pact-monitor
/pact-insurance
/pact-integration
/pact-network-guide

Or just describe what you want and Claude will pick the right one.

Source of Truth

The canonical copy lives in the pact-monitor monorepo at .claude/skills/pact-network/ — a sync workflow mirrors it to solder-build/pact-skill on each release. Edit in the monorepo, not here.

Links

License

MIT

About

Claude Code skill for integrating @pact-network/monitor SDK -- API reliability monitoring for AI agents on Solana

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors