Skip to content

About

AI assistant for the REMIND model

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

remind-context

AI-assistant context files for the REMIND codebase, loaded by Claude Code through a CLAUDE.md pointer (see Install).

What's in here

  • AGENT.md — single source of truth: repo-wide instructions (model overview, HPC environment, debugging protocol, renv workflow, …). Imports the topic files below via @-references.
  • instructions/ — topic-specific deep dives (gams.md, r.md, cicd.md, gdx.md).
  • prompts/ — on-demand task prompts (triage-failed-run.md, inspect-verify-gdx.md). Not auto-loaded; invoked explicitly as slash commands when needed.
  • scripts/ — reusable tools referenced by the prompts (e.g. gdx_inspect.R, a context-safe GDX inspector).

Deployment model

remind-context lives inside each REMIND checkout as a plain untracked clone. A one-line CLAUDE.md in the REMIND root points to it; Claude Code reads CLAUDE.md (not AGENT.md) and resolves @-imports transitively:

<remind>/
├── CLAUDE.md          <- one line: @remind-context/AGENT.md
├── remind-context/    <- this repo
│   ├── AGENT.md
│   ├── instructions/
│   ├── prompts/
│   └── scripts/
└── ...

Both stay out of REMIND's git status via .git/info/exclude. A pointer, not a copy, so pulling this repo updates the context.

Install

In the root of each REMIND checkout:

git clone https://github.com/tonnrueter/remind-context.git remind-context
echo '@remind-context/AGENT.md' > CLAUDE.md
printf 'remind-context/\nCLAUDE.md\n' >> .git/info/exclude

If the checkout already has a CLAUDE.md, add the @remind-context/AGENT.md line to it instead of overwriting it.

Optional companion: remind-rag, a local search index over the REMIND source served as MCP tools. The context works without it; AGENT.md says how to use it when it is connected.

Updating

Pull the latest context into a checkout:

git -C remind-context pull

Editing context

cd remind-context
git checkout main
# edit AGENT.md / instructions/*.md / prompts/*.md
git commit -am "..."
git push

Invoking prompts

Prompts in prompts/ are on-demand, not auto-loaded.

To invoke one as /<name>, add a shim .claude/commands/<name>.md in REMIND containing @../../remind-context/prompts/<name>.md, or just open the prompt file and paste it.

About

AI assistant for the REMIND model

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages