Add To Library banner
marostr marostr

Add To Library

Communication community

Description

Add a new item to the HQ library. The user may provide a URL, a YouTube link, or paste raw text as an argument. ## Step 1: Determine source type and fetch raw content - **Web URL**: Fetch with your URL-to-markdown tool of choice (e.g., `mcp__crawl4ai__md` if available, otherwise `defuddle`, `WebFetch`, or another extraction tool). Extract clean readable markdown — strip nav, ads, sidebars. If extraction fails (timeout, 403/429, empty content), STOP and tell the user. Do not silently fall back

Installation

Installs to ~/.claude/commands/marostr-hq-starter-add-to-library.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/marostr/hq-starter/HEAD/.claude/commands/add-to-library.md -o ~/.claude/commands/marostr-hq-starter-add-to-library.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository