Claude Code hook that adds RepoPrompt context guidance only when rp-cli is reachable.
Codex and Claude Code hook that adds RepoPrompt guidance only when rp-cli can reach RepoPrompt.
The hook is intentionally quiet when RepoPrompt is unavailable. That keeps normal Codex and Claude Code sessions clean while still reminding the agent to use RepoPrompt MCP tooling when the local app is reachable.
SessionStart and PostCompact.rp-cli -e windows with a short timeout.rp-reminder skill only when that skill is installed in the user profile or a Claude Code plugin skill directory.This repository is shaped as a Codex plugin payload and a marketplace root:
.codex-plugin/plugin.json declares the plugin.hooks.json declares the hook events..agents/plugins/marketplace.json makes the repository installable as a marketplace source.With the repository published, install the marketplace with:
codex plugin marketplace add clairernovotny/repoprompt-when-available-hook
This repository also includes Claude Code plugin metadata:
.claude-plugin/plugin.json declares the plugin..claude-plugin/marketplace.json declares the marketplace entry.hooks.json is shared with the Codex plugin and referenced with ./hooks.json.With the repository published, install the marketplace with:
claude plugin marketplace add clairernovotny/repoprompt-when-available-hook
For a direct user-profile hook install, copy scripts/hooks/repoprompt-when-available.js into your Codex hooks directory and register it in your user hooks.json:
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/hooks/repoprompt-when-available.js\"",
"timeout": 3
}
]
}
],
"PostCompact": [
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/hooks/repoprompt-when-available.js\"",
"timeout": 3
}
]
}
]
}
}
If you are not installing through the plugin runtime, replace ${CLAUDE_PLUGIN_ROOT} with the directory that contains this repository.
npm test
The test suite stubs rp-cli, so it does not require RepoPrompt to be running.
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 clairernovotny/repoprompt-when-available-hook --plugin repoprompt-when-availableMemory 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.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.
Unified status line for Claude Code with multi-CLI (Claude, Codex, Gemini, z.ai) usage monitoring, context, rate limits, and cost tracking
Editorial "Web Designer" bundle for Claude Code from Antigravity Awesome Skills.