Lucid
БесплатноЗапускает вложенные скриптыНе проверенNightly journal curator. Batch-processes OCAS skill journals via relevance classification and writes curated content to journal files for the configured…
от indigokarasu376 установок в других каталогахОб этом скилле
Lucid
Nightly journal curator. Batch-processes journals from all OCAS skills, classifies them by relevance, and writes curated content to Lucid's journal files. The configured memory provider reads these journals during its ingestion cycle and decides what to persist.
Lucid does NOT depend on any specific memory provider. It writes to
{agent_root}/commons/journals/ocas-lucid/ and lets the memory provider handle ingestion.
Interactive Menu
When invoked interactively, present a two-level menu. See references/interactive-menu.md for the full menu structure.
When to Use
- Scheduled nightly cron at 3am (primary mode)
- Manual invocation via
lucid.dreamfor immediate processing lucid.statusto check last run, pending journals, filing stats
When NOT to Use
- Real-time memory filing during active sessions
- Skill evaluation or improvement proposals (Mentor)
- Behavioral pattern detection (Corvus)
- Entity identity resolution (Elephas)
Responsibility boundary
Lucid owns: nightly journal scanning, MemPalace filing (drawers + KG), relevance classification, weak signal recirculation, re-emergence detection.
Lucid does not own: Chronicle writes (use the elephas-chronicle bridge pattern from the memory-system-design skill), social graph updates (Weave only), real-time pattern analysis (Corvus), skill performance evaluation (Mentor).
Adjacent boundaries**: Elephas also reads journals but for structured entity extraction and Chronicle promotion. Lucid reads journals for verbatim preservation and semantic searchability via MemPalace. When elephas is run manually (skill archived), update config.json cursor to include new elephas journal files to prevent lucid re-processing.
Elephas pipeline as Lucid input source: The canonical elephas_cron_run.py writes run journals to <fs-root>/commons/journals/ocas-elephas/ which is NOT in Lucid's scan path. However, other OCAS skills' journals (mentor, vesper, scout) that Elephas reads from the shared <fs-root>/commons/journals/ path ARE in Lucid's scope. When running elephas directly (not via the ocas-elephas skill), see references/elephas-pipeline-gotchas.md for the expected unprocessed residual pattern and the nested entity extraction gap.
Elephas JSON parse errors: The elephas_cron_pipeline.py skips ~43% of mentor-light-* files due to malformed JSON (trailing commas, unescaped newlines in notes fields). This is a producer-side bug in ocas-mentor, NOT an elephas pipeline bug. Lucid handles this gracefully via try/except. See references/elephas-pipeline-json-errors.md for the full error pattern, root cause, and recommended non-mitigation.
Optional skill cooperation
- Elephas: Lucid queries Chronicle via
elephas.queryto check if an entity already exists before emitting a Signal. If Elephas is unavailable, Lucid emits the Signal anyway (Elephas deduplicates on ingestion). - MemPalace: Required. Lucid uses MemPalace MCP tools for all filing operations. If MemPalace is unavailable, Lucid logs failures and skips filing for that run.
Commands
lucid.dream-- run the full dream cycle immediately, ignoring the time gatelucid.status-- last run timestamp, journals pending, cumulative filing stats, streak countlucid.init-- create storage directories, initialize config and logs, register cron jobslucid.update-- pull latest from GitHub source; preserves journals and data
Recovery Behavior
This skill implements the recovery contract from spec-ocas-recovery.md.
- Evidence: Every dream cycle writes an evidence record to
{agent_root}/commons/data/ocas-lucid/evidence.jsonl, including skip/hibernation runs. Thenot_activity_reasonfield is mandatory when no side effects occur. - Gap detection: On every wake, checks the evidence log. If gap exceeds 24h for dream cycle, logs
gap_detectedand runs a catch-up pass (capped at 40 journals). - Degraded mode: When MemPalace MCP is unavailable, logs
degraded: mempalaceand queues filing for retry. When journal sources are missing, continues with available sources. - Log compaction: Ingestion logs older than 30 days (no-op) or 90 days (error/gap) compacted. Last 7 days retained.
Storage layout
{agent_root}/commons/data/ocas-lucid/
config.json
ingestion_log.jsonl
decisions.jsonl
recirculation_queue.jsonl
removed_entries.jsonl
staging/
intents.jsonl
evidence.jsonl
{agent_root}/commons/journals/ocas-lucid/
YYYY-MM-DD/
{run_id}.json
Initialization
On lucid.init or first invocation:
- Create
{agent_root}/commons/data/ocas-lucid/and subdirectories (staging/) - Write default
config.jsonwith ConfigBase fields and skill-specific defaults - Create empty
ingestion_log.jsonl,decisions.jsonl,recirculation_queue.jsonl,removed_entries.jsonl - Create
{agent_root}/commons/journals/ocas-lucid/ - Register cron jobs
lucid:dreamandlucid:updateif not already present (c
Установить Lucid в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Lucid?
Nightly journal curator. Batch-processes OCAS skill journals via relevance classification and writes curated content to journal files for the configured memory provider to ingest. Classifies each journal for filing as a verbatim journal note, structured entity/relationship data, or skip. Features re-emergence detection, two-pass stale handling, change magnitude gates, hibernation protection, and incremental cursor-based resumption. NOT for real-time memory filing, skill evaluation, behavioral pattern detection, or entity identity resolution.
Как установить скилл Lucid?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Lucid запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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