memory-consolidator

Export Langfuse traces, summarize decision traces into lane profiles, and prune expired episodic memory.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/OrionArchitekton/cosmocrat-core --skill memory-consolidator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-consolidator
Source: https://github.com/OrionArchitekton/cosmocrat-core/tree/main/skills/ops/memory-consolidator
Command: npx skills add https://github.com/OrionArchitekton/cosmocrat-core --skill memory-consolidator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the nightly process of consolidating memory data, ensuring efficient storage and retrieval of critical information.

Core Features & Use Cases

  • Trace Export: Exports Langfuse traces for analysis and auditing.
  • Profile Summarization: Summarizes decision traces into lane profiles for quick insights.
  • Memory Pruning: Removes expired episodic memory to maintain performance.
  • Use Case: A system administrator can use this skill to ensure that the memory database remains optimized and that historical data is managed effectively, preventing performance degradation over time.

Quick Start

Run the memory consolidator skill for today's date.

Frequently Asked Questions about memory-consolidator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate nightly memory consolidation and prune expired episodic memory?

Nightly memory consolidation is automated by exporting Langfuse traces, summarizing decision traces into lane profiles, and pruning expired episodic memory to maintain system performance and data hygiene.

What is the best way to export Langfuse traces for memory data management?

Exporting Langfuse traces is handled during the nightly memory consolidation process, which extracts trace data for analysis and auditing while operating in a read-only mode to ensure data integrity.

How does memory pruning work for expired episodic data in an automated scheduled job?

Memory pruning removes expired episodic memory during scheduled nightly execution, operating through a service-only access contract in read-only mode to prevent performance degradation over time.

Can I use read-only mode to safely summarize decision traces into lane profiles?

Summarizing decision traces into lane profiles is executed safely using a read-only mode and a service-only access contract, ensuring data integrity while generating quick insights for system administrators.

When do I need to run scheduled memory consolidation to prevent database performance degradation?

Scheduled memory consolidation should be run nightly to ensure the memory database remains optimized, preventing performance degradation by effectively managing historical data and pruning expired episodic memory.