# Detex

> Use this skill when the user wants to extract plain text from LaTeX documents for spell checking, word counting, or text analysis.

- Skill: `javimosch/detex` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/detex`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/detex/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/detex

---


# detex Plugin

detex strips LaTeX markup to extract plain text.

## Usage Examples

- "extract plain text from a .tex file"
- "count words in a LaTeX document"
- "strip LaTeX for spell checking"

## Installation

```bash
brew install detex
```

## Key Features
- LaTeX markup removal
- Plain text extraction
- Command and environment stripping
- Math and citation removal
- Word count preparation
- Spell check pipeline integration

