Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计提醒

event-detection-temporal-intelligence-expert事件检测时态智能专家

Agent Skill

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

总安装

2,081

周安装

85

GitHub Stars

98

下载量

666
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:event-detection-temporal-intelligence-expert(事件检测时态智能专家)
来源仓库:https://github.com/erichowens/some_claude_skills
仓库路径:skills/event-detection-temporal-intelligence-expert
安装命令:
npx skills add https://github.com/erichowens/some_claude_skills --skill event-detection-temporal-intelligence-expert
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/erichowens/some_claude_skills --skill event-detection-temporal-intelligence-expert

简介

event-detection-temporal-intelligence-expert 专注于从照片集合中识别有意义的生活事件,适合在 Codex、Claude、Cursor、Gemini CLI 中分析时间序列数据、聚类时空点或生成交互式相册时使用。

  • 它采用 ST-DBSCAN 等算法进行空间-时间聚类,并按显著性排序推荐分享内容。
  • 使用时应在处理带时间戳和 GPS 的照片库时启用此技能,尤其关注毕业典礼、婚礼等重要时刻。
  • 安装前应准备好图像数据集,并理解其依赖的地理编码与视觉识别能力限制。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Event Detection & Temporal Intelligence Expert

Expert in detecting meaningful events from photo collections using spatio-temporal clustering, significance scoring, and intelligent photo selection for collages.

When to Use This Skill

Use for:

  • Detecting events from photo timestamps + GPS coordinates
  • Clustering photos by time, location, and visual content (ST-DBSCAN, DeepDBSCAN)
  • Scoring event significance (birthday > commute)
  • Predicting photo shareability for social media
  • Recognizing life events (graduations, weddings, births, moves)
  • Temporal diversity optimization (avoid all photos from one day)
  • Event-aware collage photo selection

NOT for:

  • Individual photo aesthetic quality → photo-composition-critic
  • Color palette analysis → color-theory-palette-harmony-expert
  • Face clustering/recognition → photo-content-recognition-curation-expert
  • CLIP embedding generation → clip-aware-embeddings
  • Single-photo timestamp extraction (basic EXIF parsing)

Quick Decision Tree

Need to group photos into meaningful events?
├─ Have GPS + timestamps? ──────────────────── ST-DBSCAN
│   ├─ Also need visual similarity? ────────── DeepDBSCAN (add CLIP)
│   └─ Need hierarchical events? ───────────── Multi-level cascading
│
├─ No GPS, only timestamps? ────────────────── Temporal binning
│   └─ With visual content? ─────────────────── CLIP + temporal
│
└─ Photos have faces + want groups? ─────────── Face clustering first
    └─ Then event detection per person

Core Concepts

1. ST-DBSCAN: Spatio-Temporal Clustering

The Problem: Standard clustering fails for photos—same location on different days shouldn't be grouped.

Key Insight: 100 meters apart in same hour = same event. 100 meters apart 3 days later = different events.

ST-DBSCAN Parameters:

ε_spatial:   50m (indoor) → 500m (outdoor festival) → 5km (city tour)
ε_temporal:  1hr (short event) → 8hr (day trip) → 24hr (multi-day)
min_pts:     3 (small gathering) → 10 (large event)

Algorithm: Both spatial AND temporal constraints must be satisfied:

Neighbor(p) = {q | distance(p,q) ≤ ε_spatial AND |time(p)-time(q)| ≤ ε_temporal}

Deep dive: references/st-dbscan-implementation.md

2. DeepDBSCAN: Adding Visual Content

Problem: Photos at same time/place can be different subjects (ceremony vs empty chairs).

Solution: Add CLIP embeddings as third dimension:

Neighbor(p) = {q | spatial_ok AND temporal_ok AND cosine_sim(clip_p, clip_q) > threshold}

eps_visual: 0.3 (similar subjects) → 0.5 (diverse event content)

3. Hierarchical Event Detection

Use case: "Paris Vacation" contains "Day 1: Louvre", "Day 2: Eiffel Tower"

Approach: Cascade ST-DBSCAN with expanding thresholds:

  1. High-level (vacations): eps_spatial=50km, eps_temporal=72hr
  2. Mid-level (daily): eps_spatial=5km, eps_temporal=12hr
  3. Low-level (moments): eps_spatial=500m, eps_temporal=1hr

Event Significance Scoring

Goal: Birthday party > Daily commute photos

Multi-Factor Model (weights sum to 1.0):

FactorWeightDescription
location_rarity0.20Exotic location > home
people_presence0.15Photos with people score higher
photo_density0.15More photos/hour = more memorable
content_rarity0.15Landmarks, celebrations detected via CLIP
visual_diversity0.10Varied shots = special event
duration0.10Longer events score higher
engagement0.10Shared/edited/favorited photos
temporal_rarity0.05Annual patterns (birthdays, holidays)

Deep dive: references/event-scoring-shareability.md


Shareability Prediction

Goal: Predict which photos will be shared on social media.

High-Signal Features (2025 research):

  1. Smiling faces (+0.3 base score)
  2. Group photos (3+ people, +0.2)
  3. Famous landmarks (+0.25)
  4. Food scenes (+0.15)
  5. Moderate visual complexity (0.4-0.6 optimal)
  6. Recency (decays over 30 days)

