golem-invoke-agent-ts

Invoke typed methods on deployed TypeScript Golem agents from the command line.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you call a specific method on a deployed Golem agent without manually handling deployment, request formatting, or waiting for results.

Core Features & Use Cases

  • Invoke an agent method from the CLI: Run a function on a deployed agent and stream stdout/stderr/logs by default.
  • Auto-create/deploy when needed: Automatically builds and deploys the agent component when invoked from an application directory and it hasn’t been deployed yet.
  • Precise targeting & safe retries: Supports environment/app/account-scoped agent IDs and idempotency keys to ensure at-most-once execution for retries.

Quick Start

Run golem agent invoke with your agent ID and the function name, for example: golem agent invoke 'MyAgent("user-123")' getStatus.

Frequently Asked Questions about golem-invoke-agent-ts

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

FAQPage Schema
How do I invoke a specific method on a deployed TypeScript Golem agent from the command line?

To invoke a TypeScript Golem agent method from the command line, construct an AgentTypeName(params) agent ID and pass it with a FUNCTION_NAME to the golem agent invoke command, optionally scoping by environment or application path to execute typed agent functions directly.

Does Golem agent invoke support idempotency keys for safe CLI automation retries?

Golem agent invoke supports idempotency keys to ensure at-most-once execution for retries. This CLI automation feature prevents duplicate method execution when triggering typed TypeScript agent functions during automated deployment workflows.

What happens if I call an agent method from a directory where the component hasn't been deployed yet?

When invoking an agent method from an application directory where the component hasn't been deployed yet, the tool automatically builds and deploys the agent component before executing the typed TypeScript function call.

How do I pass typed TypeScript-syntax arguments to a deployed agent function?

You pass typed TypeScript-syntax arguments by formatting them within the agent ID construction as AgentTypeName(params), allowing the Golem CLI to correctly parse and execute the specific method on the deployed agent.

Can I stream stdout and stderr logs when running a Golem agent invocation?

Yes, invoking a deployed TypeScript Golem agent from the CLI streams stdout, stderr, and logs by default. You can handle optional streaming options and wait for or trigger invocations per specified flags.