Hatch3r Cli Jq logo

Hatch3r Cli Jq

Organization
hatch3r
hatch3r-cli-jq

JSON processor and query language. Use when shaping JSON streams via jq-syntax filters and select expressions; invoke `jq`. Reads stdin and emits stdout; integrates seamlessly into shell pipelines.

Overview

Publisherhatch3r
Repositoryhatch3r
Skill namehatch3r-cli-jq
Stars
26
Forks
7
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by hatch3r on GitHub. Read the source before you install it.

Installation

Install the Hatch3r Cli Jq AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-cli-jq
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hatch3r/hatch3r.git /tmp/hatch3r
mkdir -p .claude/skills
cp -r /tmp/hatch3r/skills/hatch3r-cli-jq .claude/skills/hatch3r-cli-jq
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hatch3r Cli Jq in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hatch3r Cli Jq on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hatch3r Cli Jq is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

jq

JSON processor and query language

§0 — Ambiguity & Safety Gate (P8 B1)

Before invoking jq, resolve these via agents/shared/user-question-protocol.md (default behavior, not exception-driven):

  • Scope: when the input JSON path is ambiguous (a glob like *.json or a slurp over several shards), confirm which files feed the filter before running.
  • Irreversibility: jq reads stdin and writes stdout, so it is non-destructive by itself — but redirecting its output over the source (jq … input.json > input.json) truncates the file before jq reads it. Write to a temp file and rename, never redirect over the input.
  • Ambiguity: when the request maps to two or more filter expressions with materially different output shape (raw -r vs JSON, select vs map), ask which one.

Fan-out Discipline (P8 B2)

Tier 1 reference card — no fan-out. This skill is a single-tool usage reference an agent consults inline; it spawns no sub-agents. Fan-out is owned by the calling workflow per its own Fan-out Discipline block. Source: rules/hatch3r-fan-out-discipline.md (P8 B2).

When to Use

Reach for jq when the task is in the json category and the agent would otherwise call an MCP tool or read large outputs into context.

Token Cost

CLI tools return structured stdout that fits in <1KB for typical queries; equivalent MCP calls regularly exceed 10KB. Reference: Anthropic engineering (Nov 4 2025) — code-execution-over-MCP yields 98.7% token reduction.

Recipes

bash
gh pr list --json number,title,isDraft | jq '.[] | select(.isDraft|not) | .number'

Pipeline from gh JSON into a selector — emits only open non-draft PR numbers.

bash
jq -r '.[] | .name' inventory.json

Raw string output (-r) drops the JSON quoting — feeds straight into xargs or shell loops.

bash
jq 'group_by(.category) | map({key: .[0].category, value: length}) | from_entries' findings.json

Group-then-count idiom — produces a {category: count} object suitable for direct comparison against a baseline.

bash
jq --slurp 'add | unique_by(.id)' shard-*.json

Slurp multiple files into a single array, concatenate, dedupe by id — the canonical merge pattern for sharded JSON output.

bash
jq -c '{id, title, severity}' findings.json

Compact (-c) one-object-per-line projection — perfect input for xargs -L1 or grep-style downstream tools.

Wrong Choice When

  • Don't use jq for bidirectional grep on flattened paths; the inverse (gron outputs obj.foo.bar = … lines you can rg then translate back). Reach for gron.
  • Don't use jq directly on multi-document YAML or front-matter Markdown. Reach for yq (toolbox section in hatch3r-cli-toolbox) and pipe yq -o=json into jq only if you need jq's filter language.
  • Don't reach for jq when the file is a stream of newline-delimited JSON (.ndjson); use jq -c per line or jaq/fx for stream-friendly behavior — jq without -c slurps the whole file.

Alternatives

ToolWhen to prefer
yq (toolbox section)YAML, TOML, XML input — yq speaks them all, jq is JSON-only.
gronFlatten JSON to path = value lines for grep-based exploration and reverse-translation.
daselSingle binary across JSON/YAML/TOML/XML with a path-query DSL — handy in CI where you do not want jq+yq. Pin to >=3.11.0 (clears CVE-2026-33320 fixed in 3.3.2, plus CVE-2026-46377 / -46378 fixed in 3.10.1).
fxInteractive JSON browsing in a TTY; jq is the right call in scripts.

Detection / Install

Verify with:

bash
command -v jq

Install (macOS):

bash
# brew
brew install jq

Install (Linux):

bash
# apt
sudo apt install jq

Install (Windows):

bash
# scoop
scoop install jq

Homepage: https://github.com/jqlang/jq

Security

Minimum recommended version: >=1.8.2. Builds below this floor carry known unpatched advisories — upgrade before relying on the tool.

jq <1.8.2 carries a 16-CVE cluster (stack/integer-overflow + NUL-truncation + use-after-free, CVE-2026-32316 … CVE-2026-54679) triggerable by attacker-controlled JSON or filter paths; all fixed in 1.8.2 (2026-06-20). Upgrade to >=1.8.2 — the install-side validation/sandbox guidance is only for builds that cannot be upgraded.

Frequently asked questions

What does the Hatch3r Cli Jq AI skill do?

JSON processor and query language. Use when shaping JSON streams via jq-syntax filters and select expressions; invoke `jq`. Reads stdin and emits stdout; integrates seamlessly into shell pipelines.

Why use Hatch3r Cli Jq on TypingMind?

Because you install it once and use it with any model. Hatch3r Cli Jq is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hatch3r Cli Jq in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-cli-jq. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Hatch3r Cli Jq?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hatch3r Cli Jq?

As many as you like. As long as a model supports skills, you can use Hatch3r Cli Jq with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hatch3r Cli Jq AI skill free?

Yes. It is published on GitHub by hatch3r under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