aif-rules

aif-rules is a skill for Claude Code from letuhao/lore-weave. It costs 62 tokens per session (2,263 once invoked), scanned A, original, AGPL-3.0.

A skill for adding project-specific rules and conventions to a RULES.md file, a document that records instructions for future agent work. Each use appends new rules to that file.

In plain words
What is it for?
Use it to record instructions such as coding conventions or rules that should always be followed by later implementation work.
Why use it?
It gives the implementation agent a persistent place to remember how the project should be handled. This reduces the need to repeat conventions in every request.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

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 skills/letuhao/lore-weave/aif-rules
Any agent
npx skills add letuhao/lore-weave --skill aif-rules
Clone the repo
git clone --depth 1 https://github.com/letuhao/lore-weave

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/letuhao/lore-weave/aif-rules.svg)](https://agentmods.dev/skills/letuhao/lore-weave/aif-rules)
Your own site
<a href="https://agentmods.dev/skills/letuhao/lore-weave/aif-rules"><img src="https://agentmods.dev/badge/skills/letuhao/lore-weave/aif-rules.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,263 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00062 $0.02263
Opus 5 $0.00031 $0.01131
Sonnet 5 $0.00012 $0.00453
Haiku 4.5 $0.00006 $0.00226

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

Security

Grade A, and why

aif-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 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.

.agents/skills/aif-rules/SKILL.md · 254 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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 · 254 lines · 62 tokens per session scan A 6384054960ec

Subscribe to this mod's changes

aif-rules is a skill published in the GitHub repository letuhao/lore-weave (23 stars, last pushed today), licensed AGPL-3.0. It adds 62 tokens to every session and 2,263 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.

Related

Other skills, from other repositories

design-npc

Use when the user wants to design an enemy, NPC, boss, companion, civilian, or wave-spawned mob's behavior. Walks perception, personality knobs, intent layer, action state machine, telegraphs, defeat handling, and group emergence — outputs a state-machine GDScript stub plus the recommended node tree. Trigger on…

SummerEngine/summer-engine-agent · 101 tokens

fps-controller

Use when building an FPS, first-person movement, or a 3D character that walks, jumps, and reacts to external forces — production-quality first-person controller with WASD, mouse look, jump, coyote time, jump buffering, air control, and external-velocity handling. Trigger on "FPS", "first-person", "WASD", "character…

SummerEngine/summer-engine-agent · 89 tokens

fire

Use when authoring a fire visual effect — animated flames built with a particle shader, GPUParticles3D, and a noise-based color ramp. Trigger on "torch", "campfire", "bonfire", "flame", "fire effect", "burning", "make this thing on fire", "candle".

SummerEngine/summer-engine-agent · 68 tokens

headless-scripting

Use when a Summer project needs an operation no MCP tool exposes, such as baking a navmesh, generating collision shapes, authoring an Animation, building a TileSet, re-importing assets after file changes, or preparing a supported local export. Runs a GDScript file against Summer Engine from the shell. Also use when a…

SummerEngine/summer-engine-agent · 92 tokens

sprite-sheet

Use when generating animated 2D character sprites laid out as a sprite sheet (grid of frames) — walk cycle, attack frames, idle bob, death sequence. Wires into AnimatedSprite2D / SpriteFrames. Trigger on "sprite sheet", "walk cycle", "attack frames", "animated sprite", "frame-by-frame animation", "2D character…

SummerEngine/summer-engine-agent · 77 tokens

character-model

Use when generating a humanoid character ready for animation — player avatar, NPC, enemy, boss, companion. Generates a T-pose reference image, gates an un-rigged preview past the user, then runs the Meshy auto-rig pass and wires the result as a CharacterBody3D (movement) or Node3D (cinematic). Trigger on "make a…

SummerEngine/summer-engine-agent · 115 tokens