Class: OpenClawImporter

Inherits:
ExternalSkillsImporter show all
Defined in:
lib/clacky/default_skills/onboard/scripts/import_external_skills.rb

Overview


OpenClaw importer


Constant Summary collapse

SOURCE_NAME =
'openclaw'
DEFAULT_OPENCLAW_DIR =
File.join(Dir.home, '.openclaw')

Instance Method Summary collapse

Methods inherited from ExternalSkillsImporter

#errors, #imported, #run

Constructor Details

#initialize(**kwargs) ⇒ OpenClawImporter

Returns a new instance of OpenClawImporter.

Parameters:

  • kwargs

    forwarded to ExternalSkillsImporter



165
166
167
168
# File 'lib/clacky/default_skills/onboard/scripts/import_external_skills.rb', line 165

def initialize(**kwargs)
  super(category_subdir: 'openclaw-imports', **kwargs)
  @openclaw_dir = Pathname.new(DEFAULT_OPENCLAW_DIR).expand_path
end