rigved / mycroft-skills-manager

Mycroft Skills Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mycroft Skills Manager

Mycroft Skills Manager is a command line tool and a python module for interacting with the mycroft-skills repository. It allows querying the repository for information (skill listings, skill meta data, etc) and of course installing and removing skills from the system.

Install

pip install msm

Usage

from msm import MycroftSkillsManager, SkillRepo, MultipleSkillMatches

msm = MycroftSkillsManager(repo=SkillRepo(branch='master'))

# msm = MycroftSkillsManager(platform='picroft', skills_dir='/some/path', repo=SkillRepo(branch='master', url='https://github.com/me/my-repo.git'))

print(msm.find_skill('bitcoin price'))
msm.install('bitcoin', 'dmp1ce')
print(msm.list())
print(msm.find_skill("https://github.com/JarbasAl/skill-stephen-hawking"))
msm.update()
msm.install_defaults()

try:
    msm.install('google')
except MultipleSkillMatches as e:
    e.skills[0].install()
msm -b master install bitcoin
msm -b master -p kde default
# ...

TODO

  • Parse readme.md from skills

New Features

  • Checks for skill_requirements.txt, will install skills listed there

Credits

JarbasAI and Mycroft AI

About

Mycroft Skills Manager

License:Apache License 2.0


Languages

Language:Python 100.0%