Agent Skills: JSON Formatter

Formats and prettifies JSON with configurable indentation

UncategorizedID: aiskillstore/marketplace/enact-json-formatter

Install this agent skill to your local

pnpm dlx add-skill https://github.com/aiskillstore/marketplace/tree/HEAD/skills/enactprotocol/enact-json-formatter

Skill Files

Browse the full folder contents for enact-json-formatter.

Download Skill

Loading file tree…

skills/enactprotocol/enact-json-formatter/SKILL.md

Skill Metadata

Name
enact-json-formatter
Description
"Error message if JSON was invalid"

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
}