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

golem-add-llm-ts

Skill by golemcloud

Adds LLM chat, embeddings and AI provider integrations to a TypeScript Golem agent. Covers direct REST calls with fetch, OpenAI and Anthropic SDK examples, and storing API keys as secrets.

  • Score 66
  • 1.5k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install golem-add-llm-ts

Built from the published package, never by AI.

git clone --depth 1 https://github.com/golemcloud/golem /tmp/golem && mkdir -p ~/.claude/skills && cp -r /tmp/golem/golem-skills/skills/ts/golem-add-llm-ts ~/.claude/skills/golem-add-llm-ts

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

Step-by-step: install golem-add-llm-ts in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill explains how to add LLM chat, embeddings and other AI provider integrations to a TypeScript Golem agent. It shows how to call a provider's REST API with fetch, or use a provider's npm SDK such as openai or @anthropic-ai/sdk. It also covers storing API keys as Golem secrets using the typed config system, and gives a complete chat agent example.

The source warns that fetch working does not establish that an SDK works in Golem, since SDKs can use unsupported runtime APIs. Developers should build and test the exact package version in Golem before relying on it. Libraries needing native C/C++ bindings will not work. The skill is aimed at developers building TypeScript agents that call LLM APIs.

Written from the project's SKILL.md and checked against it.

What it can do

  • Direct REST callsShows how to call an LLM provider's REST API with fetch.
  • OpenAI SDK exampleShows usage of the official openai npm package.
  • Anthropic SDK exampleShows usage of the official @anthropic-ai/sdk npm package.
  • Other provider SDKsLists candidate SDKs for Google AI, Cohere, Mistral and Groq.
  • API key secretsStores provider API keys as Golem secrets through the typed config system.
  • Chat agent exampleProvides a TypeScript agent that keeps chat history and answers questions.

What you need

  • A TypeScript Golem agent
  • An API key from the LLM provider
  • npm to install provider SDKs

Try asking

  • Add an OpenAI chat method to my TypeScript Golem agent
  • Store my Anthropic API key as a secret in my Golem agent
  • Call an LLM REST API with fetch from my TypeScript agent

Good to know

  • Package examples are starting points, not tested compatibility guarantees.
  • Libraries that depend on native C/C++ bindings will not work.
  • Model availability must be confirmed for your account.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: golem-skills/skills/ts/golem-add-llm-ts/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to golem-add-llm-ts

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

golem-add-llm-ts: common questions

Can I use the OpenAI SDK in a Golem agent?

The skill shows an openai example but says the exact package version must be built and tested in Golem first. SDKs can depend on runtime APIs that Golem does not support.

Where should provider API keys be stored?

The skill says to store them as Golem secrets using the typed config system with s.secret. The value is read with config.apiKey.get() inside a handler.

Which kinds of libraries will not work?

Libraries that depend on native C/C++ bindings, such as onnxruntime-node, will not work with this approach.

How do I install golem-add-llm-ts?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is golem-add-llm-ts free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is golem-add-llm-ts safe to use?

It scores 66 of 100. Grades: maintenance A, licence F, 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 golem-add-llm-ts?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

golem-add-llm-ts Install

Add to stack

Loading.