frame

Reviewed at commit 50cf19e

Adds your own operating frame (a markdown file) to the system prompt in sessions that were not launched with it.

Made by
Nekyia Labs
What we checked

Adds the contents of a Markdown file you write (by default ~/.claude/frame.md) to the system prompt of each session. It reads only that file and two environment settings, makes no network calls, runs no programs and stores nothing. If the file is missing or empty it does nothing.

Review details

Static review of the source at the pinned commit; not run. Registers one hook, prompt.compose: it calls next(e) first, returns the composed result untouched when FRAME_SKIP is 1, otherwise reads the frame file once per process through $.fs.read (path from FRAME_FILE, else $HOME/.claude/frame.md) and appends it as a session-scoped section with id frame:frame. Read failures are swallowed and leave the prompt unchanged. Reads the environment variables FRAME_SKIP, FRAME_FILE and HOME. No network, process, store or UI calls. FRAME_FILE can point at any readable file, whose text then becomes part of the system prompt, which is the stated purpose. The only other file in the folder (frame.example.md, read in the clone) is a harmless example frame and is not loaded by the code. No npm dependencies.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: no
  • Shows something on screen: no
Hooked events
Made this mod? Add a badge to your README

modsforClaude badge for frame

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/frame.svg)](https://modsforclaude.com/mods/frame/)

← All mods