aif-reference

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

A skill for turning web addresses, documents, or files into organised knowledge references for AI agents. The references are stored in a configurable folder, usually .ai-factory/references/.

In plain words
What is it for?
Fetching, processing, and saving reference material from URLs, documents, and local files for later agent use.
Why use it?
It keeps source material in a structured, reusable form instead of requiring the agent to process the same sources from scratch each time.

Skill for Claude CodeCodex

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/letuhao/lore-weave/aif-reference.svg)](https://agentmods.dev/skills/letuhao/lore-weave/aif-reference)
Your own site
<a href="https://agentmods.dev/skills/letuhao/lore-weave/aif-reference"><img src="https://agentmods.dev/badge/skills/letuhao/lore-weave/aif-reference.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,341 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 $0.00044 $0.02341
Opus 5 $0.00022 $0.01171
Sonnet 5 $0.00009 $0.00468
Haiku 4.5 $0.00004 $0.00234

Measured 3d ago against content hash fe2c05c7400c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

aif-reference 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 3d 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-reference/SKILL.md · 272 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

Files

What ships with it

1 file 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. 3d ago First seen · 272 lines · 44 tokens per session scan A fe2c05c7400c

Subscribe to this mod's changes

aif-reference is a skill published in the GitHub repository letuhao/lore-weave (22 stars, last pushed 4d ago), licensed AGPL-3.0. It adds 44 tokens to every session and 2,341 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.

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

facial-and-lipsync

Use when the user has a voice-over (or wants one) and needs the character's mouth to actually move with the words — phoneme extraction from audio, mapping to viseme blendshapes, plus emotional facial expressions (smile, frown, surprise). Trigger on "lipsync", "lip sync", "talking head", "phonemes", "viseme", "facial…

SummerEngine/summer-engine-agent · 104 tokens

debug

Use when the user reports a bug, crash, error, or unexpected behavior in a Summer project, before making code or scene changes. Runs a disciplined script-errors, console, debugger, hypothesis, fix, and verify loop. Trigger on "debug", "crash", "error", "broken", "not working", "freezes", "wrong".

SummerEngine/summer-engine-agent · 73 tokens

export-and-ship

Use when the user wants to assess or prepare a Summer game export. Inventories the templates and targets actually available in the installed Summer Engine build, validates release assets and configuration, and produces only locally supported builds after approval. It does not publish, upload, host, or submit a game.…

SummerEngine/summer-engine-agent · 100 tokens

host-authoritative-state

Use when designing the state layer of a multiplayer Summer game: deciding what the host owns, how clients request changes, and how the host validates and broadcasts. Pairs with /peer-to-peer-multiplayer. Trigger on "host authority", "authoritative state", "state ownership", "MP cheating", "client validation", "RPC…

SummerEngine/summer-engine-agent · 74 tokens