Commit graph

3 commits

Author SHA1 Message Date
TerminallyLazy
3830c64be0 Enhance skills management by integrating project-scoped skills and updating skill search functionality. Adjusted skills tool to utilize project context for skill discovery and refined the skills loading process. Updated documentation to reflect changes in skill operations and removed deprecated script execution methods. Uses code_execution_tool for skill scripts instead of execute_scripts from the skills_tool. 2026-01-31 04:06:36 -05:00
TerminallyLazy
5fefa5f53b fix(skills): use standard CLI conventions for script argument passing
Replace Anthropic-specific _skill_args injection with standard CLI
  argument conventions that work with any script regardless of origin.

  Changes:
  - Pass arguments via sys.argv (Python), process.argv (Node.js), and
  positional parameters (Shell) instead of proprietary global injection
  - Add arg_style parameter: "positional" (default), "named", or "env"
    - positional: sys.argv = ['script.py', 'val1', 'val2']
    - named: sys.argv = ['script.py', '--key1', 'val1', '--key2', 'val2']
    - env: only SKILL_ARG_* environment variables
  - Always set SKILL_ARG_* environment variables as fallback
  - Fix CodeExecution missing 'log' attribute by calling before_execution()
  - Update agent prompt documentation with new conventions and examples

  This enables skills_tool to work with standard CLI scripts that use
  sys.argv, argparse, click, or any other argument parsing method,
  rather than requiring scripts to be written specifically for Agent Zero.
2025-12-30 16:28:07 -05:00
TerminallyLazy
3d348c0ed5 - Added a new Skills section in settings with import functionality
- Introduced Skills tab in the web UI for better user interaction
2025-12-30 01:48:00 -05:00