skills/ops/langfuse-memory-sync/SKILL.md
# langfuse-memory-sync **Lane:** ops **Version:** 0.1.0 **Owner:** system **Schedule:** 34 0 * * * ## Purpose Reads traces from Langfuse, extracts key insights from agent executions, and writes memories to ClickHouse for long-term retention and RAG retrieval. Creates a feedback loop: traces -> memories -> better agent context. ## Memory Contract ### Access Mode **`service_only`** - All writes go through MemoryClient. No direct ClickHouse access. ### Writes None - read-only skill #
npx skillsauth add orionarchitekton/cosmocrat-core skills/ops/langfuse-memory-syncInstall 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.
Lane: ops
Version: 0.1.0
Owner: system
Schedule: 34 0 * * *
Reads traces from Langfuse, extracts key insights from agent executions, and writes memories to ClickHouse for long-term retention and RAG retrieval. Creates a feedback loop: traces -> memories -> better agent context.
service_only - All writes go through MemoryClient. No direct ClickHouse access.
None - read-only skill
Every write includes:
| Field | Source |
|-------|--------|
| run_id | Generated UUID |
| trace_id | From Langfuse or run_id |
| source_ref | langfuse-memory-sync:run |
| actor | langfuse-memory-sync |
See task definition in app/cosmocrat_tasks.yaml
# Run locally
python -m app.services.mcp.jobs.{domain}.{module}
# Integration tests
pytest tests/skills/test_langfuse_memory_sync.py -v
tools
# 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 | |-----