finfocus: Skill for Claude Code

.github/skills/jqschema/SKILL.md

jqschema is a skill for Claude Code, Codex from rshade/finfocus. It costs 15 tokens per session (762 once invoked), scanned A, original, Apache-2.0.

A command-line tool that examines JSON data and produces a compact outline of its keys and value types.

In plain words
What is it for?
Use it to inspect files, API responses, and GitHub search results before deciding what data to request or process.
Why use it?
It helps you understand large or unfamiliar JSON without reading every value or printing a long response.

Skill for Claude CodeCodex

Which agent this was written for is unclear — Copilot chat-mode frontmatter (tools: vscode/*). Also seen: Copilot chat-mode frontmatter (tools: vscode/*).

This is rshade/finfocus's own configuration. It tells Claude Code and Codex how to work on finfocus itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything finfocus configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is cat data.json | ./.github/skills/jqschema/jqschema.sh.

Reuse

Borrowing it

Nothing to install: this file belongs to rshade/finfocus. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rshade/finfocus/main/.github/skills/jqschema/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/rshade/finfocus

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for jqschema

README.md
[![agentmods](https://agentmods.dev/badge/skills/rshade/finfocus/jqschema/github.svg)](https://agentmods.dev/skills/rshade/finfocus/jqschema)
Your own site
<a href="https://agentmods.dev/skills/rshade/finfocus/jqschema"><img src="https://agentmods.dev/badge/skills/rshade/finfocus/jqschema/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for jqschema

Your own site · 80×15
<a href="https://agentmods.dev/skills/rshade/finfocus/jqschema"><img src="https://agentmods.dev/badge/skills/rshade/finfocus/jqschema.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 762 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.00762
Opus 5.5 $0.00006 $0.00305
Sonnet 5.5 $0.00003 $0.00152
Haiku 4.5 $0.00002 $0.00076

Measured 1mo ago against content hash 9fa09c6cab98, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

jqschema scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/jqschema/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

jqschema - JSON Schema Discovery

Use ./.github/skills/jqschema/jqschema.sh directly from the repository skill folder to discover complex JSON structure.

Purpose

Generate a compact structural schema (keys + types) from JSON input. Use it when:

  • Analyzing tool outputs from GitHub search (search_code, search_issues, search_repositories)
  • Exploring API responses with large payloads
  • Understanding the structure of unfamiliar data without verbose output
  • Planning queries before fetching full data

Usage

# Analyze a file
cat data.json | ./.github/skills/jqschema/jqschema.sh

# Analyze command output
echo '{"name": "test", "count": 42, "items": [{"id": 1}]}' | ./.github/skills/jqschema/jqschema.sh

# Analyze GitHub search results
gh api search/repositories?q=language:go | ./.github/skills/jqschema/jqschema.sh

How It Works

The script transforms JSON data by:

  1. Replacing object values with their type names ("string", "number", "boolean", "null")
  2. Reducing arrays to their first element's structure (or empty array if empty)
  3. Recursively processing nested structures
  4. Outputting compact (minified) JSON

Example

Input:

{
  "total_count": 1000,
  "items": [
    {"login": "user1", "id": 123, "verified": true},
    {"login": "user2", "id": 456, "verified": false}
  ]
}

Output:

{"total_count":"number","items":[{"login":"string","id":"number","verified":"boolean"}]}

Best Practices

Use this script when:

  • You need to understand the structure of tool outputs before requesting full data
  • GitHub search tools return large datasets (use perPage: 1 and pipe through schema minifier first)
  • Exploring unfamiliar APIs or data structures
  • Planning data extraction strategies

Example workflow for GitHub search tools:

# Step 1: Get schema with minimal data (fetch just 1 result)
# This helps understand the structure before requesting large datasets
echo '{}' | gh api search/repositories -f q="language:go" -f per_page=1 | ./.github/skills/jqschema/jqschema.sh

# Output shows the schema:
# {"incomplete_results":"boolean","items":[{...}],"total_count":"number"}

# Step 2: Review schema to understand available fields

# Step 3: Request full data with confidence about structure
# Now you know what fields are available and can query efficiently

Read the full file on GitHub · 96 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 96 lines · 15 tokens per session scan A 9fa09c6cab98

Subscribe to this mod's changes

jqschema is a skill published in the GitHub repository rshade/finfocus (10 stars, last pushed 2d ago), licensed Apache-2.0. It adds 15 tokens to every session and 762 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

aws-cost-ops

AWS Cost Explorer — spending analysis, service breakdowns, forecasts, cost anomalies. Use when analyzing AWS spending, investigating cost spikes, reviewing network cost drivers like NAT Gateway, or forecasting next month's bill.

automateyournetwork/netclaw · 45 tokens

dashboards

Use when creating or extending Costory dashboards, generating interesting FinOps overviews (suggestgroupby + suggestusagemetrics + text widgets), adding or replacing widgets, copying widgets between dashboards, editing dashboardContext (global filter / period / groupBy) via updatedashboard, or applying shared-context…

costory-io/costory-finops-mcp-skills · 92 tokens

query

Use when exploring Costory cost, usage, metric, formula, budget, or external-metric data with the query tool — scope vs split (filterCel / groupBy), explorer PoP comparison, CEL discovery, unit economics, budgets. Not for one-shot "what changed last month" change trees — those use recipes explain-period-change /…

costory-io/costory-finops-mcp-skills · 93 tokens

reports

Use when creating, previewing, updating, scheduling, or exploring Costory reports. Route by intent: scheduled Slack/Teams/email sharing (Schedule — ask before build) vs explain last-month cost with preview-first DIGEST (Explain — chat preview required; not query+compare). Workflows are named, never lettered. DIGEST AI…

costory-io/costory-finops-mcp-skills · 136 tokens

bigquery

Use when the user asks about BigQuery costs, SKUs, on-demand Analysis vs capacity slots/editions, leftover on-demand, physical vs logical storage, time travel or fail-safe, streaming ingest, load/import jobs consuming a reservation, dbt or job labels, slot cost reallocation, dataset/table storage allocation, or…

costory-io/costory-finops-mcp-skills · 115 tokens

cost-change-investigation

Use when investigating a cost change to explain what changed, when, and the best-supported drivers with contribution, timing, usage, metric, event, alert, and terminology evidence. Call getskill with skillId "cost-change-investigation" before starting the investigation.

costory-io/costory-finops-mcp-skills · 57 tokens