DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to shorten test and lint output so an agent reads only failures with Reslop

Wrap npm test and lint commands with Reslop so agents get failures and a short summary, not passing noise.

Short answer: Run npm i -g reslop once to install the tool; then edit the scripts in package.json so each program is prefixed with reslop t -- and steps are joined with &&, for example "test": "reslop t -- npm run -s lint && reslop t -- node --test"; run npm test in the repository. All steps.

Who it is forA developer who runs tests and lint through an AI agent and finds long passing output wastes context and hides the real errors.

The problemFull test and lint logs are long, and the failing lines are easy to miss for both people and agents.

The outcomeA Markdown report of failures and diagnostics, with the raw log saved next to it for the agent to read when needed.

What you need first

  • Node.js >=18.15.0 and npm
  • git installed, with the repository you want to review cloned locally
  • Windows Terminal if you are on Windows
  • An ACP-capable agent command on PATH, such as claude-agent-acp or codex-acp, if you want to run a plan in an agent

Steps

  1. Run npm i -g reslop once to install the tool.
  2. Edit the scripts in package.json so each program is prefixed with reslop t -- and steps are joined with &&, for example "test": "reslop t -- npm run -s lint && reslop t -- node --test".
  3. Run npm test in the repository. (inferred, check the README)
  4. Open the report saved in .log/ and check that it lists failures and a summary without passing results.

Prompt for your agent

In the repository at <repo-path>, run `npm test` and read the reduced report that reslop saves in .log/. Report each failure with its file and the raw log path. Verify that passing results are absent from the report and that the raw file in .log/ exists.

Caveat. The README says the reduced report groups similar problems, but it does not show an example of the output, so compare it with the raw log on your first run.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for tshemsedinov/reslop and "Shorten test and lint output so an agent reads only failures"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer