AGENT SKILL

workflow-authoring

Author, inspect, validate, and troubleshoot Solace Agent Mesh workflow YAML/configs without starting live services.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
workflow-authoring
license
Apache 2.0
metadata
{ "repo": "solace-agent-mesh", "package": "solace-agent-mesh", "disco-role": "operating" }
description
Author, inspect, validate, and troubleshoot Solace Agent Mesh workflow YAML/configs without starting live services.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

Workflow authoring

Use this sub-skill when the task is to author, inspect, dry-validate, or troubleshoot a Solace Agent Mesh (SAM) workflow configuration that uses app_module: solace_agent_mesh.workflow.app and an app_config.workflow DAG.

Do not use this sub-skill for:

  • Creating a SAM project scaffold or generated app layout; route to project-bootstrap.
  • Starting brokers, gateways, agents, or workflow executions; route to runtime-operations.
  • Authoring or running sam eval suites; route to evaluation.

Fast path

  1. Locate the workflow app config:

    • Full SAM app files normally place workflows under apps[] with app_module: solace_agent_mesh.workflow.app.
    • The model-validated payload is the nested app_config object.
  2. Check fields and examples in references/workflow-schema.md.

  3. Check data/template behavior in references/template-resolution.md.

  4. Run the bundled dry validator before any live run:

    python sub-skills/workflow-authoring/scripts/validate_workflow_config.py path/to/workflow.yaml
    

    Add --json for machine-readable output, --app WorkflowName to select one workflow app in a multi-app file, or --self-test to exercise the validator on an embedded tiny fixture.

  5. If validation fails or behavior is confusing, use references/troubleshooting.md to map the symptom to a concrete config fix.

Safety boundaries

  • The validator and guidance here only parse YAML and validate package/static schema. They must not start brokers, LLM providers, gateways, tasks, or workflow execution.
  • Keep actual runtime service checks, sam run, task submission, REST gateway checks, and UI verification outside this sub-skill.
  • SAM workflows are experimental; when source examples and installed package validation disagree, prefer the installed package schema and document the mismatch.

Minimal authoring checklist

  • app_config.name is present; it becomes the workflow agent identity.
  • app_config.namespace is present for A2A topics.
  • workflow.description, workflow.nodes, and workflow.output_mapping are present.
  • Every node has a unique id and one of the supported type values: agent, workflow, switch, map, or loop.
  • Every depends_on/dependencies, switch branch, map target, loop target, and exit handler points to an existing node.
  • Switch branch target nodes list the switch node in depends_on; otherwise branch handlers can run too early.
  • Map nodes set exactly one item source: items, withParam, or withItems.
  • Agent/workflow node timeouts use duration strings like 30s, 5m, 1h, 1d, or numeric seconds.
  • Template paths used in input, instruction, conditions, and output_mapping match the producing node outputs.

Provenance distilled

This sub-skill was distilled from SAM workflow documentation, example workflow YAML files, workflow implementation modules, workflow unit tests for Pydantic models, DAG logic, template resolution, safe conditional evaluation, and map/loop workflow target behavior. The runtime files are self-contained and do not require opening those source files.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351