ai-context-kit AGENTS.md

Project instructions for AI Context Kit, a repository that organizes persistent user and project context for AI collaboration. It separates instructions, which define context, from prompts, which request day-to-day work.

In plain words
What is it for?
Use them when editing the context system, creating instruction or skill templates, or deciding which repository document should guide an agent.
Why use it?
They clarify which specifications, templates, skills, prompts, and examples are authoritative when files disagree.

Instructions file for CodexOpenCode

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/msiccdev/ai-context-kit/agents-md
Clone the repo
git clone --depth 1 https://github.com/MSiccDev/ai-context-kit

Made for: Codex, OpenCode.

Per session 2,380 This file is loaded in full into every session.
When invoked 2,380 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 $0.02380 $0.02380
Opus 5 $0.01190 $0.01190
Sonnet 5 $0.00476 $0.00476
Haiku 4.5 $0.00238 $0.00238

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

Security

Grade A, and why

ai-context-kit AGENTS.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 2d 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.md · 222 lines

How it starts

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

AI Context Kit Agent Guide

Purpose

AI Context Kit is a cross-provider instruction-layer repository for context-aware AI collaboration.

This repository distinguishes:

  • Instructions: persistent context artifacts (*.instructions.md for user context and AGENTS.md for project context) that define who the user is, what the project is, and how collaboration should run.
  • Prompts/queries: day-to-day requests made inside that instructed environment.

Source Of Truth And Precedence

Use this order when files differ:

  1. Specification (authoritative, v1.4.3): specs/context_aware_ai_session_spec.md
  2. Templates (canonical structures): templates/*.instructions.md and templates/skill_template/SKILL.md
  3. Skills (canonical operational workflows): skills/*/SKILL.md and skill-local references
  4. Prompts: prompts/skills/*.prompt.md (compatibility wrappers — must defer detailed logic to skills); prompts/loop/*.prompt.md (implementation loop steps — self-contained workflow prompts)
  5. Samples and validation artifacts (illustrative records): usercontexts/*.instructions.md, related *.validation.md

Repository Map

Path Purpose
specs/ Normative session-model specification and terminology
templates/ Canonical instruction templates aligned to the spec
skills/ Canonical workflow skills (SKILL.md folders) and skill-local resources
prompts/skills/ Compatibility wrappers that route workflows to canonical skills
prompts/loop/ Numbered step prompts for the implementation loop (readiness-check → implementation → self-review → learnings → human-in-the-loop); invoke in order, learnings is optional
usercontexts/ User-context instruction examples and validation reports

Scope And Precedence For AGENTS.md Files

  • An AGENTS.md file applies to the directory it is in and all subdirectories.
  • If multiple AGENTS.md files apply, the closest (deepest) one wins for files in its subtree.
  • Keep root AGENTS.md global and nested AGENTS.md files folder-specific.
  • If instructions conflict or remain unclear after precedence, ask before proceeding.

Read the full file on GitHub · 222 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. 2d ago First seen · 222 lines · 2,380 tokens per session scan A ad2e02021a6c

Subscribe to this mod's changes

ai-context-kit AGENTS.md is an instructions file published in the GitHub repository MSiccDev/ai-context-kit (12 stars, last pushed 4d ago), licensed MIT. It adds 2,380 tokens to every session, about $0.0119 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.