用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill duckdb-ies命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | duckdb-ies |
| description | Layer 4: IES Interactome Analytics with GF(3) Momentum Tracking |
| version | 1.0.0 |
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
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.
/Users/bob/ies/ducklake_data/ies_interactome.duckdb
| 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 |
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';
Daily GF(3) balance tracking:
SELECT day, total_interactions, daily_gf3_sum, gf3_status, breakdown
FROM gf3_flow_analysis
WHERE gf3_status = '✓ balanced';
Hourly drift detection with velocity:
SELECT hour, cumulative_gf3, gf3_velocity_6h, momentum_status
FROM gf3_momentum_detector
WHERE momentum_status LIKE '%DRIFT%';
Cross-source co-occurrence within 1-hour windows:
SELECT edge_type, correlation_count, avg_time_delta
FROM fingerprint_correlations
ORDER BY correlation_count DESC;
Hourly momentum with cumulative GF(3):
SELECT hour, interactions, velocity, cumulative_gf3
FROM interaction_velocity
WHERE velocity > 20; -- High activity spikes
High-density interaction periods:
SELECT hour_bucket, density, gf3_sum, gf3_status, palette
FROM simultaneity_surfaces;
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
);
-- 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;
-- 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,
(trit) gf3_sum,
(trit) balanced,
() first_seen,
() last_seen
topics
topic
mentions ;
-- 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,
(gf3_velocity_6h)
(gf3_velocity_6h)
cumulative_gf3
momentum_status
with_velocity
;
-- Export to Parquet for external analysis
COPY (SELECT * FROM unified_interactions WHERE timestamp IS NOT NULL)
TO 'ducklake_data/parquet/unified_interactions.parquet' (FORMAT PARQUET);
COPY (SELECT * FROM gf3_flow_analysis)
TO 'ducklake_data/parquet/gf3_flow.parquet' (FORMAT PARQUET);
COPY (SELECT * FROM simultaneity_surfaces)
TO 'ducklake_data/parquet/simultaneity_surfaces.parquet' (FORMAT PARQUET);
| Trit | Skill | Role |
|---|---|---|
| -1 | duckdb-timetravel | Temporal versioning |
| 0 | gay-mcp | Color stream generation |
| +1 | duckdb-ies | Interactome analytics |
Conservation: (-1) + (0) + (+1) = 0 ✓
Total Interactions: 1733
Sources: 4 (claude, github_repo, github_contrib, skill)
Global GF(3): 2 (⚠ drift)
Balanced Topics: duckdb, gay-coloring, acsets, crdt, mcp, world-modeling
| Topic | Mentions | GF(3) | Status |
|---|---|---|---|
| general | 1359 | 27 | ✓ balanced |
| gay-coloring | 117 | -6 | ✓ balanced |
| duckdb | 74 | -3 | ✓ balanced |
| skills | 50 | 2 | ⚠ drift |
| world-modeling | 34 | -3 | ✓ balanced |
| mcp | 31 | -9 | ✓ balanced |
| acsets | 20 | 0 | ✓ balanced |
ducklake_data/parquet/
├── unified_interactions.parquet
├── gf3_flow.parquet
└── simultaneity_surfaces.parquet
# Quick interactome status
duckdb /Users/bob/ies/ducklake_data/ies_interactome.duckdb -c "
SELECT source, COUNT(*), SUM(trit) as gf3 FROM unified_interactions GROUP BY source;"
# Check momentum drift
duckdb /Users/bob/ies/ducklake_data/ies_interactome.duckdb -c "
SELECT * FROM gf3_momentum_detector WHERE momentum_status LIKE '%DRIFT%' LIMIT 10;"
# Topic balance check
duckdb /Users/bob/ies/ducklake_data/ies_interactome.duckdb -c "
SELECT topic, mentions, gf3_sum, balanced FROM topic_clusters ORDER BY mentions DESC;"
# Recent high-density hours
duckdb /Users/bob/ies/ducklake_data/ies_interactome.duckdb -c "
SELECT * FROM simultaneity_surfaces ORDER BY density DESC LIMIT 5;"
duckdb-timetravel - Temporal versioning layergay-mcp - Deterministic color generationacsets - Category-theoretic schemaentropy-sequencer - Temporal arrangementbisimulation-game - Cross-agent skill dispersalThis skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
general: 734 citations in bib.duckdbThis skill maps to Cat# = Comod(P) as a bicomodule in the equipment structure:
Trit: 0 (ERGODIC)
Home: Prof
Poly Op: ⊗
Kan Role: Adj
Color: #26D826
The skill participates in triads satisfying:
(-1) + (0) + (+1) ≡ 0 (mod 3)
This ensures compositional coherence in the Cat# equipment structure.