Skip to content
GitHub

Configuration

Config section: ai_skills
Env prefix: LEX_AI_SKILLS__

application.yaml
ai_skills:
enable_builtin: true
builtin_skills:
- current_datetime
- math_calculate
cache_enabled: true
cache_ttl_seconds: 3600
KeyTypeDefaultEnv varDescription
namestr"ai-skills"LEX_AI_SKILLS__NAMELogical DI registration key
default_timeout_secondsfloat30.0LEX_AI_SKILLS__DEFAULT_TIMEOUT_SECONDSDefault execution timeout per skill
max_retriesint2LEX_AI_SKILLS__MAX_RETRIESDefault max retry attempts
max_concurrent_executionsint10LEX_AI_SKILLS__MAX_CONCURRENT_EXECUTIONSSemaphore cap on concurrent executions
cache_enabledboolTrueLEX_AI_SKILLS__CACHE_ENABLEDWhether result caching is globally enabled
cache_ttl_secondsint3600LEX_AI_SKILLS__CACHE_TTL_SECONDSDefault TTL for cached results
cache_backendstr"in_memory"LEX_AI_SKILLS__CACHE_BACKENDCache backend (in_memory, cache)
enforce_permissionsboolTrueLEX_AI_SKILLS__ENFORCE_PERMISSIONSWhether permission checks are enforced
auto_discoverboolFalseLEX_AI_SKILLS__AUTO_DISCOVERWhether to auto-scan packages on boot
scan_packageslist[str][]LEX_AI_SKILLS__SCAN_PACKAGESPackage names to scan for skills
enable_builtinboolTrueLEX_AI_SKILLS__ENABLE_BUILTINRegister built-in skills on boot
builtin_skillslist[str]["current_datetime", "math_calculate", "text_summarize"]LEX_AI_SKILLS__BUILTIN_SKILLSBuilt-in skill names to register
enable_skill_sourcesboolTrueLEX_AI_SKILLS__ENABLE_SKILL_SOURCESScan for external skill sources on boot
skill_pathslist[str]["~/.claude/skills", "~/.opencode/skills", "./skills"]LEX_AI_SKILLS__SKILL_PATHSPaths to scan for SKILL.md folders
enabled_directorieslist[str]["claude_code", "opencode", "codex", "gemini_cli", "aider", "cursor", "copilot", "windsurf", "custom"]LEX_AI_SKILLS__ENABLED_DIRECTORIESWhich skill directories to enable
script_timeout_secondsint30LEX_AI_SKILLS__SCRIPT_TIMEOUT_SECONDSTimeout for skill script execution
allowed_script_typeslist[str]["py", "sh", "js"]LEX_AI_SKILLS__ALLOWED_SCRIPT_TYPESAllowed script types for external skills
lazy_load_contextboolTrueLEX_AI_SKILLS__LAZY_LOAD_CONTEXTLazily load skill context files
Terminal window
export LEX_AI_SKILLS__ENABLE_BUILTIN=false
export LEX_AI_SKILLS__CACHE_TTL_SECONDS=7200
export LEX_AI_SKILLS__AUTO_DISCOVER=true
export LEX_AI_SKILLS__SCAN_PACKAGES='["my_app.skills"]'
ai_skills:
enable_builtin: true
builtin_skills:
- current_datetime
- math_calculate
- text_summarize
- http_request
cache_enabled: true
cache_ttl_seconds: 1800
enforce_permissions: true
auto_discover: true
scan_packages:
- my_app.skills
enable_skill_sources: false