Agent Recorder Fixtures
SwiftedMind/SwiftAgent
Record real OpenAI/Anthropic HTTP back-and-forth (requests + responses, including streaming text/event-stream) and print paste-ready Swift fixtures for SwiftAgent unit tests (ReplayHTTPClient) using…
Upgrade any Apple Foundation Models Swift app or package from OS 26-era APIs to OS 27 and Xcode 27 APIs.
$ npx skills add rryam/FoundationModelsKit --skill foundation-models-os27-updater -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rryam/FoundationModelsKit foundation-models-os27-updater --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/rryam/FoundationModelsKit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/foundation-models-os27-updater .claude/skills/foundation-models-os27-updater && 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 "foundation-models-os27-updater" agent skill from https://github.com/rryam/FoundationModelsKit/tree/main/skills/foundation-models-os27-updater into .claude/skills/foundation-models-os27-updater/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "foundation-models-os27-updater", 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/rryam/FoundationModelsKit/tree/main/skills/foundation-models-os27-updaterType 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 rryam/FoundationModelsKit --skill foundation-models-os27-updater -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rryam/FoundationModelsKit foundation-models-os27-updater --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rryam/FoundationModelsKit.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/foundation-models-os27-updater .agents/skills/foundation-models-os27-updater && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "foundation-models-os27-updater" agent skill from https://github.com/rryam/FoundationModelsKit/tree/main/skills/foundation-models-os27-updater into .agents/skills/foundation-models-os27-updater/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "foundation-models-os27-updater", 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 rryam/FoundationModelsKit --skill foundation-models-os27-updater -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rryam/FoundationModelsKit foundation-models-os27-updater --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rryam/FoundationModelsKit.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/foundation-models-os27-updater .cursor/skills/foundation-models-os27-updater && 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 "foundation-models-os27-updater" agent skill from https://github.com/rryam/FoundationModelsKit/tree/main/skills/foundation-models-os27-updater into .cursor/skills/foundation-models-os27-updater/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "foundation-models-os27-updater", 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/rryam/FoundationModelsKit.git --path skills/foundation-models-os27-updater--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 rryam/FoundationModelsKit --skill foundation-models-os27-updater -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rryam/FoundationModelsKit foundation-models-os27-updater --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rryam/FoundationModelsKit.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/foundation-models-os27-updater .gemini/skills/foundation-models-os27-updater && 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 "foundation-models-os27-updater" agent skill from https://github.com/rryam/FoundationModelsKit/tree/main/skills/foundation-models-os27-updater into .gemini/skills/foundation-models-os27-updater/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "foundation-models-os27-updater", 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 rryam/FoundationModelsKit foundation-models-os27-updaterInstalls 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 rryam/FoundationModelsKit --skill foundation-models-os27-updater -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rryam/FoundationModelsKit.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/foundation-models-os27-updater .github/skills/foundation-models-os27-updater && 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 "foundation-models-os27-updater" agent skill from https://github.com/rryam/FoundationModelsKit/tree/main/skills/foundation-models-os27-updater into .github/skills/foundation-models-os27-updater/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "foundation-models-os27-updater", 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 rryam/FoundationModelsKit --skill foundation-models-os27-updater -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rryam/FoundationModelsKit foundation-models-os27-updater --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rryam/FoundationModelsKit.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/foundation-models-os27-updater .opencode/skills/foundation-models-os27-updater && 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 "foundation-models-os27-updater" agent skill from https://github.com/rryam/FoundationModelsKit/tree/main/skills/foundation-models-os27-updater into .opencode/skills/foundation-models-os27-updater/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "foundation-models-os27-updater", 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.
foundation-models-os27-updaterUpgrade any Apple Foundation Models Swift app or package from OS 26-era APIs to OS 27 and Xcode 27 APIs.
Foundation Models Os27 Updater is an agent skill from rryam/FoundationModelsKit. Upgrade any Apple Foundation Models Swift app or package from OS 26-era APIs to OS 27 and Xcode 27 APIs. Use when modernizing LanguageModelSession code, GenerationOptions, tool calling, context-window handling, image input, Private Cloud Compute, shared LanguageModel runtimes, reasoning controls, transcript handling, custom executors, feedback, availability gates, docs, examples, tests, or build settings.
Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in Mobile, covering iOS development, Context engineering and Structured output and tool calling. It works with Xcode. The repository describes itself as: Runtime checks, schema utilities, token accounting, conversation state, and tools for Apple's Foundation Models framework. The licence is MIT.
Read from SKILL.md and the folder at commit 4900266. 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.
Shell commands in SKILL.md call:
rgxcrungitswiftxcodebuildFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From 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.
Foundation Models Os27 Updater loads about 2.9k tokens when it runs. Until then it costs about 110 tokens; SKILL.md has 1,227 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); files beside SKILL.md are not scanned.
The full file from rryam/FoundationModelsKit at commit 4900266, republished under its MIT licence (© rryam). 1,227 words, ~2,879 tokens.
.claude/skills/foundation-models-os27-updater/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Use this skill to migrate a Foundation Models project from the OS 26 API surface to OS 27. The target may be an app, Swift package, sample, CLI, framework, tutorial repo, or documentation repo. Do not assume any specific app or package repository structure.
The goal is not to sprinkle OS 27 names into code. The goal is to make the project take real advantage of OS 27 where it helps: better runtime selection, context management, tool policy, multimodal input, transcript handling, observability, and honest availability behavior.
Run a fast audit before editing:
git status --short --branch
rg -n "import FoundationModels|LanguageModelSession|SystemLanguageModel|GenerationOptions|Prompt|Transcript|Tool|@Generable|DynamicGenerationSchema|GeneratedContent|Feedback|Attachment|ImageReference|tokenCount|contextSize" .
rg -n "IPHONEOS_DEPLOYMENT_TARGET|MACOSX_DEPLOYMENT_TARGET|VISIONOS_DEPLOYMENT_TARGET|WATCHOS_DEPLOYMENT_TARGET|platforms:|Package.swift|swift-tools-version" .
find . -maxdepth 3 \( -name "*.xcodeproj" -o -name "*.xcworkspace" -o -name "Package.swift" \)Then classify the work:
Use the active Xcode 27 SDK as the source of truth. Adapt paths for the user's Xcode:
export DEVELOPER_DIR=/path/to/Xcode-beta.app/Contents/Developer
xcrun --show-sdk-path --sdk iphoneos
xcrun --show-sdk-path --sdk macosxSearch FoundationModels interfaces:
SDK="$(xcrun --show-sdk-path --sdk iphoneos)"
rg -n "final public class PrivateCloudComputeLanguageModel|protocol LanguageModel|contextSize|toolCallingMode|samplingMode|ImageAttachment|ImageReference|reasoning|Transcript|Feedback|LanguageModelExecutor" "$SDK/System/Library/Frameworks/FoundationModels.framework"If the project has its own generated interface notes, refresh or verify them from SDK interfaces. Do not let stale docs outrank the local SDK.
Choose one path explicitly:
#available wrappers or separate OS 27-only files.For packages, prefer public wrappers that compile for the declared platform matrix. Avoid leaking OS 27-only symbols into APIs that must be consumed from OS 26 without availability annotations.
Update renamed or expanded options first because they break builds quickly:
samplingMode when the SDK exposes it.toolCallingMode only where behavior should change.Keep availability checks close to features:
let model = SystemLanguageModel.default
switch model.availability {
case .available:
break
case .unavailable(let reason):
// Render or return a clear unavailable state.
}For OS 27 additions, combine Foundation Models availability with platform checks:
if #available(iOS 27.0, macOS 27.0, visionOS 27.0, *) {
let contextSize = SystemLanguageModel.default.contextSize
} else {
// Existing OS 26 fallback.
}If the project has multiple model backends or wants PCC, introduce a small runtime abstraction:
.system for SystemLanguageModel.default..privateCloudCompute for PrivateCloudComputeLanguageModel()..automatic or .pccWhenAvailable only if the app has a clear fallback policy.Avoid re-resolving adaptive runtime mid-request. Resolve once, create the session from that model, and use the same resolved runtime for diagnostics and token/context accounting.
Add PCC only when it serves the product or sample. PCC code should report:
Do not present PCC as guaranteed. Treat it as OS/service/entitlement/network gated.
Replace hardcoded context assumptions with runtime information:
SystemLanguageModel.contextSize for local model budget when available.tokenCount(for:) or existing project token accounting for prompt pressure.Good app behavior:
Map product modes to explicit tool policy:
.allowed: normal assistant mode where tools are optional..required: workflows that must call a tool to be useful, such as fetching current data..disallowed: drafting, summarization, or privacy-sensitive flows where tools should not run.Do not rely on prompts alone to prevent tool use when the SDK exposes a policy option.
When adding image support:
If the app has user-selectable personas or modes, move them into typed configuration:
Keep reset/default behavior obvious so users can return to a known profile.
Expose reasoning controls only when users can understand the tradeoff:
Update transcript parsing, rendering, replay, export, and logging for new segment types:
Make switches exhaustive. If preserving transcripts matters, store unknown/custom segments instead of dropping them.
If the project implements a custom model executor:
Use OS 27 feedback/transcript surfaces to improve debugging:
For apps:
Models/
FoundationModelRuntime.swift
FoundationModelAvailabilityState.swift
Services/
FoundationModelClient.swift
ContextBudgetManager.swift
Views/
ModelUnavailableView.swift
RuntimeDiagnosticsView.swiftFor packages:
Sources/PackageName/
Runtime/
Context/
Tools/
Transcripts/
Tests/PackageNameTests/Keep SwiftUI views thin. Put Foundation Models orchestration in services/use cases so CLI, widgets, App Intents, and tests can reuse it.
Update docs when code behavior changes:
DEVELOPER_DIRAvoid vague phrasing like "uses latest APIs" without naming what changed.
Choose the narrowest checks that cover the change:
git diff --check
DEVELOPER_DIR=/path/to/Xcode-beta.app/Contents/Developer swift build
DEVELOPER_DIR=/path/to/Xcode-beta.app/Contents/Developer swift test
DEVELOPER_DIR=/path/to/Xcode-beta.app/Contents/Developer xcodebuild -project App.xcodeproj -scheme "App" -destination "platform=iOS Simulator,name=iPhone 17 Pro" -derivedDataPath ./build-xcode27 buildAlso verify manually when possible:
If runtime smoke tests require OS 27 hardware or entitlement approval, say that plainly in the final report and PR body.
A good migration PR should include:
Do not claim a feature is live just because it compiles. For OS/service-gated APIs like PCC, distinguish compile support, availability probing, entitlement status, and real runtime success.
© rryam, MIT. 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 1 other file in skills/foundation-models-os27-updater of rryam/FoundationModelsKit.
Open the folder on GitHubat commit 4900266
Foundation Models Os27 Updater 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 |
|---|---|---|---|---|---|---|
| Foundation Models Os27 Updater this skillrryam/FoundationModelsKit | 162 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Agent Recorder FixturesSwiftedMind/SwiftAgent | 227 | — | ~906 | Automated safety check: Pass | MIT | |
| xc-plugin State Managementconorluddy/xclaude-plugin | 183 | — | ~4k | Automated safety check: Pass | MIT | |
| iOS Memgraph Analysisdpearson2699/swift-ios-skills | 1.2k | — | ~2.4k | Automated safety check: Pass | Custom licence | |
| iOS Simulator Workflowsconorluddy/xclaude-plugin | 183 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Xcodebuildmcpw-winter/dot314 | 139 | — | ~196 | Automated safety check: Pass | MIT |
SwiftedMind/SwiftAgent
Record real OpenAI/Anthropic HTTP back-and-forth (requests + responses, including streaming text/event-stream) and print paste-ready Swift fixtures for SwiftAgent unit tests (ReplayHTTPClient) using…
conorluddy/xclaude-plugin
Teaches how xc-plugin saves tokens with progressive disclosure, cached responses and consistent configuration, so large device lists and build logs arrive as summaries first.
dpearson2699/swift-ios-skills
A skill your agent uses when capturing or analyzing an iOS .memgraph, especially when the task mentions a memory leak, heap growth, persistent memory increase, ownership path, or matched-capture…
conorluddy/xclaude-plugin
Manages iOS Simulator devices and apps through the execute_simulator_command MCP tool instead of raw simctl: boot, create and delete devices, install and launch apps, screenshots and diagnostics.
w-winter/dot314
Build/test Xcode projects via the XcodeBuildMCP MCP server using a local CLI wrapper for pi (no MCP support).
Dimillian/Skills
Scaffold, build, and package SwiftPM-based macOS apps without an Xcode project.
rryam/FoundationModelsKit
Build or modify Apple Foundation Models features in Swift, SwiftUI, iOS, and macOS apps.
Works with
Categories
Upgrade any Apple Foundation Models Swift app or package from OS 26-era APIs to OS 27 and Xcode 27 APIs. Foundation Models Os27 Updater is an agent skill from rryam/FoundationModelsKit. Upgrade any Apple Foundation Models Swift app or package from OS 26-era APIs to OS 27 and Xcode 27 APIs.
Foundation Models Os27 Updater fits situations like: modernizing LanguageModelSession code; generationOptions; context-window handling; private Cloud Compute.
Run `npx skills add rryam/FoundationModelsKit --skill foundation-models-os27-updater -a claude-code`. Or copy the skill folder (skills/foundation-models-os27-updater in rryam/FoundationModelsKit) into .claude/skills/foundation-models-os27-updater in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rryam/FoundationModelsKit --skill foundation-models-os27-updater -a codex`. Or copy the skill folder (skills/foundation-models-os27-updater in rryam/FoundationModelsKit) into .agents/skills/foundation-models-os27-updater 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 rryam/FoundationModelsKit --skill foundation-models-os27-updater -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/foundation-models-os27-updater, .gemini/skills/foundation-models-os27-updater, .github/skills/foundation-models-os27-updater and .opencode/skills/foundation-models-os27-updater in your project.
Going by SKILL.md and its folder, Foundation Models Os27 Updater needs the command-line tools its instructions call (rg, xcrun, git, swift and xcodebuild).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. 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. Review the folder before installing.
Foundation Models Os27 Updater is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Foundation Models Os27 Updater: Agent Recorder Fixtures (SwiftedMind/SwiftAgent, 227 stars), xc-plugin State Management (conorluddy/xclaude-plugin, 183 stars), iOS Memgraph Analysis (dpearson2699/swift-ios-skills, 1.2k stars) and iOS Simulator Workflows (conorluddy/xclaude-plugin, 183 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rryam (a GitHub organization) maintains it in rryam/FoundationModelsKit, which has 162 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 30, 2026.
Source: rryam/FoundationModelsKit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.