Memory Model Analyzer
Testing & Qualitymemory-model-analyzerMemory Model Analyzer is an Agent Skill for testing & quality published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Analyze programs under various memory models for concurrent correctness
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/computer-science/skills/memory-model-analyzer/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/memory-model-analyzer, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Memory Model Analyzer
Purpose
Provides expert guidance on analyzing concurrent programs under various hardware and language memory models.
Capabilities
- Sequential consistency checking
- Total Store Order (TSO) analysis
- C/C++ memory model compliance
- Memory barrier insertion guidance
- Race condition detection
- Weak memory model reasoning
Usage Guidelines
- Model Selection: Identify relevant memory model
- Analysis: Check program behavior under model
- Barrier Placement: Determine required fences/barriers
- Race Detection: Find data races
- Verification: Verify correct synchronization
Tools/Libraries
- CDSChecker
- GenMC
- CBMC
- herd7