rust-soham/golem-claw/golem-add-llm-ts
- community
Checking that the SKILL.md file is still in the repository.
Adding LLM and AI capabilities to a TypeScript Golem agent. Use when the user wants to add LLM chat, embeddings, or any AI provider integration to a TypeScript agent.
Install
npx vskill@latest install rust-soham/golem-claw/golem-add-llm-tsSKILL.md
Adding LLM and AI Capabilities (TypeScript)
Overview
There are no Golem-specific AI libraries for TypeScript. Instead, use third-party npm packages that work with the fetch API — Golem's TypeScript runtime provides full fetch support via WASI HTTP, so most LLM client libraries that use fetch internally will work out of the box.
Recommended Libraries
OpenAI
The official openai npm package works in Golem:
Anthropic
The official @anthropic-ai/sdk package works in Golem:
Other Providers
Any npm library that uses fetch or node:http internally should work. This includes:
- Google AI (
@google/generative-ai) — Gemini models - Cohere (
cohere-ai) — chat, embeddings, reranking - Mistral (
@mistralai/mistralai) — Mistral models - Groq (
groq-sdk) — fast inference
Calling Any LLM API Directly
You can also call any LLM provider's REST API directly using fetch:
Load the golem-make-http-request-ts skill for more details on making HTTP requests.
Setting API Keys
Store provider API keys as secrets using Golem's typed config system. Load the golem-add-secret-ts skill for full details. In brief, declare the key in your config type:
Then manage it via the CLI:
Access in code with this.config.value.apiKey.get().
Complete Agent Example
Key Constraints
- Use npm libraries that internally use
fetchornode:http— these work in Golem's WASM runtime - Libraries that depend on native C/C++ bindings (e.g.,
onnxruntime-node) will not work - API keys should be stored as secrets using Golem's typed config system (load the
golem-add-secret-tsskill) - All HTTP requests made from agent code are automatically durably persisted by Golem
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/golem/.agents/skills/golem-add-llm-ts/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rust-soham/golem-claw/golem-add-llm-ts)