Semantic Compression

Apply semantic logic compression (Ovchinnikov method) when crafting prompts for LLMs or describing complex conditional logic. Use this skill whenever the user asks to: write or optimise a prompt for an LLM, compress or rewrite a task description, describe multi-condition business logic (if/and/or/not chains), or asks why an LLM misunderstood their instructions. Also trigger when the user says ‘compress the logic’, ‘write a prompt for’, ‘the LLM doesn't understand’, ‘simplify the conditions’, or similar intents. Also trigger when the user wants to use output modifiers such as →code or →no-meta,

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add therealmoronto/claude-semantic-compression --skill semantic-compression
Manual install
git clone --depth 1 https://github.com/therealmoronto/claude-semantic-compression.git /tmp/claude-semantic-compression
mkdir -p ~/.claude/skills
cp -r /tmp/claude-semantic-compression/. ~/.claude/skills/semantic-compression

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Semantic Logic Compression (Information Compression Protocol)

Convert natural language logic into structured symbolic form that LLMs parse more reliably.
This is NOT summarization — it preserves all conditions while making structure explicit.

## When to apply

- Multi-condition logic: "if A and B and not C, then D"
- Business rules with temporal constraints ("within 5 minutes", "last 30 days")
- Any prompt where missed conditions would break the expected output
- Code generation tasks where logic ambiguity causes junior-style output
- When the user needs to radically save context tokens (up to 70-80% reduction).

## Core symbol set

### 1. Logical Operators
| Natural language     | Symbol | Example                          |
|----------------------|--------|----------------------------------|
| and              | `∧`    | `платёж OK ∧ товар есть`         |
| or             | `∨`    | `admin ∨ moderator`              |
| if...then| `→`    | `T > 30 → включить кондиционер`  |
| not             | `¬`    | `¬отмена за 5 мин`               |
| then and only then | `↔`    | `доступ ↔ верифицирован`         |
| for all             | `∀`    | `∀ item → validate(item)`        |
| exists           | `∃`    | `∃ active_session`               |

### 2. Structural Markers & Modifiers
Use these markers to categorize constraints and instructions.

| Type                 | Marker / Symbol | Description / Example                          |
Read the full skill on GitHub

Details

Skill name
semantic-compression
License
MIT
Repo updated
14 May 2026

FAQ

What does the Semantic Compression skill do?

Apply semantic logic compression (Ovchinnikov method) when crafting prompts for LLMs or describing complex conditional logic. Use this skill whenever the user asks to: write or optimise a prompt for an LLM, compress or rewrite a task description, describe multi-condition business logic (if/and/or/not chains), or asks why an LLM misunderstood their instructions. Also trigger when the user says ‘compress the logic’, ‘write a prompt for’, ‘the LLM doesn't understand’, ‘simplify the conditions’, or similar intents. Also trigger when the user wants to use output modifiers such as →code or →no-meta,

How do I install the Semantic Compression skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add therealmoronto/claude-semantic-compression --skill semantic-compression. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Semantic Compression popular?

It lives in therealmoronto/claude-semantic-compression, which has 5 GitHub stars and 0 forks.

Related skills

Skill Evolution

5

rwang23/skill-evolution

Turn repeated usage evidence and user feedback into reviewable Skill or harness improvement proposals. Use for Skill evolution, routing regressions, eval or hook improvements, and 技能进化或优化; not for applying changes or one-off edits.

AI, LLMs & Agents

Reinit

5

aisk/reinit

Review available recent code-agent history and tool calls, then update the current repository's durable agent guidance with repeatedly needed facts and user-corrected conventions. Run only when the user explicitly invokes /reinit, $reinit, or names the reinit skill; never invoke automatically.

AI, LLMs & Agents

Skill Guardian

5

0xtresser/skill-guardian

Pre-installation security gate for agent skills. This skill should be used when the user or agent attempts to install any skill — including requests like "install X", "add X skill", "help me set up the X skill", "npx skills add", or when the agent autonomously decides to install a skill. Also triggers on skill cleanup and audit requests like "clean up my skills", "check installed skills", "any unused skills", "review my skills", or "audit my skill list". Do NOT use for MCP server installation, npm/pip package installation, or non-skill tooling.

AI, LLMs & Agents

Prompt Optimizer

5

talki-io/prompt-optimizer

Optimizes and polishes an existing AI/LLM prompt the user has already written — fixing wording, grammar, structure, redundancy, and clarity — while strictly preserving the original intent, role, scope, capabilities, constraint strength, and every technical detail (commands, paths, URLs, parameters, code blocks). Use whenever the user invokes /prompt-optimizer with a prompt (no extra instruction needed), or pastes a prompt and asks to optimize, refine, polish, clean up, simplify, tighten, restructure, make more professional, or "fix the wording" of it, even without the word "prompt" — e.g. "mak

AI, LLMs & Agents

Tribeunal

5

tribeunal/mcp-server

Use when a decision needs more than one opinion — a dispute between two parties, a verdict or ruling someone will act on, a team decision nobody can settle, a poll or a vote, an arbitration clause, an escrow release waiting on who is right, or any question better answered by a jury of people and AI agents than by a single model, even if they never say Tribeunal

AI, LLMs & Agents

Prompt Constraints

5

q253595422/prompt-constraints

生图 / 视频提示词约束引擎。把模糊需求、关键词、粗糙草稿或参考图,转成受约束、可校验、可直接投喂的生图(t2i / i2i)与视频(t2v / i2v / 多镜头)提示词。 用于:写/优化/扩写生图提示词,写/优化视频提示词,从参考图反推提示词(图画文 / img2prompt),锁定角色·场景·风格一致性(character sheet / 角色三视图 / 身份锚点),写负面约束与回避清单,按模型适配(Nano Banana Pro、即梦 Seedream、GPT Image、Midjourney、FLUX、Seedance、可灵 Kling、Veo、Sora、Hailuo、MiniMax、LTX、Wan)。 当用户提到「生图提示词 / 视频提示词 / prompt / 提示词 / 反推提示词 / 图画文 / 一致性 / 首帧图 / 分镜 / 运镜」时使用。

AI, LLMs & Agents

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.