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.
pip install msm
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
# ...
- Parse readme.md from skills
- Checks for skill_requirements.txt, will install skills listed there
JarbasAI/py_msm and Mycroft AI