session-knowledge-creator

Generates enforcement file (.instructions.md) SKILL reference and CLAUDE.md patch for cross-session memory in AI agents.

1|1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/magicpro97/copilot-session-knowledge --skill session-knowledge-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-knowledge-creator
Source: https://github.com/magicpro97/copilot-session-knowledge/tree/main/skills/session-knowledge-creator
Command: npx skills add https://github.com/magicpro97/copilot-session-knowledge --skill session-knowledge-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI agents often forget context across sessions. This Skill generates a project-specific session-knowledge integration, including an enforcement file that ensures AI reads and follows memory guidelines.

Core Features & Use Cases

  • Generates a mandatory enforcement file (.instructions.md) that is auto-injected into every AI context.
  • Creates a detailed SKILL.md reference for project-specific session knowledge.
  • Patches CLAUDE.md to point to the enforcement and SKILL references, enabling smooth onboarding.
  • Provides workflow guidance to integrate cross-session memory into onboarding and ongoing development.

Quick Start

Run the workflow to generate the enforcement files and SKILL reference for your project.

Frequently Asked Questions about session-knowledge-creator

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

FAQPage Schema
How do I enforce cross-session memory for AI agents in my project?

To enforce cross-session memory, you need an enforcement file like .instructions.md that is auto-injected into the AI context. This Skill generates that file along with a SKILL.md reference and a CLAUDE.md patch to wire memory guidelines into your workflow.

Why does my AI agent forget previous decisions during long-running tasks?

AI agents forget previous decisions because they lack persistent session memory. Applying a session-knowledge integration during project onboarding creates an enforcement file that ensures the AI reads and follows memory guidelines across sessions.

What is the best way to set up AI memory during project onboarding?

The best way to set up AI memory during project onboarding is to generate a session-knowledge integration. This creates a mandatory enforcement file auto-injected into every context and patches CLAUDE.md to point to your project-specific SKILL.md reference.

Do I need to manually patch CLAUDE.md to enable AI session memory?

No, you do not need to manually patch CLAUDE.md. The session-knowledge integration automatically patches CLAUDE.md to point to the generated enforcement file and SKILL.md reference, enabling smooth onboarding and cross-session memory.

Can I use session-knowledge enforcement for long-running tasks requiring memory across sessions?

Yes, you can use session-knowledge enforcement for long-running tasks requiring memory across sessions. It generates an enforcement file that ensures AI agents read and follow memory guidelines throughout the ongoing development process.

How does the auto-injected .instructions.md file work for AI context?

The .instructions.md file works as a mandatory enforcement file that is auto-injected into every AI context. This ensures the AI agent reads and follows the project-specific session memory guidelines during every interaction.