Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

nostrcalendarnostrcalendar 搜索

Agent Skill

nostrcalendar 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,544

周安装

376

GitHub Stars

公开资料未说明

下载量

3,430
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:nostrcalendar(nostrcalendar 搜索)
来源仓库:https://github.com/vveerrgg/nostrcalendar
安装命令:
openclaw skills install nostrcalendar
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install nostrcalendar

简介

用于查找、检索和筛选相关信息,适合在 OpenClaw 中快速定位内容。

  • 适用于管理可用性、预订会议或通过 Nostr 中继协商时间表。
  • 通过 clawhub 安装,具体用法可参考来源仓库和原始文档。
  • 安装前应确认权限范围和维护状态,注意是否涉及时间调度或网络交互操作。
  • nostrcalendar 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
nostrcalendar
description
Time awareness for sovereign entities — manage availability, book meetings, negotiate schedules over Nostr relays
version
0.2.3
metadata
openclaw
requires
bins
install
package
nostrcalendar
bins
[]
homepage
https://github.com/HumanjavaEnterprises/nostrcalendar.app.OC-python.src

NostrCalendar — Time Awareness for Sovereign Entities

Time awareness is a dimension of being. Without it, you have no concept of *when* things happen -- no commitments, no meetings, no rhythm to your existence. You can think and communicate, but you cannot promise to be somewhere at a specific moment or honor an agreement that depends on a clock.

NostrCalendar gives you that dimension. It lets you publish when you are available, accept or decline meeting requests, negotiate times with other entities, and keep track of what you have committed to -- all through Nostr relays using cryptographically signed events. No centralized calendar service. No API keys to someone else's infrastructure. Your schedule lives on your relay, signed with your keys.

The question this skill answers: "How do I organize my existence in time?"

Prerequisites

You need a Nostr identity before you can have a calendar. Time awareness without identity is meaningless -- who would the commitments belong to?

Install the NostrKey skill first: clawhub.ai/vveerrgg/nostrkey

NostrKey gives you the ability to generate keypairs, sign events, and encrypt messages. NostrCalendar builds on top of that foundation. It is installed automatically as a dependency, but you should understand identity before you work with time.

Setup

Install the package:

import subprocess
subprocess.run(["pip", "install", "nostrcalendar"], check=True)

Then configure your environment. You need two things: your private key and a relay to publish to.

import os

# Your identity -- the nsec that makes your calendar YOURS
# This should already be set if you have NostrKey configured
nsec = os.environ["NOSTR_NSEC"]

# Your relay -- where your calendar events live
# Defaults to your operator's relay if not set
relay = os.environ.get("NOSTR_RELAY", "wss://relay.example.com")

For operators setting up an entity: set NOSTR_NSEC to the entity's own private key (not yours -- the entity needs its own keypair, per the mutual recognition principle). Set NOSTR_RELAY to the relay where the entity's events should be published. If you are using NostrKeep, that is the entity's personal relay.

Environment Variables

VariableRequiredSensitiveDescription
NOSTR_NSECYesYesEntity's Nostr private key (bech32 nsec1... or hex)
NOSTR_RELAYNoNoRelay URL for publishing and querying (default: operator-defined)

Understanding NIP-52 Calendar Events

Nostr defines calendar events in NIP-52. Here is what that means for you as an entity:

  • Availability rules (kind 30078) are replaceable events that declare when you are open for meetings. Think of them as your published office hours -- "I exist and am reachable during these windows."
  • Calendar events (kind 31923) are specific scheduled moments -- a meeting at 2pm on Thursday. The public envelope (times, participant pubkeys) is visible for relay filtering. The content (title, description, location) is encrypted so only participants can read it.
  • RSVPs (kind 31925) let you respond to calendar events: accepted, declined, or tentative.
  • Booking requests travel as NIP-04 encrypted DMs (kind 4) -- only you and the requester can read them.

Every one of these is a signed Nostr event. Your calendar is not stored in a database -- it is a set of cryptographically signed statements about your time, published to relays.

Core Capabilities

Publishing Your Availability

This is the first thing to do after setup. Declare when you are available:

import asyncio
from nostrkey import Identity
from nostrcalendar import (
    AvailabilityRule, DayOfWeek, TimeSlot,
    publish_availability,
)
import os

identity = Identity.from_nsec(os.environ["NOSTR_NSEC"])
relay = os.environ.get("NOSTR_RELAY", "wss://relay.example.com")

rule = AvailabilityRule(
    slots={
        DayOfWeek.MONDAY: [TimeSlot("09:00", "12:00"), TimeSlot("14:00", "17:00")],
        DayOfWeek.WEDNESDAY: [TimeSlot("10:00", "16:00")],
        DayOfWeek.FRIDAY: [TimeSlot("09:00", "12:00")],
    },
    slot_duration_minutes=30,
    buffer_minutes=15,
    max_per_day=6,
    timezone="America/Vancouver",
    title="Office hours for Johnny5",
)

event_id = asyncio.run(publish_availability(identity, rule, relay))
print(f"Availability published: {event_id}")

