Skip to content

LeoYeAI/agent-master-skills / skills/archon-keymaster

archon-keymaster

Flagged

Core Archon DID toolkit - identity management, verifiable credentials, encrypted messaging (dmail), Nostr integration, file encryption/signing, aliasing, authorization (challenge/response), groups, and cryptographic polls. Use for creating/managing DIDs, issuing/accepting verifiable credentials, sending encrypted messages between DIDs, deriving Nostr keypairs, encrypting/signing files, managing DID aliases, challenge/response authorization, managing DID groups, or running cryptographically verifiable polls. For vaults/backups see archon-vault; for ecash see archon-cashu.

FileKindSize
README.mdmarkdown10.1 KB
SKILL.mdskill md24.6 KB
_meta.jsonconfig286 B
scripts/aliases/add-alias.shexecutablescript780 B
scripts/aliases/list-aliases.shexecutablescript411 B
scripts/aliases/remove-alias.shexecutablescript480 B
scripts/aliases/resolve-did.shexecutablescript541 B
scripts/assets/create-asset-file.shexecutablescript805 B
scripts/assets/create-asset-image.shexecutablescript818 B
scripts/assets/create-asset-json.shexecutablescript817 B
scripts/assets/create-asset.shexecutablescript767 B
scripts/assets/get-asset-file.shexecutablescript907 B
scripts/assets/get-asset-image.shexecutablescript907 B
scripts/assets/get-asset-json.shexecutablescript716 B
scripts/assets/get-asset.shexecutablescript681 B
scripts/assets/list-assets.shexecutablescript475 B
scripts/assets/transfer-asset.shexecutablescript826 B
scripts/assets/update-asset-file.shexecutablescript898 B
scripts/assets/update-asset-image.shexecutablescript905 B
scripts/assets/update-asset-json.shexecutablescript906 B
scripts/assets/update-asset.shexecutablescript830 B
scripts/auth/create-challenge-cc.shexecutablescript795 B
scripts/auth/create-challenge.shexecutablescript668 B
scripts/auth/create-response.shexecutablescript805 B
scripts/auth/verify-response.shexecutablescript799 B
scripts/credentials/accept-credential.shexecutablescript926 B
scripts/credentials/bind-credential.shexecutablescript1.7 KB
scripts/credentials/get-credential.shexecutablescript771 B
scripts/credentials/issue-credential.shexecutablescript1.1 KB
scripts/credentials/list-credentials.shexecutablescript495 B
scripts/credentials/list-issued.shexecutablescript498 B
scripts/credentials/publish-credential.shexecutablescript929 B
scripts/credentials/revoke-credential.shexecutablescript856 B
scripts/crypto/decrypt-file.shexecutablescript1003 B
scripts/crypto/decrypt-message.shexecutablescript585 B
scripts/crypto/encrypt-file.shexecutablescript1.5 KB
scripts/crypto/encrypt-message.shexecutablescript1.3 KB
scripts/crypto/sign-file.shexecutablescript1.2 KB
scripts/crypto/verify-file.shexecutablescript1.3 KB
scripts/groups/add-member.shexecutablescript914 B
scripts/groups/create-group.shexecutablescript1.1 KB
scripts/groups/get-group.shexecutablescript744 B
scripts/groups/list-groups.shexecutablescript547 B
scripts/groups/remove-member.shexecutablescript933 B
scripts/groups/test-member.shexecutablescript1.2 KB
scripts/identity/create-additional-id.shexecutablescript1.3 KB
scripts/identity/create-id.shexecutablescript4.0 KB
scripts/identity/list-ids.shexecutablescript678 B
scripts/identity/switch-id.shexecutablescript985 B
scripts/messaging/archive.shexecutablescript497 B
scripts/messaging/attach.shexecutablescript637 B
scripts/messaging/delete.shexecutablescript434 B
scripts/messaging/forward.shexecutablescript2.0 KB
scripts/messaging/get-attachment.shexecutablescript728 B
scripts/messaging/list.shexecutablescript914 B
scripts/messaging/read.shexecutablescript2.9 KB
scripts/messaging/refresh.shexecutablescript588 B
scripts/messaging/reply.shexecutablescript1.7 KB
scripts/messaging/send.shexecutablescript1.4 KB
scripts/nostr/derive-nostr.shexecutablescript1.5 KB
scripts/polls/add-poll-voter.shexecutablescript921 B
scripts/polls/create-poll-template.shexecutablescript745 B
scripts/polls/create-poll.shexecutablescript1.4 KB
scripts/polls/list-poll-voters.shexecutablescript698 B
scripts/polls/publish-poll.shexecutablescript867 B
scripts/polls/remove-poll-voter.shexecutablescript944 B
scripts/polls/reveal-poll.shexecutablescript854 B
scripts/polls/send-ballot.shexecutablescript971 B
scripts/polls/send-poll.shexecutablescript846 B
scripts/polls/unpublish-poll.shexecutablescript734 B
scripts/polls/update-poll.shexecutablescript877 B
scripts/polls/view-ballot.shexecutablescript778 B
scripts/polls/view-poll.shexecutablescript695 B
scripts/polls/vote-poll.shexecutablescript1.0 KB
scripts/schemas/create-schema.shexecutablescript1.3 KB
scripts/schemas/get-schema.shexecutablescript753 B
scripts/schemas/list-schemas.shexecutablescript483 B

