Testing my new Custom Skill


I created the code for my new skill. And uploaded it on Github (https://github.com/deicool/quiz-skill).

Now I would like to test it on my local Mycroft (on Raspberry Pi 3B).

How do I proceed?

Thank You

mycroft-msm install https://github.com/deicool/quiz-skill

1 Like

Be sure to look in /var/log/mycroft/skills.log for relevant messages as well.

Can tail the log with ssh like this…
tail -f /var/log/mycroft/skills.log
I normally have the cli-client open in one session and a tail in a second session.

Another helpful tool during development is to control what shows up in skills.log (e.g. your critical variables and markers for function calls) with self.log.info() . When you hit an issue, this will help you check your assumptions on what variables are being set as, and isolate where in your code the root cause is.

I guess to remove the skill, I have to use:

mycroft-msm remove https://github.com/deicool/quiz-skill

you have to remove with the skill name: something like skill-quiz.[githubname], yet have a look at your /opt/mycroft/skills. I don’t think the url is sufficient.

It might work with remove skill-quiz, yet if something alike is in the cache it might not work

mycroft-msm remove quiz-skill should do the trick once it is installed