rb:compression-report

rb:compression-report is a skill for Claude Code from slbug/claude-ruby-grape-rails. It costs 37 tokens per session (2,433 once invoked), scanned C, original, MIT.

A report-writing tool that turns verify-output compression telemetry into an anonymized GitHub issue draft.

In plain words
What is it for?
It is for reviewing selected raw logs, summarizing compression statistics, and preparing a report for the user to file manually.
Why use it?
It removes common personal details and organizes compression problems into information maintainers can act on.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions .claude-plugin; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ruby-grape-rails plugin — 52 skills, 19 agents, 17 hooks shipped together

Good fit It is for reviewing selected raw logs, summarizing compression statistics, and preparing a report for the user to file manually.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add slbug/claude-ruby-grape-rails
Claude Code
/plugin install ruby-grape-rails

Made for: Claude Code.

Or install ruby-grape-rails, the plugin that ships this one along with the rest of its 52 skills, 19 agents, 17 hooks.

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 rb:compression-report

README.md
[![agentmods](https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/compression-report/github.svg)](https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/compression-report)
Your own site
<a href="https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/compression-report"><img src="https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/compression-report/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 rb:compression-report

Your own site · 80×15
<a href="https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/compression-report"><img src="https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/compression-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,433 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00037 $0.02433
Opus 5.5 $0.00015 $0.00973
Sonnet 5.5 $0.00007 $0.00487
Haiku 4.5 $0.00004 $0.00243

Measured 3mo ago against content hash 627e469bba86, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

rb:compression-report scanned grade C with 1 finding 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 3mo ago.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

skill never does. Do not embed literal `rm` / `rm -rf` strings in
plugins/ruby-grape-rails/skills/compression-report/SKILL.md · 211 lines

How it starts

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

Compression Telemetry Report

Drafts an anonymized markdown report from the verify-output compression telemetry the plugin collects under ${CLAUDE_PLUGIN_DATA}/compression.jsonl and hands it back for the user to file as a GitHub issue. The report is maintainer-actionable signal that helps the plugin maintainers decide whether a future release should ship a real replacement mechanism.

Iron Laws

  1. Never include redacted output verbatim from --redact without reviewing it first. The redactor handles common PII shapes (env-var values, file paths, freeform args) but is not an adversarial sanitizer. Read each cited raw_log file before quoting from it.
  2. Never run compression-stats without --redact for issue bodies. The non-redact JSON contains absolute home-dir paths inside raw_log fields and full cmd strings. That is local debug output, not public-issue data.
  3. Never auto-create the GitHub issue. Hand the drafted report to the user and let them open the issue manually. Telemetry is the user's data; only the user can choose to publish it.
  4. Never read more raw logs than needed to explain the worst few samples. The report is a digest, not a dump. Keep raw-log Reads scoped to the redacted_stats weak_samples and violation_samples lists, capped at the most interesting ~5.
  5. Never delete the user's telemetry yourself. The skill ships no destructive command. After drafting the report, list the exact cleanup paths the user can remove when they choose to clean up. The user composes and runs the deletion command themselves; the skill never does. Do not embed literal rm / rm -rf strings in the drafted output — that mirrors the SessionStart advisory's safer-context posture.
  6. Never quote reconstructed absolute paths in the drafted report body. ${CLAUDE_PLUGIN_DATA} substitutes inline to a path that contains the user's home directory and plugin install id. Use the resolved path locally for Read and for the cleanup-paths block at the very end of the workflow. Do NOT paste it into the per-sample explanations, citations, or any other prose the user will paste into a shared report.

Read the full file on GitHub · 211 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. 3mo ago First seen · 211 lines · 37 tokens per session scan C 627e469bba86

Subscribe to this mod's changes

rb:compression-report is a skill published in the GitHub repository slbug/claude-ruby-grape-rails (7 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 2,433 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

rb:compression-report compared with skills from other repositories

rb:compression-report next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rb:compression-reportslbug/claude-ruby-grape-railsSkill7yesterdayMITC37Claude Code
opencli-autofixjackwener/OpenCLISkill32k24d agoApache-2.0A61Claude Code
omh-failure-signal-auditrlaope/oh-my-hermesSkill6.2ktodayMITA21Claude Code
omh-live-incident-responserlaope/oh-my-hermesSkill6.2ktodayMITA18Claude Code
debuggingWrongStack/WrongStackSkill446todayMITA175Claude Code, Codex
report-issue-localcyanheads/obsidian-mcp-serverSkill72220d agoApache-2.0A44Claude Code
unicli-repairolo-dot-io/Uni-CLISkill2292d agoApache-2.0A68Claude Code