Agents
Models can't reliably decode hex, base64 or binary formats by reading them: they produce plausible but wrong bytes, and the throwaway scripts they write get the edge cases wrong. bytepeel gives them a tested tool instead. Two things make an agent use it: the MCP server, and a skill that tells the agent when to reach for it.
Claude Code plugin#
The bytepeel repository is a Claude Code plugin marketplace. The bytepeel
plugin bundles the skill and the MCP server (started with
npx -y bytepeel mcp, so it needs Node.js 18+ and nothing else):
/plugin marketplace add Pinta365/bytepeel
/plugin install bytepeel@bytepeel
The skill in other agents#
The skill is a plain
SKILL.md
folder in the Agent Skills format, so other agents that read skills can use it
too: copy plugins/bytepeel/skills/bytepeel/ into their skills directory
(for example .github/skills/ for GitHub Copilot). The plugin folder also has
an Agent Plugins manifest (plugin.json and mcp.json) for hosts that read
that format.
Does it help?#
The plugin ships with an eval suite
(plugins/bytepeel/evals):
29 cases (protobuf with negative and 64-bit values, doubles, packed fields,
nested base64, CBOR, MessagePack, JWTs, certificates, compressed payloads and
edits), graded on the exact answer, each run with and without the plugin.
| Agent, without code execution | Without the plugin | With it |
|---|---|---|
| Claude Haiku 5.5 | 78% | 98% |
| Claude Sonnet 5.5 | 84% | 93% |
Without the plugin, the failures were the ones bytepeel exists for: a corrupted gzip stream called intact, little-endian 64-bit values and negative varints misread, and compressed data given up on. When the agent can run Python, current models write correct decoders themselves and the gap mostly closes; the tool still saves the script.