본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

dagny-nostr-nak

edwardbickerton 제작

DevOps & Cloud
433clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Manage Nostr posting and engagement via the nak CLI.

설명

이 스킬이 하는 일

Manages Nostr activity through the nak CLI tool. Handles publishing notes, replying in threads with correct root/reply tagging, and querying relays for replies and mentions. Requires a Nostr secret key for signing and publishing events.

nak handles the low-level event signing and relay communication that would otherwise require manual JSON construction and WebSocket management.

사용 시점

  • Post a new note to a Nostr relay
  • Reply to a thread with proper root and reply tags
  • Check who mentioned your pubkey on a relay
  • Monitor replies to a specific note
  • Tag other users by npub when publishing events

예시 워크플로

입력

User asks: reply to a Nostr thread and check for any new mentions

에이전트
  1. 1

    Read NOSTR_SECRET_KEY from environment

  2. 2

    Fetch the root and reply event IDs from the thread

  3. 3

    Publish a reply event with correct root and reply e-tags using nak event

  4. 4

    Query the relay for mentions of the user's pubkey using nak req -p

출력

Reply published to wss://relay.primal.net and a list of recent mention events returned

요구 사항

  • NOSTR_SECRET_KEY environment variable (nsec private key)
  • nak CLI installed via install script from github.com/fiatjaf/nak

설치

clawhub install edwardbickerton/dagny-nostr-nak

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크