Compact
Compact condenses lengthy text into succinct summaries, saving time and highlighting key information efficiently.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add compact npx -- -y @trustedskills/compact
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"compact": {
"command": "npx",
"args": [
"-y",
"@trustedskills/compact"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The compact skill helps AI agents reduce the length of text while retaining key information. It's designed to condense verbose descriptions, summaries, or articles into more concise versions. The agent can adjust the level of compression and maintain specific formatting requirements during this process.
When to use it
- Summarizing lengthy legal documents for easier review.
- Creating short, impactful marketing copy from longer product descriptions.
- Reducing the size of technical documentation for improved readability.
- Condensing research papers into abstracts or executive summaries.
Key capabilities
- Text compression
- Information retention
- Formatting preservation
- Adjustable compression level
Example prompts
- "Compact this product description to under 100 words."
- "Summarize this legal document, focusing on key clauses and obligations."
- "Reduce the length of this article while maintaining a professional tone."
Tips & gotchas
The quality of the compacted text depends heavily on the clarity and structure of the original content. Complex or poorly written source material may result in less satisfactory condensed versions.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.