Developing a skill

These pages provides information related to creating a skill.

Overview

A mycroft skill is a python module containing a class derived from MycroftSkill and a create_skill function creating and returning an instance of the skill.

from mycroft import MycroftSkill


class MyCoolSkill(MycroftSkill):
    pass


def create_skill():
    return MyCoolSkill()

Above is the bare minimum boilerplate needed for creating a skill that can be loaded by mycroft.

Loading the skill

Mycroft automatically loads all skills in the skill folder (default /opt/mycroft/skills)

Last updated