Skip to content

WTRV-0/mycroft-skill-script

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

Mycroft Skill: Script

A skill for MycroftAI which allows running shell script files (.sh)

To install this skill on Mycroft, run:

mycroft-msm install https://github.com/WTRV-0/mycroft-skill-script

To uninstall, run:

mycroft-msm remove https://github.com/WTRV-0/mycroft-skill-script

About

Default script directory (put your .sh files here):

/opt/mycroft/skills/mycroft-skill-script.wtrv-0/scripts

To change the default script directory, change the "localpath" variable in init.py to a folder of your choice

NOTE: This skill has only been tested on Linux Mint 20.3

Example Scripts

There are three included example script files in the /scripts subfolder. They will create a file on ~/Desktop success_testfile.txt and add a line "File run with success!". These scripts are designed to show the functionality of converting user input to filenames.

Examples

  • "Run script test" (runs /scripts/test.sh)
  • "Run script test 2" (runs /scripts/test2.sh)
  • "Run script test underscore 3" (runs /scripts/test_3.sh)

Credits

WTRV-0

Tags

#script #sh #mycroft

About

Skill for mycroft.ai to run shell script files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published