Grimoire

From cwinvestments/memstack · View interactive version

Grimoire is an AI agent skill from the GitHub repository cwinvestments/memstack. Use when the user says 'update context', 'update claude', 'save library', or after significant project changes.

How to use this skill

Skill file

📖 Grimoire: Updating the Knowledge Library

Manage and update CLAUDE.md files across all projects.

Activation

When this skill activates, output:

📖 Grimoire: Updating the knowledge library.

Then execute the protocol below.

Protocol

  1. Identify the target project: use config.json to find the CLAUDE.md path
  2. Read the current CLAUDE.md if it exists
  3. Determine what to update based on the session's work:
  1. Update the CLAUDE.md:
  1. If no CLAUDE.md exists: create one with standard sections:

Inputs

Outputs

Example Usage

User: "update claude.md with the CC Monitor stuff"

📖 Grimoire: Updating the knowledge library.

Reading: C:\Projects\AdminStack\CLAUDE.md

Adding to API Endpoints:
  - POST/GET/PATCH/DELETE /api/cc-sessions
  - POST /api/cc-sessions/report

Adding to Database Schema:
  - cc_sessions (020_cc_sessions.sql)

Adding to Environment Variables:
  - CC_MONITOR_API_KEY

CLAUDE.md updated ✓

Level History

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.