jsonlogic-skill
JsonLogic skill for AI coding agents: generate, validate, run and debug JsonLogic rules. Claude Code, Cursor, Copilot, Codex, Gemini CLI. JSON logic playground, editor, validator, tester and evaluator: turn business rules into JSON.
Install / Use
npx skills add valeryia-piatrova/jsonlogic-skillInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of jsonlogic-skill
jsonlogic-skill scores 79/100 on our quality scale, 3660th of 4,706 Development & Engineering skills we index.
Its SKILL.md is 4.6 KB long, split into 7 sections with 4 code examples: a solid amount of guidance for an agent.
It has 14 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 35 days ago, so jsonlogic-skill is actively maintained.
- Our last check on 2026-11-11 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-10. Automated pattern scan on 2026-10-10. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
jsonlogic-skill compared with similar skills
All 4 of these similar skills score higher than jsonlogic-skill; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| jsonlogic-skill (this skill)by valeryia-piatrova | 79 | 14 | 35d ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 121.0k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 114.5k | today | CLAUDE.md |
| hyperframesby heygen-com | 100 | 89.4k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.4k | today | CLAUDE.md |
Frequently asked questions
- How do I install jsonlogic-skill?
- Run
npx skills add valeryia-piatrova/jsonlogic-skill. The install tabs above show the steps for each supported agent. - Which AI agents does jsonlogic-skill work with?
- It is written for Claude Code, Gemini CLI, Cursor, GitHub Copilot and OpenAI Codex, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is jsonlogic-skill safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is jsonlogic-skill still maintained?
- The repository was last updated 35 days ago, so jsonlogic-skill is actively maintained.
Skill content
View source on GitHubJsonLogic Skill
An agent skill that teaches AI coding assistants to work with JsonLogic business rules: turn a plain-language requirement into a valid JsonLogic rule, run it, validate it, explain it, or debug it.
Works with Claude Code, Cursor, GitHub Copilot, VS Code, Codex, and Gemini CLI. Install it once and your AI assistant picks it up automatically whenever JsonLogic comes up, in any project.

Install
Claude Code:
git clone https://github.com/valeryia-piatrova/jsonlogic-skill.git ~/.claude/skills/jsonlogic
Restart Claude Code to pick it up.
Every install path differs by client: each badge below jumps to that client's exact command in docs/installing.md:
What It Does
Your AI assistant uses this JsonLogic skill automatically when JsonLogic comes up.
- Turn a plain-language business requirement into a valid JsonLogic rule
- Run a JsonLogic rule against your data
- Validate whether a JsonLogic rule is well-formed
- Explain what an existing JsonLogic rule does
- Debug a JsonLogic rule that returns the wrong result
Usage
No data shape given:
Give a 20% discount on orders over $200, or 10% over $100, otherwise no discount
Approve a claim only if the policy is active and the incident happened after the policy start date, but route it to manual review instead if the policyholder already has 2+ claims this year, or if the amount is over the coverage limit
Let a user edit a document if they are the owner or an admin, but only while the document is not locked for review
Flag a transaction as suspicious if it is over $5,000 and happens outside business hours, unless the account has 90+ days of history and no prior flags, in which case just log it instead of blocking
Data shape given (field names come from it, not a guess):
Approve a claim, but route it to manual review instead of auto-approving if the policyholder already has 2+ claims this year or the amount is over the limit.
Explain what this JsonLogic rule does:
{
"some": [
{ "var": "items" },
{ ">": [{ "var": "price" }, 500] }
]
}
Run this JsonLogic rule in Ruby:
{
">=": [{ "var": "age" }, 18]
}
Why does this rule return
falsewhen I expecttrue?
{
"rule": { "and": [
{ ">": [{ "var": "total" }, 100] },
{ "==": [{ "var": "vip" }, true] }
]},
"data": { "total": 150, "vip": "true" }
}
Uses operators from the real JsonLogic standard. Checks whether the standard and your language's library actually support the logic you need, and says so plainly if they don't.
FAQ
What is the JsonLogic skill?
An open-source agent skill (MIT licensed) that gives AI coding assistants reliable JsonLogic abilities: writing, running, validating, explaining, and debugging JsonLogic business rules.
Which AI assistants does it work with?
Claude Code, Cursor, GitHub Copilot, VS Code (agent mode), Codex, and Gemini CLI, plus any other client that supports the open Agent Skills format from agentskills.io.
What is JsonLogic?
JsonLogic is a JSON-based format for portable business rules and conditional logic. One rule runs across JavaScript, Python, Ruby, PHP, Java, and more.
How is this different from asking ChatGPT or Claude to write JsonLogic directly?
The skill encodes the real JsonLogic standard, per-language operator support, and a validate-before-you-answer workflow, so you get rules that actually run instead of plausible-looking guesses.
Do I need to install anything else?
No. The skill is a folder of Markdown plus small scripts. Clone it into your client's skills directory and restart the client.
Is it free?
Yes. MIT license, free for personal and commercial use.
Learn More
- jsonlogic.com: the standard this skill implements
SKILL.md: full workflow and reasoning
License
MIT, see LICENSE.
Related Skills
taste-skill
121.0kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
114.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
89.4kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.4k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
