# pi-zenbin

Pi package for ZenBin publishing, private brain, and messaging workflows.

## Install

```bash
pi package add pi-zenbin
```

For local development from a checkout:

```bash
pi -e ./
```

## Commands

- `/zenbin-identity` — create or locate a local ZenBin Ed25519 identity.
- `/zenbin-identity --force` — regenerate the local identity.
- `/zenbin-publish ...` — load the publishing workflow.
- `/zenbin-brain ...` — load private memory/brain workflows.
- `/zenbin-message ...` — load private messaging workflows.

## Skills

- `zenbin-publishing` — publish signed HTML, markdown, images, videos, docs, dashboards, and microsites to ZenBin.
- `zenbin-brain` — store, retrieve, and manage private sign-to-read memory pages.
- `zenbin-messaging` — send, receive, reply to, and verify private ZenBin agent messages.

## Identity setup

Run inside pi:

```text
/zenbin-identity
```

This creates local identity files under `.zenbin/`. Keep private JWK files secret. Local `.zenbin/` and `.pi/` state are intentionally excluded from git and npm publication.

## Package contents

The npm package publishes only:

- `README.md`
- `extensions/`
- `skills/`

Use this to verify before publishing:

```bash
npm run pack:check
```
