Claude Code Plugins

Community-maintained marketplace

Feedback

Formats and prettifies JSON with configurable indentation

Install Skill

Shared

Installs to .agents/skills, used by Codex, Amp, Warp, Cursor, OpenCode, and more.

CodexAmp
Warp
CursorOpenCode
Cline
Gemini CLI
GitHub Copilot
Personal

Available across projects.

$npx skills-installer add @while-basic/enact-template/formatter --client shared
Project

Writes to .agents/skills.

$npx skills-installer add @while-basic/enact-template/formatter -p --client shared
Note: Review the skill instructions before using it.

SKILL.md

enact 2.0.0
name enact/formatter
version 1.0.0
description Formats and prettifies JSON with configurable indentation
from node:20-alpine
command node /workspace/format.js ${json} ${indent}
inputSchema [object Object]

JSON Formatter

A simple tool that formats and prettifies JSON strings.

Usage

enact run enact/json-formatter --args '{"json": "{\"name\":\"test\",\"value\":123}", "indent": 2}'

Features

  • Validates JSON input
  • Configurable indentation (default: 2 spaces)
  • Returns structured output with validation status
  • Handles errors gracefully

Example Output

{
  "formatted": "{\n  \"name\": \"test\",\n  \"value\": 123\n}",
  "valid": true
}