Back to skills
SKILL.md
Counterexample Guided Refinement
ASecurityImplement CEGAR for synthesis and verification workflows
- 1,760 stars
- 0 votes
- 0 copies
- 2 views
- Added September 2, 2026
Security analysis
100/100npx -y skills add a5c-ai/babysitter --skill counterexample-guided-refinement --agent claude-codeAre you the author of Counterexample Guided Refinement?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/a5c-ai-counterexample-guided-refinement-babysitter)---
name: counterexample-guided-refinement
description: Implement CEGAR for synthesis and verification workflows
allowed-tools:
- Bash
- Read
- Write
- Edit
- Glob
- Grep
metadata:
specialization: computer-science
domain: science
category: program-synthesis
phase: 6
graph:
domains: [domain:computer-science]
specializations: [specialization:theoretical-computer-science]
skillAreas: [skill-area:compiler-implementation, skill-area:mathematical-reasoning, skill-area:language-design]
workflows: [workflow:research-grant-lifecycle]
roles: [role:computational-scientist, role:research-scientist]
---
# Counterexample-Guided Refinement
## Purpose
Provides expert guidance on CEGAR (Counterexample-Guided Abstraction Refinement) for verification and synthesis.
## Capabilities
- Counterexample analysis
- Predicate abstraction refinement
- Interpolation-based refinement
- Abstraction refinement loop management
- Convergence analysis
- Spurious counterexample detection
## Usage Guidelines
1. **Initial Abstraction**: Define initial abstraction
2. **Verification**: Check abstract model
3. **Counterexample Analysis**: Analyze counterexamples
4. **Refinement**: Refine abstraction if spurious
5. **Iteration**: Repeat until verified or real counterexample
## Tools/Libraries
- CPAChecker
- SeaHorn
- BLAST
- SLAM
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.