← All 17 principles

Principle № 6 · Architecture

UNIX Philosophy

Small, composable tools that do one thing well

UNIX Philosophy

Overview

Do one thing well. Compose tools through standard interfaces. Build small, focused tools—compose them for complex operations.

The UNIX philosophy from the 1970s remains the best architectural pattern for reliable systems: small programs that do one thing well, connected through simple interfaces (pipes, files, standard streams).

This applies perfectly to AI infrastructure. Skills are self-contained packages that chain into complex workflows. Each skill does one thing. Workflows compose skills.

Why This Matters

Small tools are testable - You can’t meaningfully test a monolith that does everything. You can thoroughly test a tool that does one thing.

Small tools are reusable - A tool that does one thing well gets used in dozens of contexts. A tool that does many things poorly gets used nowhere.

Small tools are replaceable - When a better solution appears, you swap one small component. With monoliths, you rewrite everything.

Composition creates flexibility - Ten small tools can combine into thousands of workflows. One large tool has one workflow.

Small tools are understandable - You can hold a focused tool in your head. Monoliths require documentation, diagrams, and institutional knowledge.

Implementation

LifeOS implements UNIX philosophy through skills-as-containers:

Each skill is self-contained - Skills live in isolated directories with routing, workflows, context, tools, and documentation. No cross-skill dependencies.

Standard interfaces - Skills expose CLI commands (text in, text out). MCP provides standardized tool access. Everything composes through well-defined interfaces.

Skills compose via workflows - The Research skill composes multiple AI researchers in parallel. The Art skill composes diagram generation + optimization. BrightData composes four scraping tiers.

CLI as universal interface (Principle #8) - Every skill exposes command-line tools. CLI is the “pipe” that connects everything.

Skills System document - .claude/Skills/CORE/SkillSystem.md is the canonical guide for creating focused, single-purpose skills.

Examples

Example 1: Research Workflow Instead of a monolithic “research everything” tool:

  • extract-content skill: Gets clean text from URLs
  • fabric/extract_wisdom pattern: Extracts key insights
  • fabric/summarize pattern: Condenses information
  • research/analyze workflow: Orchestrates all three

Each component does one thing. The workflow composes them.

Example 2: Content Pipeline Instead of “generate content” monolith:

  • art/generate-diagram - Creates technical diagrams
  • art/optimize-image - Compresses for web
  • blog/add-header - Formats for CMS
  • blog/deploy - Pushes to production

Four focused tools, one complete pipeline.

Example 3: Data Processing UNIX way:

cat data.json | jq '.users' | grep "active" | wc -l

Each tool does one thing:

  • cat - Read file
  • jq - Parse JSON
  • grep - Filter text
  • wc - Count lines

LifeOS skills work the same way—small, focused, composable.