coding-with-fhicl

Author, review, and troubleshoot Mu2e FHiCL configuration files.

4|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/Mu2e/aitools --skill coding-with-fhicl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-with-fhicl
Source: https://github.com/Mu2e/aitools/tree/main/skills/coding-with-fhicl
Command: npx skills add https://github.com/Mu2e/aitools --skill coding-with-fhicl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation, review, and debugging of Mu2e FHiCL configuration files, ensuring robust and efficient job execution for various workflows.

Core Features & Use Cases

  • FHiCL Authoring: Write and edit .fcl files for Offline, Production, and trigger workflows.
  • Configuration Debugging: Troubleshoot job configuration failures and parse errors.
  • Workflow Integration: Compose include chains and configure modules/services effectively.
  • Use Case: You need to update a module's parameters in a production job configuration. Use this Skill to safely edit the .fcl file, validate the changes, and ensure it integrates correctly with the existing configuration structure.

Quick Start

Use the coding-with-fhicl skill to help me edit the file Production/JobConfig/my_config.fcl to change the max_events parameter to 1000.

Frequently Asked Questions about coding-with-fhicl

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

FAQPage Schema
How do I edit a Mu2e FHiCL configuration file to change module parameters?

You edit a Mu2e FHiCL configuration file by modifying the target `.fcl` file to update module parameters, validating the changes against established patterns, and ensuring correct integration with the existing art configuration structure.

Why does my art job configuration fail when composing FHiCL include chains?

Art job configuration failures during FHiCL include chain composition often stem from incorrect file paths or conflicting module definitions. Troubleshooting involves parsing FHiCL errors and correcting the configuration structure using validated patterns.

What is the best way to configure art modules and services in a trigger workflow?

Configuring art modules and services for trigger workflows requires authoring `.fcl` files that correctly compose include chains and define service dependencies, ensuring robust and efficient job execution across the Mu2e trigger pipelines.

Can I use this approach to debug FHiCL parse errors in Production workflows?

Yes, you can debug FHiCL parse errors in Production workflows by troubleshooting the job configuration failures, identifying syntax or parameter issues within the `.fcl` files, and applying validated FHiCL patterns to resolve the errors.

When do I need to compose FHiCL include chains for Offline job configuration?

You need to compose FHiCL include chains for Offline job configuration when integrating multiple `.fcl` files to establish a unified module and service hierarchy, ensuring the art framework processes the job configuration robustly.