Agent skill

Swift Linux

by OpenHands in OpenHands/extensions

Install and configure Swift programming language on Debian Linux for server-side development.

MITAuto-check: notesMobile

Install Swift Linux

skills CLI
$ npx skills add OpenHands/extensions --skill swift-linux -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OpenHands/extensions swift-linux --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OpenHands/extensions.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/swift-linux .claude/skills/swift-linux && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
swift-linux
GitHub stars
158
Token cost
~660 tokens
SKILL.md length
230 words
Files
5
Skills in repo
78
Repo updated
First seen
Licence
MIT

At a glance

Install and configure Swift programming language on Debian Linux for server-side development.

  • Works in 3 steps: Find the latest Swift version for Debian → Download the Swift binary for Debian 12 → Extract the archive
  • Building Swift applications on Linux
  • SKILL.md covers Prerequisites, Download and Install Swift and Verify Installation
  • Calls apt-get, git and wget; reaches download.swift.org

What it does

Swift Linux is an agent skill from OpenHands/extensions. Install and configure Swift programming language on Debian Linux for server-side development. Use when building Swift applications on Linux or setting up a Swift development environment.

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `.plugin/plugin.json` and `README.md`).

It sits in Mobile, covering iOS development. It works with Linux. The repository describes itself as: Public registry for OpenHands extensions. The licence is MIT.

When your agent uses it

  • Building Swift applications on Linux
  • Setting up a Swift development environment

Example prompts

  • “/swift-linux”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Find the latest Swift version for Debian
  2. Download the Swift binary for Debian 12
  3. Extract the archive

What it can do on your machine

Read from SKILL.md and the folder at commit d008b81. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • apt-get
    • git
    • wget
    • swift

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • download.swift.org

    Also links to:

    • swift.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Swift Linux loads about 660 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 230 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~660

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:24
    sudo apt-get update
  • NoteRuns commands with sudoSKILL.md:25
    sudo apt-get install -y \

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from OpenHands/extensions at commit d008b81, republished under its MIT licence (© OpenHands). 230 words, ~660 tokens.

Download SKILL.mdSave it as .claude/skills/swift-linux/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
swift-linux
description
Install and configure Swift programming language on Debian Linux for server-side development. Use when building Swift applications on Linux or setting up a Swift development environment.
triggers
swift-linux, swift-debian, swift-installation

Swift Installation Guide for Debian Linux

This document provides instructions for installing Swift on Debian 12 (Bookworm).

This setup is intended for non-UI development tasks on Swift on Linux. On Windows, run these Debian commands inside WSL2 or a Linux container. For native Windows Swift, use the Windows toolchain from Swift.org instead.

Prerequisites

Before installing Swift, you need to install the required dependencies for your system. You can find the most up-to-date list of dependencies for your specific Linux distribution and version at the Swift.org tarball installation guide.

FOR EXAMPLE, the dependencies you may need to install for Debian 12 could be:

bash
sudo apt-get update
sudo apt-get install -y \
  binutils-gold \
  gcc \
  git \
  libcurl4-openssl-dev \
  libedit-dev \
  libicu-dev \
  libncurses-dev \
  libpython3-dev \
  libsqlite3-dev \
  libxml2-dev \
  pkg-config \
  tzdata \
  uuid-dev

Download and Install Swift

  1. Find the latest Swift version for Debian:

    Go to the Swift.org download page to find the latest Swift version compatible with Debian 12 (Bookworm).

    Look for a tarball named something like swift-<VERSION>-RELEASE-debian12.tar.gz (e.g., swift-6.0.3-RELEASE-debian12.tar.gz).

    The URL pattern is typically:

    https://download.swift.org/swift-<VERSION>-release/debian12/swift-<VERSION>-RELEASE/swift-<VERSION>-RELEASE-debian12.tar.gz

    Where <VERSION> is the Swift version number (e.g., 6.0.3).

  2. Download the Swift binary for Debian 12:

bash
cd /workspace
wget https://download.swift.org/swift-6.0.3-release/debian12/swift-6.0.3-RELEASE/swift-6.0.3-RELEASE-debian12.tar.gz
  1. Extract the archive:

Note: Make sure to install Swift in the /workspace directory, but outside the git repository to avoid committing the Swift binaries.

  1. Add Swift to your PATH by adding the following line to your ~/.bashrc file:
bash
echo 'export PATH=/workspace/swift-6.0.3-RELEASE-debian12/usr/bin:$PATH' >> ~/.bashrc
source ~/.bashrc

Note: Make sure to update the version number in the PATH to match the version you downloaded.

Verify Installation

Verify that Swift is correctly installed by running:

bash
swift --version

© OpenHands, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files in skills/swift-linux of OpenHands/extensions.

  • SKILL.md
  • .claude-plugin
  • .codex-plugin
  • .plugin/plugin.json
  • README.md

Open the folder on GitHubat commit d008b81

Compare with similar skills

Swift Linux next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Swift Linux compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Swift Linux this skillOpenHands/extensions158—~660Automated safety check: NotesMIT
OdevioOdevio/Odevio-CLI423—~7.6kAutomated safety check: PassMIT
Install Mimi Remotegaixianggeng/mimi-remote104—~2.8kAutomated safety check: PassGPL-3.0
Limrun Xcodesuperset-sh/superset15k—~6.5kAutomated safety check: NotesCustom licence
Gpui Parity Audithewigovens/jayjay172—~546Automated safety check: PassCustom licence
Eas Simulatorexpo/skills2.7k—~6.6kAutomated safety check: NotesMIT

