Quickstart

From javimosch/supercli · View interactive version

Quickstart is an AI agent skill from the GitHub repository javimosch/supercli. Use this skill when the user wants to preview, summarize, or peek at structured data files (JSON, YAML) or source code without loading the full content.

How to use this skill

Skill file

headson Plugin

Head/tail for structured data — summarize and preview JSON, YAML, and source code with configurable budgets, tree views, and grep-like filtering.

Commands

Data Preview

Utility

Usage Examples

Installation

cargo install headson

Examples

# Preview a JSON file with default budget
headson data preview data.json

# Preview with a larger character budget
headson data preview -c 800 data.json

# Preview a JSON stream from stdin
curl -sS 'https://api.github.com/repos/kantord/headson' | headson data preview -c 800

# Preview many files with a single total budget
headson data preview -c 200 -C 1200 logs/*.json

# Machine-readable preview (strict JSON)
headson data preview -c 200 -f json -t strict data.json

# Preview YAML with detailed comments
headson data preview -c 400 -f yaml -t detailed config.yaml

# Grep-like: keep error/warning lines visible while summarizing
headson data preview --grep 'error|warning' -c 200 -C 1200 logs/*.json

# Tree-like view of source files
headson data preview --tree --glob 'src/**/*' -c 160 -C 1200

# Source code outline (keeps lines intact, omits blocks under tight budgets)
headson data preview -n 20 src/main.py

Key Features

Flags

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.