sruja copilot-instructions.md

sruja copilot-instructions.md is an instructions file for GitHub Copilot from sruja-ai/sruja. It costs 86 tokens per session, scanned A, original, Apache-2.0.

A set of instructions for GitHub Copilot tailored to a software workspace made of 15 Rust crates and one database. It describes the project's architectural layers and a check to run before committing code.

In plain words
What is it for?
Use it when asking Copilot to write or modify code, especially before committing, when the project's layer boundaries should be checked.
Why use it?
It gives an AI coding assistant the project's structure and rules, reducing the chance that generated changes break the architecture.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

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.

agentmods
npx agentmods add instructions/sruja-ai/sruja/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/sruja-ai/sruja

Made for: GitHub Copilot.

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 copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sruja-ai/sruja/copilot-instructions.svg)](https://agentmods.dev/instructions/sruja-ai/sruja/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/sruja-ai/sruja/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/sruja-ai/sruja/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 86 This file is loaded in full into every session.
When invoked 86 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.00086 $0.00086
Opus 5 $0.00043 $0.00043
Sonnet 5 $0.00017 $0.00017
Haiku 4.5 $0.00009 $0.00009

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

Security

Grade A, and why

sruja copilot-instructions.md 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 6d 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.

.github/copilot-instructions.md · 14 lines

What it actually says

Architecture Context for GitHub Copilot

Generated by sruja ai-context -r . -f copilot-instructions

Summary

This workspace has 15 crates, 1 databases.

Key Rules

  1. Respect layers: Layers found: Core Engine, Extraction, Delivery, Secondary

Before Committing

Run: sruja drift -r . to check for architectural violations.

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. 6d ago First seen · 14 lines · 86 tokens per session scan A 6f33d97b5dc6

Subscribe to this mod's changes

sruja copilot-instructions.md is an instructions file published in the GitHub repository sruja-ai/sruja (23 stars, last pushed 5d ago), licensed Apache-2.0. It adds 86 tokens to every session, about $0.0004 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.

Related

Other instructions, from other repositories

azure-sdk-for-rust pwsh.instructions.md

Instructions for Azure/azure-sdk-for-rust, covering powershell script instructions, path handling, command invocation, output grouping and console output.

Azure/azure-sdk-for-rust · 864 tokens

azure-sdk-for-rust resourcemanager.instructions.md

Instructions for Azure/azure-sdk-for-rust, a project described as: This repository is for the active development of the Azure SDK for Rust. For consumers of the SDK we recommend visiting Docs.rs and looking up the docs for any of libraries in the SDK.

Azure/azure-sdk-for-rust · 400 tokens

azure-sdk-for-rust github-pullrequest.instructions.md

Instructions for Azure/azure-sdk-for-rust, covering instructions for github pull requests and code requirements.

Azure/azure-sdk-for-rust · 287 tokens

azure-sdk-for-rust AGENTS.md

AGENTS.md instructions for Azure/azure-sdk-for-rust, covering agents.md, repository overview, repository structure, agent capabilities and recommended actions.

Azure/azure-sdk-for-rust · 3,723 tokens

azure-sdk-for-rust cosmos.instructions.md

Instructions for Azure/azure-sdk-for-rust, a project described as: This repository is for the active development of the Azure SDK for Rust. For consumers of the SDK we recommend visiting Docs.rs and looking up the docs for any of libraries in the SDK.

Azure/azure-sdk-for-rust · 121 tokens

rust-agentic-skills AGENTS.md

AGENTS.md instructions for udapy/rust-agentic-skills, covering rust guild system instructions, 1. prime directive: rpi loop, phase 1: research, phase 2: plan and phase 3: implement.

udapy/rust-agentic-skills · 487 tokens