dekc-second-brain
Query the DEKC OKF second brain with design intents (reports, land data, metrics, impact). Uses standard concept schemas under schemas/okf-concepts/.
- License 许可
- MIT
- 最近更新
- 2026-09-13
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- dekc-second-brain
- description
- Query the DEKC OKF second brain with design intents (reports, land data, metrics, impact). Uses standard concept schemas under schemas/okf-concepts/.
03 SKILL.md 正文
DEKC second brain
The knowledge bundle is a schema-typed second brain for data platform design work.
Schemas
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/dekc_schemas.py" list
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/dekc_schemas.py" intents
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/dekc_schemas.py" validate --repo . --bundle knowledge
Intent query
# Design a report
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/dekc_brain.py" "executive revenue" \
--intent design-report --repo . --bundle knowledge
# Land new data
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/dekc_brain.py" "orders event hub" \
--intent land-data --repo . --bundle knowledge
# Metric design
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/dekc_brain.py" "GMV" \
--intent design-metric --repo . --bundle knowledge
# Impact of changing a table
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/dekc_brain.py" "gold order_daily" \
--intent impact --repo . --bundle knowledge --write
Workflow
- Retrieve with
dekc_brain.py(intent + query) → checklist + ranked concepts + 2-hop pack. For parent Q&A, spawn data-retriever (/dekc-retrieve) and keep the card only — do not dump the brain pack inline. - Design using only evidence from the pack (do not invent lineage)
- Capture new assets with
dekc_capture.pymatchingschemas/okf-concepts/ - Index is optional — search/pack refresh
knowledge/.dekc/index.sqlitethemselves.dekc_index.py buildisrefresh --force. - Optional grade if reverse-engineering
See schemas/README.md and docs/user_guide/user-guide.md.
04 同仓库更多 Skills
dekc-walk
Walk a data lake/warehouse filesystem or ingest Fabric/Power BI inventory JSON into DEKC.
dekc-session
Open or close an isolated second-brain write session (worktree + PR). Use before writing knowledge when multiple agents share one knowledge remote.
dekc-semantic
Capture semantic models, metrics, dashboards, reports.
dekc-search
Full-text search over the DEKC knowledge bundle (AND terms, type filters). Use when finding tables, lineage, or metrics by keyword.
dekc-retrieve
Query-time DEKC retrieval. Spawn data-retriever; parent gets a summary card only. Use for Table, Metric, LineagePath, IngestionJob, Transformation, Dashboard, DataProduct, GlossaryTerm, BusinessObject questions.
dekc-platform
Capture data lakes, data marts, data catalogs, domains, products, streams, storage locations, and data quality rules into the DEKC second brain.