dekc-session
Open or close an isolated second-brain write session (worktree + PR). Use before writing knowledge when multiple agents share one knowledge remote.
- License 许可
- MIT
- 最近更新
- 2026-09-13
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- dekc-session
- description
- Open or close an isolated second-brain write session (worktree + PR). Use before writing knowledge when multiple agents share one knowledge remote.
03 SKILL.md 正文
dekc-session
When
- More than one agent or machine writes the shared second brain
- The current project worktree is not the knowledge repo
- The user asks to isolate writes, open a knowledge PR, or avoid clobbering main
Open
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/brain_session.py" open \
--repo . \
--bundle knowledge \
--actor "${SECOND_BRAIN_IDENTITY:?claim an identity first}" \
--plugin data-engineering-knowledge-capture \
--host claude-code
Export SECOND_BRAIN_ROOT and BRAIN_SESSION_ID from the JSON.
Close
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/brain_session.py" close \
--repo . \
--session "${BRAIN_SESSION_ID}"
Pushes to whatever remote the checkout already has and opens a PR when gh is available. Never force-push. Never invent a remote URL.
Rules
- Read shared truth from main. Overlay this session only.
- Do not pack other agents' open branches.
- Public examples use fictional lumenfield-detector and northstar-console only.
- See
docs/ISOLATION.md.
04 同仓库更多 Skills
dekc-walk
Walk a data lake/warehouse filesystem or ingest Fabric/Power BI inventory JSON into DEKC.
dekc-semantic
Capture semantic models, metrics, dashboards, reports.
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/.
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.