YOUR CODEBASE HAS A NEW TEACHER.

You built it.
Now explain it.

that one teacher we all know

The one who asks “why?” after every answer.
Mercy helps you understand your code, follow the evidence, and walk into your project viva with something to say.

Works inside Codex & Claude Code. Bring your own code.

“Okay. But where
is that in your code?”

Mercy, a deadpan ink-doodle teacher with a messy bun and unimpressed glassesMercy. Obviously.

“AI wrote it” is the beginning of the conversation.
Not your entire viva answer.

p. 01
01 / THE LESSONlet’s start with the actual code.

Less memorising.
More “oh, I get it.”

01.

Understand what you built.

Find the entry points, important files, routes and dependencies. Ask a focused question and Mercy investigates the source before explaining.

02.

Show your working.

Follow explanations back to real file:line references. Learn what the code supports, what is inferred, and what still needs checking.

03.

Survive the follow-up.

Practise a mock viva, one question at a time. Get plain-language feedback and a follow-up based on what you actually said.

02 / CLASS NOTESyes, you can keep these.

A notebook.
With receipts.

Mercy turns reviewed explanations into one HTML file you can open offline. Short answers, a user flowchart, component diagrams, source references, and questions you can rehearse.

  • Read short questions and simple answers.
  • Follow the user flow and explain the system.
  • Open code and trace cited component connections.
  • Hide answers. Try saying it yourself.
Try the real sample notebook ↗

Sample project: mini-rag. Deliberately named.
The source shows plain prompting, not a verified RAG pipeline.

mercy / class notesREVIEWED EXAMPLE

“So, is this actually RAG?”

a good name ≠ proof.

What the sample source shows

The question goes straight into a model prompt. There’s no retrieval step in this function.

rag.py:5–10
What you still need to check

Whether another path performs retrieval, and whether the model call succeeds at runtime.

Show me the retriever.
Then we’ll talk.
Open the interactive version →
03 / HOW CLASS WORKSno new model to babysit.

Same coding agent.
A much stricter teacher.

1

Bring a project.

Work in your local repository. Mercy scans a bounded set of source files without running the application.

2

Ask. Trace. Review.

Codex or Claude reasons over numbered source excerpts. Mercy’s tools validate citations and save reviewed answers.

3

Explain it back.

Open the offline notebook or ask for a mock viva. Keep digging until the explanation makes sense to you.

04 / TAKE YOUR SEATclass is in session.

Your teacher is
one install away.

Python 3.10+ and Codex or Claude Code.
No separate model server. No extra provider key.
Your host’s model and privacy settings still apply.

01. INSTALL THE CODEX PLUGIN
codex plugin marketplace add Gurtejhundal/Mercy
codex plugin add mercy@mercy

Run in your terminal. Start a new Codex chat, then select @Mercy in the plugin picker or use $mercy:mercy.

02. CALL HER IN YOUR CODING AGENT

Codex$mercy:mercy explain this codebase and prepare me for my viva

Claude Code/mercy:mercy explain this codebase and prepare me for my viva

She will ask
follow-up questions. ↖

Python 3.10+ required. The plugin includes the local toolkit; no separate pip install or provider key. Want standalone tools? Read the CLI guide ↗

05 / THE BACK-OF-CLASS QUESTIONSsomeone was going to ask.

Before you raise your hand.

Is Mercy another chatbot or a new model?

Mercy is a plugin with a native skill and local evidence toolkit for Codex and Claude Code. Your coding agent supplies the model and reasoning. There’s no additional model server or provider key for this workflow.

Does my code stay offline?

The local CLI scans files without making network requests by default, and generated notebooks work offline. When you use Codex or Claude, the host model sees the source context under its own privacy policy. “Local toolkit” does not mean your host model is offline.

Will it run or change my project?

Ordinary analysis reads source and writes study artifacts. Running the target application, tests, training, databases, deployments or edits to application code requires a separate request. Skill installation writes the selected local skill files.

Can I share the notebook?

Yes, after reviewing it. It contains paths, symbols, routes, scan metadata and reviewed answers. Source previews are off by default. If you request them, the report includes redacted indexed code. Review it carefully: redaction, metadata and explanations can still expose private information.

Will it guarantee I pass my viva?

No. Mercy helps you investigate and practise. The scanner is bounded, AI explanations can be wrong, and source citations are not runtime verification. You still need to understand, check and demonstrate your own work.

Right. Enough scrolling.

Open the code.

Get Mercy on GitHub ↗