/compress-architecture: An Agent Skill to Prune Over-Engineering

A Reddit user (u/CamWebby) built /compress-architecture, an agent skill for AI coding agents that focuses on removing unnecessary architecture rather than adding it. The core question it asks: “Can the system do the same job with fewer visible parts?” The goal is fewer concepts, clearer ownership, and less incidental coupling — not fewer files or lines.
What It Audits
- Speculative layers (abstractions for features that never materialized)
- Pass-through modules (code that just delegates without adding value)
- Duplicate concepts (two ways to do the same thing)
- Abstractions that no longer earn their keep (overhead > benefit)
What It Protects
- Real domain boundaries (actual business logic seams)
- Public APIs (contracts consumed externally)
- Testability seams (dependency injection, interfaces that enable testing)
- Explicit error handling (not swallowed or concealed)
- Code that changes at different rates (separate evolution paths)
The skill is designed to be run as part of an AI coding agent's workflow, presumably via a command like /compress-architecture against a codebase directory. It's not a standalone tool — it's an agent skill that modifies the agent's behavior to audit and suggest removals.
Who It's For
Developers using AI coding agents (e.g., Claude, Copilot, etc.) who want to automatically detect and remove over-engineering from their codebases without breaking legitimate architectural boundaries.
📖 Read the full source: r/ClaudeAI
👀 See Also

devcontainer-mcp: Give AI Agents Their Own Dev Environment, Not Yours
devcontainer-mcp is an MCP server that exposes 45 tools for AI agents to create, manage, and work inside dev containers backed by Docker, DevPod, or GitHub Codespaces — keeping host machines clean.

NervMap: Single Command Server Service Discovery and Diagnostics Tool
NervMap is a Linux tool that discovers Docker containers, systemd services, and bare processes in under 1 second, maps dependencies between them, and diagnoses issues with severity analysis and fix suggestions.

Pretticlaw: A Lighter Alternative to OpenClaw with Faster Setup
Pretticlaw is a lightweight alternative to OpenClaw that requires only 2 commands for setup, has a 30MB footprint, and responds in 2-3 seconds with an inbuilt dashboard on port 6767.

cq: A Local-First Knowledge Sharing System for AI Coding Agents
Mozilla.ai's cq is an open-source tool that lets AI coding agents share 'knowledge units' about common gotchas via a local SQLite store, with optional team sharing through a Docker API. It installs as a Claude Code plugin or OpenCode MCP server.