AgentSquad for Swift
2FastLabs/agent-squad
Guides building on-device multi-agent apps in Swift with the AgentSquad framework: which agent, orchestrator, classifier, storage or voice type fits each situation.
A skill your agent uses for Swift AI SDK upstream parity management: refresh or inspect Vercel AI SDK baselines, scan upstream package coverage, classify drift, plan provider/core/docs audits, land…
$ npx skills add teunlao/swift-ai-sdk --skill swift-ai-sdk-upstream -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install teunlao/swift-ai-sdk swift-ai-sdk-upstream --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/teunlao/swift-ai-sdk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/swift-ai-sdk-upstream .claude/skills/swift-ai-sdk-upstream && rm -rf skills-srcUse ~/.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/
Install the "swift-ai-sdk-upstream" agent skill from https://github.com/teunlao/swift-ai-sdk/tree/main/.agents/skills/swift-ai-sdk-upstream into .claude/skills/swift-ai-sdk-upstream/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swift-ai-sdk-upstream", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/teunlao/swift-ai-sdk/tree/main/.agents/skills/swift-ai-sdk-upstreamType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add teunlao/swift-ai-sdk --skill swift-ai-sdk-upstream -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install teunlao/swift-ai-sdk swift-ai-sdk-upstream --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/teunlao/swift-ai-sdk.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/swift-ai-sdk-upstream .agents/skills/swift-ai-sdk-upstream && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "swift-ai-sdk-upstream" agent skill from https://github.com/teunlao/swift-ai-sdk/tree/main/.agents/skills/swift-ai-sdk-upstream into .agents/skills/swift-ai-sdk-upstream/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swift-ai-sdk-upstream", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add teunlao/swift-ai-sdk --skill swift-ai-sdk-upstream -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install teunlao/swift-ai-sdk swift-ai-sdk-upstream --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/teunlao/swift-ai-sdk.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/swift-ai-sdk-upstream .cursor/skills/swift-ai-sdk-upstream && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "swift-ai-sdk-upstream" agent skill from https://github.com/teunlao/swift-ai-sdk/tree/main/.agents/skills/swift-ai-sdk-upstream into .cursor/skills/swift-ai-sdk-upstream/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swift-ai-sdk-upstream", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/teunlao/swift-ai-sdk.git --path .agents/skills/swift-ai-sdk-upstream--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add teunlao/swift-ai-sdk --skill swift-ai-sdk-upstream -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install teunlao/swift-ai-sdk swift-ai-sdk-upstream --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/teunlao/swift-ai-sdk.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/swift-ai-sdk-upstream .gemini/skills/swift-ai-sdk-upstream && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "swift-ai-sdk-upstream" agent skill from https://github.com/teunlao/swift-ai-sdk/tree/main/.agents/skills/swift-ai-sdk-upstream into .gemini/skills/swift-ai-sdk-upstream/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swift-ai-sdk-upstream", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install teunlao/swift-ai-sdk swift-ai-sdk-upstreamInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add teunlao/swift-ai-sdk --skill swift-ai-sdk-upstream -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/teunlao/swift-ai-sdk.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/swift-ai-sdk-upstream .github/skills/swift-ai-sdk-upstream && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "swift-ai-sdk-upstream" agent skill from https://github.com/teunlao/swift-ai-sdk/tree/main/.agents/skills/swift-ai-sdk-upstream into .github/skills/swift-ai-sdk-upstream/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swift-ai-sdk-upstream", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add teunlao/swift-ai-sdk --skill swift-ai-sdk-upstream -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install teunlao/swift-ai-sdk swift-ai-sdk-upstream --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/teunlao/swift-ai-sdk.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/swift-ai-sdk-upstream .opencode/skills/swift-ai-sdk-upstream && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "swift-ai-sdk-upstream" agent skill from https://github.com/teunlao/swift-ai-sdk/tree/main/.agents/skills/swift-ai-sdk-upstream into .opencode/skills/swift-ai-sdk-upstream/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swift-ai-sdk-upstream", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
swift-ai-sdk-upstreamA skill your agent uses for Swift AI SDK upstream parity management: refresh or inspect Vercel AI SDK baselines, scan upstream package coverage, classify drift, plan provider/core/docs audits, land…
Swift AI SDK Upstream is an agent skill from teunlao/swift-ai-sdk. Use for Swift AI SDK upstream parity management: refresh or inspect Vercel AI SDK baselines, scan upstream package coverage, classify drift, plan provider/core/docs audits, land parity fixes with tests, and maintain generated local artifacts under .upstream/ plus durable evidence in upstream/.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/artifacts.md` and `references/audit-slices.md`).
It sits in Mobile, covering iOS development. It works with Vercel AI SDK, Model Context Protocol, OpenAI and Vercel. The repository describes itself as: Unified AI SDK for Swift, bringing the power of Vercel AI SDK to Apple platforms. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit c82deb2. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/ (JavaScript), which the agent can run.
Shell commands in SKILL.md call:
gitnodergswiftpnpmFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Swift AI SDK Upstream loads about 1.6k tokens when it runs, and up to ~3.4k if it reads all its reference files. Until then it costs about 79 tokens; SKILL.md has 607 words of instructions outside code blocks.
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.
The automated check found no risky patterns in SKILL.md.
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); the scripts in this folder are not scanned.
The full file from teunlao/swift-ai-sdk at commit c82deb2, republished under its Apache-2.0 licence (© teunlao). 607 words, ~1,552 tokens.
.claude/skills/swift-ai-sdk-upstream/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.This skill is the operating protocol for keeping Swift AI SDK aligned with the Vercel AI SDK. It is not only a "refresh upstream" helper; it manages intake, coverage mapping, drift triage, audits, fixes, tests, and evidence.
upstream/UPSTREAM.md, upstream/PROGRESS.md, and
upstream/providers/*.md..upstream/**. These are local scratch
artifacts and must stay gitignored.external/vercel-ai-sdk. Treat it as read-only
during audits.Use generated .upstream/** files to decide what to inspect next. Do not cite a
generated artifact as final proof unless it is backed by source paths, tests, and
durable evidence.
Use this skill when the user asks to:
upstream/* evidence;upstream/UPSTREAM.md for the pinned baseline.node .agents/skills/swift-ai-sdk-upstream/scripts/scan-upstream.js --out .upstream/current.upstream/current/component-catalog.md for the current coverage map.core:<package>provider:<package>docs:<section>intake:<baseline>parity/*; this repo tracks parity through upstream/*.Only refresh when the user asks for a refresh or the task requires a newer baseline.
Latest main:
rm -rf external/vercel-ai-sdk
git clone --depth 1 https://github.com/vercel/ai external/vercel-ai-sdk
git -C external/vercel-ai-sdk rev-parse HEADPinned tag or branch:
rm -rf external/vercel-ai-sdk
git clone --branch <tag-or-branch> --depth 1 https://github.com/vercel/ai external/vercel-ai-sdk
git -C external/vercel-ai-sdk rev-parse HEADSpecific commit:
rm -rf external/vercel-ai-sdk
git clone --depth 1 https://github.com/vercel/ai external/vercel-ai-sdk
git -C external/vercel-ai-sdk fetch --depth 1 origin <sha>
git -C external/vercel-ai-sdk checkout <sha>
git -C external/vercel-ai-sdk rev-parse HEADAfter a refresh, update upstream/UPSTREAM.md, regenerate .upstream/current,
and add a short upstream/PROGRESS.md note only when the baseline or shipped
parity state meaningfully changed.
external/vercel-ai-sdk/packages/<provider>/.references/audit-slices.md as the checklist.AGENT=1 swift test unless the user explicitly
narrows verification.upstream/providers/<provider>.md with:Use only for packages/ai, packages/provider, packages/provider-utils, or
core contracts required by a provider.
upstream/PROGRESS.md; if provider-driven, also update
the relevant provider page.Use only when the task is docs work or a behavior change needs docs.
external/vercel-ai-sdk/content/**.apps/docs/src/content/docs/**.apps/docs/astro.config.mjs when needed.pnpm run docs:check and pnpm run docs:build.Use the statuses from references/component-taxonomy.md:
unknownmappedpartialverifiedstaledriftn/aDo not mark a component verified without an audited commit and concrete Swift
test/source evidence.
references/component-taxonomy.md: areas, priorities, status meanings, and
package classification.references/audit-slices.md: provider/core/docs audit checklist.references/artifacts.md: generated artifact contract for .upstream/**.templates/component-status.md: durable component/provider status template.templates/work-item.md: generated work queue item template.node .agents/skills/swift-ai-sdk-upstream/scripts/scan-upstream.js --out .upstream/current
rg -n "<symbol>" external/vercel-ai-sdk/packages -S
rg -n "<symbol>" Sources Tests -S
AGENT=1 swift test
node tools/test-runner.js --config tools/test-runner.default.config.json.upstream/** artifacts were used only as local working state.upstream/* was updated when parity state changed.© teunlao, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 7 other files (scripts, references) in .agents/skills/swift-ai-sdk-upstream of teunlao/swift-ai-sdk.
Open the folder on GitHubat commit c82deb2
Swift AI SDK Upstream 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Swift AI SDK Upstream this skillteunlao/swift-ai-sdk | 154 | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| AgentSquad for Swift2FastLabs/agent-squad | 7.8k | — | ~3.5k | Automated safety check: Pass | Apache-2.0 | |
| AI SDKvercel-labs/ai-facts | 168 | 20 repos | ~1.2k | Automated safety check: Pass | None | |
| Neurolink Guidejuspay/neurolink | 145 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Agent Inspectrajudandigam/agent-inspect | 165 | — | ~424 | Automated safety check: Pass | MIT | |
| GitHub Commentingjuspay/neurolink | 145 | — | ~698 | Automated safety check: Pass | MIT |
2FastLabs/agent-squad
Guides building on-device multi-agent apps in Swift with the AgentSquad framework: which agent, orchestrator, classifier, storage or voice type fits each situation.
vercel-labs/ai-facts
Answer questions about the AI SDK and help build AI-powered features.
juspay/neurolink
Guide for using the NeuroLink SDK and CLI. An agent skill from juspay/neurolink.
rajudandigam/agent-inspect
Local evidence debugger and trajectory-test toolkit for TypeScript AI agents.
juspay/neurolink
How to post clean, rich, deduplicated GitHub PR review comments — suggestion blocks, multi-line anchors, markers, formatting rules.
juspay/neurolink
NeuroLink's review standards — the critical rules to enforce, what NOT to comment on, the security bar, hot paths.
Categories
A skill your agent uses for Swift AI SDK upstream parity management: refresh or inspect Vercel AI SDK baselines, scan upstream package coverage, classify drift, plan provider/core/docs audits, land…. Swift AI SDK Upstream is an agent skill from teunlao/swift-ai-sdk.upstream/ plus durable evidence in upstream/.
Swift AI SDK Upstream fits situations like: swift AI SDK upstream parity management: refresh; inspect Vercel AI SDK baselines; scan upstream package coverage; plan provider/core/docs audits.
Run `npx skills add teunlao/swift-ai-sdk --skill swift-ai-sdk-upstream -a claude-code`. Or copy the skill folder (.agents/skills/swift-ai-sdk-upstream in teunlao/swift-ai-sdk) into .claude/skills/swift-ai-sdk-upstream in your project. Claude Code loads it when a task matches its description.
Run `npx skills add teunlao/swift-ai-sdk --skill swift-ai-sdk-upstream -a codex`. Or copy the skill folder (.agents/skills/swift-ai-sdk-upstream in teunlao/swift-ai-sdk) into .agents/skills/swift-ai-sdk-upstream in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add teunlao/swift-ai-sdk --skill swift-ai-sdk-upstream -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-ai-sdk-upstream, .gemini/skills/swift-ai-sdk-upstream, .github/skills/swift-ai-sdk-upstream and .opencode/skills/swift-ai-sdk-upstream in your project.
Going by SKILL.md and its folder, Swift AI SDK Upstream needs JavaScript for the scripts in its folder and the command-line tools its instructions call (git, node, rg, swift and pnpm). Our summary lists: Node.js.
SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Swift AI SDK Upstream is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Swift AI SDK Upstream: AgentSquad for Swift (2FastLabs/agent-squad, 7.8k stars), AI SDK (vercel-labs/ai-facts, 168 stars), Neurolink Guide (juspay/neurolink, 145 stars) and Agent Inspect (rajudandigam/agent-inspect, 165 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
teunlao (a GitHub user) maintains it in teunlao/swift-ai-sdk, which has 154 GitHub stars. The repository was last updated on October 5, 2026.
Source: teunlao/swift-ai-sdk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.