context-keeper

Manage layered project documentation and enforce updates across sessions.

1|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/royisme/agent-skills --skill context-keeper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-keeper
Source: https://github.com/royisme/agent-skills/tree/main/context-keeper
Command: npx skills add https://github.com/royisme/agent-skills --skill context-keeper

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill preserves and enforces up-to-date project context across sessions by managing layered documentation (USERAGENTS.md, TECH_INFO.md, and file headers) and integration hooks to automate maintenance.

Core Features & Use Cases

  • Three-level Documentation: USERAGENTS.md (project context), TECH_INFO.md (directory tech info), and file headers for change traceability.
  • On-demand TECH_INFO.md: Creates technical docs for directories as you work, keeping documentation lightweight and relevant.
  • Enforced Maintenance: Hooks prompt for documentation updates and can block session completion in strict mode.
  • Tech-Stack Aware: Infers conventions based on detected tech stacks to guide coding standards.

Quick Start

  • Scan a project to generate USERAGENTS.md and configure agent rules: python context-keeper/scripts/scan_project.py /path/to/project
  • When editing, read TECH_INFO.md for the target directory, then after changes, run the appropriate update flows and headers
  • Run the Stop hook (with strict mode as desired) to ensure documentation sync before finishing a session