# Jo

> Use this skill when the user wants to create JSON output from the command line, format data as JSON, build API payloads, or serialize shell variables into JSON structures.

- Skill: `javimosch/jo` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/jo`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/jo/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/jo

---


# Jo Plugin

JSON output from a shell — create JSON objects, arrays, and nested structures from key=value pairs.

## Commands

### Self
- `jo self version` — Print version

### JSON
- `jo json create` — Create JSON from key=value pairs (passthrough)

### Passthrough
- `jo _ _` — Passthrough for any jo command

## Usage Examples
- "Create a JSON object with name and age"
- "Build a JSON array from a list of values"
- "Convert shell variables to JSON format"
- "Create a nested JSON structure for an API request"

## Installation

```bash
brew install jo
```

## Examples

```bash
# Simple object
jo name=John age=30 active=true

# Nested objects
jo name=John address="city=New York zip=10001"

# Arrays
jo -a name=John name=Jane

# Reading from stdin
echo 'name=Doe' | jo

# Boolean and numbers
jo enabled=true count=42 ratio=3.14

# Empty value (null)
jo name=John title=

# Combine with jq for complex pipelines
jo name=John items="$(jo -a apple banana)" | jq '.items'
```

## Key Features
- Simple key=value syntax for JSON creation
- Automatic type detection (strings, numbers, booleans)
- Nested objects and arrays
- stdin input support
- Pretty-print option
- Array forcing with -a flag
- Null value support via empty values

