add-block

Generate a complete Add Block scaffold for Sim services with subBlocks and tool wiring.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/tunacosgun/sim --skill add-block-tunacosgun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-block
Source: https://github.com/tunacosgun/sim/tree/main/.agents/skills/add-block
Command: npx skills add https://github.com/tunacosgun/sim --skill add-block-tunacosgun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating reliable Sim blocks for new services requires boilerplate scaffolding, proper subBlock configuration, and correct tool wiring to avoid UI or runtime issues.

Core Features & Use Cases

  • Scaffold a full Add Block block file at apps/sim/blocks/blocks/{service}.ts
  • Configure all subBlocks with unique ids, types, and conditional logic
  • Wire tools and outputs to match the block's operations and UI expectations
  • Use case: rapidly onboard a new service by generating a complete, validated block scaffold

Quick Start

Provide the target service name and I will generate a complete Add Block scaffold ready for integration.

Frequently Asked Questions about add-block

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

FAQPage Schema
How do I create Sim blocks for a new service?

Creating Sim blocks involves assembling a full block scaffold with correct subBlocks, conditional logic, dependsOn, modes, canonicalParamId usage, and outputs at apps/sim/blocks/blocks/{service}.ts.

What is tool wiring in Sim block configuration?

Tool wiring in Sim block configuration connects tools and outputs to match the block's operations and UI expectations, ensuring the generated scaffold aligns properly with block serialization and runtime behavior.

How do I configure subBlocks with conditional logic in Sim?

Configuring subBlocks requires assigning unique ids and types within the block scaffold, then applying conditions and dependsOn rules to manage UI rendering and block serialization accurately.

What's the best way to avoid UI issues when scaffolding Sim blocks?

To avoid UI issues when scaffolding Sim blocks, generate a validated configuration that avoids guesses about tool outputs and explicitly flags unknowns during the block development process.

Do I need to manually specify canonicalParamId when adding a block?

Yes, using canonicalParamId is required when adding a block to ensure proper parameter mapping and block serialization within the Sim block configuration scaffold.

Why does my Sim block scaffold fail block serialization?

Sim block scaffolding fails serialization when subBlocks lack unique ids, have incorrect types, or when tool wiring and outputs do not align with the operations defined in the block configuration.