Toolverse
All skills

jq

by openclaw

Command-line JSON processor. Extract, filter, transform JSON.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
openclaw
Category
Backend
Views
30

About this skill

Command-line JSON processor. Extract, filter, transform JSON.

How to use

  1. Zainstaluj jq na swoim systemie. Na macOS lub Linuksie z Homebrew uruchom 'brew install jq'. Na innych platformach pobierz pakiet lub binarny ze strony jqlang.org/download i postępuj zgodnie z instrukcjami dla twojego systemu operacyjnego.

  2. Przygotuj plik JSON, który chcesz przetwarzać, lub użyj istniejącego. Możesz też pobrać przykładowe dane w formacie JSON do testowania.

  3. Uruchom jq z filtrem na pliku. Podstawowa składnia to 'jq "[filter]" plik.json' lub 'cat plik.json | jq "[filter]"'. Na przykład 'jq "." plik.json' ładnie sformatuje JSON, a 'jq ".users[].email" plik.json' wyciągnie wszystkie adresy e-mail z tablicy users.

  4. Stosuj filtry do swoich potrzeb. Aby filtrować dane, użyj 'select(.aktywny)' — zwróci tylko elementy, gdzie pole aktywny jest prawdziwe. Aby zmienić strukturę, użyj '{a: .x, b: .y}' — to utworzy nowy obiekt z wybranymi polami.

  5. Dodaj flagi, jeśli potrzebujesz. Flaga '-r' usuwa cudzysłowy z tekstu, '-c' zwraca kompaktowy JSON, '-s' łączy wiele plików w jedną tablicę. Na przykład 'jq -s "add" *.json' połączy wszystkie pliki JSON w bieżącym katalogu.

  6. Eksperymentuj z bardziej zaawansowanymi operacjami: 'group_by(.x)' grupuje elementy, 'unique' usuwa duplikaty, 'length' liczy elementy, a 'keys' wyświetla wszystkie klucze obiektu.

Related skills

dotnet-backend

by anton-abyzov

.NET/C# backend developer for ASP.NET Core APIs with Entity Framework Core. Builds REST APIs, minimal APIs, gRPC services, authentication with Identity/JWT, authorization, database operations, background services, SignalR real-time features. Activates for: .NET, C#, ASP.NET

Backend
92296

himalaya

by openclaw

CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).

Backend
35108

pdf-to-markdown

by aliceisjustplaying

Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions \

Backend
355664

gog

by openclaw

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

Backend
34126

supabase-operations

by elevanaltd

Supabase operational knowledge for migrations, RLS optimization, MCP tool benchmarks, and ADR-003 compliance. Use when validating database migrations, optimizing Row-Level Security policies, checking MCP tool performance, or ensuring Supabase operational standards. Triggers on:

Backend
27109

stripe-integration

by wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

Backend
40147