Skip to content
Back to skills

Json Response

ASecurity

Reshape a JSON API response. Flatten nested fields to id, status, and total, and drop empty values. Use when the user has a JSON response.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 14, 2026
ai-agentspythonbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add vigneshm1995personal/skillgate --skill json-response --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Json Response?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Json Response
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vigneshm1995personal-json-response/badge)](https://www.skillsdirectory.com/skills/vigneshm1995personal-json-response)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: json-response
description: Reshape a JSON API response. Flatten nested fields to id, status, and total, and drop empty values. Use when the user has a JSON response.
license: Apache-2.0
metadata:
  author: skillgate-ai
  version: "0.1"
---

# JSON response

Reshape a JSON API body into a flat list. Do not invent fields. Drop values that are null or empty strings.

## How to work

Run the bundled script from the workspace root. It reads `SKILLGATE_TASK` and writes the file named in the task.

```bash
python3 .skillgate/skills/json-response/scripts/agent_entry.py
```

The script keeps `id`, `status`, and `total` from each object under `data`. An empty `data` array becomes `[]`.

Files in this skill

  • SKILL.md695 B
  • evals/cases.yaml1 KB
  • evals/fixtures/empty-orders.json17 B
  • evals/fixtures/orders.json150 B
  • evals/goldens/edge-empty.json3 B
  • evals/goldens/flatten-orders.json136 B
  • evals/history/README.md69 B
  • scripts/agent_entry.py1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.