Agent skill

Corvus Query Languages

by corvus-dotnet in corvus-dotnet/Corvus.JsonSchema

Work with JSONata, JMESPath, JsonLogic, and JSONPath query and transformation languages.

Apache-2.0Auto-check passedDevelopment

Install Corvus Query Languages

skills CLI
$ npx skills add corvus-dotnet/Corvus.JsonSchema --skill corvus-query-languages -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install corvus-dotnet/Corvus.JsonSchema corvus-query-languages --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/corvus-dotnet/Corvus.JsonSchema.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/corvus-query-languages .claude/skills/corvus-query-languages && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
corvus-query-languages
GitHub stars
199
Token cost
~2.1k tokens
SKILL.md length
359 words
Files
1
Skills in repo
26
Repo updated
First seen
Licence
Apache-2.0

At a glance

Work with JSONata, JMESPath, JsonLogic, and JSONPath query and transformation languages.

  • : evaluating queries and transforms
  • SKILL.md covers Architecture, JSONata, JMESPath and JsonLogic, plus 4 more sections
  • Calls dotnet
  • Generating optimized evaluators

What it does

Corvus Query Languages is an agent skill from corvus-dotnet/Corvus.JsonSchema. Work with JSONata, JMESPath, JsonLogic, and JSONPath query and transformation languages. Each has runtime (interpreted) and code-generated evaluation modes plus Roslyn source generators. Covers the JSONata evaluator API, JMESPath Search(), JsonLogic rule engine, JSONPath Query/QueryNodes with custom function extensions, conformance test suites, code generation for all four, and performance characteristics. USE FOR: evaluating queries and transforms, generating optimized evaluators, running conformance tests…

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Project scaffolding, Test generation and Forms and validation. The repository describes itself as: Support for Json Schema validation and entity generation. The licence is Apache-2.0.

When your agent uses it

  • : evaluating queries and transforms
  • Generating optimized evaluators
  • Running conformance tests
  • Understanding the dual (runtime + codegen) architecture

Example prompts

  • “/corvus-query-languages”

What it can do on your machine

Read from SKILL.md and the folder at commit b9e3040. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • rfc-editor.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Corvus Query Languages loads about 2.1k tokens when it runs. Until then it costs about 175 tokens; SKILL.md has 359 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~175
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from corvus-dotnet/Corvus.JsonSchema at commit b9e3040, republished under its Apache-2.0 licence (© corvus-dotnet). 359 words, ~2,103 tokens.

