agentleFS
stackqlstackql/stackql-skills/skills/install-stackql/SKILL.md

install-stackql

Skill0 starsChanged 8 months agoMITView on GitHub

Install or update the StackQL CLI. Detects the platform and uses the appropriate package manager or installer. Pass --update to check for and apply updates.

  • Installs packages

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If found, get the current version:

    line 19
  2. Very specific:

    If --update is in $@ -> update mode

    line 27
  3. Distinctive:

    If StackQL is already installed, report the version and stop.

    line 34
  4. Distinctive:

    If not installed, detect the platform and install:

    line 36
  5. Distinctive:

    Check the currently installed version:

    line 70
  6. Distinctive:

    After update, verify and report the new version:

    line 82

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Arguments: $@

Step 1 - Check if StackQL is already installed

STACKQL=$(command -v stackql)

If found, get the current version:

"$STACKQL" --version

Step 2 - Determine mode

  • If --update is in $@ -> update mode
  • Otherwise -> install mode

Step 3 - Install or update

Install mode

If StackQL is already installed, report the version and stop.

If not installed, detect the platform and install:

macOS (brew available):

brew install stackql

macOS (no brew):

curl -L https://bit.ly/stackql-zip -O && unzip stackql-zip

Linux:

curl -L https://bit.ly/stackql-zip -O && unzip stackql-zip
sudo mv stackql /usr/local/bin/

Windows (choco available):

choco install stackql

Windows (no choco): Tell the user to download the MSI installer from the StackQL releases or use winget if available.

After install, verify:

stackql --version

Update mode

Check the currently installed version:

CURRENT=$(stackql --version 2>&1)

Attempt the update using the same platform-appropriate method:

  • macOS (brew available): brew upgrade stackql
  • Linux: re-download and replace the binary
  • Windows (choco available): choco upgrade stackql

After update, verify and report the new version:

stackql --version

Step 4 - Report

Report success or failure. If the install succeeded, suggest next steps:

StackQL is installed. To get started:

  • Pull a provider: /stackql-skills:pull-provider google
  • Set up auth: /stackql-skills:auth-setup google
  • Explore resources: /stackql-skills:explore google

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.