
Security News
OpenCode User Hit with Hostile Backlash After Reporting Free AI Loophole
An OpenCode user faced harassment after reporting a free AI usage loophole, drawing a bitter backlash in a GitHub thread that has since been deleted.
contextmd-cli
Advanced tools
Feed your Agents the Context they deserve.
🚀 maintain your AI Documentation effortlessly?
Check out SuperDocs.cloud — The platform to build, host, and maintain AI-ready documentation in 1-click directly from your GitHub repository.
- Always up to date. Zero config. Production ready.
ContextMD is the ultimate terminal utility for turning complex documentation websites into a single, high-density AI Context File.
Modern LLMs and Agents (like Claude 3.5 Sonnet, GPT-4o, or Gemini 1.5 Pro) are powerful, but they struggle to navigate multi-page documentation sites effectively. They get lost in navigation bars, footers, duplicate content, and fragmented pages.
ContextMD solves this. It crawls, cleans, and chemically refines entire documentation sites into a single context.md file that you can drop directly into your LLM's context window.
Love the CLI but want automation?
SuperDocs.cloud takes this concept to the enterprise level:
Start Building on SuperDocs.cloud →
Ensure you have Node.js 18+ installed.
npm install -g contextmd-cli
npx contextmd https://docs.example.com
export OPENAI_API_KEY=sk-proj-...
contextmd https://docs.turso.tech
This will generate a context.md file in your current directory.
Usage: contextmd [options] <url>
Arguments:
url Base URL of the documentation to convert
Options:
-k, --key <key> OpenAI API Key (can also be set via OPENAI_API_KEY env var)
-o, --output <path> Output file path (default: "context.md")
-l, --limit <number> Max pages to crawl (default: "100")
-h, --help display help for command
Crawl a specific documentation site with a page limit:
contextmd https://developer.spotify.com/documentation/web-api --limit 50
Save to a specific location:
contextmd https://stripe.com/docs/api -o ./stripe-context.md
ContextMD operates in a three-stage pipeline:
The Crawler:
url.--limit flag to prevent infinite loops on massive sites.The Processor (The "Brain"):
turndown and cheerio to convert HTML to Markdown.The Compiler:
context.md file.Want to build this from source?
Clone the repo:
git clone https://github.com/UditAkhourii/contextmd.git
cd contextmd
Install dependencies:
npm install
Build:
npm run build
Run locally:
node dist/index.js https://example.com
We welcome contributions! Please open an issue or submit a PR if you have ideas for:
CC BY-NC 4.0 © Udit Akhouri
FAQs
The ultimate Agentic AI Context Generator for Documentation.
The npm package contextmd-cli receives a total of 0 weekly downloads. As such, contextmd-cli popularity was classified as not popular.
We found that contextmd-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
An OpenCode user faced harassment after reporting a free AI usage loophole, drawing a bitter backlash in a GitHub thread that has since been deleted.

Threat Research
/Security News
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.

Threat Research
Malicious Firefox extensions mimic Phantom, Jupiter, and Bitget wallets to steal recovery phrases and private keys, with one fetching its payload remotely.