Agent skill

Check Against Rules

by stella in stella/stella

Reviews a non-disclosure agreement against the firm's NDA checklist and reports findings with citations.

Apache-2.0Auto-check passedLegal & Compliance

Install Check Against Rules

skills CLI
$ npx skills add stella/stella --skill check-against-rules -a claude-code

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

GitHub CLI
$ gh skill install stella/stella check-against-rules --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/stella/stella.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/skills/blueprints/check-against-rules .claude/skills/check-against-rules && 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
check-against-rules
GitHub stars
258
Token cost
~856 tokens
SKILL.md length
298 words
Files
6 (incl. references)
Skills in repo
24
Repo updated
First seen
Licence
Apache-2.0

At a glance

Reviews a non-disclosure agreement against the firm's NDA checklist and reports findings with citations.

  • Works in 4 steps: Confirm the document is an NDA and… → Work through references/checklist.md top… → For borderline calls, consult… → …
  • The user attaches an NDA and asks to check
  • SKILL.md covers Input, Classification, What to flag and Output, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Check Against Rules is an agent skill from stella/stella. Reviews a non-disclosure agreement against the firm's NDA checklist and reports findings with citations. Use when the user attaches an NDA and asks to check or review it.

Its SKILL.md is about 860 tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including reference files (for example `prompts/review.prompt.md`, `references/case-law/guide.md` and `references/checklist.md`).

It sits in Legal & Compliance, covering Contract review. The repository describes itself as: Open-source legal workspace. The licence is Apache-2.0.

When your agent uses it

  • The user attaches an NDA and asks to check
  • Tasks that involve Contract review

Example prompts

  • “Use the check-against-rules skill to review a non-disclosure agreement against the firm's NDA checklist and reports findings with citations”
  • “/check-against-rules”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Confirm the document is an NDA and classify it (mutual or one-way).
  2. Work through references/checklist.md top to bottom.
  3. For borderline calls, consult references/guidelines/ and references/case-law/.
  4. Produce the report in the Output format, then the short summary.

What it can do on your machine

Read from SKILL.md and the folder at commit b225fd8. 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

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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

Check Against Rules loads about 856 tokens when it runs, and up to ~1.6k if it reads all its reference files. Until then it costs about 48 tokens; SKILL.md has 298 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~48
When it runs · the whole SKILL.md, loaded when a task matches
~856
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.6k

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 stella/stella at commit b225fd8, republished under its Apache-2.0 licence (© stella). 298 words, ~856 tokens.

Download SKILL.mdSave it as .claude/skills/check-against-rules/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
check-against-rules
description
Reviews a non-disclosure agreement against the firm's NDA checklist and reports findings with citations. Use when the user attaches an NDA and asks to check or review it.
<!-- guide: This skill ships as a worked example — an NDA review. Keep the shape, swap the content: rename it, point the description at YOUR document type (the description is the TRIGGER the assistant uses to decide when to run the skill), and replace the checklist with your rules. -->

What this skill does

Reviews a non-disclosure agreement clause by clause against references/checklist.md and reports every failed check, citing the rule and the clause that breaks it.

<!-- guide: One sentence, one job. If you need the word "and" to describe yours, consider splitting it into two skills. -->

Input

An NDA attached by the user. If the document is not an NDA, say so and stop. If the governing law is not stated in the document, ask for it before judging the jurisdiction-dependent checks.

Classification

If the NDA is…Then…
mutual (both parties disclose)apply every check
one-way, client disclosesskip C5 — one-way in the client's favour is fine
one-way, client receivesC5 fails unless the imbalance is justified
<!-- guide: Many checks depend on WHAT KIND of input it is. Keep a small decision table that routes to the rules that apply; delete it if your check is uniform. -->

What to flag

The rule set lives in references/checklist.md — one row per check, each with the concrete threshold that turns it into a finding. Only report what a checklist row supports; never flag from memory.

Output

