skills/memory/update-memory-snapshot/SKILL.md
# update-memory-snapshot ## Purpose Consolidates daily reports and agent outputs into long-term memory structures: - **Episodic Memory** - Short-term working memory with 30-day TTL - **Decision Traces** - Audit trail of successful patterns - **Lane Profiles** - Consolidated playbooks per vertical ## What It Does 1. **Reads** agent outputs from `events_daily` and `artifacts_daily` for the date 2. **Extracts** facts, decisions, and patterns from CMA/PAR/SEOS outputs 3. **Transforms** into stru
npx skillsauth add orionarchitekton/cosmocrat-core skills/memory/update-memory-snapshotInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Consolidates daily reports and agent outputs into long-term memory structures:
events_daily and artifacts_daily for the datedaily_event (ops lane) - Agent execution eventsartifact_daily (ops lane) - Agent outputsdaily_analysis (ops lane) - Executive report analysisepisodic_memory (ops lane) - 30-day TTL working memorydecision_trace (ops lane) - Permanent decision audit traillane_profile (ops lane) - Permanent playbook updatesmemory_consolidation_log (ops lane) - Job tracking (365-day TTL)All writes include:
run_id - Consolidation job IDtrace_id - Langfuse trace IDsource_ref - Date identifier (e.g., "consolidation_2025-12-21")actor - "update_memory_snapshot"intent - "memory_consolidation"Cron: 0 2 * * * (02:00 PT daily)
Triggered after: executive-daily-report (02:05 PT)
Script: app/services/mcp/jobs/memory/memory_consolidator.py
| Type | TTL Days | Description | |------|----------|-------------| | preference | 90 | User/agent preferences | | constraint | 60 | Operational constraints | | goal | 30 | Active goals and objectives | | decision | 90 | Strategic decisions | | blocker | 14 | Active blockers (short-lived) | | fact | 30 | Contextual facts | | context | 7 | Session context |
{
"memory_id": "uuid",
"session_id": "uuid",
"lane": "ops",
"fact_type": "decision",
"fact_key": "deploy_strategy",
"fact_value": "Use canary rollout for memory system",
"confidence": 0.9,
"ttl_days": 90,
"expires_at": "2026-03-21 02:00:00",
"source_agent": "update_memory_snapshot",
"source_ref": "consolidation_2025-12-21"
}
{
"trace_id": "uuid",
"lane": "ops",
"agent_id": "update_memory_snapshot",
"decision_type": "consolidate",
"context_summary": "Daily report showed 12 actionable items",
"decision": "Extract top 5 as episodic memories",
"outcome": "Created 5 memories, 2 profiles updated",
"outcome_score": 0.95,
"exemplar": 1
}
memory_consolidation_log tabletools
# tiktok-overnight-pipeline **Lane:** tbm **Version:** 0.1.0 **Owner:** system **Schedule:** 0 1 * * * ## Purpose Complete overnight pipeline for 3-channel TikTok content generation. Generates 9 videos (3 per channel) with TikTok Shop affiliate products. Timeline: 01:00 - 06:10 PT with GPU management (Llama on/off cycles). ## Memory Contract ### Access Mode **`service_only`** - All writes go through MemoryClient. No direct ClickHouse access. ### Writes None - read-only skill ## Pr
tools
# tiktok-health-monitor **Lane:** tbm **Version:** 0.1.0 **Owner:** system **Schedule:** 24 * * * * ## Purpose Hourly health check for TikTok Auto-Gen pipeline. Monitors video generation, QC pass rates, upload success. Alerts to Slack #tiktok-autogen on issues. ## Memory Contract ### Access Mode **`service_only`** - All writes go through MemoryClient. No direct ClickHouse access. ### Writes None - read-only skill ## Provenance Every write includes: | Field | Source | |-------|--
tools
# tbm-supabase-sync **Lane:** tbm **Version:** 0.1.0 **Owner:** system **Schedule:** 12 * * * * ## Purpose Push the latest TikTok readings from ClickHouse into the Supabase tiktok_posts table so tarotbymarie.com shows new content. ## Memory Contract ### Access Mode **`service_only`** - All writes go through MemoryClient. No direct ClickHouse access. ### Writes None - read-only skill ## Provenance Every write includes: | Field | Source | |-------|--------| | `run_id` | Generated
tools
# tbm-reading-sync **Lane:** tbm **Version:** 0.1.0 **Owner:** system **Schedule:** 30 22 * * * ## Purpose Daily sync of tiktok_transcripts to tbm_readings. Uses rule-based extraction for cards, themes, and spread type. Runs after backfill has completed for the day. ## Memory Contract ### Access Mode **`service_only`** - All writes go through MemoryClient. No direct ClickHouse access. ### Writes None - read-only skill ## Provenance Every write includes: | Field | Source | |-----