scripts/messaging/read.sh

View on GitHub
#!/bin/bash
# Read a specific dmail
# Usage: read.sh <dmail-did>

set -e

# Load environment
if [ -f ~/.archon.env ]; then
    source ~/.archon.env
fi
if [ -z "$ARCHON_WALLET_PATH" ]; then
    echo "Error: ARCHON_WALLET_PATH not set in ~/.archon.env"
    exit 1
fi

if [ $# -lt 1 ]; then
    echo "Usage: $0 <dmail-did>"
    exit 1
fi

DMAIL_DID="$1"

# Get full dmail list and filter for this one (list-dmail has full metadata)
DMAILS=$(npx @didcid/keymaster list-dmail 2>/dev/null)
DMAIL=$(echo "$DMAILS" | jq --arg did "$DMAIL_DID" '.[$did] // empty')

if [ -z "$DMAIL" ] || [ "$DMAIL" = "null" ]; then
    # Try getting just the message content
    MSG=$(npx @didcid/keymaster get-dmail "$DMAIL_DID" 2>/dev/null)
    if [ -z "$MSG" ] || [ "$MSG" = "null" ]; then
        echo "Error: Could not retrieve dmail $DMAIL_DID"
        exit 1
    fi
    # Display minimal format (message only, no metadata)
    echo "═══════════════════════════════════════════════════════════════"
    echo "$MSG" | jq -r '
        "To:      \(.to | join(", "))",
        (if .cc | length > 0 then "CC:      \(.cc | join(", "))" else empty end),
        "Subject: \(.subject)",
        (if .reference != "" then "Re:      \(.reference)" else empty end),
        "═══════════════════════════════════════════════════════════════",
        "",
        .body
    '
    exit 0
fi

# Display formatted with full metadata
echo "$DMAIL" | jq -r '
    "═══════════════════════════════════════════════════════════════",
    "From:    \(.sender // "Unknown")",
    "To:      \(.to | join(", "))",
    (if .cc | length > 0 then "CC:      \(.cc | join(", "))" else empty end),
    "Date:    \(.date // "Unknown")",
    "Subject: \(.message.subject)",
    (if .message.reference != "" then "Re:      \(.message.reference)" else empty end),
    "Tags:    \(.tags | join(", "))",
    "═══════════════════════════════════════════════════════════════",
    "",
    .message.body,
    ""
'

# Show attachments if any
ATTACHMENTS=$(echo "$DMAIL" | jq -r '.attachments | keys | length')
if [ "$ATTACHMENTS" -gt 0 ]; then
    echo "Attachments:"
    echo "$DMAIL" | jq -r '.attachments | to_entries[] | "  - \(.key)"'
fi

# Mark as read (remove unread tag, keep others)
CURRENT_TAGS=$(echo "$DMAIL" | jq -r '.tags | map(select(. != "unread")) | join(",")')
if [ -n "$CURRENT_TAGS" ]; then
    npx @didcid/keymaster file-dmail "$DMAIL_DID" "$CURRENT_TAGS" >/dev/null 2>&1 || true
fi
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall