By botfoodai
RaLHF is a context selection assistant. It works alongside the customer to find the maximum relevant context for whatever task Claude is about to take on. Skills: ralhf-start (auto-fires on new tasks), ralhf-learn, ralhf-sync, ralhf-intro, feed-ralhf. Production deployment — points at backend.ralhf.ai.
End-of-session feed to RaLHF. Saves a dense conversation summary to RaLHF, uploads any files shared this session, and submits a structured postmortem via save_context_feedback. Runs autonomously — no review prompt.
First-run setup check and introduction to RaLHF. Verifies the MCP connection is live, walks the user through fixing it if not, then explains what RaLHF is, the five-phase flow, and the available slash commands. Run this right after installing the plugin or any time someone says "how do I get started", "is RaLHF set up", "what is RaLHF", or "introduce me to RaLHF".
This skill should be used when the customer wants to teach RaLHF a new fact, preference, constraint, or goal. Trigger phrases include "/ralhf-learn", "ralhf learn", "remember this", or any explicit instruction to save something for future sessions.
MANDATORY FIRST ACTION on any user message asking to plan, build, write, create, draft, fix, decide, recommend, choose, update, or work on anything. Casual phrasings count - "lets X", "let's X", "I want to X", "how about X", "can we X", "help me X", "I'm thinking about X". This skill runs the ask-first gate: it recommends whether to pull the user's context (wiki, files, memory) or hand straight to the assistant, then asks - gathering context only on "pull". Firing the skill IS that gate, not the work. If you are about to call `ls`, `Glob`, `Read`, `Grep`, `bash`, OR `AskUserQuestion` on the user's first task message, STOP - that is the signal to invoke this skill instead. Do NOT call AskUserQuestion before this skill fires. Do NOT ask clarifying questions in plain text. Do NOT read or list files. Do NOT call any other tool. Skip ONLY if user explicitly says "skip RaLHF" or "no RaLHF"; mid-flow in an active RaLHF phase; pure trivia like "what year is it"; meta-question about the plugin itself.
This skill should be used when the customer wants to manually save what was learned in the current session back to RaLHF. Trigger phrases include "/ralhf-sync", "sync back", "save what we learned", or any request to persist session learnings before the conversation ends.
External network access
Connects to servers outside your machine
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.
Gives your AI assistant a personal context engineer. Before any task, RaLHF assembles a context package from your personal wiki, the assistant's memory, local files, and connected apps — and shows you the plan before the assistant touches the work.
Built by Bot Food on the RaLHF MCP server.
Production plugin source. This repository contains the public RaLHF plugin package for Claude and Codex. Public releases point at the production RaLHF MCP endpoint:
https://backend.ralhf.ai/mcp.
Generic AI answers are the default failure mode of every assistant. The model has no idea who you are, what you've already decided, what your team calls things, or which of your past projects matter. So it produces something competent but anonymous — and you spend the next five turns correcting it.
RaLHF fixes that by intervening before the assistant executes. On every user message, RaLHF runs a five-phase flow that gathers everything relevant to the task — from your RaLHF wiki, the assistant's memory, your local project, and your connected apps — proposes a plan, and waits for your green light before handing the assembled package to the assistant.
Load → Discover → Propose → Confirm → Execute → Remember
| Phase | What happens |
|---|---|
| 0a — Triage & ask-first gate | On every real task, RaLHF names the task, recommends whether to pull context or hand straight to the assistant, and asks (yes / no) — then waits. The recommendation is computed from the prompt (no lookups): personal-context signals → pull; self-contained tasks → skip; new users lean pull. Trivia / plugin meta-questions skip the gate silently. Only get_my_mcp_usage runs before the reply. |
| 0 — Load | On "pull": silent pull of personalized retrieval rules (get_instructions) and the wiki map (get_wiki_catalog). No separate greeting — identity rode along in the gate. The light flow (pull on a self-contained task) skips the catalog. |
| 1 — Discover | Parallel drill: relevant wiki pages, the assistant's existing memory, local project files, session state, and the MCP connector surface. Follows wikilinks and triages source documents. |
| 2 — Propose | Staged check-ins (Turn 2a / 2b / 2c) — one ask per message. Soft asks first, then connector flow when Gmail / Calendar / Drive / Jira / etc. could help. |
| 3 — Confirm | Surfaces gaps + final pre-handoff check-in + Library-refresh ask (promotes new Drive/Cowork/memory items via upload/remember). Hard gate. No execution until the user says go. A silent context-gathering postmortem (save_context_feedback) fires here at handoff. |
| 4 — Execute | Hands the assembled package to the assistant with citations and scope notes. |
| 5 — Remember | Post-task feed-ralhf ask captures durable facts (dense summary + file uploads) and saves approved artifacts to the Library. The postmortem already fired at handoff. |
See PHASES.md for the orientation map and skills/ralhf-start/SKILL.md for the canonical spec.
| Skill | Trigger | What it does |
|---|---|---|
ralhf-start | Auto-fires on every user task | The main five-phase flow |
ralhf-learn | /ralhf:ralhf-learn <fact> | One-shot save of a preference, fact, constraint, or goal |
ralhf-sync | /ralhf:ralhf-sync | Manual Phase 5 with a review gate before saves |
ralhf-intro | /ralhf:ralhf-intro | First-run setup check + onboarding intro |
feed-ralhf | /ralhf:feed-ralhf | Autonomous end-of-session dump: dense summary + file uploads + postmortem |
This production plugin points at https://backend.ralhf.ai/mcp. Install from the public Claude marketplace or Codex marketplace as documented below.
Build the distributable zip, unzip it, then install the extracted plugin folder:
./build-plugin.sh
unzip dist/ralhf-3.10.1.zip
/plugin install ./ralhf
This repo also includes .codex-plugin/plugin.json, so Codex can load the same skills/ directory and .mcp.json server definition.
This repository is the plugin source, not the marketplace root. Keep Codex marketplace catalog metadata in botfoodai/ralhf-codex-marketplace so the RaLHF plugin package does not vendor marketplace state. Use that marketplace repository for Codex installation instructions. After installing or updating the plugin, start a new Codex thread so the skills and MCP tools are loaded.
npx claudepluginhub botfoodai/botfood-marketplace --plugin ralhfPermanent coding companion for Claude Code — survives any update. MCP-based terminal pet with ASCII art, stats, reactions, and personality.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Intelligent prompt optimization: injects the right context at the right moment so Claude lands a better first output. Clarifies vague prompts with research-based questions, plus targeted nudges for approach selection, plan readability, workflow routing, background execution, subagent routing, output readability, user-decision questions, and plan-mode assessment
Memory compression system for Claude Code - persist context across sessions
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.