Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 86
  • 3.8k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-llm

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install pinme-llm in Claude Code

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

A

No 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 →

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.

pinme-llm Install

Add to stack

Loading.