skills/ops/context-pack/SKILL.md
# Context Pack Skill Packs retrieved context intelligently by: - Prioritizing decisions/invariants over chat history - Allocating token budget: must-include → nice-to-include → drop - Detecting conflicts between retrieved items - Attaching inclusion reasons for each item (for trace/replay) ## Phase **context_pack** - Runs after retrieval-time skills, before model call ## Priority 20 (runs after retrieval-time skills) ## Dependencies - `context-query-rewrite` (optional, if needs rewritten
npx skillsauth add orionarchitekton/cosmocrat-core skills/ops/context-packInstall 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.
Packs retrieved context intelligently by:
context_pack - Runs after retrieval-time skills, before model call
20 (runs after retrieval-time skills)
context-query-rewrite (optional, if needs rewritten query metadata)reorder_items - Reorders items by prioritydrop_items - Drops low-signal items to fit token budgetEach packed item must include:
why_included - Reason for inclusion (e.g., "high_priority_decision", "recent_relevant")confidence - Confidence score (0.0-1.0)recency_days - Days since item was createdlane - Lane the item belongs totype - Item type (decision, conversation, artifact, etc.)Located at: app/services/chat-gateway/context_engineering/skills/context_pack.py
The skill:
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 | |-----