pinme-llm
Skill by glitternetwork
Guides AI assistants to write PinMe Worker TypeScript code that calls OpenRouter-backed LLM APIs through the PinMe proxy. Covers model listing, chat completions, SSE streaming and OpenRouter web search. Intended for developers building PinMe Workers.
Install pinme-llm
Built from the published package, never by AI.
git clone --depth 1 https://github.com/glitternetwork/pinme /tmp/pinme && mkdir -p ~/.claude/skills && cp -r /tmp/pinme/skills/pinme-llm ~/.claude/skills/pinme-llmRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/glitternetwork/pinme /tmp/pinme && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/pinme/skills/pinme-llm ~/.gemini/antigravity-cli/skills/pinme-llmAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The pinme-llm skill tells an AI assistant how to call PinMe's OpenRouter proxy APIs from a PinMe Worker written in TypeScript. It covers the models endpoint, the chat completions endpoint, streaming responses passed through as server-sent events, and web search through OpenRouter's openrouter:web_search server tool. The Worker authenticates with the PinMe project API key and never holds the real OpenRouter key.
The skill includes example Worker code for non-streaming calls, SSE passthrough, a frontend stream reader, and a shared error extractor that maps PinMe and OpenRouter errors to readable messages. It describes the environment variables API_KEY, PROJECT_NAME and an optional BASE_URL, and lists the documented HTTP error statuses. It is written for developers building PinMe Workers that need LLM features.
Written from the project's SKILL.md and checked against it.
What it can do
- List OpenRouter modelsCalls the PinMe models endpoint to list available OpenRouter models.
- Chat completionsSends OpenRouter-format chat requests through the PinMe proxy and returns the raw response.
- Streaming responsesPasses SSE streaming chat responses from the Worker to the frontend.
- OpenRouter web searchAdds the openrouter:web_search server tool to chat requests so the model can search the web.
- Error handlingProvides a helper that extracts readable error messages from PinMe and OpenRouter responses.
What you need
- PinMe project API key
- PinMe project name
- PinMe Worker project in TypeScript
- Sufficient PinMe LLM balance
Try asking
- Write a PinMe Worker endpoint that lists OpenRouter models.
- Add SSE streaming chat to my PinMe Worker using OpenRouter.
- Add OpenRouter web search to my PinMe Worker with bounded results.
Good to know
- PinMe does not provide a raw search endpoint; the model decides whether to search.
- Request bodies are limited to 1MB.
- Non-streaming and streaming responses are passed through from OpenRouter when OpenRouter returns an error.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/pinme-llm/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB
Alternatives to pinme-llm
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
pinme-llm: common questions
Does the Worker need its own OpenRouter API key?
No. The Worker uses the PinMe project API key and never holds the real OpenRouter API key.
How does web search work with this skill?
Pass the openrouter:web_search tool to chat/completions. The model decides whether and when to search, and max_results and max_total_results keep search volume bounded.
Does it support streaming responses?
Yes. Setting stream to true returns server-sent events, which the Worker can pass through directly to the frontend.
How do I install pinme-llm?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pinme-llm free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is pinme-llm safe to use?
It scores 86 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pinme-llm?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
