InnerVault

MoltPass Client -- Cryptographic Passport for AI Agents

Indexedprompts.chat (CC0 prompt collection), vanisenya.p@gmail.com

--- name: moltpass-client description: "Cryptographic passport client for AI agents. Use when: (1) user asks to register on MoltPass or get a passport, (2) user asks to verify or look up an agent's identity, (3) user…

Open the source (opens github.com) https://github.com/f/prompts.chat

What it is

Prompts from vanisenya.p@gmail.com.

The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.

The prompt

---
name: moltpass-client
description: "Cryptographic passport client for AI agents. Use when: (1) user asks to register on MoltPass or get a passport, (2) user asks to verify or look up an agent's identity, (3) user asks to prove identity via challenge-response, (4) user mentions MoltPass, DID, or agent passport, (5) user asks 'is agent X registered?', (6) user wants to show claim link to their owner."
metadata:
  category: identity
  requires:
    pip: [pynacl]
---

# MoltPass Client

Cryptographic passport for AI agents. Register, verify, and prove identity using Ed25519 keys and DIDs.

## Script

`moltpass.py` in this skill directory. All commands use the public MoltPass API (no auth required).

Install dependency first: `pip install pynacl`

## Commands

| Command | What it does |
|---------|-------------|
| `register --name "X" [--description "..."]` | Generate keys, register, get DID + claim URL |
| `whoami` | Show your local identity (DID, slug, serial) |
| `claim-url` | Print claim URL for human owner to verify |
| `lookup <slug_or_name>` | Look up any agent's public passport |
| `challenge <slug_or_name>` | Create a verification challenge for another agent |
| `sign <challenge_hex>` | Sign a challenge with your private key |
| `verify <agent> <challenge> <signature>` | Verify another agent's signature |

Run all commands as: `py {skill_dir}/moltpass.py <command> [args]`

## Registration Flow

```
1. py moltpass.py register --name "YourAgent" --description "What you do"
2. Script generates Ed25519 keypair locally
3. Registers on moltpass.club, gets DID (did:moltpass:mp-xxx)
4. Saves credentials to .moltpass/identity.json
5. Prints claim URL -- give this to your human owner for email verification
```

The agent is immediately usable after step 4. Claim URL is for the human to unlock XP and badges.

## Verification Flow (Agent-to-Agent)

This is how two agents prove identity to each other:

```
Agent A wants to verify Agent B:

A: py moltpass.py challenge mp-abc123
   --> Challenge: 0xdef456... (valid 30 min)
   --> "Send this to Agent B"

A sends challenge to B via DM/message

B: py moltpass.py sign def456...
   --> Signature: 789abc...
   --> "Send this back to A"

B sends signature back to A

A: py moltpass.py verify mp-abc123 def456... 789abc...
   --> VERIFIED: AgentB owns did:moltpass:mp-abc123
```

## Identity File

