skills/skillxiv-v0.0.2-claude-opus-4.6/compass-event-memory/SKILL.md
Organize agent memory as an event graph with explicit logical relationships rather than flat embeddings. Framework incrementally segments experiences into events and links them through causal, temporal, and logical relations. Enables agents to navigate memory as a logic map for goal-directed searching and structured reasoning, improving performance on multi-hop reasoning and long-horizon planning tasks.
npx skillsauth add ADu2021/skillXiv compass-event-memoryInstall 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.
Current LLM agent memory systems suffer from three limitations:
Agents need memory that captures not just what happened, but how events connect logically.
CompassMem (Memory Matters More) organizes memory as an Event Graph:
The framework operates on the principle that memory structure mirrors reasoning structure:
Building and traversing CompassMem:
# Conceptual: event-centric memory construction
class EventMemory:
def __init__(self):
self.events = [] # List of (description, metadata)
self.relations = [] # List of (event_i, relation_type, event_j)
def add_event(self, observation, action, outcome):
event = {
'observation': observation,
'action': action,
'outcome': outcome,
'timestamp': time.now()
}
self.events.append(event)
def link_events(self, event_i, event_j, relation_type):
# relation_type: 'causal', 'temporal', 'conditional', 'goal_progression'
self.relations.append((event_i, relation_type, event_j))
def navigate_for_goal(self, goal):
# Find events related to goal via explicit relations
relevant_path = self.traverse_to_goal(goal)
return relevant_path
Key mechanisms:
For a multi-turn dialogue agent:
This ensures the agent maintains coherent context across extended interactions.
CompassMem extends beyond vector retrieval by recognizing that reasoning structure should mirror memory structure. Unlike purely semantic approaches, event graphs enable agents to perform logical inference rather than just pattern matching.
testing
Uses flow maps as look-ahead operators to enable principled reward-guided diffusion by predicting trajectory endpoints at any denoising step. Deploy when applying rewards or preferences to diffusion trajectories with meaningful gradients throughout generation.
testing
Train language models where each expert learns independently on closed datasets, enabling flexible inference with selective data inclusion or exclusion. 41% performance improvement while allowing users to opt out of specific data sources without retraining.
data-ai
Understand how token generation flexibility in diffusion LMs paradoxically constrains reasoning, as models exploit ordering flexibility to avoid uncertain tokens, and apply simplified approaches that preserve parallel decoding benefits. Use when optimizing diffusion-based language models for reasoning tasks.
devops
Enable LLM agents to improve continuously during deployment by constructing structured experience libraries through self-reflection on successes and failures—achieving 23% improvement on reasoning without gradient-based parameter updates or external training.