sruja-project

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

Step-by-step development guidance for the Sruja codebase, a Rust workspace with a TypeScript extension and several related packages.

In plain words
What is it for?
Use it to add Rust packages, add command-line commands, update dependencies, modify the extension, and run the project's required validation commands.
Why use it?
It explains where new components belong and which build, test, lint, and command-registration steps are required, reducing errors when extending the project.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./target/release/sruja my-command --help.

Good fit Use it to add Rust packages, add command-line commands, update dependencies, modify the extension, and run the project's required validation commands.

Compare 6 skills from other repositories ↓
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/sruja-ai/sruja
agentmods
npx agentmods add skills/sruja-ai/sruja/project

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-project

README.md
[![agentmods](https://agentmods.dev/badge/skills/sruja-ai/sruja/project.svg)](https://agentmods.dev/skills/sruja-ai/sruja/project)
Your own site
<a href="https://agentmods.dev/skills/sruja-ai/sruja/project"><img src="https://agentmods.dev/badge/skills/sruja-ai/sruja/project.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,327 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 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.00034 $0.01327
Opus 5 $0.00017 $0.00664
Sonnet 5 $0.00007 $0.00265
Haiku 4.5 $0.00003 $0.00133

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

Security

Grade A, and why

sruja-project 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 7d 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.

.sruja/skills/project/SKILL.md · 185 lines

How it starts

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

Sruja Project Skill

Procedural workflows for working with the Sruja architecture-as-code platform.

Project Overview

  • Type: Rust workspace with 14 crates
  • Primary language: Rust (core), TypeScript (extension)
  • Architecture: Layered monolith with clear tier boundaries

Workflows

Adding a New Crate

  1. Identify the tier for your crate:

    • Core Engine (sruja-diagnostics, sruja-language, sruja-engine, sruja-export, sruja-scan, sruja-graph-core)
    • Extraction (sruja-graph, sruja-extract)
    • Delivery (sruja-cli, sruja-wasm)
    • Secondary (sruja-diff, sruja-intent, sruja-agent, sruja-memory)
  2. Add to workspace in root Cargo.toml:

    [workspace]
    members = ["crates/sruja-new-crate"]
    
  3. Add dependencies in crates/sruja-new-crate/Cargo.toml

  4. Update CLI if exposing new commands:

    • Add command definition in src/cli/commands.rs
    • Add handler in src/cli/run.rs
    • Add to src/commands/mod.rs
  5. Validate:

    cargo build --release
    cargo test -p sruja-new-crate
    cargo clippy -- -D warnings
    

Adding a New CLI Command

  1. Define the command in src/cli/commands.rs:

    #[command(name = "my-command")]
    MyCommand {
        #[arg(long = "repo", short = 'r', default_value = ".")]
        repo: String,
    },
    
  2. Add handler in src/cli/run.rs:

    Commands::MyCommand { repo } => {
        commands::my_module::my_command(&repo)
    }
    
  3. Implement the command in src/commands/my_module.rs

  4. Export in src/commands/mod.rs:

    pub use my_module::my_command;
    
  5. Test:

    cargo test -p sruja-cli
    ./target/release/sruja my-command --help
    

Validating Architecture Changes

  1. After any .sruja file change:

    sruja lint repo.sruja
    
  2. Check for drift:

    sruja sync -r .
    sruja drift -r .
    
  3. Verify no layer violations:

    sruja classify -r .
    sruja drift -r . -a repo.sruja
    

Read the full file on GitHub · 185 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 185 lines · 34 tokens per session scan A c63b992e056f

Subscribe to this mod's changes

sruja-project is a skill published in the GitHub repository sruja-ai/sruja (23 stars, last pushed 7d ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,327 once invoked, about $0.0002 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.