Add directory-based project skills
This commit is contained in:
@@ -1671,7 +1671,7 @@ def _handle_skills(agent: 'LocalCodingAgent', _args: str, input_text: str) -> Sl
|
||||
from .bundled_skills import get_bundled_skills
|
||||
|
||||
lines = ['## Available Skills', '']
|
||||
for skill in get_bundled_skills():
|
||||
for skill in get_bundled_skills(agent.runtime_config.cwd):
|
||||
if not skill.user_invocable:
|
||||
continue
|
||||
header = f'- `{skill.name}`'
|
||||
|
||||
Reference in New Issue
Block a user