sruja-harness

sruja-harness is a skill for Claude Code, Codex from sruja-ai/sruja. It costs 58 tokens per session (628 once invoked), scanned A, original, Apache-2.0.

A verification checklist and command-line tool for checking work produced by other AI coding add-ons before it is marked complete.

In plain words
What is it for?
Use it after coding, bug fixing, refactoring, or reviewing changes. It runs checks for code quality, tests, unintended drift, and alignment with the task.
Why use it?
It helps catch failed tests, style problems, unintended changes, and mismatches with the requested task. When checks fail, it records what should be corrected before trying again.

Skill for Claude CodeCodex

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

Good fit Use it after coding, bug fixing, refactoring, or reviewing changes. It runs checks for code quality, tests, unintended drift, and alignment with the task.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sruja-ai/sruja/sruja-harness
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sruja-ai/sruja --skill sruja-harness
Clone the repo
git clone --depth 1 https://github.com/sruja-ai/sruja

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 sruja-harness

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sruja-ai/sruja/sruja-harness"><img src="https://agentmods.dev/badge/skills/sruja-ai/sruja/sruja-harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 628 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 18
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 19
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00058 $0.00628
Opus 5 $0.00029 $0.00314
Sonnet 5 $0.00012 $0.00126
Haiku 4.5 $0.00006 $0.00063

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

Security

Grade A, and why

sruja-harness 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 11d 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.

skills/sruja-harness/SKILL.md · 70 lines

What it actually says

Sruja Harness Skill

Universal verification adapter — works with any coding, bugfix, or review skill.

Quick Start

  1. Install alongside other skills:

    npx skills add https://github.com/sruja-ai/sruja --skill sruja-harness
    npx skills add https://github.com/sruja-ai/sruja --skill sruja-architecture
    
  2. Use with any skill: This skill does not generate code. It verifies output from other skills.

  3. Before marking a task done:

    sruja verify-task --profile coding -r .
    
  4. On verify failure:

    sruja agent record -r . \
      -c "<task context>" \
      -H "<what was tried>" \
      -o failed \
      -g "<correction for next time>"
    

Rules

  • Always verify before done — Run sruja verify-task with the appropriate profile before declaring a task complete.
  • Profile selection:
    • coding — New features, refactors (default)
    • bugfix — Bug fixes (use --file to target the bug location)
    • review — Pre-merge review of changes
    • arch — Architecture/DSL changes
  • On failure: Record a correction learning before retrying.
  • On success: Optionally record an affirmation learning ("what worked").

Integration with Other Skills

Coding Skill (e.g. /build) → sruja-harness verify → record_learning → done

This skill does not replace coding skills — it ensures their output passes Sruja's architecture gates.

Profiles

Profile Verifies
coding lint repo.sruja + just check (or make check) + drift
bugfix focus --file + just check (or make check) + intent check
review review -f json + intent check + drift
arch lint repo.sruja + drift + intent check + review

References

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. 11d ago First seen · 70 lines · 58 tokens per session scan A f69820df717b

Subscribe to this mod's changes

sruja-harness is a skill published in the GitHub repository sruja-ai/sruja (24 stars, last pushed 4d ago), licensed Apache-2.0. It adds 58 tokens to every session and 628 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.