scoring-checks

scoring-checks is a skill for Claude Code, Codex from caliber-ai-org/ai-setup. It costs 95 tokens per session (3,051 once invoked), scanned A, original, MIT.

A guide for adding a deterministic scoring check to an AI-agent configuration project. The check examines files, awards points from shared constants, and reports whether a specific quality condition passes.

In plain words
What is it for?
Use it when creating or changing a filesystem-based scoring check, defining its result and fix guidance, or registering it for selected targets.
Why use it?
It keeps new checks predictable, consistently structured, and connected to the project's overall score.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions Claude Code; installed under .agents/ (shared by several agents).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import type { Check } from '../index.js';.

Good fit Use it when creating or changing a filesystem-based scoring check, defining its result and fix guidance, or registering it for selected targets.

Compare 6 skills from other repositories ↓
About the project

Caliber is a tool that generates and continuously updates AI context and configuration files for software repositories, including CLAUDE.md, AGENTS.md, and platform-specific rules. Development teams use it to keep coding agents aligned with the current codebase across tools such as Claude Code, Cursor, Codex, OpenCode, and GitHub Copilot. Its catalogue entries include skills, hooks, rules, instructions, and settings for configuring that workflow.

caliber-ai-org/ai-setup · 1,263 stars · on GitHub · trycaliber.ai

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/caliber-ai-org/ai-setup
agentmods
npx agentmods add skills/caliber-ai-org/ai-setup/scoring-checks

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 scoring-checks

README.md
[![agentmods](https://agentmods.dev/badge/skills/caliber-ai-org/ai-setup/scoring-checks.svg)](https://agentmods.dev/skills/caliber-ai-org/ai-setup/scoring-checks)
Your own site
<a href="https://agentmods.dev/skills/caliber-ai-org/ai-setup/scoring-checks"><img src="https://agentmods.dev/badge/skills/caliber-ai-org/ai-setup/scoring-checks.svg" alt="Measured on agentmods" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,051 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00095 $0.03051
Opus 5 $0.00048 $0.01525
Sonnet 5 $0.00019 $0.00610
Haiku 4.5 $0.00010 $0.00305

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

Security

Grade A, and why

scoring-checks scanned grade A with 1 finding 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 8d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

**Fix**: Scoring MUST be deterministic and offline. Use only: `fs` module (readFileSync, existsSync, readdirSync), `path`, `execSync` for git commands. No HTTP, no LLM calls, no external services.
.agents/skills/scoring-checks/SKILL.md · 280 lines

How it starts

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

Adding a Scoring Check

Add a new deterministic check that evaluates a single aspect of AI agent config quality. All checks must be filesystem-based with no network calls or LLM inference.

Critical

  • Check must be deterministic: Same filesystem state → same result every time. No randomness, no external APIs.
  • Point values come from constants.ts: Every earnedPoints and maxPoints must reference POINTS_* from src/scoring/constants.ts. Do NOT hardcode numbers.
  • Always return Check[] array: Export a function check<Category>(dir: string): Check[] where category is one of: existence, quality, grounding, accuracy, freshness, bonus.
  • Every check must have: id (kebab-case, unique), name, category, maxPoints, earnedPoints, passed, detail, and optional suggestion/fix.
  • Fix object fields: action (string describing what to do), data (context for the fix), instruction (user-facing guidance).
  • Register in src/scoring/index.ts: Add the import and spread the result into the allChecks array in computeLocalScore().
  • Target filtering: If the check is platform-specific (Claude-only, Cursor-only, etc.), add its ID to the appropriate *_ONLY_CHECKS set in constants.ts.

Instructions

Step 1: Define point constants in src/scoring/constants.ts

Verify before proceeding: Is your check measurable with a numeric point value?

Add constants below the appropriate category section (existence, quality, grounding, accuracy, freshness, bonus):

// In the appropriate CATEGORY section, e.g., Quality checks (25 pts):
export const POINTS_YOUR_CHECK_NAME = 4; // 1-12 pts typical

// If threshold-based, add a companion array:
export const YOUR_THRESHOLD_ARRAY = [
  { minValue: 10, points: 4 },
  { minValue: 5, points: 2 },
] as const;

Check existing patterns: Token budgets use TOKEN_BUDGET_THRESHOLDS, code blocks use CODE_BLOCK_THRESHOLDS, concreteness uses CONCRETENESS_THRESHOLDS.

Read the full file on GitHub · 280 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. 8d ago First seen · 280 lines · 95 tokens per session scan A 2fe1ead62a0e

Subscribe to this mod's changes

scoring-checks is a skill published in the GitHub repository caliber-ai-org/ai-setup (1,263 stars, last pushed 1mo ago), licensed MIT. It adds 95 tokens to every session and 3,051 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.