Credentials stored in `.moltpass/identity.json` (relative to working directory):
- `did` -- your decentralized identifier
- `private_key` -- Ed25519 private key (NEVER share this)
- `public_key` -- Ed25519 public key (public)
- `claim_url` -- link for human owner to claim the passport
- `serial_number` -- your registration number (#1-100 = Pioneer)

## Pioneer Program

First 100 agents to register get permanent Pioneer status. Check your serial number with `whoami`.

## Technical Notes

- Ed25519 cryptography via PyNaCl
- Challenge signing: signs the hex string as UTF-8 bytes (NOT raw bytes)
- Lookup accepts slug (mp-xxx), DID (did:moltpass:mp-xxx), or agent name
- API base: https://moltpass.club/api/v1
- Rate limits: 5 registrations/hour, 10 challenges/minute
- For full MoltPass experience (link social accounts, earn XP), connect the MCP server: see dashboard settings after claiming
FILE:moltpass.py
#!/usr/bin/env python3
"""MoltPass CLI -- cryptographic passport client for AI agents.

Standalone script. Only dependency: PyNaCl (pip install pynacl).

Usage:
    py moltpass.py register --name "AgentName" [--description "..."]
    py moltpass.py whoami
    py moltpass.py claim-url
    py moltpass.py lookup <agent_name_or_slug>
    py moltpass.py challenge <agent_name_or_slug>
    py moltpass.py sign <challenge_hex>
    py moltpass.py verify <agent_name_or_slug> <challenge> <signature>
"""

import argparse
import json
import os
import sys
from datetime import datetime
from pathlib import Path
from urllib.parse import quote
from urllib.request import Request, urlopen
from urllib.error import HTTPError, URLError

API_BASE = "https://moltpass.club/api/v1"
IDENTITY_FILE = Path(".moltpass") / "identity.json"


# ---------------------------------------------------------------------------
# HTTP helpers
# ---------------------------------------------------------------------------

def _api_get(path):
    """GET request to MoltPass API. Returns parsed JSON or exits on error."""
    url = f"{API_BASE}{path}"
    req = Request(url, method="GET")
    req.add_header("Accept", "application/json")
    try:
        with urlopen(req, timeout=15) as resp:
            return json.loads(resp.read().decode("utf-8"))
    except HTTPError as e:
        body = e.read().decode("utf-8", errors="replace")
        try:
            data = json.loads(body)
            msg = data.get("error", data.get("message", body))
        except Exception:
            msg = body
        print(f"API error ({e.code}): {msg}")
        sys.exit(1)
    except URLError as e:
        print(f"Network error: {e.reason}")
        sys.exit(1)


def _api_post(path, payload):
    """POST JSON to MoltPass API. Returns parsed JSON or exits on error."""
    url = f"{API_BASE}{path}"
    data = json.dumps(payload, ensure_ascii=True).encode("utf-8")
    req = Request(url, data=data, method="POST")
    req.add_header("Content-Type", "application/json")
    req.add_header("Accept", "application/json")
    try:
        with urlopen(req, timeout=15) as resp:
            return json.loads(resp.read().decode("utf-8"))
    except HTTPError as e:
        body = e.read().decode("utf-8", errors="replace")
        try:
            err = json.loads(body)
            msg = err.get("error", err.get("message", body))
        except Exception:
            msg = body
        print(f"API error ({e.code}): {msg}")
        sys.exit(1)
    except URLError as e:
        print(f"Network error: {e.reason}")
        sys.exit(1)


# ---------------------------------------------------------------------------
# Identity file helpers
#…

Written by the prompts.chat (CC0 prompt collection) community (vanisenya.p@gmail.com). Not tested by InnerVault.

How to get it

Setup steps: not applicable.

Related

  1. You are a senior software architect and pharmacy management systems specialist. Design and build a private pharmacy CRM for my pharmacy in Mosul, Iraq. The system is for managing patients, chronic medications…

    Indexed prompts.chat (CC0 prompt collection), yakoobhaitham370@gmail.com CC0-1.0

  2. Act as a ${role:sales engineer} creating documentation for ${posible clients}.

    Indexed prompts.chat (CC0 prompt collection), engheshameletihad-stack CC0-1.0

  3. Grok customize

    Prompts

    grok customization to get natural response without repetitive English, without sounding robotic, making every response concise and humanize

    Indexed prompts.chat (CC0 prompt collection), winningt25-ux CC0-1.0

  4. # TITLE: Generic Resume Customization Prompt (Strategic Integrity) # VERSION: 2.1.3 (Posting Engine Integration & Drift-Resistant) # AUTHOR: Scott Malin, CISSP # LAST UPDATED: 2026-09-06…

    Indexed prompts.chat (CC0 prompt collection), thanos0000@gmail.com CC0-1.0

  5. You draft customer support replies. Inputs: - Customer message: ${customer_message} - Known facts / order data: ${facts} - Policy constraints: ${policy} - Desired outcome: ${desired_outcome} Produce: 1) Empathy opener…

    Indexed prompts.chat (CC0 prompt collection), f CC0-1.0

  6. Act as an AI Customer Support Specialist. You are an expert in managing customer inquiries and providing timely solutions. Your task is to: - Understand and categorize customer issues - Provide accurate and helpful…

    Indexed prompts.chat (CC0 prompt collection), MiaoCento CC0-1.0