Use case · Free plugin

My agent ran the tests and the log filled the window. Now the model reads the failing tests.

The free context-mode plugin runs test, lint and build output in a sandbox on your machine. A short script picks the failing tests, the error lines and the counts. On a Vite run of 1,106 tests, 61.4 KB of output reached the model as 0.4 KB.

Run the tests and fix what is red.

Full log: every test name, stack trace and timing line reaches the model.

The run prints61.4 KB
The model reads61.4 KB

Every later call sends it again.

Free plugin: a script reads the log in a sandbox on your machine.

The script reads61.4 KB
The model reads0.4 KB

Sent to the model

  • The 25 failing tests, the first error of each and the file to open

Kept on your machine

  • The full 61.4 KB log, searchable with ctx_search
The problem

The answer is a short list. The log is long.

Every test prints a line

A verbose run prints each test name, each stack trace and each timing line.

The agent needs a few lines

The failing tests, the first error of each and the file to open.

The log stays in the thread

Text in the conversation goes back to the model on every later call of the session.

How it works

A script reads the log. The model reads the list.

  1. 01The output goes to the sandbox

    Your agent calls ctx_execute with the command, or the PostToolUse hook catches a large shell output.

  2. 02A short script reads it

    The agent writes the script. It prints the failing tests and their first error line.

  3. 03The model reads the print

    The full output goes into a SQLite FTS5 index in ~/.context-mode. The agent finds a stack trace later with ctx_search.

Proof

Five logs, measured. The model reads under 1 KB of each.

LogFull outputThe model readTime
Test run, 1,106 tests, 25 failing (vitest run --reporter=verbose, vitejs/vite)61.4 KB0.4 KB60 ms
Lint report as JSON (biome lint --reporter=json, packages/vite/src)281.8 KB0.6 KB65 ms
Workspace install log (pnpm install --frozen-lockfile, vitejs/vite)14.6 KB0.2 KB59 ms
Database server log (docker logs, mongo:8.0 --verbose)59.0 KB0.6 KB62 ms
Infrastructure plan (terraform plan, 72 resources)33.3 KB0.2 KB62 ms

Plugin benchmark of 2026-11-01 on an Apple M1 Pro, default settings, median of 5 runs. Raw data: the result tables. Rerun it with the steps on Benchmarks.

Prompts

Give your agent one of these.

Prompt
Run the full test suite. Give me each failing test, its first error line and the file to fix. Then fix them one at a time and run the suite again.
Prompt
Run the linter on src. Group the findings by rule, show the count for each rule, and fix the rule with the most findings.
Prompt
Run terraform plan and list each resource it will replace or destroy, with the reason the plan gives.
Products used

What this uses.

The free plugin

Open source. It runs in your agent, on your machine.

Sandbox

Where the command runs and what comes back.

Search and index

How the agent finds a line in the full log later.

Related

Free plugin resources · Issue triage · Docs research

Read the failing tests. Keep the full log on your machine.

Each agent installs the free plugin with its own install command.

Get started free

Context Mode Gateway: your coding agent costs less and remembers your project. Context Mode Engine installs from your terminal.

Start free: 1,000 requests, every feature, no card. After you sign in, the console gives you one command to connect your coding agent.

Read the docs