iamtouchskyer/memex/agent-prompts-warmup
Claude Code and agent skill by iamtouchskyer/memex
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Audit and sync agent instruction files across all coding agent formats. FRE (first-run) checks scaffolding completeness; ongoing use keeps files in sync after edits.
Install
npx vskill@latest install iamtouchskyer/memex/agent-prompts-warmupSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
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):
scripts/postbuild.mjs—npm run buildcopies AGENTS.md → all targetsscripts/pre-commit— git hook blocks commit if any file has driftedtests/integration/agent-docs-consistency.test.ts—npm testfails on drift- CI — GitHub Actions runs
npm teston push/PR to main
When To Use This Skill
1. FRE Audit (first run in a new clone/worktree)
Run a full scaffolding check:
Checklist to verify:
- [ ]
AGENTS.mdexists 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.mjshascpSynclines for all targets - [ ]
tests/integration/agent-docs-consistency.test.tstests all targets - [ ]
scripts/pre-commitexists and checks all targets - [ ]
.git/hooks/pre-commitis installed and executable (runnpm run prepareif not) - [ ]
package.jsonfilesfield includesAGENTS.md,CLAUDE.md,GEMINI.md,docs - [ ]
package.jsonhas"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):
- Edit only `AGENTS.md` — never edit the copies directly
- Run sync:
node scripts/postbuild.mjs(ornpm run build) - Verify:
npm test -- tests/integration/agent-docs-consistency.test.ts - Confirm all 5 files are identical
3. Adding a New Agent Target
When a new coding agent emerges that reads a different file:
- Identify the file name the agent reads (e.g.,
.devinrules,CLINE.md) - Update
scripts/postbuild.mjs— addcpSync("AGENTS.md", "<new-file>"); - Update
tests/integration/agent-docs-consistency.test.ts— addexpect(readFileSync("<new-file>", "utf-8")).toBe(agents); - Update
scripts/pre-commit— add the new file to theTARGETSarray - Create the file:
cp AGENTS.md <new-file> - If it should be npm-published: add to
package.jsonfilesarray - Run
npm testto verify - Update this skill's mapping table above
Troubleshooting
"ERROR: CLAUDE.md has drifted from AGENTS.md" → Someone edited a copy instead of AGENTS.md. Fix: cp AGENTS.md CLAUDE.md (or whichever file drifted). Then check if the edit in the copy should be applied — if so, edit AGENTS.md first, then npm run build.
Pre-commit hook not running → npm run prepare to reinstall. Or manually: cp scripts/pre-commit .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit
CI failing on agent docs → npm run build && npm test locally. If it passes locally but fails in CI, check that the build step runs before test in the workflow.
Current Mapping Reference
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agent-prompts-warmup/SKILL.md
Popularity
- Repository stars
- 129
- Repository forks
- 38
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/iamtouchskyer/memex/agent-prompts-warmup)