golem-create-agent-instance-ts

Pre-create TypeScript Golem agent instances with environment, config, and WASI settings.

Updated May 17, 2026
One-click install
npx skills add https://github.com/Rust-soham/golem-claw --skill golem-create-agent-instance-ts-rust-soham
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golem-create-agent-instance-ts
Source: https://github.com/Rust-soham/golem-claw/tree/main/packages/golem/.agents/skills/golem-create-agent-instance-ts
Command: npx skills add https://github.com/Rust-soham/golem-claw --skill golem-create-agent-instance-ts-rust-soham

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating a new Golem agent typically happens implicitly on first invocation, which makes it hard to ensure environment variables, configuration, or WASI settings are applied before any method is called.

Core Features & Use Cases

  • Explicit agent pre-creation: Create an agent instance without invoking any method so it starts in an idle state, ready for later calls.
  • Deterministic configuration at creation time: Set environment variables, typed agent configuration, and WASI variables when you create the instance.
  • Flexible agent ID addressing: Use TypeScript-syntax agent IDs with optional environment/application/account path prefixes to target the right deployment.

Quick Start

Use golem agent new with the agent ID you want to instantiate, including any required constructor parameters and optional env, config, or wasi-config values, so the agent is created and available for subsequent invocations.

Frequently Asked Questions about golem-create-agent-instance-ts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I pre-create a Golem agent in TypeScript with environment variables before invoking methods?

Pre-creating a Golem agent initializes the instance in an idle state without invoking any methods. This allows you to apply constructor parameters, environment variables, and WASI configuration before the first call, ensuring deterministic setup for environment-specific deployments.

How do I set WASI configuration and typed agent config when creating a Golem agent?

Pass the `--wasi-config` flag for WASI variables and the `--config` flag with dot-separated paths for typed agent configuration during the `golem agent new` command. This applies the settings deterministically at creation time before the agent processes any requests.

Does Golem support TypeScript-syntax agent IDs with environment path prefixes?

Yes, Golem supports flexible agent ID addressing using TypeScript-syntax with optional environment, application, or account path prefixes. This targets the right deployment context when you pre-create the agent instance.

Can I apply repeated environment variables to a Golem agent during instance provisioning?

Yes, you can pass repeated `--env` flags during the `golem agent new` command. This provisions the TypeScript Golem agent with multiple environment variables applied simultaneously before it enters an idle state for later invocation.

Why are my Golem agent configuration settings missing during the first method call?

Golem typically creates agents implicitly on first invocation, bypassing early setup. You must explicitly pre-create the agent instance using `golem agent new` with your configuration flags to ensure settings are applied before any method is called.