Saltar al contenido
TakoAPI
Volver a skills

encoding-formats

por gitgoodordietrying

Coding Agents & IDEs
1.6kDescargas según clawskills.sh
1Estrellas
0Vistas
0 me gustaInicia sesión para dar me gusta a esta skill
—Aún sin valoraciones
Tu valoración

Resumen

Encode, decode, and convert between data formats.

Descripción

Qué hace esta skill

Encode, decode, and convert data across common formats including Base64, URL encoding, hex, Unicode, JWTs, hashing, and serialization formats like JSON, MessagePack, and protobuf. Works via shell commands and code snippets in JavaScript and Python.

Covers the full encoding/decoding surface in one place rather than requiring separate tools or documentation lookups for each format.

Cuándo usarla

  • Decoding a Base64 string from an API response
  • Inspecting JWT claims without a library
  • Verifying file integrity with SHA-256 checksums
  • Converting a legacy Latin-1 text file to UTF-8
  • Translating a JSON payload into MessagePack for a binary protocol

Flujo de trabajo de ejemplo

ENTRADA

User asks: decode this JWT token and check if it's expired

AGENTE
  1. 1

    Split the token on '.' to get header, payload, and signature parts

  2. 2

    Base64url-decode the header part and parse as JSON

  3. 3

    Base64url-decode the payload part and parse as JSON

  4. 4

    Check the 'exp' claim against the current Unix timestamp

  5. 5

    Report the decoded claims and expiry status

SALIDA

Decoded header (alg, typ), decoded payload (sub, name, iat, exp), and a notice whether the token is expired

Instalación

clawhub install gitgoodordietrying/encoding-formats

Ejecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.

Enlaces