Grammarly-like sentence decomposition with NVIS confidence colors. Decomposes question text into annotated fragments showing which entities resolved, which are misspelled, which are fabricated, and which are unknown. Composes /extract-entities for grounding data and /interview for "Did you mean?" clarify prompts.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add grahama1970/agent-skills --skill create-sentence-markup --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Create Sentence Markup?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/grahama1970-create-sentence-markup)More formats (shields.io, HTML) on the badges page.
---
name: create-sentence-markup
description: >
Grammarly-like sentence decomposition with NVIS confidence colors.
Decomposes question text into annotated fragments showing which entities
resolved, which are misspelled, which are fabricated, and which are unknown.
Composes /extract-entities for grounding data and /interview for "Did you mean?" clarify prompts.
allowed-tools: [Bash, Read]
triggers:
- markup sentence
- annotate sentence
- sentence markup
- create sentence markup
- grammarly
- highlight entities
metadata:
short-description: NVIS-colored sentence annotation from entity grounding
author: "Claude"
version: "0.1.0"
provides:
- sentence-markup
composes:
- extract-entities
- interview
- agentic-evals
disciplines:
- extraction
- ui-design-engineering
---
# /create-sentence-markup
Grammarly-like sentence decomposition with NVIS confidence colors (MIL-STD-3009).
## Usage
```bash
# Annotate a question — returns JSON annotations
./run.sh annotate "How does SPARTA control X23-MUSTARD mitigate spoofing?"
# Annotate with rendered markdown output
./run.sh annotate "How does the SPRTA framework work?" --format markdown
# Annotate with HTML output (NVIS colors)
./run.sh annotate "What countermesures protect firmware?" --format html
# Pipe from /extract-entities (skip redundant extraction)
./run.sh annotate --entities-json entities.json "How does X23-MUSTARD work?"
```
## Output (JSON default)
```json
{
"text": "How does SPARTA control X23-MUSTARD mitigate spoofing?",
"annotations": [
{
"term": "X23-MUSTARD",
"level": "RED",
"label": "fabricated ID — not in corpus",
"action": "reject",
"closest_match": "CM0028"
},
{
"term": "SPARTA",
"level": "GREEN",
"label": "confirmed framework",
"action": null
}
],
"summary": {
"total_annotations": 2,
"red": 1,
"amber": 0,
"yellow": 0,
"green": 1,
"needs_clarify": 0,
"needs_reject": 1
}
}
```
## NVIS Color System (MIL-STD-3009)
| Level | Color | RGB | Meaning | Action |
|-------|-------|-----|---------|--------|
| GREEN | Green | (0,255,136) | Exact match — confirmed in corpus | None |
| AMBER | Amber | (255,170,0) | Fuzzy match or misspelling | /memory clarify via /interview |
| RED | Red | (255,68,68) | Fabricated ID — not in corpus | Reject |
| YELLOW | Yellow | (255,230,0) | Term not found anywhere | Investigate |
## Composition
- **Input**: Question text (string)
- **Depends on**: `/extract-entities` → `get_annotations()` for grounding data
- **Triggers**: `/interview` for AMBER "Did you mean?" clarify prompts
- **Consumed by**: `/create-evidence-case` (report grounding), `/ask` (inline annotations),
`/lean4-prove` (proof obligations from RED/YELLOW annotations)
## Output Formats
| Format | Flag | Use case |
|--------|------|----------|
| JSON | `--format json` (default) | Machine-readable, piping to other skills |
| Markdown | `--format markdown` | Agent/human readable in terminal |
| HTML | `--format html` | Rich rendering with NVIS colors |
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!