V8 HONE ADVANCED PROMPT / INSTALL
Your terminal.
With more clarity.
Install once. Turn a rough request into a short brief grounded in your repository, exactly where you already work.
What install, setup and the first Ctrl+G look like
npm install -g v8-advanced-prompt
added 1 package
v8-prompt setup
Claude Code and Codex will use v8-prompt on Ctrl+G.
Get started
- claude or codexopen a NEW terminal and start your agent
- Ctrl+Gturn what you typed into an advanced prompt
- v8-prompt loginconnect v8 Pro (optional)
## Goal
Add pagination to the orders list endpoint so it returns a limited set of orders per page instead of all orders.
18 more lines: Context, your request as written, Requirements. Show full promptHide full prompt
## Context
- Before changing anything, read the code involved and the repo's docs and conventions (@docs/decisions/0004-list-pagination.md, @README.md); what they require is part of done. Leave the documentation as it is unless my request or those conventions ask for a change.
- The listOrders handler is defined in @src/routes/orders.js and currently returns all orders.
- The application is created in @src/app.js via createApp and started in @src/server.js.
- Tests for orders are in @test/orders.test.mjs.
- Documentation about pagination exists at @docs/decisions/0004-list-pagination.md and may describe expected behaviour; check it by path.
- Follow the existing pattern in @docs/decisions/0001-error-format.md.
## Material: My request, as written (where this brief reads differently, follow my request)
"""
add pagination to the orders list endpoint, it returns everything right now
"""
## Requirements
- Apply the pagination parameters to the orders data source, returning only the requested slice.
- Provide sensible defaults when parameters are omitted.
## Done when
- [ ] The endpoint returns the correct subset of orders based on page and limit parameters.
- [ ] Default pagination works when no parameters are supplied.
- [ ] `npm test` passes
- [ ] Report the commands you ran and their results.
Advanced prompt ready. Review it, then press Enter.
Press Ctrl+G again right away to get your original back.
npm install -g v8-advanced-promptThe welcome screen is the CLI's own, drawn as text. The advanced prompt is a recorded run (compiler c2026.10.28, 2026-10-15, repository amb-orders-pagination), replayed as it came back with 18 middle lines folded (Show full prompt opens them, word for word); the wait is shortened. Yours uses your repository's paths and commands.
Version 0.5.38 · Node.js 20+ · Claude Code & Codex
Install the package.
Use Node.js 20 or newer: node --version shows yours, and nodejs.org has the installer. Install the official package from the npm registry:
npm install -g v8-advanced-promptTo check it worked, v8-prompt --version prints the version. Later, the same command updates to the newest version. To install this exact release (0.5.38) straight from v8labs.app instead:
npm install -g https://v8labs.app/downloads/v8-advanced-prompt-0.5.38.tgzConnect your workflow.
Setup configures the shortcut for supported Claude Code and Codex terminal workflows and backs up the files it changes.
v8-prompt setupIt says what it set up and ends with “Done. Open a new terminal for the change to apply.” Do that, then start Claude Code or Codex in the new terminal: the shortcut works there.
Write. Refine. Review.
Type your request, then press Ctrl + G: it works in every terminal on Windows, macOS and Linux (on a Mac it is Control, not Command). In Windows Terminal and the VS Code, Cursor and Windsurf terminals, Ctrl + Shift + . works too. Review the advanced prompt before Enter. Press the shortcut again to restore the original.
v8-prompt statusTry your first real request.
Open a repository in Claude Code or Codex. Type a small task you already need, such as “Fix the login form validation and add a regression test”, then press Ctrl + G. Check the suggested files and test steps before sending it to your coding agent. The shortcut refines your text; it does not execute code.
No account is needed for 3 prompts a day, up to 10 a week, per terminal. Daily limits reset at 00:00 UTC; weekly limits reset on Monday at 00:00 UTC. Your coding agent has its own subscription or API costs.
If something does not work
Run v8-prompt doctor first: it checks Node.js, the connection, the shortcut and the plugin, and says what to fix.
Command not found: reopen the terminal and check Node.js 20+. Shortcut unavailable: rerun v8-prompt setup and restart the agent. Service busy: wait a few seconds and retry; a rejected request does not consume a prompt. If v8 returns your text unchanged, it doesn't count, up to 20 times a day per terminal. Avoid repeated automatic retries. Check v8-prompt status for this terminal's plan.
Verify the download.
Every release ships with its SHA-256 checksum. To check it, download v8-advanced-prompt-0.5.38.tgz, run the command for your system in the folder you saved it to, and compare the output with the published hash. Then install from the verified file with npm install -g ./v8-advanced-prompt-0.5.38.tgz.
certutil -hashfile v8-advanced-prompt-0.5.38.tgz SHA256shasum -a 256 v8-advanced-prompt-0.5.38.tgzsha256sum v8-advanced-prompt-0.5.38.tgzExpected SHA-256 for version 0.5.38 (also published as v8-advanced-prompt-0.5.38.tgz.sha256):
6d331ee15745f502b9dd551addb1b1f57bb400fc63939aee7fabff2c00d3be89See exactly what leaves your machine.
Run this inside a repository to print the context pack that would be sent with a prompt typed there: repository name, branch, whether the tree is dirty, stack, test/build/lint commands, instruction file names, matching file paths with their test files and the rule files that apply to them, the commands your CI runs (redacted), recent commit subjects and answers you confirmed earlier. Names and commands, not your code: file contents are searched on your device to rank paths, and only the paths and some function and class names are sent (the exceptions: up to four command lines quoted from CLAUDE.md or AGENTS.md when your manifests list none, and up to four redacted CI commands), capped at 4 KB. For a follow-up in Claude Code, up to 4,000 characters of the agent's last reply are sent too. Add a request to see which file paths it would match.
v8-prompt context showv8-prompt context show fix the login formTo send the prompt alone from now on, turn it off (v8-prompt context on resumes), or set V8_PROMPT_NO_CONTEXT=1 in your environment. v8-prompt forget clears the answers remembered for the current repository.
v8-prompt context offAdd v8 to Claude Code and Codex.
The package ships a Claude Code plugin with one command, /v8:prompt <request>, which runs v8 on your request, shows you the advanced prompt and, once you choose to use it, hands it to Claude as the task. It needs the CLI from step 01. Install it from its public repository on GitHub:
claude plugin marketplace add polaterS/v8-pluginsclaude plugin install v8@v8labsLater, claude plugin marketplace update v8labs brings the newest version. The plugin's files are open source under the MIT License: read them on GitHub ↗. To try it for one session from the copy inside the package instead:
claude --plugin-dir "$(npm root -g)/v8-advanced-prompt/plugin"Inside /v8:prompt, Claude asks v8's questions with its question tool, with v8's options and room for your own answer; answering is free. Skip them and the prompt states its assumptions.
In Codex, the same plugin adds the skill $v8:prompt. It needs the CLI too:
codex plugin marketplace add polaterS/v8-pluginscodex plugin add v8@v8labsStart a new Codex session and type $v8:prompt, then your request. Codex asks v8's questions in the chat, shows you the advanced prompt and starts the work once you approve it. In Codex's default sandbox, which has no network, Codex first asks you to let v8's command reach v8labs.app. Later, codex plugin marketplace upgrade v8labs brings the newest version.
Use it from scripts.
v8-prompt improve reads a prompt from stdin or --text and writes the advanced prompt to stdout. Options: --agent codex, --no-questions, --no-context, --json. It counts against the same quota as the shortcut.
echo "make the checkout remember the cart after a reload" | v8-prompt improve