Build an open future with us.

Invest in Mycroft and become a community partner.

Permanently Disable Default Skills


#1

Hello,

On my image of Picroft I deleted some of the default skills, such as the “Go to sleep” skill that puts MyCroft into sleep mode because I wanted to use ‘sleep’ as a keyword in one of my custom skills. This works, however when I update Picroft in order to install new skills, the default skills return. Is there anyway to avoid this? I have also tried simply deleting the contents of the default skill files instead of deleting the files in their entirety, however when Picroft updated again the contents were restored.

Thanks in advance,

Noah


#2

if you edit a file in the skill folder it wont come back, but if you delete the folder it will be downloaded again, delete the init.py file and the skill should not come back nor load


#3

The other way to disable Skills is in mycroft.conf.
We have documentation available on how to do this at;


#5

I tried this but it does not seem to work… I wanted to disable the spotify skill since it kept giving an error message about me not having the correct username or password (allthough I could use mycroft to manipulate my spotify after startup). I found the .gitmodules file in the /opt/mycroft/.kills-repo folder, the spotify submodule is called “mycroft-spotify” and the path is “spotify-skill”. I added the the lines given in the link that you provided to the mycroft.conf file in the /home/mycroft/.mycroft/ folder with “mycroft-spotify” as well as “spotify-skill” instead of the YOUR_SKILL entry:

"skills": {
    "blacklisted_skills": ["skill-media", "send_sms", "skill-wolfram-alpha", YOUR_SKILL"]
  },

but both did not result in the picroft not loading the spotify skill upon rebooth. I must say I’m kind of a noob in this sort of thing so I might as well missed something myself :stuck_out_tongue:


#6

Hi there @Vianne - are you able to show us the specific entry you used? That would help us to troubleshoot it.