Skip to main content

semantic-summarization

Summarize text while preserving semantic meaning, entities, relationships, and actionable details.

Source facts

Repository
glayph/Agent
Last source activity
September 19, 2026 at 22:39
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
semantic-summarization
description
Summarize text while preserving semantic meaning, entities, relationships, and actionable details.
version
1.0.0
author
Miki
license
MIT
platforms
["linux","macos","windows"]
metadata
{"Miki":{"tags":["summarization","compression","context-management"],"related_skills":["concise-prompt","rag-context"]}}
# Semantic Summarization (Context Compression) ## Goals - Reduce token count by 70-90% - Preserve all entities, numeric values, relationships, and action items - Remove redundancy, verbosity, and low-information content ## Compression strategy (tiered) ### Tier 1 — Lossless (50-70% compression) Keep all facts. Remove adjectives, adverbs, filler, meta-commentary. ``` Input: "The function appears to be intentionally designed to handle edge cases like null values and undefined inputs gracefully." Output: "Function handles edge cases: null, undefined." ``` ### Tier 2 — Semantic (70-85% compression) Merge related facts. Abstract examples into patterns. Drop tangential details. ``` Input: "We tried using approach A which failed, then approach B which also failed, and finally approach C which worked." Output: "A, B failed. C succeeded." ``` ### Tier 3 — Extractive (85-95% compression) Keep only: entities, decisions, blockers, action items, key numbers. Drop: explanations, context, rationale, alternatives not chosen. ## Rules - Numbers, dates, percentages, IDs → always preserve verbatim - Proper nouns, filenames, function names → always preserve - Action items and decisions → always preserve - Repeated information → keep first occurrence only - Code snippets → keep signature + 1-line summary; drop body - Error messages → keep error type + code; drop full trace - Logs → keep timestamps + severity + message; drop metadata ## Output format - Use bullet points (not prose) - Prefix: `[K]` = key fact, `[D]` = decision, `[A]` = action, `[B]` = blocker
View on GitHub