Skip to content
Back to skills

Create Sentence Markup

ASecurity

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.

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 11, 2026
researchbash

Works with

  • terminal

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 11, 2026

npx -y skills add grahama1970/agent-skills --skill create-sentence-markup --agent claude-code

Installs 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 with every re-scan.

Security grade badge for Create Sentence Markup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/grahama1970-create-sentence-markup/badge)](https://www.skillsdirectory.com/skills/grahama1970-create-sentence-markup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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 |

Files in this skill

  • SKILL.md3 KB
  • create_sentence_markup.py7.2 KB
  • fixtures/agentic_eval.json500 B
  • run.sh797 B
  • sanity.sh1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.