golem-add-component

Add Golem components or agent templates to existing workspaces via golem new.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you grow an existing Golem application from one component into a multi-component project, while also adding new agent templates safely and consistently.

Core Features & Use Cases

  • Add a new component to an existing app by generating component scaffolding and wiring it into golem.yaml.
  • Add agent templates to an existing component by applying language-specific templates (and disambiguating with --component-name when needed).
  • Handle single-component to multi-component promotion with automatic directory migration and golem.yaml updates when you introduce a second component.
  • Avoid runtime failures from agent name conflicts by warning that default templates may generate identical agent names like CounterAgent.

Quick Start

Run golem new with your chosen template and the required flags to scaffold the component or apply the agent template into the correct target component in the existing Golem application directory.

Frequently Asked Questions about golem-add-component

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

FAQPage Schema
How do I add a second component to an existing Golem application?

To add a second component to an existing Golem application, run golem new with your chosen template and the --yes flag. This automatically migrates the root-based single-component app into subdirectories and updates golem.yaml to wire in the new component scaffolding.

How do I apply a human-in-the-loop agent template to a specific Golem component?

To apply a human-in-the-loop agent template to a specific Golem component, run golem new with the --template and --yes flags, using --component-name to target the component. This ensures the template is applied to the correct component within your multi-component workspace.

Why does my multi-component Golem app fail with agent name conflicts?

Multi-component Golem apps fail with agent name conflicts because default templates can generate identical agent names like CounterAgent across different components. You must ensure generated default agent naming does not conflict across components when adding new agent templates.

Can I add snapshotting or JSON API templates to an existing Golem workspace?

Yes, you can add snapshotting or JSON API templates to an existing Golem workspace. Running golem new with the appropriate --template flag and --yes applies the language-specific templates directly into your existing component or workspace.

What happens when I introduce a second component to a single-component Golem app?

Introducing a second component to a single-component Golem app triggers automatic directory migration and golem.yaml updates. The system promotes the root-based single-component app into subdirectories to properly structure the multi-component workspace.

Do I need to specify a component name when scaffolding new agent templates in Golem?

You need to specify a component name using --component-name when scaffolding new agent templates in a multi-component Golem app. This disambiguates the target and ensures the template is applied to the correct component without conflicts.