Claude-skill-registry synapse-config-yaml-guide

Explains how to write Synapse plugin config.yaml files. Use when the user asks about "config.yaml", "plugin configuration", "action definition", "execution method", "runtime environment", or needs help with synapse plugin settings.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/config-yaml-guide" ~/.claude/skills/majiayu000-claude-skill-registry-synapse-config-yaml-guide && rm -rf "$T"
manifest: skills/data/config-yaml-guide/SKILL.md
source content

Synapse Plugin config.yaml Guide

The

config.yaml
file (or
synapse.yaml
) defines your plugin's metadata, actions, and runtime configuration.

Minimal Example

name: "My Plugin"
code: my-plugin
version: 1.0.0
category: custom

actions:
  train:
    entrypoint: plugin.train:TrainAction
    method: job
    description: "Train a model"

Complete Structure

# Basic metadata
name: "YOLOv8 Object Detection"
code: yolov8
version: 1.0.0
category: neural_net
description: "Train and run YOLOv8 models"
readme: README.md

# Package management
package_manager: pip  # or 'uv'
package_manager_options: []
wheels_dir: wheels

# Environment variables
env:
  DEBUG: "false"
  BATCH_SIZE: "32"

# Runtime environment (Ray)
runtime_env: {}

# Data type configuration
data_type: image
tasks:
  - image.object_detection
  - image.segmentation

# Actions
actions:
  train:
    entrypoint: plugin.train:TrainAction
    method: job
    description: "Train YOLO model"
  inference:
    entrypoint: plugin.inference:run
    method: task
    description: "Run inference"

Action Configuration

FieldRequiredDescription
entrypoint
YesModule path (
module.path:ClassName
or
module.path.function
)
method
NoExecution method:
job
,
task
, or
serve
(default:
task
)
description
NoHuman-readable description

Config Sync (Recommended)

Sync entrypoints, input/output types, and hyperparameters from code:

synapse plugin update-config

Execution Methods

MethodUse CaseCharacteristics
job
Training, batch processingAsync, isolated, long-running (100s+)
task
Interactive operationsSync, fast startup (<1s), serial per actor
serve
Model serving, inferenceREST API endpoint, auto-scaling

Entrypoint Formats

Both formats are supported:

  • Colon notation:
    plugin.train:TrainAction
  • Dot notation:
    plugin.train.TrainAction

Additional Resources

For detailed configuration options: