AgentStack
SKILL verified MIT Self-run

Nclq

skill-louloulibs-claude-skills-nclq · by LouLouLibs

Query, filter, inspect, and extract data from Nickel (.ncl) files using nclq. Use when the user asks to look at, count, filter, search, or analyze data inside .ncl files, or when you encounter a .ncl file and need to understand its contents.

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add skill-louloulibs-claude-skills-nclq

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README — it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-louloulibs-claude-skills-nclq)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
29d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Nclq? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

nclq — Nickel Query Tool

Query nickel files using nickel expressions. Top-level fields are automatically in scope — no import boilerplate needed.

Quick Reference

# View a file (auto-detect: no expression needed)
nclq data.ncl
nclq data.ncl --compact

# Single file — fields in scope
nclq '' file.ncl

# Multi-file — named bindings
nclq '' -f name1=file1.ncl -f name2=file2.ncl

# Stdin
... | nclq ''

# Count rows
nclq 'rows' data.ncl --count

# Filter rows (type auto-detected from data)
nclq 'rows' data.ncl --where 'score>10'
nclq 'rows' data.ncl --where agg_level=1 --where 'description~Revenue'

# Sort
nclq 'rows' data.ncl --sort-by score --desc --limit 3

# Unique values of a field
nclq 'rows' data.ncl --unique category

# Inspect structure
nclq data.ncl --list-fields
nclq data.ncl --list-fields --depth 3

# Project fields
nclq 'rows' data.ncl --fields id,name

# Limit output
nclq 'rows' data.ncl --limit 5

# JSON output
nclq 'rows' data.ncl --format json

# Raw string (no quotes)
nclq 'metadata' data.ncl --raw

# Compact single-line output
nclq 'std.array.first rows' data.ncl --compact

# Combined pipeline
nclq 'rows' data.ncl --where agg_level=1 --sort-by cogcs --fields cogcs,description --limit 10

# Cross-reference two files
nclq 'a.rows |> std.array.filter (fun r =>
       std.array.elem r.id (b.codes |> std.array.map (fun c => c.id)))' \
  -f a=data.ncl -f b=codes.ncl

Flags

| Flag | Purpose | |-----------------------------------------|----------------------------------------------------------------| | --format | Output format (default: nickel) | | --fields | Project only named fields from results | | --limit | Truncate arrays to first N elements | | --raw | Strip quotes from string output | | --compact | Single-line output | | -f = | Bind a file to a name (multi-file mode) | | --where | Filter: field=val, field>val, field~substr (repeatable, ANDed) | | --sort-by | Sort by field (type auto-detected from data) | | --desc | Descending sort (use with --sort-by) | | --unique | Extract unique values of a field | | --count | Return count instead of data | | --list-fields | List field names of the result | | --depth | Depth for --list-fields (default: 1) |

Pipeline Order

When multiple flags are combined, they apply in this fixed order regardless of CLI position:

where → sort-by → unique → fields → limit → count

--list-fields is a separate inspection mode (only --where composes with it).

Exit Codes

| Code | Meaning | |------|--------------------------------------------------| | 0 | Success | | 1 | Nickel evaluation error (stderr passed through) | | 2 | Invalid arguments / usage error | | 127 | nickel not found on $PATH |

Workflow

  1. Inspect file structure: nclq data.ncl --list-fields or --list-fields --depth 2
  2. Count rows: nclq 'rows' data.ncl --count
  3. Filter: nclq 'rows' data.ncl --where 'score>10'
  4. Project and limit: --fields id,name --limit 10
  5. Use --format json when piping to jq or other tools
  6. For complex queries, write the nickel expression directly

Key Notes

  • The expression is standard nickel — use std.array.filter, std.array.map, |>, etc.
  • Use nclq instead of nickel export | jq — it's shorter and stays in the nickel world
  • nclq file.ncl with no expression just dumps the file (defaults to _file)
  • In single-file mode, top-level fields are bound directly (e.g., rows, metadata)
  • In multi-file mode, access fields through the binding name (e.g., data.rows)
  • _file is always available as the raw imported record in single-file mode
  • --where auto-detects value types from data (numbers, strings, bools, enums)
  • --where operators: = != > = <= ~ (contains)
  • Check for optional fields with std.record.has_field "field_name" record

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.