Pinme Llm
Worker-side OpenRouter access through PinMe's proxy, covering models, chat completions, streaming, and web search.
- CCM score
- 71 of 100
- skills.sh installs
- 520
- GitHub stars
- 3.8K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the
GET /api/v1/modelslisting and thePOST /api/v1/chat/completionsproxy with its query parameters - Includes non-streaming and SSE streaming Worker examples plus a frontend SSE consumer for chat responses
- Enforces a 1MB request body limit and a fixed error table mapping HTTP statuses 400 through 502 to PinMe messages
- Designed for Cloudflare Worker TypeScript projects that must call OpenRouter without holding the real OpenRouter API key
Install
$ npx -y skills add glitternetwork/pinme --skill pinme-llm -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
PinMe Worker OpenRouter API Integration
Guides how to call PinMe platform's OpenRouter proxy APIs in a PinMe Worker (TypeScript). Workers use the PinMe project API key; they never hold the real OpenRouter API key.
Environment Variables
The following environment variables are automatically injected when the Worker is created — no manual configuration needed:
// backend/src/worker.ts
export interface Env {
DB: D1Database;
API_KEY: string; // Project API Key from create_worker
PROJECT_NAME: string; // Actual project_name from create_worker; must match API_KEY
BASE_URL?: string; // Optional override for PinMe API base URL, defaults to https://pinme.cloud
}
API_KEYauthenticates the Worker to PinMe.PROJECT_NAMEis required forchat/completionsand must belong to the same project asAPI_KEY. WhenBASE_URLis not set, usehttps://pinme.cloud.
Models API
Endpoint: GET {BASE_URL}/api/v1/models
Authentication: X-API-Key header (using env.API_KEY)
Request Body: none
Details
- Repository
- github.com/glitternetwork/pinme
- Categories
- AI Agents & LLM Apps, Backend & APIs
- License
- MIT
- First seen
- Jun 3, 2026
Questions
What does the pinme-llm skill help an agent do?
The pinme-llm skill guides an agent to call OpenRouter-backed LLM APIs from a PinMe Worker written in TypeScript, covering models listing, chat completions, streaming, and OpenRouter web search. It helps the agent generate correct Worker TypeScript code for these calls. Workers authenticate with the PinMe project API key and never hold the real OpenRouter key.
Which category does pinme-llm belong to, and what sets it apart?
The pinme-llm skill is in the AI Agents & LLM Apps category on Claude Marketplaces. Its other top skills in that category include microsoft-foundry, azure-ai, and google-agents-cli-adk-code. This skill is specific to PinMe Workers, calling OpenRouter through the PinMe proxy with the project API key.
How do I install the pinme-llm skill?
Run npx -y skills add glitternetwork/pinme --skill pinme-llm -y in your project. After installing, the agent can write PinMe Worker code that calls OpenRouter models, chat completions, and web search.
What does the skill need to run in a PinMe project?
The Worker needs the environment variables API_KEY and PROJECT_NAME, which are injected when the Worker is created. PROJECT_NAME must belong to the same project as API_KEY. BASE_URL is optional and defaults to the PinMe base address.
More from glitternetwork/pinme
All 5Similar to Pinme Llm
More AI Agents & LLM Appsopenrouter-typescript-sdkSkillopenrouterarchived/agent-skills2K installsopenrouter typescript sdk.
freellmpoolMCP server0xzr159 starsUnified OpenAI-compatible gateway pooling 22 LLM providers, with routing, failover, and fan-out tools.
awesome-free-llm-apisSkillreason-machines/trending-skills904 installsCurated reference for permanent free-tier LLM APIs, with rate limits, model lists, and OpenAI-compatible integration code.
mcp-builderSkillanthropics/skills150.6K installsGuide for building MCP servers that let LLMs call external APIs through well-designed, agent-friendly tools.
freellmapi-proxySkillreason-machines/trending-skills212 installsSelf-hosted OpenAI-compatible proxy that pools free-tier keys from 14 LLM providers behind one endpoint.