Shareability Threshold: >0.6 = "Highly Shareable"

Deep dive: references/event-scoring-shareability.md


Life Event Detection

Automatically detect major life events using multi-modal signals:

Event TypePrimary SignalsThreshold
GraduationCap/gown, diploma, auditorium0.6
WeddingFormal attire, bouquet, cake, rings0.7
BirthNew infant face cluster, hospital setting0.8
Residential Move50km+ location shift, >30 days0.8
Travel MilestoneFirst visit to new country1.0

Deep dive: references/place-recognition-life-events.md


Temporal Diversity for Selection

Problem: Without constraints, collage might be all vacation photos.

Method Comparison

MethodBest ForUse When
Temporal BinningEven time coverageNeed chronological spread
Temporal MMRQuality + diversity balanceBalanced selection
Event-BasedEvent representationEach event matters

Temporal MMR Formula

MMR(photo) = λ × quality + (1-λ) × min_temporal_distance_to_selected
  • λ=0.5: Balanced
  • λ=0.7: Prefer quality
  • λ=0.3: Prefer diversity

Deep dive: references/temporal-diversity-pipeline.md


Common Anti-Patterns

Anti-Pattern: Time-Only Clustering

What it looks like: Using K-means or basic DBSCAN on timestamps only

clusters = KMeans(n_clusters=10).fit(timestamps)  # WRONG

Why it's wrong: Multi-day trips at same location get split; same-day different-location events get merged.

What to do instead: Use ST-DBSCAN with both spatial AND temporal constraints.

Anti-Pattern: Fixed Epsilon Values

What it looks like: Using same eps_spatial=100m for all events

Why it's wrong: Indoor events need 50m, city tours need 5km.

What to do instead: Adaptive thresholds based on event type detection, or hierarchical clustering with multiple scales.

Anti-Pattern: Ignoring Visual Content

What it looks like: ST-DBSCAN alone for event detection

Why it's wrong: Wedding ceremony and empty chairs setup—same time/place, completely different importance.

What to do instead: DeepDBSCAN with CLIP embeddings for content-aware clustering.

Anti-Pattern: Euclidean Distance for GPS

What it looks like:

distance = sqrt((lat2-lat1)**2 + (lon2-lon1)**2)  # WRONG

Why it's wrong: Degrees ≠ meters. 1° latitude = 111km, but 1° longitude varies by latitude.

What to do instead: Haversine formula for great-circle distance:

from geopy.distance import geodesic
distance_meters = geodesic((lat1, lon1), (lat2, lon2)).meters

Anti-Pattern: No Noise Handling

What it looks like: Forcing every photo into a cluster

Why it's wrong: Solo commute photos pollute event clusters.

What to do instead: DBSCAN naturally identifies noise (label=-1). Keep noise separate—don't force into nearest cluster.

Anti-Pattern: Shareability Without Event Context

What it looks like: Predicting shareability from photo features alone

Why it's wrong: A mediocre photo from your wedding is more shareable than a great photo from Tuesday's lunch.

What to do instead: Include event significance as feature:

features['event_significance'] = photo.event.significance_score

Quick Start: Event Detection Pipeline

from event_detection import EventDetectionPipeline

pipeline = EventDetectionPipeline()

# Process photo corpus
results = pipeline.process_photo_corpus(photos)

# Access events
for event in results['events']:
    print(f"{event.label}: {len(event.photos)} photos, significance={event.significance_score:.2f}")

# Access life events
for life_event in results['life_events']:
    print(f"{life_event.type} detected on {life_event.timestamp}")

# Select for collage with diversity
collage_photos = pipeline.select_for_collage(results, target_count=100)

Performance Targets

OperationTarget
ST-DBSCAN (10K photos)< 2 seconds
Event significance scoring< 100ms/event
Shareability prediction< 50ms/photo
Place recognition (cached)< 10ms/photo
Full pipeline (10K photos)< 5 seconds

Python Dependencies

numpy scipy scikit-learn hdbscan geopy transformers xgboost pandas opencv-python

Integration Points

  • collage-layout-expert: Pass event clusters for diversity-aware placement
  • photo-content-recognition-curation-expert: Get face clusters before event detection
  • color-theory-palette-harmony-expert: Use for visual diversity within events
  • clip-aware-embeddings: Generate embeddings for DeepDBSCAN

References

  1. ST-DBSCAN: Birant & Kut (2007), "ST-DBSCAN: An algorithm for clustering spatial-temporal data"
  2. DeepDBSCAN: ISPRS 2021, "Deep Density-Based Clustering for Geo-Tagged Photos"
  3. Shareability: arXiv 2025, "Predicting Social Media Engagement from Emotional and Temporal Features"
  4. GeoNames/OpenStreetMap: Reverse geocoding for place recognition

Version: 2.0.0 Last Updated: November 2025

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

28%
按下载量换算186

OpenCode

23.88%
按下载量换算159

Codex

16.23%
按下载量换算108

windsurf

13.26%
按下载量换算88

Antigravity

7.94%
按下载量换算53

Cursor

3.42%
按下载量换算23

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills