context-engine

Manage session context and user memory using USER.md and STATE.md files.

2|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/jsagir/mindrian-os-plugin --skill context-engine-jsagir
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-engine
Source: https://github.com/jsagir/mindrian-os-plugin/tree/main/skills/context-engine
Command: npx skills add https://github.com/jsagir/mindrian-os-plugin --skill context-engine-jsagir

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill manages session context and user memory, enabling personalized AI interactions by tracking user preferences and providing context-aware greetings across sessions.

Core Features & Use Cases

  • USER.md Management: On first interaction, captures user name, background, learning style preferences, venture context, and session history notes. Updates USER.md with new context shared by the user.
  • Context-Aware Return Greeting: Greet users with awareness of their last topic, opportunity bank, and room location.
  • Opportunity Bank in Session Greeting: Reference opportunity count and highlight the strongest one.
  • Conversation Mode Awareness: Handles different conversation modes based on session context.
  • Session Continuity: Tracks conversation threads across sessions and maintains user state.
  • Multi-Room Context at Session Start: Lists other rooms and provides management commands.
  • KAIROS Daily Log Detection: Utilizes KAIROS background memory for enhanced session continuity.
  • Context Window Awareness: Adjusts context size based on user archetype and model constraints.

Quick Start

Activate the context-engine skill to begin managing your session context and user memory.

Frequently Asked Questions about context-engine

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

FAQPage Schema
How do I maintain session continuity for personalized AI interactions?

To maintain session continuity for personalized AI interactions, you need a context management system that tracks user preferences and state. This Skill uses USER.md and STATE.md files to capture background, learning style, and conversation history across sessions.

What is user memory management in AI interactions?

User memory management in AI interactions is the process of tracking user preferences and session history to provide context-aware responses. This Skill captures user names, backgrounds, and venture context to maintain personalized continuity across multiple sessions.

How do I set up context management for tracking user preferences?

To set up context management for tracking user preferences, activate the context engine to initialize the required USER.md and STATE.md files. On first interaction, it automatically captures user background, learning style preferences, and venture context to build a persistent memory profile.

Does AI personalization work without external dependencies?

AI personalization works without external dependencies by relying entirely on local USER.md and STATE.md files for context storage. This Skill operates independently to track conversation threads, manage opportunity banks, and adjust context windows based on user archetypes.

Can I use context-aware greetings across multiple sessions?

Yes, you can use context-aware greetings across multiple sessions by leveraging the context engine's return greeting feature. It references your last topic, opportunity bank, and room location from stored memory to provide a personalized greeting when you resume an interaction.

Why does session context need separate memory files?

Session context needs separate memory files to distinctively isolate user identity from transient session state. USER.md stores persistent background and preferences, while STATE.md tracks active conversation threads and room locations, ensuring clean context window management across interactions.