octave-compression

octave-compression is a skill for Claude Code from elevanaltd/octave-mcp. It costs 36 tokens per session (2,109 once invoked), scanned A, original, Apache-2.0.

A workflow for converting prose into OCTAVE, a structured format for representing information, at different levels of detail. It requires OCTAVE literacy, meaning familiarity with that format.

In plain words
What is it for?
Use it to prepare lossless structures for legal or safety work, careful summaries for research and technical analysis, or compact references when space is limited.
Why use it?
It provides rules for deciding what to keep or remove when shortening text, while making the expected information loss explicit.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to prepare lossless structures for legal or safety work, careful summaries for research and technical analysis, or compact references when space is limited.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/elevanaltd/octave-mcp/octave-compression
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add elevanaltd/octave-mcp --skill octave-compression
Clone the repo
git clone --depth 1 https://github.com/elevanaltd/octave-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for octave-compression

README.md
[![agentmods](https://agentmods.dev/badge/skills/elevanaltd/octave-mcp/octave-compression/github.svg)](https://agentmods.dev/skills/elevanaltd/octave-mcp/octave-compression)
Your own site
<a href="https://agentmods.dev/skills/elevanaltd/octave-mcp/octave-compression"><img src="https://agentmods.dev/badge/skills/elevanaltd/octave-mcp/octave-compression/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for octave-compression

Your own site · 80×15
<a href="https://agentmods.dev/skills/elevanaltd/octave-mcp/octave-compression"><img src="https://agentmods.dev/badge/skills/elevanaltd/octave-mcp/octave-compression.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,109 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.02109
Opus 5 $0.00018 $0.01055
Sonnet 5 $0.00007 $0.00422
Haiku 4.5 $0.00004 $0.00211

Measured today against content hash 3c19f6cdb7c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

octave-compression scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

src/octave_mcp/resources/skills/octave-compression/SKILL.md · 168 lines

How it starts

The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.

===OCTAVE_COMPRESSION=== META: TYPE::SKILL VERSION::"3.1.0" STATUS::ACTIVE PURPOSE::"Decision rules and workflow for transforming prose into semantic OCTAVE at the correct fidelity tier" REQUIRES::octave-literacy NEXT_SKILLS::[octave-ultra-mythic] PATTERNS::[octave-tool-reference] SPEC_REFERENCE::octave-data-spec.oct.md

§1::TIER_SELECTION // Choose tier BEFORE reading source. Tier drives every subsequent decision. TIERS: LOSSLESS: TARGET::"100%_fidelity" PRESERVE::everything DROP::nothing USE::[ critical_reasoning, legal_documents, safety_analysis, audit_trails, syntax_references ] CONSERVATIVE: TARGET::"85-90%_fidelity" PRESERVE::explanatory_depth DROP::redundancy LOSS::"10-15%[repetition,verbose_phrasing,some_edge_cases]" USE::[ research_summaries, design_decisions, technical_analysis ] AGGRESSIVE: TARGET::"70%_fidelity" PRESERVE::[core_thesis∧conclusions] DROP::[nuance∨narrative] LOSS::"30%[explanatory_depth,tradeoff_narratives,edge_case_exploration]" USE::[ context_window_scarcity, quick_reference, decision_support ] ULTRA: TARGET::"50%_fidelity" PRESERVE::[facts∧structure] DROP::all_narrative LOSS::"50%[almost_all_explanatory_content,tradeoff_reasoning]" USE::[ extreme_scarcity, embedding_generation, dense_reference ] ULTRA_MYTHIC: TARGET::"60%_compression" PRESERVE::[soul∧constraints] METHOD::mythological_atoms USE::[agent_binding, identity_transfer] REQUIRES::octave-ultra-mythic // Specialized identity compression skill for agent binding and // identity transfer contexts. See skills/octave-ultra-mythic. DECISION_RULES::[ "IF[reconstruction_accuracy_critical]→CONSERVATIVE∨LOSSLESS", "IF[context_window_scarce∧loss_acceptable]→AGGRESSIVE∨ULTRA", "IF[decision_relevant_facts_must_survive]→CONSERVATIVE⊕mythology_domain_labels", "IF[source_is_a_rule_or_syntax_reference]→LOSSLESS — a reference compressed below its rules is a broken reference", "DEFAULT→CONSERVATIVE" ] §2::LOSS_ACCOUNTING // I4::TRANSFORM_AUDITABILITY — every transformation must log what was preserved vs dropped. // These META fields are MANDATORY for any compressed output. REQUIRED_META_FIELDS::[COMPRESSION_TIER,LOSS_PROFILE] LOSS_PROFILE_FORMAT::"[preserve:X,drop:Y]" // LOSS_PROFILE must be explicit — never hidden EXAMPLES: CONSERVATIVE::"[preserve:causal_chains,drop:verbose_phrasing]" AGGRESSIVE::"[preserve:core_thesis∧conclusions,drop:explanatory_depth∨edge_cases]" ULTRA::"[preserve:facts∧structure,drop:all_narrative∨tradeoff_reasoning]" META_BLOCK_TEMPLATE: META: TYPE::DECISION VERSION::"1.0.0" COMPRESSION_TIER::CONSERVATIVE LOSS_PROFILE::"[preserve:causal_chains,drop:verbose_phrasing]" I4_RULE::"If bits were dropped, the output must carry a receipt. No silent loss." CONSISTENCY_RULE::"LOSSLESS ⇌ non-empty drop: is a contradiction — if LOSS_PROFILE names anything dropped, the tier is not LOSSLESS" §3::TRANSFORMATION_WORKFLOW PHASE_1_READ: MAP::"Identify all causal chains (A causes B, X requires Y)" IDENTIFY::[ Redundancy, Verbosity, Conditional_Qualifiers ] NOTE::"Conditional qualifiers (when X, if Y, unless Z) carry material risk — never drop" PHASE_2_EXTRACT: PRESERVE::[ causal_chains, BECAUSE_statements, metrics, conditional_qualifiers ] COMPRESS::[ stopwords, repetition, verbose_phrasing, narrative_connectives ] ANCHOR::"One concrete example per major abstraction — anchors reconstruction fidelity" PHASE_3_COMPRESS: OPERATORS::"Apply ⊕ ⇌ → ∧ ∨ from octave-literacy §2" HIERARCHY::"Group related concepts under parent BLOCK keys" MYTHOLOGY::"Use domain label prefixes (ARTEMIS::, CHRONOS::) to anchor facts — see §6" ARRAYS::"Convert parallel items to [item1,item2,item3]" PHASE_4_VALIDATE: FIDELITY::"Are all causal chains intact?" LOSS_RECEIPT::"Does META carry COMPRESSION_TIER and LOSS_PROFILE?" GROUNDING::"Is there at least one concrete example per major abstraction?" RECEIPTS::"Inspect corrections[] ⊕ warnings[] from octave_write per octave-tool-reference §3 — W_BARE_LINE_DROPPED and W_NUMERIC_KEY_DROPPED are silent data loss; empty warnings[] alone is not a clean receipt" §4::COMPRESSION_RULES R1::"Preserve CAUSALITY — X→Y because Z. Never flatten to X→Y alone." R2::"Preserve CONDITIONAL QUALIFIERS — when X, if Y, unless Z carry material risk info" R3::"Preserve EXPLICIT TRADEOFFS — GAIN⇌LOSS or GAIN vs LOSS" R3a::"TELEGRAPHIC_PHRASE — quoted value, stopwords dropped, operators carry English connectives — e.g. 'security ⇌ usability' not 'security at odds with usability'" R4::"One concrete example per major abstraction — minimum reconstruction anchor" R5::"Use mythology as KEY PREFIXES (CHRONOS::audit_6wk) not embedded values — domain labels are reconstruction anchors" R6::"Use mythology as PATTERN DESCRIPTORS (SISYPHEAN,ODYSSEAN) for single-token trajectory encoding" R7::"Never drop numbers, IDs, thresholds, or named entities — these are irreplaceable" R8::"Never place a value on a section header — §N::NAME::"value" drops the value silently (literacy R12). Section headers open scopes; content goes on child lines." §5::ANCHOR_KERNEL TARGET::prose_to_OCTAVE_at_declared_fidelity_tier NEVER::[compress_before_choosing_tier,drop_causal_chains,drop_conditional_qualifiers,drop_numbers_IDs_thresholds,silent_loss_without_META_receipt,LOSSLESS_label_with_nonempty_drop,value_on_section_header] MUST::[ "tier first: LOSSLESS ∨ CONSERVATIVE ∨ AGGRESSIVE ∨ ULTRA ∨ ULTRA_MYTHIC — DEFAULT CONSERVATIVE; references → LOSSLESS", "META carries COMPRESSION_TIER ⊕ LOSS_PROFILE::[preserve:X,drop:Y]", "operators carry connectives; mythology as KEY prefix ∨ pattern descriptor, never as embedded value", "one concrete example per abstraction survives", "inspect corrections[] ⊕ warnings[] after octave_write" ] GATE::"Could a reader reconstruct every causal chain, qualifier, and number from this output — and does META say what was dropped?" §6::CONSERVATIVE_PLUS_MYTHOLOGY // CONSERVATIVE compression + mythology domain labels = maximum fidelity at minimum tokens WHEN::"Decision-relevant content where reconstruction accuracy matters more than minimum tokens" METHOD::"Use mythology terms as KEY prefixes (CHRONOS::audit_6wk) not embedded values" WHY::"Domain labels force agents to translate each labeled field separately — prevents fact merging" RESULT::"11/11 decision-relevant facts preserved at 15% fewer tokens than original prose" EVIDENCE::octave-mcp[docs/research/compression-fidelity-round-trip-study.md] §7::ANTI_PATTERNS AP1::"Markdown inside OCTAVE blocks — no bold, no headers, no bullet hyphens" AP2::"JSON/YAML syntax — no curly braces, no trailing commas, no YAML bullet hyphens" AP3::"Deep nesting beyond 3 levels — restructure with parent BLOCK keys" AP4::"Silent loss — always declare COMPRESSION_TIER and LOSS_PROFILE in META" AP5::"Paradigm drift — validate for LLM parse efficiency, not human readability" AP6::"Compressing the rulebook — a syntax or governance reference at AGGRESSIVE tier drops the examples that make it a reference (R4). References are LOSSLESS." ===END===

Read the full file on GitHub · 168 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +18 lines 3c19f6cdb7c2
  2. 11d ago First seen · 150 lines · 36 tokens per session scan A fc20db14139e

Subscribe to this mod's changes

octave-compression is a skill published in the GitHub repository elevanaltd/octave-mcp (55 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 2,109 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories