Skip to main content

semantic-summarization

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

Datos de origen

Repositorio
glayph/Agent
Última actividad en el origen
19 de septiembre de 2026 a las 22:39
Idioma detectado de SKILL.md
inglés
Estrellas
0
Forks
0

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
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
Ver en GitHub