← 返回
沟通协作 中文

Luma Events Enhanced

Fetch upcoming events from Luma (lu.ma) for any city. Use when the user asks about tech events, startup meetups, networking events, conferences, or things ha...
从 Luma (lu.ma) 获取任意城市的即将到来的活动。用户询问技术活动、创业聚会、社交活动、会议或类似事项时使用。
firefrog-pepe
沟通协作 clawhub v1.1.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 518
下载
💾 7
安装
1
版本
#latest

概述

Luma Events Enhanced Skill

This skill allows the agent to fetch upcoming events from Luma (lu.ma) without authentication. It supports multiple cities, date filtering, and JSON output. Events are automatically persisted to ~/.openclaw/workspace/memory/luma-events.json and old events are pruned (>24h past start) to keep storage manageable.

Capabilities

  • fetch_events(city, days=30, max_events=20, json=False) – Fetch events for a city (or list of cities). Returns human-readable text or JSON.
  • get_persisted_events() – Read stored events from memory file (useful for follow-up questions).
  • prune_old_events(hours=24) – Remove events that ended more than N hours ago.

Usage

The agent typically runs the CLI:

python3 scripts/fetch_events.py <city> [cities...] [--days N] [--max N] [--json]

Parameters

  • city: City slug (lowercase, hyphenated), e.g., bengaluru, mumbai, san-francisco, new-york, lisbon, porto.
  • --days N: Only include events occurring within the next N days (default: 30).
  • --max N: Maximum number of events to return per city (default: 20).
  • --json: Output raw JSON instead of formatted text.

Output

Human-readable output prints each event with:

  • 🎯 Event name
  • 📍 Venue and city
  • 📅 Date and time (local to event)
  • 👥 Hosts (up to 2)
  • 👤 Guest count
  • 🎫 Ticket status (Free/Paid/Sold Out/Available with spots)
  • 🔗 Direct lu.ma link

JSON output includes an array of event objects with fields:

  • city, name, start, end, url, venue, hosts[], guestCount, ticketStatus (free/paid/sold_out), spotsRemaining, isFree, lastFetched

Persistence

After fetching, events are merged into ~/.openclaw/workspace/memory/luma-events.json by event URL. On each run, the file is pruned to remove events older than 24 hours past their start time. This allows the agent to maintain context without re-fetching.

Examples

Find tech events this week

python3 scripts/fetch_events.py bengaluru --days 7

Check multiple cities for AI events

python3 scripts/fetch_events.py bengaluru mumbai san-francisco --days 14 --json | jq '.[] | .events[] | select(.event.name | contains("AI"))'

Get next 5 events in a city

python3 scripts/fetch_events.py new-york --max 5

Check if events are selling out

python3 ~/clawd/skills/luma/scripts/fetch_events.py mumbai --json | jq '.[] | .events[] | select(.ticket_info.is_near_capacity)'

Example Queries

User: "What tech events are happening in Bangalore this weekend?"

→ Fetch Bengaluru events for next 7 days, save to memory

User: "Any AI meetups in Mumbai next month?"

→ Fetch Mumbai events for next 30 days, filter for AI-related, save to memory

User: "Compare startup events in SF vs NYC"

→ Fetch both cities, compare, save both to memory

Notes

  • Luma public pages embed event data in __NEXT_DATA__ script tag; no API key required.
  • If a city page does not expose an events array (e.g., Porto), the skill returns an empty result.
  • Rate limiting: Be respectful; do not hammer Luma servers.
  • Timezones: Event times are in the event's local timezone as provided by Luma.

Troubleshooting

  • No upcoming events found → City may not be supported by current Luma page format. This is expected.
  • Could not find __NEXT_DATA__ → Luma changed HTML structure or blocked the request; try later.
  • Timeouts → Network issue; retry or check connectivity.

Dependencies

  • Python 3.6+ (stdlib only: urllib, json, re, argparse, datetime, os, sys)

Changelog

v1.1.1 (2026-03-08)

  • Republished with explicit fork lineage to regalstreak/luma on ClawHub.
  • No code changes; metadata-only patch release.

v1.1.0 (2026-02-20)

  • Changed persistence path to ~/.openclaw/workspace/memory/luma-events.json.
  • Automatic pruning of events older than 24 hours past their start.
  • Friendly output for unsupported cities (e.g., Porto).
  • Removed obsolete README.md; consolidated docs in SKILL.md.

v1.0.0 (2026-01-29)

  • Initial release
  • Support for multiple cities
  • Human-readable and JSON output
  • Date filtering (--days)
  • Event limit per city (--max)
  • Event persistence to memory file

版本历史

共 1 个版本

  • v1.1.1 当前
    2026-03-29 20:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,678
communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,585
security-compliance

skill-guard w Snyk Agent Scan

firefrog-pepe
安装前扫描 ClawHub 技能安全漏洞。用于检测提示注入、恶意载荷等威胁。
★ 0 📥 647