One table, one row per check:

CodeCheckStatusWhereNote

Status is ok, fail, or n/a. "Where" cites the clause or section of the reviewed document. After the table, summarise the failed checks in two or three sentences, worst first.

<!-- guide: Define the EXACT report shape so every run looks identical — name the columns. -->
Show full SKILL.md (159 more words)Show less

Output rules

  • Cite the checklist code and the document clause for every finding.
  • Report what the document says; whether to sign it is the lawyer's call, not the report's.
  • If the document is incomplete or illegible, list what is missing instead of guessing.
<!-- guide: Add your non-negotiables: answer in one language, confidentiality notes, what to do with material from disclosure… -->

Reference index

  • references/checklist.md — the NDA checklist, one row per check (C1–C8)
  • references/jurisdiction/ — statute extracts the checks rely on, one file per act, split by jurisdiction
  • references/guidelines/ — regulator and bar-association guidance for borderline calls
  • references/case-law/ — decisions, one entry per case
<!-- guide: Keep one line per file under references/ — this index is how the assistant decides which file to open. -->

Workflow

  1. Confirm the document is an NDA and classify it (mutual or one-way).
  2. Work through references/checklist.md top to bottom.
  3. For borderline calls, consult references/guidelines/ and references/case-law/.
  4. Produce the report in the Output format, then the short summary.

© stella, 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

SKILL.md and 5 other files (references) in packages/skills/blueprints/check-against-rules of stella/stella.

  • SKILL.md
  • prompts/review.prompt.md
  • references/case-law/guide.md
  • references/checklist.md
  • references/guidelines/guide.md
  • references/jurisdiction/guide.md

Open the folder on GitHubat commit b225fd8

Compare with similar skills

Check Against Rules 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.

Check Against Rules compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Check Against Rules this skillstella/stella258—~856Automated safety check: PassApache-2.0
Contract Reviewevolsb/claude-legal-skill4641 repos~3.6kAutomated safety check: PassMIT
Commercial Legal Plapiotrowski-afk/commercial-legal-pl1761 repos~4.1kAutomated safety check: PassApache-2.0
Hand Drawnthreerocks/hand-drawn-styles2.2k—~398Automated safety check: PassMIT
Tabular Document Reviewanthropics/claude-for-legal9.6k3 repos~4.3kAutomated safety check: PassApache-2.0
Tw Formal WritingImbad0202/tw-formal-writing179—~1kAutomated safety check: PassMIT

Similar skills

  • Contract Review

    evolsb/claude-legal-skill

    Review legal contracts, NDAs, employment agreements, SaaS terms, and M&A documents.

    464 GitHub starsUsed in 1 repo~3.6k tokens
    Legal & ComplianceAuto-check passed
  • Commercial Legal Pl

    apiotrowski-afk/commercial-legal-pl

    Skill do analizy i tworzenia umów według polskiego prawa, ze szczególnym uwzględnieniem umów B2B, IP i IT (body leasing, NDA, wdrożenia, SaaS, przeniesienie praw autorskich, ugody).

    176 GitHub starsUsed in 1 repo~4.1k tokens
    Legal & ComplianceAuto-check passed
  • Hand Drawn

    threerocks/hand-drawn-styles

    A skill your agent uses when users ask for a hand-drawn or illustrated image prompt, name one of the repository's 20 numbered styles or the 3.1 stable variant, or mention triggers such as…

    2.2k GitHub stars~398 tokensUpdated today
    Legal & ComplianceAuto-check passed
  • Tabular Document Review

    anthropics/claude-for-legal

    Official

    Builds a review grid with one row per document and one column per data point, each cell cited to a verbatim quote, built for M&A diligence and other batch reviews.

    9.6k GitHub starsUsed in 3 repos~4.3k tokens
    Legal & ComplianceAuto-check passed
  • Tw Formal Writing

    Imbad0202/tw-formal-writing

    台灣正式文件撰寫助手 — 涵蓋政府公文、政府機關其他文件、法律文件、人民對政府文書四類中文正式文件的撰寫(不含學術論文、商業文書、私人書信等,見下方排除清單)。

    179 GitHub stars~1k tokensUpdated 14 days ago
    Legal & ComplianceAuto-check passed
  • Contract Review Pro

    CSlawyer1985/contract-review-pro

    专业合同审核 Skill:7步工作流(含立场声明、框架审阅、类型路由)、5类通用门禁+16个专项门禁、终稿三件套+HTML可视化报告、8维度风险评分、修订5分类路由。完全自包含,零外部依赖。

    276 GitHub stars~2.3k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed

