By Glen-Web-App
Glen memory for Claude Code. A UserPromptSubmit hook ingests each turn and injects recalled memory; the glen-search skill searches memory on demand; the glen-private-mode skill lets the user go off the record. Requires the glen CLI (auto-installed on first use).
Toggle glen private mode when the user asks to go off the record — "don't remember this", "stop recording", "private mode" — or to resume with "back on the record". While on, glen's server refuses to record ANY turn (enforced server-side); recall and search still work. Toggle only on the user's explicit request.
On-demand lookup of a SPECIFIC fact or topic in glen's long-term memory. Use ONLY when you need a specific detail that is NOT already in the auto-injected context — e.g. the user explicitly says "search your memory for X", or you need a particular past decision/fact to answer. Do NOT use it for generic "what do you know about me" — relevant memory is already auto-injected every turn by the glen hook; calling this then would be redundant.
Glen, shared memory for AI agents, gives every coding agent in your org one durable memory. This plugin wires it into Claude Code: a UserPromptSubmit hook ingests each turn and injects whatever Glen already knows that is relevant, and a glen-search skill handles targeted lookups. You sign in once in the browser; after that, memory is just on.
From inside Claude Code:
/plugin marketplace add Glen-Web-App/glen-claude-code-plugin
/plugin install glen@glen
Or from a shell, ./install.sh runs those two steps through the claude CLI. If you run more than one coding agent, npx @tryglen/cli install detects what is installed on your machine and sets up the matching plugins in one pass.
Then send any prompt. If you are not connected yet, the hook opens your browser to sign in at app.tryglen.com, and memory turns on as soon as you finish. /glen:login does the same thing explicitly. You need a Glen account with an active org.
UserPromptSubmit hook before the model sees it.scripts/hook.mjs) pipes the event JSON to glen ingest.[2026-06-01] The user prefers TypeScript.The CLI's exit code drives reconnection. 1 means no stored credentials, so the hook spawns glen login and your browser opens. 2 means the stored key was rejected (revoked, or you left the org), same flow. Anything else fails open: the hook exits silently and your prompt goes through untouched. Glen being unreachable costs you recall on that turn, nothing more.
Three slash commands, each a thin wrapper over the CLI:
/glen:login connects via the browser and stores the key./glen:logout removes the stored credential. The hook recognizes the logout command and skips ingesting that turn./glen:status prints whether you are connected and which org is active.Relevant memory is already injected every turn, so most of the time Claude never needs to search. The skill exists for targeted lookups, the "search your memory for the auth decision we made" case, and teaches Claude to run:
glen search "<a specific search phrase>"
It returns the same dated context block format, or says plainly that nothing was found.
When the user asks to go off the record ("don't remember this", "stop recording"), the skill teaches Claude to run:
glen private on # `glen private off` resumes recording
While on, Glen's server refuses to record any turn — the hook keeps firing but nothing is saved — until it's turned back off. Recall and search keep working. The flag is per account, so it holds across sessions and agents until explicitly disabled.
The plugin contains no API logic at all. Auth, ingest, search, and the browser connect flow live in @tryglen/cli, the glen binary, which is developed in the Glen monorepo and shared with the Codex plugin. The hook resolves the binary in order:
GLEN_CLI_PATH, an explicit path for local developmentglen on your PATHnpm install -g @tryglen/cli, falling back to the plugin's data directory if a global install is not permittedCredentials are a single org-scoped API key at ~/.glen/credentials.json (mode 0600, location overridable with GLEN_CREDENTIALS_PATH). Because the CLI owns the key, one login covers Claude Code, Codex, and glen search from your shell. When a newer CLI version is published, the hook prints a one-line update notice with the exact command to run.
export GLEN_BASE_URL=http://localhost:3000 # point the CLI at a local Glen server
export GLEN_CLI_PATH=/path/to/glen # use a locally built CLI binary
./install.sh --local /absolute/path/to/glen-claude-code-plugin
While connected, every prompt you send in Claude Code is ingested into your org's Glen memory; that is the product. Disconnect with /glen:logout and ingestion stops immediately. Every failure mode is silent by design: no credentials, no network, no CLI on the machine, the hook never blocks or delays your prompt.
MIT
No model invocation
Executes directly as bash, bypassing the AI model
Runs pre-commands
Contains inline bash commands via ! syntax
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub glen-web-app/glen-claude-code-plugin --plugin glenGlen memory for Codex. Ingests each turn and injects recalled memory; the glen-search skill searches memory on demand; the glen-private-mode skill lets the user go off the record. Requires the glen CLI (auto-installed on first use).
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Memory compression system for Claude Code - persist context across sessions
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.