skil.li

Skillies

A skillie is one of skil.li's own commands: a script on your Mac whose first comments give it a title. skil.li finds it, lists it in the launcher, asks for its arguments, runs it and shows what it printed. Ask and your agents can run it too, a key can run it, a link can run it, and an inline one can sit in the menu bar.

Any language with a shebang works: shell, Python, JavaScript (Node or JavaScript for Automation), Swift, Ruby, AppleScript… The header is Raycast's Script Command metadata under skil.li's name (@skilli. instead of @raycast.), so a Raycast script needs one word changed.

These pages are the reference. They are written next to the code, in the repository's skillies/docs/ folder, and published on skil.li from there.

PageWhat it answers
This pageWhat a skillie is, a first one in two minutes, where they live, every way to run one, safety
Header referenceEvery @skilli. key: title, mode, arguments, icon, confirmation, refresh…
How a skillie runsThe process: interpreter, folder, environment, PATH, time limit, output, modes, errors
Calling skil.li from a skillie"$SKILLI_CLI" call <tool>, skilli:// links, and every tool a skillie can call
Community collectionContributing a skillie to the website, what runs on every Mac, recipes for skil.li's features

A first skillie in two minutes

  1. Open Settings → Skillies → Show in Finder. The folder is ~/Library/Application Support/skil.li/skillies.
  2. Save this as hello.sh in it:

    #!/bin/bash
    
    # @skilli.schemaVersion 1
    # @skilli.title Say Hello
    # @skilli.mode compact
    # @skilli.icon 👋
    # @skilli.description Greets someone by name
    # @skilli.argument1 { "type": "text", "placeholder": "Name" }
    
    echo "Hello, $1!"
  3. Open the launcher, type say hello, press ↩, type a name, press ↩. The card says Hello, Camille!.

No restart, no build: skil.li reads the folder again when it changes. The file does not even need to be executable; skil.li then runs it with the interpreter its shebang names.

The fastest way to write one: ask your SI ("make me a skillie that flushes the DNS cache"). Its agent writes the file with the create_skillie tool, and the new skillie is in the launcher at once.

Where skillies live

Every way to run one

FromHowNotes
The launcherType its title, ↩Arguments are asked one after the other in the launcher. An inline one shows its line right in its row.
A keySettings → Keys → Add Shortcut → SkilliesLike any other command. One with a required argument opens the launcher to ask it; one without runs at once.
AskSay what it doesSkillies that need no argument are among the commands Ask can pick.
Your agentslist_skillies, run_skillie, create_skillieThrough skil.li's MCP server (Claude Code, Codex…). See calling-skilli.md.
A linkskilli://skillie/<path in the folder>?arg=…From another app, Shortcuts, a Stream Deck, a web page. Asked first; see below. ⌘K → Copy Link on its row gives it.
The menu barSettings → Skillies → In the menu barInline skillies without arguments only: their last line, refreshed on their own schedule.

A link gives the arguments in order, one arg= each:

open "skilli://skillie/tools/deploy.sh?arg=staging&arg=fast"

With fewer values than required, the launcher asks for all of them. A dropdown argument must be one of its values. A link to a skillie in a subfolder that was moved still works when only one skillie has that file name.

Safety

A skillie runs as you, with your files, your apps and your network. skil.li does not sandbox it. What it does do:

Sharing a skillie

Coming from Raycast

skil.li reads Raycast's Script Command header. @raycast. keys are accepted as they are; renaming them @skilli. is the convention. What differs:

When something does not work

SymptomCause
Not in the launcherIts title or mode is missing, the mode is not one of silent, compact, fullOutput, inline, the header is after the 60th non-empty line (lines of only spaces count), schemaVersion is not 1, or the file is two folders deep.
"… is not executable: chmod +x …"The file is not executable and its first line is not a #! naming an absolute path.
A command is "not found"skil.li's PATH is not your shell's: it has Homebrew's folders and the system's, not what your .zshrc adds. Use full paths or set PATH in the script.
It stops after two minutesThe 120-second limit, which also stops what the script started in the background. Hand long work to macOS (open an app or a URL). See running.md.
It runs until the limit though it is doneA background process still holds its output: redirect it (job >/dev/null 2>&1 &).
A header change is not seenskil.li reads the list again when the folder changes. See running.md.
Colours or odd characters vanishTerminal colour codes are taken out of the output.
An inline line shows only the titleIt printed nothing within 10 seconds, the limit for an inline line.
The menu bar says "… did not answer"The script could not be started (see "not executable" above).
$SKILLI_CLI is emptyOnly skillies run by skil.li get it; a script run from Terminal does not. See calling-skilli.md.

Edit this page on GitHub ↗