test-sqrl

test-sqrl is a skill for Claude Code, Codex from DataSQRL/sqrl. It costs 26 tokens per session (1,553 once invoked), scanned A, original, Apache-2.0.

A testing guide for DataSQRL, a language and platform for building data-processing pipelines. It covers table tests that compare query results or check for invalid records, and API tests for GraphQL operations.

In plain words
What is it for?
It is for adding tests to DataSQRL pipelines, including deterministic result snapshots, invariant checks and GraphQL query, mutation or subscription tests.
Why use it?
It helps confirm that data transformations and complex query interactions keep producing the expected results after changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for adding tests to DataSQRL pipelines, including deterministic result snapshots, invariant checks and GraphQL query, mutation or subscription tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/datasqrl/sqrl/test-sqrl
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add DataSQRL/sqrl --skill test-sqrl
Clone the repo
git clone --depth 1 https://github.com/DataSQRL/sqrl

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 test-sqrl

README.md
[![agentmods](https://agentmods.dev/badge/skills/datasqrl/sqrl/test-sqrl/github.svg)](https://agentmods.dev/skills/datasqrl/sqrl/test-sqrl)
Your own site
<a href="https://agentmods.dev/skills/datasqrl/sqrl/test-sqrl"><img src="https://agentmods.dev/badge/skills/datasqrl/sqrl/test-sqrl/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 test-sqrl

Your own site · 80×15
<a href="https://agentmods.dev/skills/datasqrl/sqrl/test-sqrl"><img src="https://agentmods.dev/badge/skills/datasqrl/sqrl/test-sqrl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,553 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.00026 $0.01553
Opus 5.5 $0.00010 $0.00621
Sonnet 5.5 $0.00005 $0.00311
Haiku 4.5 $0.00003 $0.00155

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

Security

Grade A, and why

test-sqrl 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 4d 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.

agent/skills/test-sqrl/SKILL.md · 122 lines

How it starts

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

Always implement test coverage for major features or complex data transformations implemented in SQRL. Prefer table tests. Use API tests for complex interaction patterns (mutation followed by query/subscription) or authorization.

Writing Tests

Test Types

DataSQRL supports two snapshot test types (run via test command):

  1. Table tests: SQRL tables annotated with /*+test */ hint
  2. API tests: GraphQL operations (queries/mutations/subscriptions) in a configured test folder.

Table Tests

Add /*+ test */ hint to any table definition:

-- Tests that the query returns an identical snapshot of data
/*+ test */
CustomerRetrievalTest :=
SELECT customerid, name, email
  FROM Customer
  WHERE name = 'John' ORDER BY customerid;

-- Tests an invariant and returns failing records
/*+ test(no_rows) */
InvalidCustomersTest :=
SELECT * FROM Customer
  WHERE name = '' OR email IS NULL;

Requirements:

  • Use /*+ test(no_rows) */ hint to test invariants
  • Snapshot results must have deterministic order (use ORDER BY)
  • Only select predictable columns and exclude non-deterministic ones (e.g. columns computed via RAND() or NOW())
  • Table tests do not include relationships
  • Every column in ORDER BY must also appear in SELECT. To sort by a column without including it in snapshot output, alias it with a _ prefix: event_time AS _event_time. Omitting an ORDER BY column from SELECT causes: All sort columns must be part of the SELECT clause for table definitions, missing: [col].

API Tests

Place .graphql files in the configured test folder, one operation definition per file. The file name (without extension) is the test name and the snapshot name: every query/mutation/subscription block in a file is registered under that name, so a second block in the same file is compared against the first one's snapshot and fails on every run. One block may still query several root fields at once (use aliases: byOrg: alerts(...) {...} byDeployment: alerts(...) {...}); that is a single operation and a single snapshot.

Read the full file on GitHub · 122 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. 4d ago Changed 9c475afb3417
  2. 9d ago Changed 072ab9a355c4
  3. 10d ago First seen · 122 lines · 26 tokens per session scan A c7b0e69edcc6

Subscribe to this mod's changes

test-sqrl is a skill published in the GitHub repository DataSQRL/sqrl (230 stars, last pushed today), licensed Apache-2.0. It adds 26 tokens to every session and 1,553 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-09-30.

Related

Other skills, from other repositories

data-quality-frameworks

Implement data quality validation with Great Expectations, dbt tests, and data contracts. Use when building data quality pipelines, implementing validation rules, or establishing data contracts.

wshobson/agents · 37 tokens

dbt-transformation-patterns

Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.

wshobson/agents · 47 tokens

agent-evals

Build automated evaluation suites for AI agents using golden datasets, rubrics, and regression gates. Use when shipping agent features, validating prompt changes, or gating deployments on quality.

sickn33/agentic-awesome-skills · 38 tokens

nemo-automodel-model-onboarding

Guide for onboarding new model architectures into NeMo AutoModel, including architecture discovery, implementation patterns, registration, and validation.

NVIDIA/skills · 33 tokens

nemo-automodel-recipe-development

Create and modify NeMo AutoModel training and evaluation recipes, including YAML structure, builders, and execution flow.

NVIDIA/skills · 31 tokens

rspec-conventions

Rootstrap RSpec conventions. Use when writing, reviewing, or editing RSpec test files (spec//spec.rb, spec/railshelper.rb, spec/spechelper.rb, spec/support//.rb) or factories. Covers describe/context structure, let/subject, matchers, factories, mocking/stubbing, shared examples, and spec types (model, request…

rootstrap/rails_api_base · 82 tokens