Sunday, Aug 2, 2026
Agent skills discovery and config file precedence
Anurag Verma added skill file discovery to the agent and rewrote config resolution to handle command-line overrides and environment variables.
In quantized-ai/luca-py, Verma shipped agent skills support [1], allowing the agent to load instruction sets from SKILL.md files on disk. Each skill file contains YAML frontmatter with a name and description, followed by a body that arrives only through a new skill tool. The implementation searches multiple locations in order [3]: workspace/.claude/skills, workspace/.agents/skills, configured extra_skill_locations, then global ~/.claude/skills and ~/.agents/skills.
Verma also completed the config file precedence work [2], adding both --config flag and LUCA_CONFIG_PATH environment variable support. A named config file replaces discovery entirely rather than adding another layer, so neither project nor home config interfere [5]. The upward walk for project-level luca.json was also bounded at the home directory [4], fixing a bug where a forgotten ~/.luca.json would silently apply to every non-repo directory under home.
Sources
- Agent Skills: read SKILL.md instruction sets from disk · quantized-ai/luca-py
- Global and local config: --config, LUCA_CONFIG_PATH, and project-scoped discovery · quantized-ai/luca-py
- Agent Skills: read SKILL.md instruction sets from disk (#20) · quantized-ai/luca-py
- Bound the project-config walk at the home directory (#21) · quantized-ai/luca-py
- Merge pull request #29 from quantized-ai/config-file-override · quantized-ai/luca-py