Skip to content
Skills Library
Programming · Tool integration

asta-cli

/asta-cli

Install or update the `asta` CLI to the version pinned by this plugin. Invoke whenever `asta` is not on PATH (e.g. `command not found` for `asta`) or when a subcommand/flag appears missing — that signals a stale install needing an update.

Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
2
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Install or update the `asta` CLI to the version pinned by this plugin. Invoke whenever `asta` is not on PATH (e.g. `command not found` for `asta`) or when a subcommand/flag appears missing — that signals a stale install needing an update.

Original author description

Install or update the `asta` CLI to the version pinned by this plugin. Invoke whenever `asta` is not on PATH (e.g. `command not found` for `asta`) or when a subcommand/flag appears missing — that signals a stale install needing an update.

How it works

  1. When to invoke
  2. Install or update
  3. After install
Original SKILL.md headings · 36 lines, 180 words
SKILL.md preview
---
name: asta-cli
description: "Install or update the `asta` CLI to the version pinned by this plugin. Invoke whenever `asta` is not on PATH (e.g. `command not found` for `asta`) or when a subcommand/flag appears missing — that signals a stale install needing an update."
allowed-tools: Bash(command -v asta) Bash(asta --version) Bash(uv tool install*)
---

# Asta CLI Installer

Installs the `asta` CLI for agents that don't install it automatically via a plugin hook.

## When to invoke

- `asta` is not on `PATH` (e.g., `command -v asta` returns nothing, or running `asta ...` reports "command not found")
- A subcommand, option, or output field that should exist according to another skill is missing — that signals an outdated install

## Install or update

**Prerequisites:** Python 3.11+ and [uv](https://docs.astral.sh/uv/).

```bash
PLUGIN_VERSION=0.120.0
INSTALL_URL="git+https://github.com/allenai/asta-plugins.git@v$PLUGIN_VERSION"

if ! command -v asta &> /dev/null; then
  echo "📦 Installing Asta CLI $PLUGIN_VERSION..."
  uv tool install "$INSTALL_URL"
else
  CLI_VERSION=$(asta --version 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
  if [ "$CLI_VERSION" != "$PLUGIN_VERSION" ]; then
    echo "🔄 Updating Asta CLI from $CLI_VERSION to $PLUGIN_VERSION..."
    uv tool install --force "$INSTALL_URL"
  fi
fi
```

If `asta` is still not on PATH after install, run `uv tool update-shell` (or open a new shell) so `~/.local/bin` is on PATH.

## After install

Re-run the original command. If it still fails, the problem is not the CLI version — surface the actual error to the user instead of reinstalling again.

Versions

The database has no other skills named asta-cli.

Database snapshot: 13.11.2026 · package version 2acf39ca078b (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95asta-documents
    Local document metadata index for files used by Asta skills and tools. Use this skill when the user asks to store a document "in Asta" or retrieve "from Asta". Use it when the user references an "Asta document" or anything with an `asta://` URI.
  • 90feedback
    Interview the user about their experience with the Asta plugins and tools, write a narrative feedback report, and submit it (with optional supporting files) to the Asta team for analysis. Use when the user wants to "give feedback", "send feedback to the Asta team", "report how…
  • 95asta
    Query the Semantic Scholar academic corpus through AI2's Asta MCP server: keyword or title search with venue and date filters, who-cited-a-paper traversal, author profiles and publications, DOI/arXiv/PMID lookup, and ~500-word full-text snippets for evidence, with citation…
  • 100cartog-install
    Install or upgrade the cartog binary to match the plugin's pinned version. Use when the user types /cartog-install, or asks to "install cartog", "update cartog", "fix cartog setup", "retry cartog install", or when the cartog MCP server failed to start because the binary is missing.
  • 100cli-tools
    Use when ANY command fails with 'command not found', when installing CLI tools (ripgrep, fd, jq, yq, bat, etc.), auditing project environments, or batch-updating tools. Triggers on: command not found, install tool, missing binary, environment audit, update tools, which, apt install, brew install.
  • 100add-cli-command
    Use when a ticket adds or changes a command-line interface — a new subcommand, flag, or output format for the repo's CLI tool — and it must follow the CLI's existing conventions for arguments, exit codes, JSON output, help text, and tests. Invoke for "add a `foo bar` command",…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.