Skip to content
Current section: Guard

Configure Guard

Part of Guard.

Add .cedr/guard.toml to the repo when you need more than the defaults:

version = 1
skills = ["agents/skills"] # more folders of skills, each holding <name>/SKILL.md
[lint]
ignore = ["CG002"] # checks you never want reported
[[lint.allow]] # a check you don't want reported under some paths
rule = "CG009"
paths = [".agents/skills/security-audit/**"]

Ignored checks apply to cedr lint only. cedr verify always reports drift from the lock.

Start with the default checks. Add an exception only after reviewing the finding and deciding why it is acceptable. Prefer a path-specific [[lint.allow]] entry over disabling the check everywhere.

Run cedr lint after editing the file and confirm that unrelated findings still appear. Keep the configuration in version control so teammates can review why the repository’s checks differ from the defaults.