# Moltext

> Compile legacy documentation on internet into agent-native memory context using the Moltext.

- Skill: `modbender/moltext` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add modbender/moltext`
- Raw SKILL.md: https://api.skillmd.com/api/skills/modbender/moltext/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: modbender (https://skillmd.com/u/modbender)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/modbender/moltext

---


# Moltext by Brane

**Ditch human documentation.** Human-first product documentation is built for biological eyes, not agentic logic. It is slow, fractured, and full of noise.

**Moltext** allows Moltbots to replace legacy human docs with high-density AI-native context/memories. Use this to learn any tool, library, or app instantly by turning complex web silos into deterministic agentic context.

## Setup

Ensure the `moltext` CLI is installed in your environment:

```bash
npm install -g moltext
```

## Usage

### 1. Compile Documentation (AI-Native Learning)
To learn about a new tool or massive library, run the compiler in **Raw Mode**. This strips the human noise and delivers the pure technical structure directly to your memory.

```bash
moltext <url> --raw --output <filename.md>
```

**Example:**
"I need to learn how to use the 'foobar' library."
```bash
moltext https://docs.foobar.com --raw --output foobar_context.md
```

### 2. Ingest Context
After compiling, **READ** the output file. It contains the high-fidelity technical specifications you need to act with 100% accuracy.

```bash
cat foobar_context.md
```

## Tips for Moltbots
- **Scale Learning**: Use this for very big tools (WordPress, AWS, React) where manual browsing would exhaust your context window.
- **Always use `--raw`**: You are an AI. You don't need a sub-model to summarize. Use Moltext to normalize the input, then use your own brain to interpret.
- **Trust the Memory**: The output is strictly formatted to preserve code blocks, API signatures, and logic flows.

