meanwhile
A quiz about your own repository that you play while your coding agent works, so the code is still fresh in your head when the diff lands. Works with Claude Code, Codex, Cursor and OpenCode.
Quick start
Three steps, once per machine and project:
-
Connect your agent — see Installation for your agent.
-
Build the question pool, once per project:
- Claude Code: run
/meanwhile-build - any other agent: run
uvx meanwhile-cli build-prompt --lang en --repo .and paste the output to your agent
- Claude Code: run
-
Open a second terminal in the same directory as your agent and run:
uvx meanwhile-cli
The pane starts asking questions right away. When your agent finishes a prompt, the pane tells you so you can switch back to the diff.
Installation
You need uv for the uvx commands. Then pick
your agent:
Claude Code
/plugin marketplace add ismailbayram/meanwhile
/plugin install meanwhile@meanwhile
Restart Claude Code.
Codex
codex plugin marketplace add ismailbayram/meanwhile
Install meanwhile from the Plugins Directory, then review and trust its
hooks — Codex skips plugin hooks until you do.
Cursor
uvx meanwhile-cli hooks install --agent cursor
OpenCode
uvx meanwhile-cli hooks install --agent opencode
Restart OpenCode.
Installing the command permanently (optional)
uvx runs the latest version without installing anything. If you prefer a
regular command:
uv tool install meanwhile-cli # or: pipx install meanwhile-cli
The command is then just meanwhile — use it wherever this README says
uvx meanwhile-cli.
Usage
| Key | Action |
|---|---|
1–9 |
answer |
space |
next card |
q |
quit |
- Start the pane from the same directory you started your agent in, otherwise it cannot tell when the agent is done. The quiz itself works either way.
- Leave it open all day. Each new prompt after the agent finishes deals a
fresh round; when the pool runs out,
spacestarts a new one. - The interface follows the pool's language. Override it with
--lang tror--lang en.
The question pool
/meanwhile-build (or build-prompt) has the agent read your repository and
write .meanwhile/pool.json — 30 to 50 multiple-choice questions. An entry
looks like this:
{
"type": "quiz",
"q": "What happens to an order's reserved stock when payment fails?",
"choices": [
"It stays reserved until an admin releases it",
"It is released back to inventory after 15 minutes",
"It is released immediately and the order is cancelled"
],
"answer": 1,
"why": "release_expired_reservations runs every 15 minutes and returns unpaid stock to inventory.",
"source": "shop/orders/tasks.py"
}
- Commit
pool.jsonso the whole team plays the same pool and nobody pays to build it again. - Language:
--langtakes a language code, not a name.trandenare the two the interface speaks; any other code (de,fr, …) writes the questions in that language and keeps the interface in English. - Adding questions: run the build step again. When a pool already exists it keeps every question and adds 30 new ones. Ask your agent for "a fresh pool" if you want to replace it instead.
- Refreshing: when the repository is about 50 commits past the pool, the pane shows a banner. Run the build step again and commit the new file. Nothing is regenerated automatically.
- Repeats: within a round no question repeats. Across rounds, questions you have not answered yet come first; once you have answered them all, it starts over.
- Scores and the answered-question list are kept in
.meanwhile/scores.json, which is gitignored.
Commands
| Command | What it does |
|---|---|
uvx meanwhile-cli |
open the quiz pane |
uvx meanwhile-cli build-prompt --lang en --repo . |
print the pool-building instructions for any agent |
uvx meanwhile-cli validate --repo . |
check pool.json |
uvx meanwhile-cli hooks install --agent <agent> |
connect an agent without its plugin (claude, codex, cursor, opencode); add --user for every project (not Cursor) |
uvx meanwhile-cli hooks status |
show which agents are connected |
uvx meanwhile-cli hooks uninstall --agent <agent> |
disconnect |
hooks install writes an absolute path from your machine into the agent's
config, so don't commit that file for Codex, Cursor or OpenCode.
How it works
Hooks in your agent write busy or idle to a small file in
~/.meanwhile/state/ when you send a prompt and when the agent finishes. The
pane watches that file and shows cards from pool.json. Only the build step
uses an LLM; the pane makes no network calls.
Development
From a checkout of this repository, use uv run meanwhile in place of
uvx meanwhile-cli, and /plugin marketplace add /path/to/meanwhile for the
Claude Code plugin. Tests: uv run --extra dev python -m pytest.
Metadata
Release files for meanwhile-cli 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| meanwhile_cli-0.1.2.tar.gz | 50.8 kB | With provenance | Details for meanwhile_cli-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| meanwhile_cli-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for meanwhile_cli-0.1.2-py3-none-any.whl |
Total release size: 81.4 kB
Release files / meanwhile_cli-0.1.2.tar.gz
| Download URL | meanwhile_cli-0.1.2.tar.gz |
|---|---|
| Size | 50.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89120cf9924f302e96864f07b7ef6bb72966ff97d2dff23f3cb1d57f2126fea9
|
|
BLAKE2b-256 checksum How to use checksums |
dcfd3678de9208b96460165d0b5ca40c6f0857ec019a530fec4d6262e517751f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / meanwhile_cli-0.1.2-py3-none-any.whl
| Download URL | meanwhile_cli-0.1.2-py3-none-any.whl |
|---|---|
| Size | 30.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fec8df010541584112974615a977434119c19c83a2906007908ff249eb7b0572
|
|
BLAKE2b-256 checksum How to use checksums |
386b6abcae5ab858c792dfaad739e764a3fa9bbc2ec39e67aa5962271186a5a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logSecurity for meanwhile-cli 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for meanwhile_cli-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.