Skip to content

MycroftAI/mycroft-skills-manager

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
msm
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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/py_msm and Mycroft AI