Agent skill

Event Detection Temporal Intelligence Expert

by curiositech in curiositech/some_claude_skills

Expert in temporal event detection, spatio-temporal clustering (ST-DBSCAN), and photo context understanding.

MITAuto-check: notesFrontend & Design

Install Event Detection Temporal Intelligence Expert

skills CLI
$ npx skills add curiositech/some_claude_skills --skill event-detection-temporal-intelligence-expert -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install curiositech/some_claude_skills event-detection-temporal-intelligence-expert --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/event-detection-temporal-intelligence-expert .claude/skills/event-detection-temporal-intelligence-expert && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
event-detection-temporal-intelligence-expert
GitHub stars
243
Token cost
~2.6k tokens
SKILL.md length
814 words
Files
7 (incl. references)
Skills in repo
95
Repo updated
First seen
Licence
MIT

At a glance

Expert in temporal event detection, spatio-temporal clustering (ST-DBSCAN), and photo context understanding.

  • Works in 3 steps: ST-DBSCAN: Spatio-Temporal Clustering → DeepDBSCAN: Adding Visual Content → Hierarchical Event Detection
  • Detecting photo events
  • SKILL.md covers When to Use This Skill, Quick Decision Tree, Core Concepts and Event Significance Scoring, plus 9 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Event Detection Temporal Intelligence Expert is an agent skill from curiositech/some_claude_skills. Expert in temporal event detection, spatio-temporal clustering (ST-DBSCAN), and photo context understanding. Use for detecting photo events, clustering by time/location, shareability prediction, place recognition, event significance scoring, and life event detection. Activate on 'event detection', 'temporal clustering', 'ST-DBSCAN', 'spatio-temporal', 'shareability prediction', 'place recognition', 'life events', 'photo events', 'temporal diversity'. NOT for individual photo aesthetic quality (use…

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files (for example `.claude-plugin/plugin.json`, `CHANGELOG.md` and `references/event-scoring-shareability.md`).

It sits in Frontend & Design, covering Theming and dark mode. The repository describes itself as: Claude skills that make my life easier. The licence is MIT.

When your agent uses it

  • Detecting photo events
  • Clustering by time/location
  • Shareability prediction
  • Place recognition

Example prompts

  • “event detection”
  • “temporal clustering”
  • “ST-DBSCAN”
  • “/event-detection-temporal-intelligence-expert”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash, Grep, Glob, mcp__firecrawl__firecrawl_search, WebFetch

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. ST-DBSCAN: Spatio-Temporal Clustering
  2. DeepDBSCAN: Adding Visual Content
  3. Hierarchical Event Detection

What it can do on your machine

Read from SKILL.md and the folder at commit 6713fc7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash
    • Grep
    • Glob
    • mcp__firecrawl__firecrawl_search
    • WebFetch

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Event Detection Temporal Intelligence Expert loads about 2.6k tokens when it runs, and up to ~14k if it reads all its reference files. Until then it costs about 189 tokens; SKILL.md has 814 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~189
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~14k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash, Grep, Glob, mcp__firecrawl__firecrawl_search, WebFetch

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from curiositech/some_claude_skills at commit 6713fc7, republished under its MIT licence (© curiositech). 814 words, ~2,634 tokens.

Download SKILL.mdSave it as .claude/skills/event-detection-temporal-intelligence-expert/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
event-detection-temporal-intelligence-expert
description
Expert in temporal event detection, spatio-temporal clustering (ST-DBSCAN), and photo context understanding. Use for detecting photo events, clustering by time/location, shareability prediction, place recognition, event significance scoring, and life event detection. Activate on 'event detection', 'temporal clustering', 'ST-DBSCAN', 'spatio-temporal', 'shareability prediction', 'place recognition', 'life events', 'photo events', 'temporal diversity'. NOT for individual photo aesthetic quality (use photo-composition-critic), color palette analysis (use color-theory-palette-harmony-expert), face recognition implementation (use photo-content-recognition-curation-expert), or basic EXIF timestamp extraction.
allowed-tools
Read, Write, Edit, Bash, Grep, Glob, mcp__firecrawl__firecrawl_search, WebFetch
metadata.category
AI & Machine Learning
metadata.tags
temporal, clustering, events, spatio-temporal, photo-context

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

python
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.

Show full SKILL.md (308 more words)Show less
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:

python
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:

python
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:

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

Quick Start: Event Detection Pipeline

python
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

© curiositech, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (references) in .claude/skills/event-detection-temporal-intelligence-expert of curiositech/some_claude_skills.

  • SKILL.md
  • .claude-plugin/plugin.json
  • CHANGELOG.md
  • references/event-scoring-shareability.md
  • references/place-recognition-life-events.md
  • references/st-dbscan-implementation.md
  • references/temporal-diversity-pipeline.md

Open the folder on GitHubat commit 6713fc7

Compare with similar skills

Event Detection Temporal Intelligence Expert next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Event Detection Temporal Intelligence Expert compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Event Detection Temporal Intelligence Expert this skillcuriositech/some_claude_skills243—~2.6kAutomated safety check: NotesMIT
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT
Figma Design System Builderwarpdotdev/warp65k2 repos~4.4kAutomated safety check: PassAGPL-3.0
Tailwindcss Developmentanonaddy/anonaddy4.9k10 repos~865Automated safety check: PassMIT
UI StylingOhh-889/skyroc79513 repos~2.5kAutomated safety check: PassMIT
MCP Developmentcoollabsio/coolify63k1 repos~949Automated safety check: PassMIT

Similar skills

  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 27 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.

    65k GitHub starsUsed in 2 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Tailwindcss Development

    anonaddy/anonaddy

    Always invoke when the user's message includes 'tailwind' in any form.

    4.9k GitHub starsUsed in 10 repos~865 tokens
    Frontend & DesignAuto-check passed
  • UI Styling

    Ohh-889/skyroc

    Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs.

    795 GitHub starsUsed in 13 repos~2.5k tokens
    Frontend & DesignAuto-check passed
  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Frontend & DesignAuto-check passed
  • UI UX Pro Max

    saoudi-h/solar-icons

    UI/UX design intelligence for web and mobile. An agent skill from saoudi-h/solar-icons.

    186 GitHub starsUsed in 18 repos~11k tokens
    Frontend & DesignAuto-check: notes

More from curiositech/some_claude_skills

All 95 skills in this repo
  • Crisis Detection Intervention AI

    curiositech/some_claude_skills

    Detect crisis signals in user content using NLP, mental health sentiment analysis, and safe intervention protocols.

    243 GitHub starsUsed in 2 repos~3.8k tokens
    Auto-check passed
  • Form Validation Architect

    curiositech/some_claude_skills

    End-to-end form handling with react-hook-form, Zod schemas, validation patterns, error messaging, field arrays, and multi-step wizards.

    243 GitHub stars~3.8k tokensUpdated 1 mo ago
    Auto-check passed
  • GitHub Actions Pipeline Builder

    curiositech/some_claude_skills

    Build production CI/CD pipelines with GitHub Actions. An agent skill from curiositech/some_claude_skills.

    243 GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check: notes
  • Background Job Orchestrator

    curiositech/some_claude_skills

    Expert in background job processing with Bull/BullMQ (Redis), Celery, and cloud queues.

    243 GitHub stars~3.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Competitive Cartographer

    curiositech/some_claude_skills

    Strategic analyst that maps competitive landscapes, identifies white space opportunities, and provides positioning recommendations.

    243 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Computer Vision Pipeline

    curiositech/some_claude_skills

    Build production computer vision pipelines for object detection, tracking, and video analysis.

    243 GitHub stars~4k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Event Detection Temporal Intelligence Expert

What does Event Detection Temporal Intelligence Expert do?

Expert in temporal event detection, spatio-temporal clustering (ST-DBSCAN), and photo context understanding. Event Detection Temporal Intelligence Expert is an agent skill from curiositech/some_claude_skills. Expert in temporal event detection, spatio-temporal clustering (ST-DBSCAN), and photo context understanding.

When should I use Event Detection Temporal Intelligence Expert?

Event Detection Temporal Intelligence Expert fits situations like: detecting photo events; clustering by time/location; shareability prediction; place recognition.

How do I install Event Detection Temporal Intelligence Expert in Claude Code?

Run `npx skills add curiositech/some_claude_skills --skill event-detection-temporal-intelligence-expert -a claude-code`. Or copy the skill folder (.claude/skills/event-detection-temporal-intelligence-expert in curiositech/some_claude_skills) into .claude/skills/event-detection-temporal-intelligence-expert in your project. Claude Code loads it when a task matches its description.

How do I install Event Detection Temporal Intelligence Expert in Codex?

Run `npx skills add curiositech/some_claude_skills --skill event-detection-temporal-intelligence-expert -a codex`. Or copy the skill folder (.claude/skills/event-detection-temporal-intelligence-expert in curiositech/some_claude_skills) into .agents/skills/event-detection-temporal-intelligence-expert in your project. Codex loads it when a task matches its description.

Can I use Event Detection Temporal Intelligence Expert in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add curiositech/some_claude_skills --skill event-detection-temporal-intelligence-expert -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/event-detection-temporal-intelligence-expert, .gemini/skills/event-detection-temporal-intelligence-expert, .github/skills/event-detection-temporal-intelligence-expert and .opencode/skills/event-detection-temporal-intelligence-expert in your project.

What does Event Detection Temporal Intelligence Expert need to run?

SKILL.md names no scripts, command-line tools or credentials: Event Detection Temporal Intelligence Expert is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, Grep, Glob, mcp__firecrawl__firecrawl_search, WebFetch.

Does Event Detection Temporal Intelligence Expert access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Event Detection Temporal Intelligence Expert safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Event Detection Temporal Intelligence Expert use?

Event Detection Temporal Intelligence Expert is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Event Detection Temporal Intelligence Expert use?

About 2.6k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 11k tokens, read only when the agent opens those files.

What are the alternatives to Event Detection Temporal Intelligence Expert?

Skills that share tags, products or a category with Event Detection Temporal Intelligence Expert: Impeccable (bestofjs/bestofjs, 3.1k stars), Figma Design System Builder (warpdotdev/warp, 65k stars), Tailwindcss Development (anonaddy/anonaddy, 4.9k stars) and UI Styling (Ohh-889/skyroc, 795 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Event Detection Temporal Intelligence Expert?

curiositech (a GitHub organization) maintains it in curiositech/some_claude_skills, which has 243 GitHub stars. The repository holds 95 skills in this directory. The repository was last updated on September 6, 2026.

Source: curiositech/some_claude_skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.