By the link rules (what could change the Mac asks)
By your approval mode and the tool's right
Works outside skil.li
Yes, from anything that opens a URL
Yes, as Skilli call from Terminal (below); $SKILLI_CLI itself is set only in a skillie skil.li runs, and --socket picks another skil.li
Recipes for each feature (CleanShot, windows, Keep Awake, the recorder, Shortcuts…) are in the collection's guide: Use skil.li's other features. This page is the reference.
SKILLI_CLI is the skil.li binary that runs the skillie (running.md). Always quote it: the path has a space in it on some Macs.
Arguments are name=value words, each value a string. Quote each word (goal="$1") so a value with spaces stays one value. A name is letters, digits and _, starts with a letter or _, and may not come twice.
For a list argument (marked "list" below), pass one JSON object instead of words. Some also take a plain string: run_skillie's arguments=value (one argument), compose_email's to=a@example.com, set_tool_rights's rights="a=allow,b=block".
Options: --socket <path> reaches another skil.li's tools; --run <id> is for skil.li's own agents.
Exit
Meaning
Where the text goes
0
Done
The answer on standard output
1
Not done: declined, refused, failed, unknown tool, skil.li not running
Why, on standard error (first line first)
2
The call is written wrong (no tool, a word that is not name=value, bad JSON, unknown option)
Usage on standard error
if said=$("$SKILLI_CLI" call run_shortcut name="Morning Routine" 2>&1); then
echo "Done: $said"
else
echo "Not done: ${said%%$'\n'*}"
fi
A skillie's call is treated as an outside agent's (when an agent's run_skillie started the skillie, as that agent's: only the tools its run has, never list_tool_rights or set_tool_rights):
A tool you blocked is refused.
Otherwise your rules, the approval mode and the tool's own right decide. Ask Every Time: every tool asks. Always Allow: none does. Ask Before Changes: the tools marked reads below run, and so do light changes (marked light: opening an app or a link, a draft, a reminder, a message you confirm before it goes); the others ask in the card. A link open_url opens with another scheme than http, https, mailto or System Settings' counts as a change.
Changes to skil.li's own settings ask every time; so do get_transcript and recording_followup, naming the recording (its words leave the Mac), and run_github_workflow (what it publishes stays published): no Always, no right or mode makes them silent.
What sends, deletes or pays is asked again during a do_in_app step.
@skilli.needsConfirmation replaces none of these: it asks once, before the whole script.
The question shows in the skillie's own card, named after it (running.md).
Your open pull requests and reviews, by group (ready, blocked, waiting, testing). reads
group?, query?
list_github_notifications
Your unread GitHub notifications that ask you for something (review, mention, assignment). reads
query?
merge_pull_request
Merges a pull request.
pull_request
update_pull_request_branch
Updates a pull request's branch.
pull_request
mark_github_notification_read
Marks a notification read. light
id
mark_all_github_notifications_read
Marks read every notification list_github_notifications gives for the same query. light
query?
run_github_workflow
Starts a GitHub Actions workflow with workflow_dispatch (a release, a deploy), approves its environment when you may, then follows it in the menu bar and says how it ended; asked every time, the workflow and its inputs named. Answers once the run started, with its link.
Opens the Record card; waits for ↩ (started) or esc. light
title?
import_recording
Makes a recording of a sound or video file (its sound copied, transcribed on the Mac, voices told apart); the file stays where it is.
path
recording_status
The recording on now. reads
pause_recording
Pauses it.
resume_recording
Resumes it.
stop_recording
Stops it; the transcript is made on the Mac.
set_recording_source
Turns the microphone, the Mac's sound, the webcam or the screen on or off from now on (Record card open or recording); the screen is the meeting's window, or with display the whole screen (main, meeting, or a screen's name): every app on it, notifications included, skil.li's own windows left out.
source, on, display?
list_recordings
The recordings, newest first: id (the folder's name), title, date, length, state, summary and chapters. No words. reads
get_transcript
A recording's transcript, as transcript.md has it; asked every time, the recording named. reads
recording? (an id or a title; empty: the newest)
recording_followup
What its window's ⌘K does with your SI: summary, chapters, action_items (to Reminders), recap_mail (a mail opens, you send it), ask (with question); asked every time.
action, recording?, question?
rename_recording
Renames a recording as Rename… in its window does: its title, its folder by the same rules, transcript.md's heading; not while it records or is transcribed. Returns its new id.
Asks you a question in the card; returns the answer.
question, options? (list)
notify
Shows a short note in the card.
message
approve
Claude Code's permission prompt for another server's tool. Offered only when an Act command's agent started the skillie; not meant to be called from a skillie.
open a link from the script: it returns at once, skil.li does the rest.
Link
What it runs
skilli://run/<entry id>
Any launcher row, by its id: cmd:emoji, system:keepAwake, system:link:cleanshot.capture-area, system:shortcut:<id>. ⌘K → Copy Link on a row gives its link.
skilli://skillie/<path>?arg=…
A skillie, by its path in the skillies folder, arguments in order.
skilli://quicklink/<keyword>?q=…
A quicklink, with its query.
skilli://layout/<id>
A saved window layout.
skilli://do?app=<app>&goal=<goal>
"Do it here" toward a goal (percent-encoded). Several run one after the other, in order.
skilli://record?title=…
The Record card (nothing records before ↩).
skilli://record/pause, …/resume, …/stop
Pauses, resumes or stops the recording on now; asked every time, no Always.
skilli://record/source?source=screen&display=main
A source on or off, as set_recording_source (source, on, display): the whole screen here; asked every time, what it turns on named.
skilli://record/import?file=…
The Import panel, at that file (nothing imported before ↩).
skilli://record/open?recording=…&at=…
A recording's window (by its id or title), playing from at seconds.
Starts a GitHub workflow as run_github_workflow does; every other item is one of its inputs; asked every time, no Always.
skilli://skillies/import?url=…
Shows a skillie from the web before Add.
skilli://apps/import?url=…
Shows an app file before Add.
A link can come from any app or web page, so what could change the Mac, type, or run your code asks in the card first; Always in that card lets links run it at once (not for a skillie with needsConfirmation, nor for the recorder). Opening, reading and placing windows run at once. The rules are in SkilliLink.asksFirst (Sources/SkilliCore/SkilliLink.swift).