ai-agents universal.instructions.md

ai-agents universal.instructions.md is an instructions file for GitHub Copilot from rjmurillo/ai-agents. It costs 2,189 tokens per session, scanned C, original, MIT.

A set of repository-wide rules for software changes. It covers branches, pull requests, issue links, verification, and claims about test results.

In plain words
What is it for?
It guides branch creation, issue-linked pull requests, review of closing keywords, and reporting of failed or unverified checks.
Why use it?
It reduces mistakes such as changing the main branch directly, making unsupported claims, or merging without required checks.

Instructions file for GitHub Copilot

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/rjmurillo/ai-agents/universal
Clone the repo
git clone --depth 1 https://github.com/rjmurillo/ai-agents

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 ai-agents universal.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rjmurillo/ai-agents/universal.svg)](https://agentmods.dev/instructions/rjmurillo/ai-agents/universal)
Your own site
<a href="https://agentmods.dev/instructions/rjmurillo/ai-agents/universal"><img src="https://agentmods.dev/badge/instructions/rjmurillo/ai-agents/universal.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,189 This file is loaded in full into every session.
When invoked 2,189 The same file — it is already loaded in full.
Security scan C 1 finding. 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 $0.02189 $0.02189
Opus 5 $0.01094 $0.01094
Sonnet 5 $0.00438 $0.00438
Haiku 4.5 $0.00219 $0.00219

Measured yesterday against content hash 6990cf6c1bfa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

ai-agents universal.instructions.md scanned grade C 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 yesterday.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

prohibition on `rm -rf` that does not exist, and
.github/instructions/universal.instructions.md · 119 lines

How it starts

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

Universal Rules

These rules apply to every change in this repository.

MUST

  1. Branch discipline. MUST NOT push or commit directly to main or master. Create a feature branch first.
  2. Issue linkage. Every PR MUST reference an issue with Fixes #<n> or Refs #<n> in the description.
  3. Verify closing keywords against the diff before merging. Fixes #<n> closes on merge; tie each claim to a named hunk. Downgrade unsupported claims to Refs #<n> with reason. Missing closing keywords are not automatically defects. Agent-authored PR bodies SHOULD use These references do not close their linked items: for bare Refs. Read the body before adding a closing keyword to another author's PR. Post-merge body edits are inert; close orphaned issues with a comment citing the merge commit. Evidence: on 2026-08-03, 15 claimed closing keywords across five PRs were unsupported, and four of seven keyword-free PRs repaired from title matches explicitly should not close the issue.
  4. Verify a red remote check with equivalent evidence, or report it unreproduced. MUST NOT claim a red remote check is cleared by a local run unless the checker, ruleset, flags, and version are demonstrably identical. State the command and why it is the same check; if you cannot, say the check is red and you could not reproduce it. A different tool produces evidence about a different check, and calling that "resolved" tells the reader to disregard a live finding.
  5. Conventional commits. Commit messages MUST follow <type>(<scope>): <desc> and include a Co-Authored-By: trailer when authored with an AI agent.
  6. Atomic commits. Each commit MUST touch five or fewer authored files (see AGENTS.md boundaries). Hook-generated companions (session episodes, MCP config, agent catalog, memory index) are exempt and do not count toward the limit.
  7. No secrets. MUST NOT commit credentials, tokens, or API keys. Secrets live in environment variables or the secrets manager.
  8. Pin Actions to SHA. New GitHub Actions references MUST pin to a commit SHA, never a floating tag.
  9. Session continuity. Long-running issue work MUST preserve continuity in the per-issue handoff and Serena memory. Session log creation is discontinued; a log that is already staged still validates.
  10. Git identity cannot prove a human acted.

Read the full file on GitHub · 119 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. yesterday First seen · 119 lines · 2,189 tokens per session scan C 6990cf6c1bfa

Subscribe to this mod's changes

ai-agents universal.instructions.md is an instructions file published in the GitHub repository rjmurillo/ai-agents (45 stars, last pushed yesterday), licensed MIT. It adds 2,189 tokens to every session, about $0.0109 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.