semantic-consistency-auditor
Evaluate semantic consistency between AI-generated clinical notes and expert gold standards using BERTScore and COMET
Profile →npx skills add majiayu000/claude-skill-registry --skill semantic-consistency-auditor --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Skill: Semantic Consistency Auditor **ID:** 212 **Name:** semantic-consistency-auditor **Description:** Introduces BERTScore and COMET algorithms to evaluate the semantic consistency between AI-generated clinical notes and expert gold standards from the "semantic entailment" level. ## Overview Semantic Consistency Auditor is a medical AI evaluation tool used to assess the semantic consistency between AI-generated clinical notes and expert-written gold standards from a semantic level. This tool is not limited to traditional string matching or bag-of-words models, but uses deep learning models to understand semantic entailment relationships, capable of identifying expressions with different wording but similar meaning. ## Algorithms ### 1. BERTScore BERTScore uses pre-trained BERT model contextual embeddings to calculate similarity between candidate text and reference text: - **Precision**: How much semantics in the candidate text is covered by the reference text - **Recall**: How much semantics in the reference text is covered by the candidate text - **F1 Score**: Harmonic mean of Precision and Recall ### 2. COMET (Cross-lingual Optimized Metric for Evaluation of Translation) COME
- Overview
- Algorithms
- 1. BERTScore
- 2. COMET (Cross-lingual Optimized Metric for Evaluation of Translation)
- Installation
- Configuration
- Usage
- Command Line
- Python API
- Input Format
- Single Case (Command Line)
- Batch Evaluation File (JSON)
- Output Format
- Summary Mode
Create virtual environment (recommended) python -m venv venv source venv/bin/activate # Linux/Mac Or venv\Scripts\activate # Windows Install dependencies pip install bertscore comet-ml transformers torch Evaluate single case pair python scripts/main.py \ Batch evaluation from JSON file Use specific model
What does the semantic-consistency-auditor skill do?
Evaluate semantic consistency between AI-generated clinical notes and expert gold standards using BERTScore and COMET
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill semantic-consistency-auditor --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.