pedronauck

Yoshi — Git skill for Claude Code

Git community

Context-pruning proxy for Claude Code and Codex: Jev judges which history is still needed, measured not claimed.

How to install Yoshi

This entry records only its repository, not the path inside it, so there is no exact command to give. Open pedronauck/yoshi and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Yoshi does

Context-pruning proxy for Claude Code and Codex: Jev judges which history is still needed, measured not claimed. POC here now, heading soon into https://github.com/compozy/compozy

Alternatives in Git

  • Code Context — GitHub Repo stars MCP plugin for semantic code search Code search MCP 5.7k ★
  • Contributing To Context-mode — This project is licensed under the Elastic License 2.0 (ELv2) and moves forward with your support 5.6k ★
  • Intel — On-demand intelligence fetch for a target — CVEs, disclosed reports, new features 3.8k ★

README

Yoshi

**A local context-pruning proxy for Claude Code and Codex.**

Jev judges historical context in many small requests. Yoshi applies the validated omissions while keeping the protocol intact, then forwards the request to Anthropic or OpenAI and streams the response back unchanged.

[![Runtime: Bun](https://img.shields.io/badge/runtime-Bun-black?logo=bun)](https://bun.sh) [![TypeScript strict](https://img.shields.io/badge/TypeScript-strict-3178c6?logo=typescript&logoColor=white)](tsconfig.json) [![Status: experimental POC](https://img.shields.io/badge/status-experimental%20POC-orange)](#status-and-limits) [![Measured results](https://img.shields.io/badge/benchmarks-measured%2C%20not%20claimed-1b61c9)](docs/BENCHMARKS.md)

[!WARNING] **Yoshi is a proof of concept. The real version is heading into [CompozyOS](https://github.com/compozy/compozy).** CompozyOS is an open-source operating system for AI agents: it runs Claude Code, Codex and other ACP agents as durable background sessions. There, context pruning becomes automatic for every session, the session goal and plan feed the judge, and judging runs between turns instead of on the request path, which removes the latency you will see below. If that is what you came for, [star CompozyOS](https://github.com/compozy/compozy) and follow along.

What it does

Coding agents resend their whole conversation on every request. Most of that history is completed tool input, tool output and teammate reports that the model no longer needs. Yoshi sits between the client and the provider and:

  • Finds removable spans in history: completed Bash, Write and Edit arguments, tool results, Claude teammate reports and old exchanges. The current instruction, recent turns, errors and opaque blocks (thinking, signatures, media) are always kept.
  • Asks Jev, one span per request, with up to eight requests in flight. Each request carries the current task, earlier user cons