agent-rules

agent-rules is a skill for Claude Code from netresearch/agent-rules-skill. It costs 63 tokens per session (1,312 once invoked), scanned A, original, no licence file.

A skill for creating and updating files that guide coding agents, including AGENTS.md and .github/copilot-instructions.md. It also helps document project conventions for agent onboarding.

In plain words
What is it for?
Use it to onboard agents to a codebase, standardise agent instructions, update rule files, or document how an agent should work.
Why use it?
It reduces repeated explanations by putting a project’s instructions and working rules where coding agents can read them.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the agent-rules plugin — 1 skill shipped together

Good fit Use it to onboard agents to a codebase, standardise agent instructions, update rule files, or document how an agent should work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/netresearch/agent-rules-skill/agent-rules
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 netresearch/agent-rules-skill --skill agent-rules
Clone the repo
git clone --depth 1 https://github.com/netresearch/agent-rules-skill

Made for: Claude Code.

Or install agent-rules, the plugin that ships this one along with the rest of its 1 skill.

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 agent-rules

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/netresearch/agent-rules-skill/agent-rules"><img src="https://agentmods.dev/badge/skills/netresearch/agent-rules-skill/agent-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,312 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
  • Socket pass 8 Oct 2026
  • Snyk pass 8 Oct 2026
How audits are shown
Origin unknown 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.00063 $0.01312
Opus 5.5 $0.00025 $0.00525
Sonnet 5.5 $0.00013 $0.00262
Haiku 4.5 $0.00006 $0.00131

Measured 4d ago against content hash 00303bcca169, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-rules 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 4d ago.

The scan reads SKILL.md. This mod also ships 12 executable files (references/examples/express-api-ts/src/config.ts, references/examples/express-api-ts/src/controllers/userController.ts, references/examples/express-api-ts/src/index.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/agent-rules/SKILL.md · 94 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

60 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. 4d ago Changed 00303bcca169
  2. 21d ago Changed f410bec834db
  3. 26d ago Changed · +1 lines 4f29d22a0bce
  4. 27d ago Changed · +2 lines eb8431a1cf0a
  5. 1mo ago Changed de227d25e5cf
  6. 1mo ago Changed e7d41638fc7d
  7. 1mo ago Changed 64807a4dbd39
  8. 1mo ago First seen · 91 lines · 63 tokens per session scan A 66be08e72853

Subscribe to this mod's changes

agent-rules is a skill published in the GitHub repository netresearch/agent-rules-skill (88 stars, last pushed yesterday), with no licence file. It adds 63 tokens to every session and 1,312 once invoked, about $0.0003 per session on Opus 5.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 skills, from other repositories

typo3-docs

Use when TYPO3 extension documentation has to render on docs.typo3.org, which builds a manual from Documentation/guides.xml and reads no Settings.cfg (a single README.rst serves an extension too small for one): when an extension has no documentation yet, or when creating, editing or reviewing Documentation/.rst…

netresearch/typo3-docs-skill · 108 tokens

skill-creator

A guide for creating or improving an agent skill: a SKILL.md file that gives an AI a repeatable workflow for a specific task. It covers the skill’s name, search keywords, instructions, failure handling, and examples where needed.

zhinjs/zhin · 61 tokens

llm-wiki

Maintain a personal team knowledge base using the LLM Wiki pattern — incremental ingest, query, and lint operations on a layered wiki architecture.

TheSmuks/ai-project-template · 31 tokens

task-prd-creator

Use when the user says I want to add X, implement Y, create a task for Z, or plan this feature. Writes a task file plus a PRD under .agent/, links them, and waits for approval before any implementation starts.

coco-research/coco · 55 tokens

ask-zilliz

Zilliz Cloud onboarding and usage assistant. Helps users understand Zilliz Cloud, choose the right plan, estimate costs, write code, debug issues, and adopt new features like Functions, Volumes, and Global Clusters. Use this skill whenever the user asks about Zilliz Cloud — including plan selection, pricing, cost…

zilliztech/zilliz-plugin · 236 tokens

acl

Use when the user wants to manage Zilliz Cloud access control -- custom org or project roles and their policies, granting or revoking a role for an organization member, or binding roles to a SCIM user group. This is cloud-level RBAC over organizations, projects, and clusters -- for database users and privileges inside…

zilliztech/zilliz-plugin · 74 tokens