Install
$ agentstack add skill-mattbaconz-signal-signal-compress ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
⚡ 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 powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\signal-compress.ps1 -Path .\GEMINI.md ` The helper only creates .original.` and prints the prompt/review steps.
- Compress prose only using [
templates/signal-compress-prompt.md](../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:
``text 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:
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.
Related
- [
docs/signal-compress.md](../docs/signal-compress.md) - [
docs/benchmark-methodology.md](../docs/benchmark-methodology.md) - [
scripts/signal-compress.ps1](../scripts/signal-compress.ps1)
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: mattbaconz
- Source: mattbaconz/signal
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.