nostr identity status

    1

    Show whether a key directory exists and print a short and full npub.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    nostr identity status

    Example session with this skill installed

    Check my local Nostr identity status and list any available public keys in the default directories.

    • Read your context and instructions
    • Compiled the nostr identity status

    I have scanned the local environment for Nostr identity files. I found one active directory containing public identity metadata.

    Nostr Identity Status Report

    Directory PathFile NameShort npubFull npub
    ./.nostr-poc-mainnetalice.pub.jsonnpub1...8w2nnpub183d2x9u5j4k9m3s8v6l7p0q2r5n4t3w1y6z9a8b7c5d4e3f2g1h0j9k8w2n
    ./.nostr-poc-mainnetbob.pub.jsonnpub1...k9q2npub1z4x3c2v1b9n8m7l6k5j4h3g2f1d9s8a7p6o5i4u3y2t1r0e9w8q7z6x5k9q2

    Verification Details

    • Environment Variable (NOSTR_POC_DIR): Not set.
    • Standard Path (.nostr-poc): Directory not found.
    • Standard Path (.nostr-poc-mainnet): Directory found with 2 public files.

    Security Check

    • Encrypted files (*.enc.json) were detected but ignored per privacy protocol.
    • No wallet secrets or preimages were accessed during this scan.

    Next steps

    1. Use the full npub for alice.pub.json to configure your Nostr profile metadata.
    2. Ensure NOSTR_POC_DIR is exported in your shell if you move these keys to a custom path.
    3. Proceed with payment testing now that the identity is verified.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Manual verification of local Nostr identities is prone to directory path errors and accidental exposure of sensitive files. This skill inspects local public key storage to report active identities without risking private key exposure.

    What it does

    • Directory Discovery scans environment variables and local paths for active Nostr Proof-of-Concept directories.
    • Identity Verification confirms the presence of public key JSON files like alice.pub.json or bob.pub.json.
    • String Formatting generates standardized short-form npubs for readability alongside full identifiers.
    • Privacy Enforcement automatically filters out non-compliant strings and strictly ignores encrypted secret files.

    How it works

    1. Trigger the skill to initiate a scan of candidate directories including .nostr-poc and .nostr-poc-mainnet.
    2. The agent identifies all *.pub.json files within valid directories.
    3. The agent extracts the npub string and validates it starts with the correct prefix.
    4. A status report is generated showing the directory path, file name, and formatted public keys.

    Frameworks & tools

    This skill uses the agent-bitcoin SDK and the Pathlib library for secure filesystem navigation.

    Why this beats prompting it yourself

    Writing manual scripts to parse Nostr JSON files often leads to pathing issues or the accidental logging of sensitive metadata. This skill implements a strict "public-only" filter and uses the short_npub logic from the SDK to ensure output matches standard Nostr UI conventions.

    Use cases

    • Verify local identity availability before initiating on-chain or lightning payments.
    • Audit local environment variables to ensure the agent is pointing to the correct key store.
    • List all available public identities for multi-account testing.

    Known limitations

    Does not generate new keys or modify existing files. It will skip any files where the public key does not start with the standard npub prefix.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Requires the agent-bitcoin SDK. Cannot generate new keys or access encrypted .enc.json files.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Software
    Python 3.10+agent-bitcoin packageRead-only public Nostr keys

    Read-only public Nostr keys only.

    Permissions

    Read Files
    Write Files
    Environment Variables
    Listedtoday

    What's inside

    Frequently Asked Questions

    This skill automates the discovery and verification of local Nostr public keys, preventing manual pathing errors and ensuring you don't accidentally expose sensitive private key files during a session.

    The skill is built using the agent-bitcoin SDK and is compatible with any AI agent or framework that supports Python-based skill integration and local filesystem access.

    No, this is a read-only utility; it is strictly designed to scan, verify, and report existing public identities and will never modify, delete, or generate new key files.

    The skill looks for standard Nostr Proof-of-Concept directories like .nostr-poc and .nostr-poc-mainnet, but it can be configured to scan custom environment variables where your identities are stored.

    You receive the full skill logic integrated with the agent-bitcoin SDK, a configuration guide for environment variables, and documentation for standardized npub reporting.

    The skill includes an automated filter that ignores all non-public files and strictly validates that every reported string begins with the 'npub' prefix before displaying it.

    New in APIs & Backend