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.
npx skills add mattbaconz/signal --skill signal-compressgit clone --depth 1 https://github.com/mattbaconz/signalWrote 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.
[](https://agentmods.dev/skills/mattbaconz/signal/signal-compress)<a href="https://agentmods.dev/skills/mattbaconz/signal/signal-compress"><img src="https://agentmods.dev/badge/skills/mattbaconz/signal/signal-compress/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.
<a href="https://agentmods.dev/skills/mattbaconz/signal/signal-compress"><img src="https://agentmods.dev/badge/skills/mattbaconz/signal/signal-compress.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.00698 |
| Opus 5.5 | $0.00030 | $0.00279 |
| Sonnet 5.5 | $0.00015 | $0.00140 |
| Haiku 4.5 | $0.00008 | $0.00070 |
Grade A, and why
signal-compress 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 2mo 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.
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.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
⚡ signal-compress — Input Compression
Reduce prompt tokens before the agent reads the same prose every turn. Preserve technical substance; compress prose only.
Invocation Triggers
Activate when user says any of:
/signal-compress"compress this memory","shrink this prompt","compress project rules""compress CLAUDE.md","compress GEMINI.md","compress AGENTS.md""reduce input tokens","make this rules file shorter"
Targets can be memory files, project rules, prompts, handoff notes, README-like prose, or pasted text.
Behavior
-
Back up first when a file path is provided:
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\signal-compress.ps1 -Path .\GEMINI.mdThe helper only creates
<name>.original.<ext>and prints the prompt/review steps. -
Compress prose only using
templates/signal-compress-prompt.md. -
Protect exact tokens:
- Fenced code blocks and shell commands
- Inline code, file paths, line numbers, URLs
- Quoted errors, stack traces, logs
- Version numbers, dates, identifiers, flags, env vars
- Technical terms and proper nouns
-
Diff review against the original. Reject the rewrite if protected tokens changed, facts disappeared, or instructions became ambiguous.
-
Report measured savings with this shape:
signal-compress|target=GEMINI.md|chars 2400→980|est_tok 600→245|save 59%|fidelity pass
Output Rules
When returning compressed text, output only the compressed file contents. No preamble, no summary, no wrapper fence.
When reporting a completed file workflow, use one line:
signal-compress|target={path}|chars {old}→{new}|est_tok {old}→{new}|save {pct}%|fidelity {pass|fail}
If compression is unsafe:
SIGNAL_DRIFT: <one-line reason>
Fidelity Gate
A compression win counts only when:
- Every protected token is unchanged.
- All actionable instructions remain present.
- Headings stay navigable.
- Any code, paths, flags, errors, and version numbers remain verbatim.
- The compressed file can replace the original without changing agent behavior.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 88 lines · 76 tokens per session scan A 88a2c483ad01
signal-compress is a skill published in the GitHub repository mattbaconz/signal (11 stars, last pushed 4mo ago), licensed MIT. It adds 76 tokens to every session and 698 once invoked, about $0.0003 per session on Opus 5.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-31.
signal-compress compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| signal-compressmattbaconz/signal | Skill | 11 | 4mo ago | MIT | A | 76 | Claude Code |
| lov-auto-contextlovstudio/skills | Skill | 72 | today | MIT | A | 112 | Claude Code |
| lov-ataru-indexinglovstudio/skills | Skill | 72 | today | MIT | A | 55 | Claude Code |
| lov-search-chatlovstudio/skills | Skill | 72 | today | MIT | A | 53 | Claude Code |
| lov-memory-addlovstudio/skills | Skill | 72 | today | MIT | A | 43 | Claude Code |
| lov-memory-searchlovstudio/skills | Skill | 72 | today | MIT | A | 42 | Claude Code |
| learncraigcossairt/trellis | Skill | 5 | yesterday | MIT | A | 77 | Claude Code, Codex |