---
name: Dev3 Refactor Shrink
slug: dev3-refactor-shrink
category: AI Engineering
description: Dev3 Refactor Shrink cuts the token footprint of the Dev3 Claude skill by removing duplicated protocol, shortening the invoke output, and densifying the shared skill body. Use it when you need the Dev3 agent instructions to fit into fewer tokens.
github: "https://github.com/h0x91b/dev-3.0/tree/main/change-logs/2026/07/08/refactor-shrink-dev3-skill.md"
language: TypeScript
stars: 249
forks: 31
install: "npx degit https://github.com/h0x91b/dev-3.0/tree/main/change-logs/2026/07/08 ~/.claude/skills/08"
installs_to: ~/.claude/skills/08
source_path: change-logs/2026/07/08/refactor-shrink-dev3-skill.md
collection_size: 11
category_size: 2631
collection_url: "https://dirskills.com/collections/h0x91b/dev-3.0"
added: 2026-09-02T05:20:57.691Z
last_synced: 2026-09-02T05:20:57.691Z
canonical_url: "https://dirskills.com/skills/dev3-refactor-shrink"
---

# Dev3 Refactor Shrink

Dev3 Refactor Shrink cuts the token footprint of the Dev3 Claude skill by removing duplicated protocol, shortening the invoke output, and densifying the shared skill body. Use it when you need the Dev3 agent instructions to fit into fewer tokens.

**Install:**

```bash
npx degit https://github.com/h0x91b/dev-3.0/tree/main/change-logs/2026/07/08 ~/.claude/skills/08
```

## README

Cut the dev3 skill's token footprint: the Claude SKILL.md no longer duplicates the protocol already injected into the system prompt (a PROTOCOL.md fallback covers sessions started outside the launcher), the skill invoke now uses `dev3 current --brief` instead of re-printing the full help and task description, and the shared skill body was rewritten ~40% denser for all agents. A Claude session now carries ~4k tokens of dev3 protocol instead of ~13.5k.