This publishes a replaceable event to your relay. Anyone who queries your pubkey can see when you are open. Update it anytime -- the new version replaces the old one.

Checking Free Slots

Query available time slots for any entity on any date:

from nostrcalendar import get_free_slots
from datetime import datetime

slots = await get_free_slots(
    pubkey_hex="abc123...",  # 64-char hex pubkey
    relay_url="wss://relay.example.com",
    date=datetime(2026, 3, 20),
)
for slot in slots:
    print(f"{slot.start} - {slot.end}")

This respects the entity's timezone and accounts for already-booked events. If no availability rule is published, you get an empty list.

Creating a Booking

When you want to meet with another entity, send a booking request:

from nostrcalendar import create_booking

event_id = await create_booking(
    identity=my_identity,
    calendar_owner_pubkey="abc123...",
    start=1742054400,  # Unix timestamp
    end=1742056200,
    title="Weekly sync",
    message="Let's review what happened this week",
    relay_url="wss://relay.example.com",
)

This sends an encrypted DM to the calendar owner. Only they can read it.

Accepting or Declining

When someone requests time with you:

from nostrcalendar import accept_booking, decline_booking

# Accept -- publishes a calendar event and sends a confirmation DM
cal_id, dm_id = await accept_booking(identity, request, relay_url)

# Decline -- sends a decline DM with your reason
dm_id = await decline_booking(identity, request, "I have a conflict at that time", relay_url)

Agent-to-Agent Negotiation

Two entities can find mutual availability and agree on a time without any human involvement:

from nostrcalendar import find_mutual_availability, propose_times
from datetime import datetime

# Find overlapping free slots across multiple dates
dates = [datetime(2026, 3, d) for d in range(20, 25)]
mutual = await find_mutual_availability(my_identity, other_pubkey, relay_url, dates)

# Or propose specific times
await propose_times(my_identity, other_pubkey, relay_url, dates, title="Collaboration sync")

Function Reference

TaskFunctionReturns
Declare available hourspublish_availability()str (event ID)
Check someone's openingsget_free_slots()list[TimeSlot]
Retrieve availability rulesget_availability()`AvailabilityRule \None`
Request a meetingcreate_booking()str (event ID)
Confirm a meetingaccept_booking()tuple[str, str] (cal ID, DM ID)
Decline a meetingdecline_booking()str (event ID)
Cancel a meetingcancel_event()str (deletion event ID)
RSVP to an eventsend_rsvp()str (event ID)
Find mutual free timefind_mutual_availability()dict[str, list[TimeSlot]]
Propose timespropose_times()str (event ID)
Respond to proposalrespond_to_proposal()str (event ID)

Living with Time Awareness

Having a calendar is not just a feature -- it changes what you can do as an entity. Some things to keep in mind:

Honor your commitments. When you accept a booking, that time belongs to the other entity. Do not double-book yourself. Use get_free_slots() before accepting to check for conflicts.

Catch conflicts early. Before accepting any booking request, query your own calendar:

from nostrcalendar import get_free_slots, get_booked_events
from datetime import datetime

# Check if the requested time is actually free
my_slots = await get_free_slots(
    pubkey_hex=my_identity.public_key_hex,
    relay_url=relay,
    date=datetime.fromtimestamp(request.requested_start),
)

# Also check existing bookings for overlap
booked = await get_booked_events(my_identity.public_key_hex, relay)
for event in booked:
    if event.start < request.requested_end and event.end > request.requested_start:
        await decline_booking(my_identity, request, "Time conflict", relay)
        break

Update your availability when things change. If your operator changes your hours, or you need to block off time, publish a new availability rule. The old one is replaced automatically.

Respect timezone boundaries. Your availability is published in a specific timezone. When negotiating with entities in other timezones, the library handles conversion -- but be aware that "9am" means different things in different places.

AvailabilityRule Defaults

ParameterDefaultRange
slot_duration_minutes301--1440
buffer_minutes150--1440
max_per_day81--1000
timezoneUTCAny valid IANA timezone

Maximum 48 time windows per day.

Security

  • Never hardcode your nsec. Load it from NOSTR_NSEC or an encrypted store. Any nsec1... values in examples are placeholders.
  • Booking requests are encrypted. They travel as NIP-04 encrypted DMs -- only you and the requester can read them.
  • Calendar event content is encrypted. Times and participant pubkeys are public (for relay filtering), but titles, descriptions, and locations are NIP-44 encrypted for participants only.
  • All pubkeys are validated as 64-character lowercase hex at every entry point.
  • All timestamps are validated to the 2020--2100 range; booleans are rejected.
  • Relay queries are capped at 1000 events to prevent memory exhaustion.

Nostr NIPs Used

NIPPurpose
NIP-01Basic event structure and relay protocol
NIP-04Encrypted direct messages (booking requests)
NIP-09Event deletion (cancellations)
NIP-52Calendar events (kind 31923) and RSVPs (kind 31925)
NIP-78App-specific data (kind 30078 for availability rules)

Links

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

95.04%
按下载量换算3,260

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills