agent-prompts-warmup

agent-prompts-warmup is a skill for Claude Code from iamtouchskyer/memex. It costs 38 tokens per session (1,172 once invoked), scanned A, original, MIT.

A setup and checking tool that keeps one set of project instructions copied across files used by coding agents such as Codex, Claude Code, Cursor, Gemini, and Windsurf.

In plain words
What is it for?
It helps audit a new checkout and keep agent instruction files synchronized during builds, commits, tests, and continuous integration checks.
Why use it?
Different agents may otherwise follow different rules after an instruction file is edited. It finds missing files and detects when copies no longer match.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Part of the memex plugin — 7 skills, 2 hooks, 1 MCP server shipped together

Good fit It helps audit a new checkout and keep agent instruction files synchronized during builds, commits, tests, and continuous integration checks.

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

Made for: Claude Code.

Or install memex, the plugin that ships this one along with the rest of its 7 skills, 2 hooks, 1 MCP server.

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-prompts-warmup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/iamtouchskyer/memex/agent-prompts-warmup"><img src="https://agentmods.dev/badge/skills/iamtouchskyer/memex/agent-prompts-warmup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,172 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
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 82
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
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.1 $0.00038 $0.01172
Opus 5 $0.00019 $0.00586
Sonnet 5 $0.00008 $0.00234
Haiku 4.5 $0.00004 $0.00117

Measured 10d ago against content hash 5788c011f220, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

agent-prompts-warmup 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 10d 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.

skills/agent-prompts-warmup/SKILL.md · 104 lines

How it starts

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

Agent Prompts Warmup

Agent instruction files ensure every coding agent (Claude Code, Codex, Copilot, Cursor, Gemini, Windsurf/Anti-Gravity) reads the same project rules when working on this codebase.

Architecture

Single source of truth: AGENTS.md

All other files are copies, synced automatically:

File Agent(s)
AGENTS.md Codex CLI, GitHub Copilot (source of truth)
CLAUDE.md Claude Code
GEMINI.md Gemini CLI, Jules, Anti-Gravity
.cursorrules Cursor
.windsurfrules Windsurf / Anti-Gravity (legacy)

Sync mechanisms (4 layers):

  1. scripts/postbuild.mjsnpm run build copies AGENTS.md → all targets
  2. scripts/pre-commit — git hook blocks commit if any file has drifted
  3. tests/integration/agent-docs-consistency.test.tsnpm test fails on drift
  4. CI — GitHub Actions runs npm test on push/PR to main

When To Use This Skill

1. FRE Audit (first run in a new clone/worktree)

Run a full scaffolding check:

/agent-prompts-warmup audit

Checklist to verify:

  • AGENTS.md exists and is non-empty
  • All target files exist: CLAUDE.md, GEMINI.md, .cursorrules, .windsurfrules
  • All targets are byte-identical to AGENTS.md (diff -q)
  • scripts/postbuild.mjs has cpSync lines for all targets
  • tests/integration/agent-docs-consistency.test.ts tests all targets
  • scripts/pre-commit exists and checks all targets
  • .git/hooks/pre-commit is installed and executable (run npm run prepare if not)
  • package.json files field includes AGENTS.md, CLAUDE.md, GEMINI.md, docs
  • package.json has "prepare" script that installs the hook

If anything fails: fix it immediately. The fix is usually npm run build (syncs files) or npm run prepare (installs hook).

2. After Editing Instructions

When the user edits AGENTS.md (or asks you to):

  1. Edit only AGENTS.md — never edit the copies directly
  2. Run sync: node scripts/postbuild.mjs (or npm run build)
  3. Verify: npm test -- tests/integration/agent-docs-consistency.test.ts
  4. Confirm all 5 files are identical

Read the full file on GitHub · 104 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. 10d ago First seen · 104 lines · 38 tokens per session scan A 5788c011f220

Subscribe to this mod's changes

agent-prompts-warmup is a skill published in the GitHub repository iamtouchskyer/memex (141 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 1,172 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.