summarize
Summarize
Fast CLI to summarize URLs, local files, and YouTube links.
Quick start
summarize "https://example.com" --model google/gemini-3-flash-preview
summarize "/path/to/file.pdf" --model google/gemini-3-flash-preview
summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto
OpenCode Zen (FREE models!)
Use OpenCode Zen for free summarization with GLM 4.7:
# Set env vars for OpenCode Zen
export OPENAI_BASE_URL="https://opencode.ai/zen/v1"
export OPENAI_API_KEY="<your-zen-api-key>" # Get from https://opencode.ai/auth
# Summarize with free GLM 4.7
summarize "https://example.com" --model openai/glm-4.7-free
Free models on OpenCode Zen:
| Model | Model ID |
|---|---|
| GLM 4.7 | glm-4.7-free |
| Big Pickle | big-pickle |
| Grok Code Fast 1 | grok-code |
| MiniMax M2.1 | minimax-m2.1-free |
| GPT 5 Nano | gpt-5-nano |
When using summarize with OpenCode Zen:
OPENAI_BASE_URL="https://opencode.ai/zen/v1" OPENAI_API_KEY="$OPENCODE_ZEN_KEY" summarize "URL" --model openai/glm-4.7-free
Model + keys
Set the API key for your chosen provider:
- OpenAI:
OPENAI_API_KEY - Anthropic:
ANTHROPIC_API_KEY - xAI:
XAI_API_KEY - Google:
GEMINI_API_KEY(aliases:GOOGLE_GENERATIVE_AI_API_KEY,GOOGLE_API_KEY)
Default model is google/gemini-3-flash-preview if none is set.
Useful flags
--length short|medium|long|xl|xxl|<chars>--max-output-tokens <count>--extract-only(URLs only)--json(machine readable)--firecrawl auto|off|always(fallback extraction)--youtube auto(Apify fallback ifAPIFY_API_TOKENset)
Config
Optional config file: ~/.summarize/config.json
{ "model": "openai/gpt-5.2" }
For OpenCode Zen default:
{
"model": "openai/big-pickle",
"baseUrl": "https://opencode.ai/zen/v1"
}
Optional services:
FIRECRAWL_API_KEYfor blocked sitesAPIFY_API_TOKENfor YouTube fallback
More from bjesuiter/skills
mole-mac-cleanup
Mac cleanup & optimization tool combining CleanMyMac, AppCleaner, DaisyDisk features. Deep cleaning, smart uninstaller, disk insights, and project artifact purge.
32xcode
Build, test, and manage Xcode projects and Swift packages. Use when the user mentions Xcode, iOS/macOS app development, simulators, Swift packages, or needs to build/test Apple platform apps. Triggers on "build", "run", "test", "simulator", "xcodebuild", "swift package", "iOS app", "macOS app".
30jb-browser-testing
Private browser testing rules for jb workflows. Prefer playwriter_exec with careful tab selection, fall back to agent-browser, and avoid playwright-mcp.
16mcporter
Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.
16security-check
Red-team security review for code changes. Use when reviewing pending git changes, branch diffs, or new features for security vulnerabilities, permission gaps, injection risks, and attack vectors. Acts as a pen-tester analyzing code.
16jb-beans
Use the beans CLI to track issues/tasks alongside your code. Flat-file issue tracker that stores beans as markdown files in .beans/ directory. Integrates with Codex, OpenCode, and Claude Code via beans-prime.
15