Index of every page on this site: llms.txt
All skills
massgen avatar

/massgen-config-creator

@007bd85
by massgenmassgen/massgen1.2k stars
184
Run it yourself

Guide for creating properly structured YAML configuration files for MassGen. This skill should be used when agents need to create new configs for examples, case studies, testing, or demonstrating features.

Use this Skill: https://skilld.dev/gh/massgen/massgen/massgen-config-creator

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈57 tokens for metadata: the name and description. ≈1.3k when used: this file.

Description uses 2.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈230 characters, or 2.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Config Creator

This skill provides guidance for creating new YAML configuration files that follow MassGen conventions and best practices.

Purpose

The config-creator skill helps you create well-structured, validated configuration files for MassGen agents. It ensures consistency across the codebase and helps avoid common mistakes.

When to Use This Skill

Use the config-creator skill when you need to:

  • Create example configs demonstrating new features
  • Write configs for case studies or releases
  • Build reusable multi-agent workflow configs
  • Test new backend or tool integrations
  • Share configuration patterns with users

Authoritative Documentation

IMPORTANT: The primary source of truth for config creation is:

📖 docs/source/development/writing_configs.rst

This file contains:

  • Complete config creation workflow
  • All current conventions and rules
  • Property placement reference
  • Validation checklist
  • Common patterns and examples
  • Up-to-date templates

Always consult this document for the latest configuration standards.

Critical Rules (Quick Reference)

1. Never Invent Properties

ALWAYS read 2-3 existing configs first to understand current conventions:

# Find similar configs
ls massgen/configs/tools/{category}/

# Read examples
cat massgen/configs/basic/multi/two_agents_gemini.yaml
cat massgen/configs/tools/mcp/filesystem_claude.yaml

2. Property Placement Matters

  • cwd → BACKEND-level (individual agent workspace)
  • context_paths → ORCHESTRATOR-level (shared read-only files)
  • enable_web_search → BACKEND-level
  • enable_planning_mode → ORCHESTRATOR.COORDINATION-level

See docs/source/development/writing_configs.rst for complete property reference.

3. Key Conventions

✅ DO:

  • Prefer cost-effective models (gpt-5-nano, gpt-5-mini, gemini-2.5-flash)
  • Give all agents identical system_message
  • Use separate workspaces per agent
  • Include "What happens" comments explaining execution flow

❌ DON'T:

  • Reference massgen v1 or legacy paths
  • Invent new properties
  • Suggest cleanup commands that delete logs

Quick Start Workflow

Step 1: Research Existing Configs

# Find configs in your category
ls massgen/configs/tools/{relevant_category}/

# Read 2-3 similar examples
cat massgen/configs/basic/multi/two_agents_gemini.yaml

Step 2: Copy and Adapt

  • Copy a similar config as your starting point
  • Adapt values, never invent properties
  • Follow the structure from existing configs

Step 3: Test

massgen --config massgen/configs/tools/{category}/{your_config}.yaml "Test prompt"

Step 4: Validate

Refer to the validation checklist in docs/source/development/writing_configs.rst

File Naming and Location

Naming Pattern:

{agent_description}_{feature}.yaml

Location Categories:

  • massgen/configs/basic/ - Simple examples
  • massgen/configs/tools/filesystem/ - Filesystem operations
  • massgen/configs/tools/web-search/ - Web search
  • massgen/configs/tools/code-execution/ - Code execution
  • massgen/configs/tools/multimodal/ - Image, vision, audio
  • massgen/configs/tools/mcp/ - MCP integrations
  • massgen/configs/tools/planning/ - Planning mode

Common Patterns (Quick Reference)

Single Agent

agent:  # Singular
  id: "my_agent"
  backend:
    type: "claude"
    model: "claude-sonnet-4"

Multi-Agent

agents:  # Plural
  - id: "agent_a"
    backend:
      type: "openai"
      model: "gpt-5-mini"
    system_message: "Shared task description"

  - id: "agent_b"
    backend:
      type: "gemini"
      model: "gemini-2.5-flash"
    system_message: "Shared task description"

With Filesystem Access

agents:
  - backend:
      cwd: "workspace1"  # Backend-level

orchestrator:
  context_paths:  # Orchestrator-level
    - path: "massgen/configs/resources/v0.0.29-example/source"
      permission: "read"

Reference Files

Primary Documentation:

  • Config writing guide: docs/source/development/writing_configs.rst ⭐ START HERE
  • YAML schema reference: docs/source/reference/yaml_schema.rst
  • Example configs: massgen/configs/

Supporting Documentation:

  • Supported models: docs/source/reference/supported_models.rst
  • Backend configuration: docs/source/user_guide/backends.rst
  • MCP integration: docs/source/user_guide/mcp_integration.rst

Tips for Agents

When creating configs programmatically:

  1. Always read the authoritative docs first: docs/source/development/writing_configs.rst
  2. Read existing configs to understand current patterns
  3. Copy structure from similar configs, don't invent
  4. Test immediately after creating
  5. When in doubt, consult the full guide in docs/source/development/writing_configs.rst

This skill is a quick reference guide. For comprehensive, up-to-date information, always refer to the official documentation files listed above.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides guidance and templates for creating configuration files for the MassGen tool. It uses standard shell commands to inspect local documentation and test configurations. No security issues were detected.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer9mo

    1/1 file flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 007bd85. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Steadyupdated last year

README badge

README badge for massgen/massgen/massgen-config-creator