Purpose
WTFM is a coding agent plugin specifically for writing end-user help documentation for products, such as how-to guides and troubleshooting articles, with automatic images. It is not intended for writing developer documentation such as API references or READMEs.
Key capabilities
- Writing based on source code: Routes, button copy, and flows all come from the code, not from text descriptions entered by the user, so the steps match the interface the user actually sees.
- Screenshots without running the app: Reconstructs an interface model based on the project's own markup, styles, and branding, then renders it to PNG via local headless Chromium.
- Plain Markdown output: Each article is an index.md, with images placed alongside it, and can be committed directly to the code repository or placed on any documentation site.
- Checks before saving: Each article first goes through structure, copy, and screenshot checks.
- Reuse existing agents: Uses the user's own Claude Code or Codex subscription and model settings.
- Local-first: Unless the user chooses to publish, no content is sent to SupportPages.io.
How to use
- Run the install script in the terminal to install the wtfm command (also installing the supportpages alias) and download Chromium for screenshots.
- Run wtfm setup to connect Claude Code and/or Codex, and select "No account, save articles in my project".
- Run wtfm init to configure the project, choose where articles are saved and the model; WTFM analyzes the project structure, styles, and branding.
- Open Claude Code or Codex in the project and make requests in natural language, for example "write an illustrated guide to inviting teammates".
Other commonly used commands include wtfm status, wtfm doctor, wtfm configure, wtfm update, wtfm telemetry off, etc.
Use cases
- Write user how-to guides with screenshots for open-source projects or products.
- Batch-generate article drafts for a help center.
- Maintain documentation in the code repository that stays in sync with the product.
Limitations and notes
- Supports macOS or Linux (ARM64 or x64); Windows requires WSL.
- Requires an installed and logged-in Claude Code or Codex; the Codex plugin method requires Node.js 22.12 or later and npm.
- Each article has at most three screenshots, with the main path prioritized and optional branches described in text.
- The project analysis phase runs with the agent's permission prompts disabled; the writing phase uses normal approval prompts.
- By default, anonymous usage counts and crash reports are collected; this can be disabled via wtfm telemetry off or environment variables.
- wtfm yolo runs on SupportPages.io servers, requires an account and connected repository read permission; the free plan covers the first 10 guides.
- Publishing to the SupportPages.io help center is an optional feature; free accounts can host up to 10 articles.
- Licensed under Apache 2.0, free; article generation consumes the user's own agent subscription quota.