More from stella/stella

All 24 skills in this repo
  • Plan

    stella/stella

    Create a concise, evidence-backed implementation plan in the repository planning area when the user explicitly asks for a plan.

    258 GitHub stars~917 tokensUpdated today
    Auto-check passed
  • Answer From Sources

    stella/stella

    Answers data-protection (GDPR) questions grounded in the regulation and supervisory guidance, with a citation for every claim.

    258 GitHub stars~735 tokensUpdated today
    Auto-check passed
  • Intake To Draft

    stella/stella

    Collects the facts of an unpaid invoice, then drafts a payment demand letter.

    258 GitHub stars~537 tokensUpdated today
    Auto-check passed
  • Conventions Perf

    stella/stella

    Apply when a performance-guard check (network baseline, bundle baseline, DB query count, loader-prefetch lint, RC bailouts) fails or when touching a hot route/endpoint.

    258 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Apply when writing or reviewing React effects in apps/web. An agent skill from stella/stella.

    258 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Dev

    stella/stella

    Start, drive and measure the local stack. An agent skill from stella/stella.

    258 GitHub stars~1.4k tokensUpdated today
    Auto-check: notes

Questions about Check Against Rules

What does Check Against Rules do?

Reviews a non-disclosure agreement against the firm's NDA checklist and reports findings with citations. Check Against Rules is an agent skill from stella/stella. Reviews a non-disclosure agreement against the firm's NDA checklist and reports findings with citations.

When should I use Check Against Rules?

Check Against Rules fits situations like: the user attaches an NDA and asks to check; tasks that involve Contract review.

How do I install Check Against Rules in Claude Code?

Run `npx skills add stella/stella --skill check-against-rules -a claude-code`. Or copy the skill folder (packages/skills/blueprints/check-against-rules in stella/stella) into .claude/skills/check-against-rules in your project. Claude Code loads it when a task matches its description.

How do I install Check Against Rules in Codex?

Run `npx skills add stella/stella --skill check-against-rules -a codex`. Or copy the skill folder (packages/skills/blueprints/check-against-rules in stella/stella) into .agents/skills/check-against-rules in your project. Codex loads it when a task matches its description.

Can I use Check Against Rules 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 stella/stella --skill check-against-rules -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/check-against-rules, .gemini/skills/check-against-rules, .github/skills/check-against-rules and .opencode/skills/check-against-rules in your project.

What does Check Against Rules need to run?

SKILL.md names no scripts, command-line tools or credentials: Check Against Rules is instructions for the agent only.

Does Check Against Rules access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Check Against Rules 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 Check Against Rules use?

Check Against Rules 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 Check Against Rules use?

About 856 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 697 tokens, read only when the agent opens those files.

What are the alternatives to Check Against Rules?

Skills that share tags, products or a category with Check Against Rules: Contract Review (evolsb/claude-legal-skill, 464 stars), Commercial Legal Pl (apiotrowski-afk/commercial-legal-pl, 176 stars), Hand Drawn (threerocks/hand-drawn-styles, 2.2k stars) and Tabular Document Review (anthropics/claude-for-legal, 9.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Check Against Rules?

stella (a GitHub organization) maintains it in stella/stella, which has 258 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 9, 2026.

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