Skip to content

Local Development Overrides

agentsmesh.local.yaml is gitignored and lets you customize your local development setup without affecting the shared agentsmesh.yaml the rest of the team uses.

Creating the file

Terminal window
# Create your local overrides file
touch agentsmesh.local.yaml

agentsmesh init creates this file automatically and adds it to .gitignore.

Common patterns

Only generate for your tool

agentsmesh.local.yaml
targets:
- claude-code # I only use Claude Code

Running agentsmesh generate locally only writes .claude/. CI still generates for all configured targets.

Skip features you don’t need

agentsmesh.local.yaml
targets:
- claude-code
features:
- rules
- commands
- agents
- skills
- mcp
# omitting: hooks, ignore, permissions

Speed up watch mode

agentsmesh.local.yaml
targets:
- claude-code # only regenerate one target during watch

With a single target, agentsmesh watch regenerates significantly faster.

Merge behavior

When AgentsMesh loads config it first reads agentsmesh.yaml, then applies agentsmesh.local.yaml on top. Each field merges differently:

FieldLocal merge behavior
targetsReplaces the project list when non-empty
featuresReplaces the project list when non-empty
extendsAppended to the project’s extends
conversionsDeep-merged over the project’s conversions
overridesDeep-merged over the project’s overrides
collaborationIgnored (cannot be set locally)

Because targets and features replace rather than intersect, a local list does not have to be a subset of agentsmesh.yaml. The common use is to narrow scope (generate for fewer tools/features locally), but a local file can also add a target or feature the shared config omits — it will be generated on your machine only. The local file is gitignored, so anything it adds affects your checkout and not your teammates or CI.

Team onboarding note

When onboarding a new developer, suggest they create agentsmesh.local.yaml with just their tool:

Terminal window
echo "targets:\n - claude-code" > agentsmesh.local.yaml

This keeps their local generation fast and focused while still letting CI generate for all targets.