ReignsAgent: Skill for Claude Code

.agent/skills/trellis-check/SKILL.md

trellis-check is a skill for Claude Code, Codex from Sisyphe42/ReignsAgent. It costs 54 tokens per session (648 once invoked), scanned A, a copy of trellis-check, MIT.

A comprehensive check for recently changed code, covering requirements, formatting, types, tests, data flow, reuse, and consistency.

In plain words
What is it for?
Use it to inspect changes, read applicable project specifications, run linting and tests, and verify implementation quality against the task.
Why use it?
It helps find defects and mismatches before code is committed or handed over.

Skill for Claude CodeCodex

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

This is Sisyphe42/ReignsAgent's own configuration. It tells Claude Code and Codex how to work on ReignsAgent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ReignsAgent configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python ./.trellis/scripts/get_context.py --mode packages.

Reuse

Borrowing it

Nothing to install: this file belongs to Sisyphe42/ReignsAgent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Sisyphe42/ReignsAgent/master/.agent/skills/trellis-check/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Sisyphe42/ReignsAgent

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 trellis-check

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sisyphe42/reignsagent/trellis-check"><img src="https://agentmods.dev/badge/skills/sisyphe42/reignsagent/trellis-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 648 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 100% copy Near-identical to another mod 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.00054 $0.00648
Opus 5 $0.00027 $0.00324
Sonnet 5 $0.00011 $0.00130
Haiku 4.5 $0.00005 $0.00065

Measured 10d ago against content hash 2be18b6665b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

trellis-check 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 10d 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.

Origin

This is a copy

100% identical to trellis-check — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agent/skills/trellis-check/SKILL.md · 99 lines

How it starts

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

Code Quality Check

Comprehensive quality verification for recently written code. Combines spec compliance, cross-layer safety, and pre-commit checks.


Step 1: Identify What Changed

git diff --name-only HEAD
git status

Step 2: Read Task Artifacts and Applicable Specs

Read the current task artifacts in order:

  • prd.md
  • design.md if present
  • implement.md if present
python ./.trellis/scripts/get_context.py --mode packages

For each changed package/layer, read the spec index and follow its Quality Check section:

cat .trellis/spec/<package>/<layer>/index.md

Read the specific guideline files referenced — the index is a pointer, not the goal.

Step 3: Run Project Checks

Run the project's lint, type-check, and test commands. Fix any failures before proceeding.

Step 4: Review Against Checklist

Code Quality

  • Linter passes?
  • Type checker passes (if applicable)?
  • Tests pass?
  • No debug logging left in?
  • No suppressed warnings or type-safety bypasses?

Test Coverage

  • New function → unit test added?
  • Bug fix → regression test added?
  • Changed behavior → existing tests updated?

Spec Sync

  • Does .trellis/spec/ need updates? (new patterns, conventions, lessons learned)

"If I fixed a bug or discovered something non-obvious, should I document it so future me won't hit the same issue?" → If YES, update the relevant spec doc.

Step 5: Cross-Layer Dimensions (if applicable)

Skip this step if your change is confined to a single layer.

A. Data Flow (changes touch 3+ layers)

  • Read flow traces correctly: Storage → Service → API → UI
  • Write flow traces correctly: UI → API → Service → Storage
  • Types/schemas correctly passed between layers?
  • Errors properly propagated to caller?

B. Code Reuse (modifying constants, creating utilities)

  • Searched for existing similar code before creating new?
    grep -r "pattern" src/
    
  • If 2+ places define same value → extracted to shared constant?
  • After batch modification, all occurrences updated?

Read the full file on GitHub · 99 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. 10d ago First seen · 99 lines · 54 tokens per session scan A 2be18b6665b4

Subscribe to this mod's changes

trellis-check is a skill published in the GitHub repository Sisyphe42/ReignsAgent (299 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 648 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to trellis-check, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

refactor-engineer

Use when the user requests a behavior-preserving code refactor, cleanup, extraction, consolidation, or architectural simplification. Map all references and contracts before editing, keep the change scoped, and prove behavior with focused tests and type checks.

lfyxhappy/lfcode · 52 tokens

adversarial-reviewer

Adversarial code review that assumes bugs exist and hunts for them. Use when asked to review code, find bugs, audit for correctness, stress-test a PR, or when someone says "tear this apart" or "what's wrong with this". Give no benefit of the doubt — every line is guilty until proven innocent.

emdash-cms/emdash · 71 tokens

go-testing

Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.

Gentleman-Programming/gentle-ai · 26 tokens

semgrep-rule-variant-creator

Creates language variants of existing Semgrep rules. Use when porting a Semgrep rule to specified target languages. Takes an existing rule and target languages as input, produces independent rule+test directories for each language.

waybarrios/opencode-power-pack · 50 tokens

brooks-sweep

Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user…

hyhmrright/brooks-lint · 178 tokens

include-test-files-that-assert-on-behavior-being-changed-in-decl

When delegating a task affected by this skill, include.

ZaxbyHub/opencode-swarm · 29 tokens