mozconfig

Generates Firefox mozconfig build configuration files for preset and custom setups.

1|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/mozilla/media-skills --skill mozconfig
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mozconfig
Source: https://github.com/mozilla/media-skills/tree/main/mozconfig
Command: npx skills add https://github.com/mozilla/media-skills --skill mozconfig

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the trial-and-error from creating Firefox mozconfig files by guiding users to the right build configuration for debugging, sanitizers, try server parity, and other development workflows.

Core Features & Use Cases

  • Preset build generation: Creates ready-to-use mozconfigs for common setups such as debug, ASan, TSan, coverage, artifact, fuzzing, and Valgrind workflows.
  • Try server matching: Reconstructs and flattens browser/config/mozconfigs definitions for local builds while stripping CI-only includes and automation settings.
  • Custom configuration guidance: Walks users through optimization, debug, sanitizer, and feature choices while enforcing platform-specific compatibility rules.
  • Practical example: A Firefox engineer can request a debug-plus-ASan configuration for Linux and receive a complete mozconfig with the required options and notes.

Quick Start

Ask for a Firefox mozconfig tailored to your platform and desired build type, and the Skill will generate a complete configuration ready to save and use.

Frequently Asked Questions about mozconfig

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

FAQPage Schema
How do I generate a Firefox mozconfig for a debug build with AddressSanitizer?

Generating a Firefox mozconfig for a debug build with ASan requires selecting specific ac_add_options for sanitizer and debug flags. This Skill produces a complete, platform-specific mozconfig file with the required options and compatibility notes.

What's the best way to match a local Firefox build configuration with try server settings?

Matching a local Firefox build with try server settings involves reconstructing and flattening browser/config/mozconfigs definitions. This Skill reconstructs those configurations while stripping CI-only includes and automation settings for local use.

Can I create a Firefox artifact build configuration across Linux, macOS, and Windows?

Creating a Firefox artifact build configuration across Linux, macOS, and Windows is supported through platform detection. This Skill enforces platform-specific compatibility rules to generate a safe, ready-to-use mozconfig file.

Does this mozconfig generator support fuzzing and coverage workflows?

This mozconfig generator supports fuzzing and coverage workflows by providing preset build generation. It delivers complete mozconfig files tailored for these specific development and testing setups.

How do I configure custom compiler and optimization options in a Firefox mozconfig?

Configuring custom compiler and optimization options in a Firefox mozconfig involves walking through specific feature choices. This Skill guides you through these selections while enforcing platform-specific compatibility rules.

Why does my locally generated Firefox build configuration include CI-only automation settings?

Locally generated Firefox build configurations may include CI-only settings if not properly flattened from source mozconfigs. This Skill resolves the issue by stripping automation-only includes during try server configuration matching.