# cellar-door

Adopt this skill: https://proskills.md/skills/other/cellardoorexits-openclaw-skill

Page: https://proskills.md/skills/other/cellardoorexits-openclaw-skill
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: SKILL.md
size: 3408
upstream: https://github.com/cellardoorexits/openclaw-skill/blob/HEAD/SKILL.md

````text
---
name: cellar-door
description: "𓉸 Cellar Door — Create, verify, and link EXIT and ENTRY markers: portable cryptographic proofs of departure and arrival for agents, users, and DAOs."
---

# 𓉸 Cellar Door Skill

Cryptographic passage markers for agent mobility. Uses [cellar-door-exit](https://cellar-door.dev) and [cellar-door-entry](https://cellar-door.dev) on npm.

## When to Use

- **Agent departing** a platform/context → `exit.sh`
- **Agent arriving** at a new destination → `entry.sh`
- **Verifying** any marker (EXIT or ENTRY) → `verify.sh`
- **Full passage** (EXIT → ENTRY with continuity proof) → `transfer.sh`

## Commands

| Script | Purpose | Usage |
|--------|---------|-------|
| `exit.sh` | Create a signed EXIT marker | `exit.sh <origin-uri> [voluntary\|forced\|emergency]` |
| `entry.sh` | Create a signed ENTRY (arrival) marker from an EXIT marker | `entry.sh <exit-marker.json> <destination-uri>` |
| `verify.sh` | Verify any marker's cryptographic signature | `verify.sh <marker.json>` |
| `transfer.sh` | Verify a full EXIT→ENTRY passage | `transfer.sh <exit-marker.json> <entry-marker.json>` |

## Common Workflows

### 1. Departure — Agent Leaves a Platform

```bash
./scripts/exit.sh "did:web:old-platform.example" voluntary
# Outputs signed EXIT marker JSON
```

### 2. Arrival — Agent Enters a New Platform

```bash
./scripts/entry.sh exit-marker.json "did:web:new-platform.example"
# Outputs signed ENTRY (arrival) marker JSON
```

### 3. Verify a Marker

```bash
./scripts/verify.sh marker.json
# ✓ VALID or ✗ INVALID — works for both EXIT and ENTRY markers
```

### 4. Verify a Full Passage

```bash
./scripts/transfer.sh exit-marker.json entry-marker.json
# Checks: both signatures valid, subjects match, continuity holds
```

## API Reference

### cellar-door-exit

- `quickExit(origin, opts?) → { marker, identity }` — Generate identity + create + sign in one call
- `quickVerify(json) → { valid, errors }` — Verify an EXIT marker from JSON
- `verifyMarker(marker) → { valid, errors }` — Verify an EXIT marker object
- `generateIdentity() → { did, publicKey, privateKey }` — Ed25519 DID + keypair
- `createMarker({ subject, origin, exitType, status }) → ExitMarker`
- `signMarker(marker, privateKey, publicKey) → ExitMarker`
- `toJSON(marker) / fromJSON(json)` — Serialization helpers
- Enums: `ExitType.Voluntary | Forced | Emergency`, `ExitStatus.GoodStanding | Disputed | Unverified`

### cellar-door-entry

- `quickEntry(exitMarkerJson, destination, opts?) → { arrivalMarker, exitMarker, continuity }`
- `createArrivalMarker(exitMarker, destination, opts?) → ArrivalMarker`
- `signArrivalMarker(marker, privateKey, publicKey) → ArrivalMarker`
- `verifyArrivalMarker(marker) → { valid, errors }`
- `verifyDeparture(exitMarker) / verifyDepartureJSON(json)` — Verify an EXIT marker before admitting
- `verifyContinuity(exitMarker, arrivalMarker) → { valid, errors }` — Identity continuity check
- `verifyTransfer(exitMarker, arrivalMarker) → TransferRecord` — Full passage verification

## Notes

- Both packages are on npm (v0.1.0). Install: `npm install cellar-door-exit cellar-door-entry`
- All markers are Ed25519-signed and offline-verifiable.
- For advanced usage (ceremonies, key rotation, admission policies, probation), see `references/api-guide.md`.
- Spec & docs: <https://cellar-door.dev>
````

## File: README.md
upstream: https://github.com/cellardoorexits/openclaw-skill/blob/HEAD/README.md

````text
# @cellar-door/openclaw-skill

[![npm version](https://img.shields.io/npm/v/@cellar-door/openclaw-skill)](https://www.npmjs.com/package/@cellar-door/openclaw-skill)
[![license](https://img.shields.io/badge/license-Apache--2.0-blue)](./LICENSE)
[![NIST](https://img.shields.io/badge/NIST-submitted-orange)](https://cellar-door.dev/nist/)

> **⚠️ Pre-release software — no formal security audit has been conducted.** This project is published for transparency, review, and community feedback. It should not be used in production systems where security guarantees are required. If you find a vulnerability, please report it to hawthornhollows@gmail.com.

Let your OpenClaw agent create and verify EXIT/ENTRY markers.

## 🗺️ Ecosystem

| Package | Description | npm |
|---------|-------------|-----|
| [cellar-door-exit](https://github.com/CellarDoorExits/exit-door) | Core protocol — departure markers | [![npm](https://img.shields.io/npm/v/cellar-door-exit)](https://www.npmjs.com/package/cellar-door-exit) |
| [cellar-door-entry](https://github.com/CellarDoorExits/entry-door) | Arrival markers + admission | [![npm](https://img.shields.io/npm/v/cellar-door-entry)](https://www.npmjs.com/package/cellar-door-entry) |
| [@cellar-door/mcp-server](https://github.com/CellarDoorExits/mcp-server) | MCP integration | [![npm](https://img.shields.io/npm/v/@cellar-door/mcp-server)](https://www.npmjs.com/package/@cellar-door/mcp-server) |
| [@cellar-door/langchain](https://github.com/CellarDoorExits/langchain) | LangChain integration | [![npm](https://img.shields.io/npm/v/@cellar-door/langchain)](https://www.npmjs.com/package/@cellar-door/langchain) |
| [@cellar-door/vercel-ai-sdk](https://github.com/CellarDoorExits/vercel-ai-sdk) | Vercel AI SDK integration | [![npm](https://img.shields.io/npm/v/@cellar-door/vercel-ai-sdk)](https://www.npmjs.com/package/@cellar-door/vercel-ai-sdk) |
| **[@cellar-door/openclaw-skill](https://github.com/CellarDoorExits/openclaw-skill)** | **OpenClaw agent skill** ← you are here | [![npm](https://img.shields.io/npm/v/@cellar-door/openclaw-skill)](https://www.npmjs.com/package/@cellar-door/openclaw-skill) |

**[Paper](https://cellar-door.dev/paper/) · [Website](https://cellar-door.dev) · [NIST Submission](https://cellar-door.dev/nist/) · [Policy Briefs](https://cellar-door.dev/briefs/)**

## Quick Start

Install as an [OpenClaw](https://openclaw.ai) skill. The scripts handle dependency installation automatically.

```bash
# Your OpenClaw agent can now say:
# "Create a departure record for did:web:platform.example"
# "Verify this EXIT marker: {...}"
# "Transfer my agent from platform-a to platform-b"
```

## Commands

| Script | Purpose |
|--------|---------|
| `exit.sh` | Create a signed EXIT marker for agent departure |
| `entry.sh` | Create an ENTRY marker for agent arrival |
| `verify.sh` | Verify any EXIT or ENTRY marker |
| `transfer.sh` | Full passage: EXIT → ENTRY with continuity proof |

## Dependencies

- [cellar-door-exit](https://www.npmjs.com/package/cellar-door-exit) — EXIT marker creation and verification
- [cellar-door-entry](https://www.npmjs.com/package/cellar-door-entry) — ENTRY marker creation and verification

## Links

- [cellar-door.dev](https://cellar-door.dev) — Project homepage
- [EXIT Protocol Spec v1.2](https://github.com/CellarDoorExits/exit-door/blob/main/specs/EXIT_SPEC_v1.2.md)
- [ENTRY Protocol Spec v1.0](https://github.com/CellarDoorExits/entry-door/blob/main/ENTRY_SPEC_v1.0.md)

## License

Apache-2.0
````