Download SKILL.mdSave it as .claude/skills/corvus-query-languages/SKILL.md (or your agent's skills folder).
name
corvus-query-languages
description
Work with JSONata, JMESPath, JsonLogic, and JSONPath query and transformation languages. Each has runtime (interpreted) and code-generated evaluation modes plus Roslyn source generators. Covers the JSONata evaluator API, JMESPath Search(), JsonLogic rule engine, JSONPath Query/QueryNodes with custom function extensions, conformance test suites, code generation for all four, and performance characteristics. USE FOR: evaluating queries and transforms, generating optimized evaluators, running conformance tests, understanding the dual (runtime + codegen) architecture. DO NOT USE FOR: JSON Schema validation (use corvus-keywords-and-validation or corvus-standalone-evaluator).

Query Languages: JSONata, JMESPath, JsonLogic, JSONPath

Architecture

Each language follows the same three-package pattern:

Package tierJSONataJMESPathJsonLogicJSONPath
Runtime (interpreted)Corvus.Text.Json.JsonataCorvus.Text.Json.JMESPathCorvus.Text.Json.JsonLogicCorvus.Text.Json.JsonPath
Code generation libraryCorvus.Text.Json.Jsonata.CodeGenerationCorvus.Text.Json.JMESPath.CodeGenerationCorvus.Text.Json.JsonLogic.CodeGenerationCorvus.Text.Json.JsonPath.CodeGeneration
Source generatorCorvus.Text.Json.Jsonata.SourceGeneratorCorvus.Text.Json.JMESPath.SourceGeneratorCorvus.Text.Json.JsonLogic.SourceGeneratorCorvus.Text.Json.JsonPath.SourceGenerator

JSONata

Conformance: 100% (1,665 tests) Performance: Up to 8× faster than Jsonata.Net.Native (runtime), up to 12× (code-generated)

Runtime Evaluation
csharp
using var doc = ParsedJsonDocument<JsonElement>.Parse(data);
JsonElement result = JsonataEvaluator.Default.Evaluate(expression, doc.RootElement);
Code-Generated Evaluation
csharp
// Source generator takes a .jsonata FILE path, not an inline expression
[JsonataExpression("expressions/total-price.jsonata")]
internal static partial class TotalPrice;

// Usage — code-gen produces a static Evaluate(in JsonElement, JsonWorkspace) method:
using JsonWorkspace workspace = JsonWorkspace.Create();
JsonElement result = TotalPrice.Evaluate(doc.RootElement, workspace);
Key Notes
  • User-defined functions may shadow built-ins; compilation preserves runtime fallback
  • Individual test cases have 10-second timeout for runaway recursion
  • Conformance tests: dotnet test --project tests\Corvus.Text.Json.Jsonata.Tests --filter "TestCategory!=failing&TestCategory!=outerloop"
  • Code-gen tests tagged: codegen-conformance and codegen-edge

JMESPath

Conformance: 100% (892 tests) Performance: Up to 150× faster than JmesPath.Net

Runtime Evaluation
csharp
using var doc = ParsedJsonDocument<JsonElement>.Parse(data);
JsonElement result = JMESPathEvaluator.Default.Search(expression, doc.RootElement);
Code-Generated Evaluation
csharp
// Source generator takes a .jmespath FILE path, not an inline expression
[JMESPathExpression("expressions/wa-locations.jmespath")]
internal static partial class WashingtonLocations;

// Usage — code-gen produces a static Evaluate(in JsonElement, JsonWorkspace) method:
using JsonWorkspace workspace = JsonWorkspace.Create();
JsonElement result = WashingtonLocations.Evaluate(doc.RootElement, workspace);

JsonLogic

Complete rule engine with all standard operations.

Runtime Evaluation
csharp
using var ruleDoc = ParsedJsonDocument<JsonElement>.Parse(ruleJson);
JsonLogicRule rule = new(ruleDoc.RootElement);
using var dataDoc = ParsedJsonDocument<JsonElement>.Parse(dataJson);
JsonElement result = JsonLogicEvaluator.Default.Evaluate(rule, dataDoc.RootElement);
Code-Generated Evaluation
csharp
// Source generator takes a .json FILE path containing the rule, not an inline expression
[JsonLogicRule("rules/conditional.json")]
internal static partial class ConditionalRule;

// Usage — code-gen produces a static Evaluate(in JsonElement, JsonWorkspace) method:
using JsonWorkspace workspace = JsonWorkspace.Create();
JsonElement result = ConditionalRule.Evaluate(doc.RootElement, workspace);
Thread Safety Warning

JsonLogicEvaluator (including the Default singleton) has mutable last-rule cache fields (_lastCompiled, _lastRuleIdentity) that are not synchronized. The ConcurrentDictionary cache is thread-safe, but the fast-path identity check is not. Concurrent calls on the same instance may produce correct results but with degraded cache performance (benign races). If strict single-evaluation-at-a-time fast-path caching matters, use separate instances or external synchronization.

JSONPath

Conformance: 100% (723 tests) — full RFC 9535 compliance Performance: Up to 16× fewer allocations than JsonEverything; faster on all benchmark scenarios (both RT and CG)

Runtime Evaluation
csharp
// Returns a JSON array of matched nodes within the provided workspace
using JsonWorkspace workspace = JsonWorkspace.Create();
JsonElement result = JsonPathEvaluator.Default.Query("$.store.book[*].author", doc.RootElement, workspace);

// Zero-allocation — returns a disposable result with direct node access
using JsonPathResult result = JsonPathEvaluator.Default.QueryNodes("$.store.book[?@.price<10]", doc.RootElement);
foreach (JsonElement node in result.Nodes)
{
    Console.WriteLine(node);
}
Code-Generated Evaluation
csharp
// Source generator takes a .jsonpath FILE path, not an inline expression
[JsonPathExpression("expressions/book-authors.jsonpath")]
internal static partial class BookAuthors;

// Usage — code-gen produces a static Query(in JsonElement, JsonWorkspace) method:
using JsonWorkspace workspace = JsonWorkspace.Create();
JsonElement result = BookAuthors.Query(doc.RootElement, workspace);
Show full SKILL.md (147 more words)Show less
Custom Function Extensions

JSONPath supports custom function extensions for both runtime and code generation:

csharp
// Register a custom function at runtime
JsonPathEvaluator evaluator = JsonPathEvaluator.Default
    .WithFunction(JsonPathFunction.Value("double", args => JsonPathFunctionResult.FromValue(args[0].GetDouble() * 2)));
Key Notes
  • JSONPath focuses on node selection (returns matched nodes); for data reshaping use JMESPath or JSONata
  • Custom functions use JsonPathFunction.Value, Logical, NodesValue, NodesLogical, or Create factories
  • JsonPathFunctionResult.FromValue overloads accept int, double, string, and bool

Running Tests

powershell
# JSONata conformance
dotnet test --project tests\Corvus.Text.Json.Jsonata.Tests --filter "TestCategory!=failing&TestCategory!=outerloop"

# JSONata code-gen
dotnet test --project tests\Corvus.Text.Json.Jsonata.CodeGeneration.Tests --filter "TestCategory!=failing&TestCategory!=outerloop"

# JMESPath conformance
dotnet test --project tests\Corvus.Text.Json.JMESPath.Tests --filter "TestCategory!=failing&TestCategory!=outerloop"

# JsonLogic conformance
dotnet test --project tests\Corvus.Text.Json.JsonLogic.Tests --filter "TestCategory!=failing&TestCategory!=outerloop"

# JSONPath conformance
dotnet test --project tests\Corvus.Text.Json.JsonPath.Tests --filter "TestCategory!=failing&TestCategory!=outerloop"

# JSONPath code-gen
dotnet test --project tests\Corvus.Text.Json.JsonPath.CodeGeneration.Tests --filter "TestCategory!=failing&TestCategory!=outerloop"

Common Pitfalls

  • JsonLogic thread safety: The Default singleton's fast-path cache fields (_lastCompiled, _lastRuleIdentity) are not atomic. Concurrent use is functionally safe (falls back to ConcurrentDictionary) but the fast-path may thrash. Use separate instances if this matters.
  • JSONata timeout: Complex expressions may hit the 10-second test timeout.
  • Code-gen vs runtime: Code-generated evaluators are pre-compiled and faster, but less flexible for dynamic expressions.
  • JSONPath ordering: Evaluation must preserve document order and selector declaration order; descendant queries may yield duplicates in order.

Cross-References

  • For benchmarking query languages, see corvus-benchmarks
  • For building/testing, see corvus-build-and-test
  • Full guides: docs/Jsonata.md, docs/JMESPath.md, docs/JsonLogic.md, docs/JsonPath.md

© corvus-dotnet, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/corvus-query-languages of corvus-dotnet/Corvus.JsonSchema.

Open the folder on GitHubat commit b9e3040

Compare with similar skills

Corvus Query Languages next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Corvus Query Languages compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Corvus Query Languages this skillcorvus-dotnet/Corvus.JsonSchema199—~2.1kAutomated safety check: PassApache-2.0
Design Importyonatangross/orchestkit289—~2.9kAutomated safety check: NotesMIT
Core PR Helpercalimero-network/core171—~614Automated safety check: PassCustom licence
Veomni Patchgen ModelByteDance-Seed/VeOmni2.2k—~9.6kAutomated safety check: PassApache-2.0
Exp Test Maintainabilitydotnet/skills5.6k1 repos~2.5kAutomated safety check: PassMIT
Antigravityyuting0624/antigravity-for-claude-code376—~9.1kAutomated safety check: PassMIT

Similar skills

  • Design Import

    yonatangross/orchestkit

    Scaffolds React components from a Claude Design handoff bundle and stops at files on disk: no stories, no tests, no pull request.

    289 GitHub stars~2.9k tokensUpdated today
    DevelopmentAuto-check: notes
  • Core PR Helper

    calimero-network/core

    Suggests one appropriate branch name and a PR description in the project template (title, Description, Test plan, Documentation update) for Calimero core.

    171 GitHub stars~614 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Veomni Patchgen Model

    ByteDance-Seed/VeOmni

    Author or refresh a VeOmni model's patchgen-generated modeling under generated/ — GPU and/or NPU config, dense or MoE, text / VLM / Omni.

    2.2k GitHub stars~9.6k tokensUpdated today
    Testing & QAAuto-check passed
  • Official

    Detects duplicate boilerplate, copy-paste tests, and structural maintainability issues across .NET test suites.

    5.6k GitHub starsUsed in 1 repo~2.5k tokens
    DevelopmentAuto-check passed
  • Antigravity

    yuting0624/antigravity-for-claude-code

    Run the Antigravity CLI (Gemini) as a collaborating AI inside Claude Code, with intelligent model routing across the software development lifecycle.

    376 GitHub stars~9.1k tokensUpdated 3 days ago
    AI & LLM EngineeringAuto-check passed
  • Compare Codegen

    hw-native-sys/pypto

    Compare codegen output (.pto files and pass dumps) between origin/main and the current branch for a given test case.

    126 GitHub stars~1.4k tokensUpdated 8 days ago
    DevelopmentAuto-check passed

More from corvus-dotnet/Corvus.JsonSchema

All 26 skills in this repo
  • Corvus Analyzers

    corvus-dotnet/Corvus.JsonSchema

    Understand and work with the Roslyn analyzers shipped with Corvus.Text.Json.

    199 GitHub stars~876 tokensUpdated today
    Auto-check passed
  • Corvus Benchmarks

    corvus-dotnet/Corvus.JsonSchema

    Run, interpret, and maintain BenchmarkDotNet benchmarks for JSON Schema validation and query languages.

    199 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Corvus Bowtie Testing

    corvus-dotnet/Corvus.JsonSchema

    Test Corvus.JsonSchema against the JSON Schema Test Suite using Bowtie, the cross-implementation meta-validator.

    199 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Corvus Buffer And Pooling

    corvus-dotnet/Corvus.JsonSchema

    Write allocation-efficient buffer code in Corvus.JsonSchema using the codebase's established three-tier pooling pattern: stackalloc → ArrayPool → ThreadStatic caches.

    199 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Corvus Bytes To Bytes

    corvus-dotnet/Corvus.JsonSchema

    Eliminate hand-rolled POCO record<-document string seams — types/paths that materialize a managed string (or List<string/Dictionary) between a bytes SOURCE (a parsed UTF-8 body, a DB column, a…

    199 GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Corvus Codegen

    corvus-dotnet/Corvus.JsonSchema

    Generate strongly-typed C from JSON Schema using the Roslyn source generator or the corvusjson CLI tool.

    199 GitHub stars~2.1k tokensUpdated today
    Auto-check passed

Questions about Corvus Query Languages

What does Corvus Query Languages do?

Work with JSONata, JMESPath, JsonLogic, and JSONPath query and transformation languages. JsonSchema. Work with JSONata, JMESPath, JsonLogic, and JSONPath query and transformation languages.

When should I use Corvus Query Languages?

Corvus Query Languages fits situations like: : evaluating queries and transforms; generating optimized evaluators; running conformance tests; understanding the dual (runtime + codegen) architecture.

How do I install Corvus Query Languages in Claude Code?

Run `npx skills add corvus-dotnet/Corvus.JsonSchema --skill corvus-query-languages -a claude-code`. Or copy the skill folder (.github/skills/corvus-query-languages in corvus-dotnet/Corvus.JsonSchema) into .claude/skills/corvus-query-languages in your project. Claude Code loads it when a task matches its description.

How do I install Corvus Query Languages in Codex?

Run `npx skills add corvus-dotnet/Corvus.JsonSchema --skill corvus-query-languages -a codex`. Or copy the skill folder (.github/skills/corvus-query-languages in corvus-dotnet/Corvus.JsonSchema) into .agents/skills/corvus-query-languages in your project. Codex loads it when a task matches its description.

Can I use Corvus Query Languages in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add corvus-dotnet/Corvus.JsonSchema --skill corvus-query-languages -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/corvus-query-languages, .gemini/skills/corvus-query-languages, .github/skills/corvus-query-languages and .opencode/skills/corvus-query-languages in your project.

What does Corvus Query Languages need to run?

Going by SKILL.md and its folder, Corvus Query Languages needs the command-line tools its instructions call (dotnet).

Does Corvus Query Languages access the network?

SKILL.md names 1 domain. As links in the text: rfc-editor.org. This is read from the text; nothing was executed.

Is Corvus Query Languages safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Corvus Query Languages use?

Corvus Query Languages is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Corvus Query Languages use?

About 2.1k tokens (SKILL.md is roughly 8.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Corvus Query Languages?

Skills that share tags, products or a category with Corvus Query Languages: Design Import (yonatangross/orchestkit, 289 stars), Core PR Helper (calimero-network/core, 171 stars), Veomni Patchgen Model (ByteDance-Seed/VeOmni, 2.2k stars) and Exp Test Maintainability (dotnet/skills, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Corvus Query Languages?

corvus-dotnet (a GitHub organization) maintains it in corvus-dotnet/Corvus.JsonSchema, which has 199 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 8, 2026.

Source: corvus-dotnet/Corvus.JsonSchema on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.