duckdb-ies
БесплатноБез исполняемых скриптовНе проверенLayer 4: IES Interactome Analytics with GF(3) Momentum Tracking
от plurigrid★ 73 звезды на GitHubОб этом скилле
duckdb-ies
Layer 4: IES Interactome Analytics with GF(3) Momentum Tracking
Version: 2.0.0
Trit: +1 (Generative - produces analysis artifacts)
Bundle: analytics
Extends: duckdb-timetravel
Overview
DuckDB-IES provides unified interactome analytics across Claude history, GitHub activity, workspace files, and skill manifests. It implements GF(3) momentum tracking, topic clustering, and cross-source fingerprint correlation.
Database Location
/Users/bob/ies/ducklake_data/ies_interactome.duckdb
Core Tables
| Table | Rows | Description |
|---|---|---|
claude_history_colored |
1316+ | Claude interactions with Gay.jl coloring |
gh_repos_colored |
50 | GitHub repos with trit values |
gh_contributions |
366 | Daily contribution counts |
skill_manifests |
1+ | Skill metadata with fingerprints |
workspace_files |
200+ | Workspace file index by type |
topic_clusters |
14 | Content-based topic extraction |
skill_dependency_graph |
5 | Skill domain → file mappings |
Core Views
unified_interactions
Merges all sources into single stream:
SELECT timestamp, source, content, category, fingerprint, color_hex, trit
FROM unified_interactions
WHERE source = 'claude' AND timestamp > '2025-12-20';
gf3_flow_analysis
Daily GF(3) balance tracking:
SELECT day, total_interactions, daily_gf3_sum, gf3_status, breakdown
FROM gf3_flow_analysis
WHERE gf3_status = '✓ balanced';
gf3_momentum_detector
Hourly drift detection with velocity:
SELECT hour, cumulative_gf3, gf3_velocity_6h, momentum_status
FROM gf3_momentum_detector
WHERE momentum_status LIKE '%DRIFT%';
fingerprint_correlations
Cross-source co-occurrence within 1-hour windows:
SELECT edge_type, correlation_count, avg_time_delta
FROM fingerprint_correlations
ORDER BY correlation_count DESC;
interaction_velocity
Hourly momentum with cumulative GF(3):
SELECT hour, interactions, velocity, cumulative_gf3
FROM interaction_velocity
WHERE velocity > 20; -- High activity spikes
simultaneity_surfaces
High-density interaction periods:
SELECT hour_bucket, density, gf3_sum, gf3_status, palette
FROM simultaneity_surfaces;
Capabilities
1. ingest-claude-history
CREATE OR REPLACE TABLE claude_history AS
SELECT
display, timestamp,
to_timestamp(timestamp/1000) as ts,
project, sessionId,
CASE
WHEN LOWER(display) LIKE '%duckdb%' THEN 'duckdb'
WHEN LOWER(display) LIKE '%skill%' THEN 'skill'
ELSE 'other'
END as interaction_type
FROM read_json('~/.claude/history.jsonl',
format='newline_delimited',
ignore_errors=true
);
2. apply-gay-coloring
-- Add Gay.jl deterministic coloring
CREATE OR REPLACE TABLE claude_history_colored AS
SELECT
*,
hash(display || COALESCE(project,'') || CAST(timestamp AS VARCHAR)) as fingerprint,
'#' || printf('%06x', ABS(hash(display)) % 16777216) as color_hex,
CAST(ABS(hash(display)) % 3 AS INTEGER) - 1 as trit
FROM claude_history;
3. topic-extraction
-- Content-based topic clustering via regex
CREATE OR REPLACE TABLE topic_clusters AS
WITH topics AS (
SELECT
content, source,
CASE
WHEN LOWER(content) LIKE '%duckdb%' THEN 'duckdb'
WHEN LOWER(content) LIKE '%gay%' OR LOWER(content) LIKE '%color%' THEN 'gay-coloring'
WHEN LOWER(content) LIKE '%acset%' THEN 'acsets'
WHEN LOWER(content) LIKE '%skill%' THEN 'skills'
WHEN LOWER(content) LIKE '%mcp%' THEN 'mcp'
ELSE 'general'
END as topic,
trit, color_hex, timestamp
FROM unified_interactions
)
SELECT
topic, COUNT(*) as mentions,
SUM(trit) as gf3_sum,
CASE WHEN SUM(trit) % 3 = 0 THEN '✓' ELSE '⚠' END as balanced,
MIN(timestamp) as first_seen,
MAX(timestamp) as last_seen
FROM topics
GROUP BY topic
ORDER BY mentions DESC;
4. momentum-detection
-- GF(3) momentum with 6h/24h velocity windows
CREATE OR REPLACE VIEW gf3_momentum_detector AS
WITH cumulative AS (
SELECT
DATE_TRUNC('hour', timestamp) as hour,
SUM(trit) as hourly_trit,
SUM(SUM(trit)) OVER (ORDER BY DATE_TRUNC('hour', timestamp)) as cumulative_gf3
FROM unified_interactions
WHERE timestamp IS NOT NULL
GROUP BY 1
),
with_velocity AS (
SELECT
*,
cumulative_gf3 - LAG(cumulative_gf3, 6) OVER (ORDER BY hour) as gf3_velocity_6h,
cumulative_gf3 - LAG(cumulative_gf3, 24) OVER (ORDER BY hour) as gf3_velocity_24h
FROM cumulative
)
SELECT
hour, hourly_trit, cumulative_gf3,
gf3_velocity_6h, gf3_velocity_24h,
CASE
WHEN ABS(gf3_velocity_6h) > 15 THEN '🔴 HIGH DRIFT'
WHEN ABS(gf3_velocity_6h) > 8 THEN '🟡 MODERATE DRIFT'
WHEN cumulative_gf3 % 3 = 0 THEN '🟢 BALANCED'
ELSE '⚪ STABLE'
END as momentum_status
FROM with_velo
Установить duckdb-ies в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл duckdb-ies?
Layer 4: IES Interactome Analytics with GF(3) Momentum Tracking
Как установить скилл duckdb-ies?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл duckdb-ies запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic