MOTH Logo
Tiny specs for big brains

Machine-Optimized Text Hierarchy

The compact format for PRDs, rules, and architecture in AI-assisted development. Mothify compresses product knowledge into structured context that coding agents can keep always-on.

.moth
Read the SpecView Examples
70-90%
Compression
LLM
Native
Human
Readable

Try MOTHify - Custom GPT

Use our custom ChatGPT to convert your docs to MOTH format, or paste the onboarding prompt into any LLM.

Launch MOTHify GPT →

Or copy this prompt for Claude, Gemini, or any other LLM:

Universal Onboarding Prompt

You now understand MOTH notation.

## Core Syntax
- [SECTIONS] in ALL_CAPS denote logical blocks
- key:value is the primary data pattern
- Semicolons (;) separate list items
- {key=value} for state/config objects

## When Reading MOTH Files
- [FEATURES] → Requirements to implement
- [SCHEMAS] → Data models to create
- [API] → Endpoints to build
- [RULES] → Coding standards to follow
- [FORBIDDEN] → NEVER violate these

MOTH is 70-90% more compact than markdown.
Everything is structured and actionable.
LLM Reading PromptMothify Conversion Prompt

Convert Docs to MOTH

Teach any LLM to transform verbose documentation into compact MOTH format. Works with Claude, Gemini, ChatGPT, and all major AI models.

Mothify LLM Prompt

Complete conversion guide with examples and validation rules

View Full Prompt

PRD Conversion

Transform product docs into structured specs

Rules Files

Convert style guides to coding rules

Architecture

Compress system architecture docs

Validation

Built-in syntax and structure checks

What you get: Complete prompt with MOTH syntax rules, conversion strategies, examples, and validation guidelines. Achieves 70-90% compression while preserving all critical information.

ClaudeChatGPTGeminiAny LLM

Why MOTH?

70-90% compression vs traditional markdown
Optimized for LLM token efficiency
Human-readable syntax, no markdown
Perfect for AI agents and developers
Explore Docs
intent:product_requirements
audience:dev_team; version:1.0.0

[PRODUCT]
name:TaskFlow; type:saas
domain:project_management

[FEATURES]
boards:kanban+list+calendar
tasks:create;assign;track
realtime:websocket

[STACK]
frontend:react+typescript
backend:fastapi; db:postgresql

Ready to get started?

Learn the syntax, explore examples, and start using MOTH in your projects today.

DocumentationView Examples