From text-corpus-analysis
Configure OpenRouter as the cloud-LLM backend for skills in this plugin. Use when a skill needs cloud LLM access and the user wants pay-as-you-go routing across Claude, GPT, Gemini, DeepSeek, Llama, Qwen without managing multiple provider keys.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin text-corpus-analysisThis skill uses the workspace's default tool permissions.
Single API key, access to ~every hosted LLM.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Analyzes multiple pages for keyword overlap, SEO cannibalization risks, and content duplication. Suggests differentiation, consolidation, and resolution strategies when reviewing similar content.
Share bugs, ideas, or general feedback.
Single API key, access to ~every hosted LLM.
Key: check env for OPENROUTER_API_KEY. If absent, ask the user to set it (point at 1Password if they use op-vault). Never print the key.
Endpoint: https://openrouter.ai/api/v1 — set as OPENAI_BASE_URL with the OpenAI SDK.
Recommended model aliases (update when prices shift — check openrouter.ai/models):
| Tier | Model id (OpenRouter) | Good for |
|---|---|---|
| Ultra-cheap | deepseek/deepseek-chat, google/gemini-2.0-flash-001 | Bulk classification, labeling |
| Cheap | anthropic/claude-haiku-4-5, openai/gpt-4o-mini | Classification with higher quality, summarization |
| Premium | anthropic/claude-sonnet-4-6, anthropic/claude-opus-4-7, openai/gpt-4o | Taxonomy design, nuanced labeling, residue review |
| Embeddings | openai/text-embedding-3-small (direct OpenAI), or local sentence-transformers | Clustering, similarity |
Prices change — always fetch current pricing before large runs.
Test call: send a 1-token completion to verify routing + key.
Set safe defaults in a shared config:
Enable prompt caching for providers that support it (Anthropic, OpenAI) — huge savings on repeated system prompts in classification/taxonomy work.
choose-approach.max_spend_usd envelope; abort if projected exceed.logs/openrouter-calls.jsonl.OpenRouter forwards to the chosen provider. If the corpus is sensitive, prefer setup-local-llm.