# Pinion Chat

> Chat with the Pinion AI agent. Send a messages array, get an AI response with web search. Costs $0.01 USDC via x402.

- **Type:** Skill
- **Install:** `agentstack add skill-chu2bard-pinion-os-chat`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [chu2bard](https://agentstack.voostack.com/s/chu2bard)
- **Installs:** 0
- **Category:** [Finance & Payments](https://agentstack.voostack.com/c/finance-and-payments)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [chu2bard](https://github.com/chu2bard)
- **Source:** https://github.com/chu2bard/pinion-os/tree/main/skills/chat

## Install

```sh
agentstack add skill-chu2bard-pinion-os-chat
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# AI Agent Chat

Send messages to the Pinion AI agent and get a response. The agent knows about the Pinion protocol, x402, OpenClaw, ERC-8004 and on-chain topics. It has web search for current information.

## Endpoint

```
POST https://pinionos.com/skill/chat
```

**Price:** $0.01 USDC per call (x402 on Base)

## Request Body

```json
{
  "messages": [
    { "role": "user", "content": "what is x402?" }
  ]
}
```

| Field    | Type  | Required | Description                                      |
|----------|-------|----------|--------------------------------------------------|
| messages | array | yes      | Array of `{ role, content }` message objects       |

Roles: `user` or `assistant`. Send conversation history for multi-turn chat.

## Example Request

```bash
curl -X POST https://pinionos.com/skill/chat \
  -H "Content-Type: application/json" \
  -d '{"messages":[{"role":"user","content":"what is x402?"}]}'
```

The first request returns HTTP 402 with payment requirements. Sign a USDC `TransferWithAuthorization` (EIP-3009) and retry with the `X-PAYMENT` header.

## Example Response

```json
{
  "response": "x402 is a protocol that brings the HTTP 402 Payment Required status code to life..."
}
```

## When to Use

- Ask about the Pinion protocol, x402, or Base.
- Get explanations of on-chain concepts.
- Use as a sub-agent for research within an autonomous workflow.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [chu2bard](https://github.com/chu2bard)
- **Source:** [chu2bard/pinion-os](https://github.com/chu2bard/pinion-os)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-chu2bard-pinion-os-chat
- Seller: https://agentstack.voostack.com/s/chu2bard
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