Similar skills

  • Odevio

    Odevio/Odevio-CLI

    Take a Flutter project to an iPhone or the App Store with Odevio - build, sign and publish iOS apps from Windows, Linux or macOS with no Mac and no Xcode.

    423 GitHub stars~7.6k tokensUpdated 13 days ago
    MobileAuto-check passed
  • Install Mimi Remote

    gaixianggeng/mimi-remote

    安装、配置、配对、迁移、升级、诊断、回滚或卸载 Mimi Remote;在 macOS 上安装和维护 Mimi Remote Mac 菜单栏 App / DMG,或通过 Homebrew、Linux user-systemd 部署 agentd;从源码构建 iPhone/iPad App;配置 Codex 主通道和可选 Claude Code 实验 Runtime。用户提出“安装 Mimi…

    104 GitHub stars~2.8k tokensUpdated today
    MobileAuto-check passed
  • Limrun Xcode

    superset-sh/superset

    Build an iOS / Apple app on remote Xcode with lim xcode build instead of local xcodebuild, run project commands with lim xcode run, or run its XCTest suites with lim xcode test, from any environment…

    15k GitHub stars~6.5k tokensUpdated today
    MobileAuto-check: notes
  • Gpui Parity Audit

    hewigovens/jayjay

    Check GPUI Linux parity against SwiftUI workflows, or close identified gaps when implementation is requested.

    172 GitHub stars~546 tokensUpdated today
    MobileAuto-check passed
  • Eas Simulator

    expo/skills

    Official

    Run and control a user's app on a remote iOS/Android simulator hosted on EAS cloud.

    2.7k GitHub stars~6.6k tokensUpdated today
    MobileAuto-check: notes
  • Tauri Packaging

    bkywksj/knowledge-base

    Tauri 打包与分发技能,指导桌面端(Windows/macOS/Linux)与移动端(Android/iOS)的构建、签名和分发。

    330 GitHub stars~3.3k tokensUpdated 5 days ago
    MobileAuto-check passed

More from OpenHands/extensions

All 78 skills in this repo
  • GitHub

    OpenHands/extensions

    Interact with GitHub repositories, pull requests, issues, and workflows using the GITHUBTOKEN environment variable and GitHub CLI.

    158 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Agent Readiness Report

    OpenHands/extensions

    Evaluate how well a codebase supports autonomous AI-assisted development.

    158 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Discord

    OpenHands/extensions

    Build and automate Discord integrations (bots, webhooks, slash commands, and REST API workflows).

    158 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • GitHub Issue To PR

    OpenHands/extensions

    Create an automation that implements GitHub issues when a configurable trigger label is applied.

    158 GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • GitHub Repo Monitor

    OpenHands/extensions

    This skill should be used when the user asks to "monitor a GitHub repository", "watch GitHub for issues or PRs", "respond to @OpenHands mentions on GitHub", "set up an OpenHands GitHub integration"…

    158 GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • GitLab Issue To Mr

    OpenHands/extensions

    Create an automation that implements GitLab issues when a configurable trigger label is applied.

    158 GitHub stars~4.9k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Swift Linux

What does Swift Linux do?

Install and configure Swift programming language on Debian Linux for server-side development. Swift Linux is an agent skill from OpenHands/extensions. Install and configure Swift programming language on Debian Linux for server-side development.

When should I use Swift Linux?

Swift Linux fits situations like: building Swift applications on Linux; setting up a Swift development environment.

How do I install Swift Linux in Claude Code?

Run `npx skills add OpenHands/extensions --skill swift-linux -a claude-code`. Or copy the skill folder (skills/swift-linux in OpenHands/extensions) into .claude/skills/swift-linux in your project. Claude Code loads it when a task matches its description.

How do I install Swift Linux in Codex?

Run `npx skills add OpenHands/extensions --skill swift-linux -a codex`. Or copy the skill folder (skills/swift-linux in OpenHands/extensions) into .agents/skills/swift-linux in your project. Codex loads it when a task matches its description.

Can I use Swift Linux in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenHands/extensions --skill swift-linux -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/swift-linux, .gemini/skills/swift-linux, .github/skills/swift-linux and .opencode/skills/swift-linux in your project.

What does Swift Linux need to run?

Going by SKILL.md and its folder, Swift Linux needs the command-line tools its instructions call (apt-get, git, wget and swift).

Does Swift Linux access the network?

SKILL.md names 2 domains. In commands or code: download.swift.org; the agent is likely to contact it when it follows the instructions. As links in the text: swift.org. This is read from the text; nothing was executed.

Is Swift Linux safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Swift Linux use?

Swift Linux is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Swift Linux use?

About 660 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Swift Linux?

Skills that share tags, products or a category with Swift Linux: Odevio (Odevio/Odevio-CLI, 423 stars), Install Mimi Remote (gaixianggeng/mimi-remote, 104 stars), Limrun Xcode (superset-sh/superset, 15k stars) and Gpui Parity Audit (hewigovens/jayjay, 172 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Swift Linux?

OpenHands (a GitHub organization) maintains it in OpenHands/extensions, which has 158 GitHub stars. The repository holds 78 skills in this directory. The repository was last updated on October 7, 2026.

Source: OpenHands/extensions on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.