Skip to main content
hook CX Codex

wtfm — Claude Code hook: what it does, how to install

wtfm generates illustrated end-user help articles from codebase files and renders screenshots locally from the actual interface code.

Apache-2.0 ★ 1,596 updated 2026-10-29

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/settings.json
Open on GitHub

What wtfm does

This hook bundle comes with the wtfm plugin. It drafts illustrated help documentation for end users directly from the codebase, rendering interface screenshots locally from the actual UI code.

The configuration reacts to two lifecycle events: SessionStart and PostToolUse. When a session begins, it executes plugin-session.mjs. After every tool execution, it triggers trace_hook.js, while Bash tool calls specifically trigger article-reminders.mjs with the after-bash argument.

Because all actions invoke Node scripts, a working node binary is strictly required in your environment.

What it helps with

  • Draft illustrated user help articles from UI code
  • Render application screenshots locally without manual capture
  • Trace tool calls during documentation sessions
  • Trigger reminders right after Bash commands run

Example prompts for the agent

  • Write an illustrated user guide from our interface code
  • Generate a help article with local screenshots for the new feature

How to install wtfm

Manually: put the files in place

.claude/settings.json

The hooks block: event (PreToolUse, PostToolUse, Stop…) → command. Personal ones go to ~/.claude/settings.json

Step by step, with commands for each platform: Claude Code hooks: what they are, where to configure them, how to block a risky command

Questions about wtfm

How to install wtfm in Claude Code?

Configure the hook bundle directly inside .claude/settings.json. Add the hooks object with definitions for SessionStart and PostToolUse calling the respective Node scripts.

What does wtfm do?

It automates the creation of illustrated user help articles from your codebase. It also renders UI screenshots locally from the actual code.

What dependencies are required to run these hooks?

You must have node installed on your system. All triggered actions launch JavaScript files (plugin-session.mjs, trace_hook.js, and article-reminders.mjs) through Node.

Source text

hooks.json · Apache-2.0
Hooks bundle shipped with the wtfm plugin for Claude Code.

Writes illustrated end-user help articles from a codebase, with screenshots rendered locally from the real interface code.

Triggers on: PostToolUse, SessionStart.

```json
{
  "hooks": {
    "SessionStart": [
      { "hooks": [{ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/plugin-session.mjs\"" }] }
    ],
    "PostToolUse": [
      { "matcher": "*", "hooks": [{ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/engine/generate-illustrated-article/scripts/trace_hook.js\"" }] },
      { "matcher": "Bash", "hooks": [{ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/article-reminders.mjs\" after-bash" }] }
    ]
  }
}

```

© SupportPages.io · Apache-2.0 · hashgraph-online/awesome-codex-plugins

Similar hooks

Everything for Writing and docs →

From the same set391

The whole set →
deja-vu deja-vu pulls earlier coding sessions from disk into context at session start and before each terminal command. CX Codex ★ 1,596repo stars dataproduct-builder-dbt dataproduct-builder-dbt runs data contract linting right after file edits in dbt projects. Helps maintain ODCS, ODPS, and OpenLineage standards across your data product builds. CX Codex ★ 1,596repo stars codex-seo This hook runs a schema check when Claude Code edits or writes a file. It ships with codex-seo, a plugin bundle for SEO workflows. CX Codex ★ 1,596repo stars carsxe carsxe is a Claude Code hook that loads the CarsXE API key at session start. The API provides vehicle data such as VIN details, market value, history, and OBD codes. CX Codex ★ 1,596repo stars vibestretch vibestretch is a Claude Code hook that prints a stretch or eye-rest prompt and plays a soft chime after the agent has kept you waiting. It runs on prompt submission, tool use, and agent stop. CX Codex ★ 1,596repo stars tree-ring-memory tree-ring-memory is a Claude Code hook that loads saved context when a session starts and checks memory when it ends. It also runs at subagent start and stop. CX Codex ★ 1,596repo stars tailtest tailtest detects files modified during an agent turn and triggers automated test writing and execution. Works across 8 languages with zero config. CX Codex ★ 1,596repo stars stop-that-shit The stop-that-shit hook for Claude Code and Codex checks agent actions against explicit task modes and bounds decisions about dependencies, hashes, and subagents. CX Codex ★ 1,596repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open