DragonKing026

Claude Tool Output Viewer — Development skill for Claude Code

Development community

Unofficial VS Code extension: readable Claude Code tool output tabs (language detection, ANSI colors, JSON formatting).

How to install Claude Tool Output Viewer

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

What Claude Tool Output Viewer does

Unofficial VS Code extension: readable Claude Code tool output tabs (language detection, ANSI colors, JSON formatting).

Alternatives in Development

  • Auto — Smart router - Single entry point with natural language intent detection 2.8k ★
  • Claude Code Viewer — A full-featured web-based Claude Code client that provides complete interactive functionality for managing Cla 984 ★
  • Jianing Skills — Agent skills for Claude Code and Codex: self-reflection, content, slides, WeChat formatting 328 ★

README

Claude Code Tool Output Viewer (unofficial)

**Unofficial.** Not affiliated with, endorsed by, or sponsored by Anthropic. Claude is a trademark of Anthropic.

When you click **OUT** next to a tool call in the Claude Code extension for VS Code, the result opens as a read-only plain text document named like `Bash tool output (k3j9x2)`. A single long JSON line, a Markdown report, a diff, a build log with ANSI colors: all of it is shown as unhighlighted text on one long line.

This extension makes those documents readable:

  • Detects the content type and switches the document language: JSON, JSON Lines, diff, XML/HTML, Markdown, YAML by fast rules; anything else by the machine learning model that VS Code itself uses for "Auto Detect Language" (loaded lazily).
  • Claude Tool Output language for everything else (typical command output): highlights Exit code N, errors and warnings, paths, URLs, quoted strings, numbers, dates, durations, sizes, time / zsh timing lines, the Shell cwd was reset to ... notice, and embeds JSON highlighting for lines that start with { or [.
  • Word wrap for these editors, whatever language was detected.
  • ANSI colors: SGR colors (16, 256, truecolor), bold, italic, underline, strike-through, dim and inverse are shown as editor decorations; the escape sequences themselves are hidden.
  • Format Output: opens a read-only copy next to the original with JSON expanded and ANSI removed. A Format JSON CodeLens appears above every line that is a JSON object or array.

The original document is never modified (it belongs to the Claude Code extension and is read-only).

Install

From the VS Code Marketplace: search for **Claude Code Tool Output Viewer** in the Extensions view, or run

code --install-extension dragonking026.claude-tool-output-viewer

How it works

  1. A document is treated as tool output when its URI scheme is listed in claudeToolOutputViewer.schemes (default `_claude_vscode