test-sqrl

test-sqrl is a skill for Claude Code, Codex from DataSQRL/sqrl. It costs 26 tokens per session (2,189 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 2,189 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.02189
Opus 5.5 $0.00010 $0.00876
Sonnet 5.5 $0.00005 $0.00438
Haiku 4.5 $0.00003 $0.00219

Measured 3d ago against content hash b01f6b6ab671, 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 3d 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 · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 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 · 130 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. 3d ago Changed · +2 lines b01f6b6ab671
  2. 19d ago Changed · +2 lines 76b67a627daa
  3. 1mo ago Changed · +1 lines 5a809a4cfc5d
  4. 1mo ago Changed · +1 lines efaba21d13a1
  5. 1mo ago Changed · +2 lines 2aad2884d976
  6. 1mo ago Changed 2f9d3e4df791
  7. 1mo ago Changed 9c475afb3417
  8. 2mo ago Changed 072ab9a355c4
  9. 2mo 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 (237 stars, last pushed 2d ago), licensed Apache-2.0. It adds 26 tokens to every session and 2,189 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

test-sqrl compared with skills from other repositories

test-sqrl next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-sqrlDataSQRL/sqrlSkill2372d agoApache-2.0A26Claude Code, Codex
data-ingestion-pipelineorganvm-iv-taxis/a-i--skillsSkill173mo agoApache-2.0A53Claude Code
openrouterbobmatnyc/claude-mpm-skillsSkill794mo agoMITB32Claude Code
datris-platformdatris/datris-platform-ossSkill144d agoApache-2.0C157Claude Code, Codex
kafka-stream-processingmanutej/luxor-claude-marketplaceSkill645mo agononeA28Claude Code
llm-integrationLuuOW/meridian-mcpSkill01mo agoMITA29Claude Code, Codex
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex