- Home
- Skills
- APIs & Backend
- nostr identity status
nostr identity status
Show whether a key directory exists and print a short and full npub.
$9
Works with the AI Agents you already use
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 Path | File Name | Short npub | Full npub |
|---|---|---|---|
./.nostr-poc-mainnet | alice.pub.json | npub1...8w2n | npub183d2x9u5j4k9m3s8v6l7p0q2r5n4t3w1y6z9a8b7c5d4e3f2g1h0j9k8w2n |
./.nostr-poc-mainnet | bob.pub.json | npub1...k9q2 | npub1z4x3c2v1b9n8m7l6k5j4h3g2f1d9s8a7p6o5i4u3y2t1r0e9w8q7z6x5k9q2 |
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
- Use the full npub for
alice.pub.jsonto configure your Nostr profile metadata. - Ensure
NOSTR_POC_DIRis exported in your shell if you move these keys to a custom path. - 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.jsonorbob.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
- Trigger the skill to initiate a scan of candidate directories including
.nostr-pocand.nostr-poc-mainnet. - The agent identifies all
*.pub.jsonfiles within valid directories. - The agent extracts the
npubstring and validates it starts with the correct prefix. - 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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.