Class: OllamaAgent::CLI::SkillCommand
- Inherits:
-
Thor
- Object
- Thor
- OllamaAgent::CLI::SkillCommand
- Defined in:
- lib/ollama_agent/cli/skill_command.rb
Overview
Thor subcommand for running deterministic, JSON-contract skills. Examples:
ollama_agent skill list
ollama_agent skill run architecture_refactor --code-file path/to/file.rb
ollama_agent skill pipeline architecture_refactor performance_optimizer --code-file f.rb
Instance Method Summary collapse
Instance Method Details
#list ⇒ Object
18 19 20 21 22 23 |
# File 'lib/ollama_agent/cli/skill_command.rb', line 18 def list names = Skills.registry.names return puts "No skills registered." if names.empty? names.each { |name| puts name } end |