Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add alessiorubicini/Apple-Foundation-Models-Agent-Skill --skill update-foundation-models-apisgit clone --depth 1 https://github.com/alessiorubicini/Apple-Foundation-Models-Agent-SkillWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/alessiorubicini/apple-foundation-models-agent-skill/update-foundation-models-apis)<a href="https://agentmods.dev/skills/alessiorubicini/apple-foundation-models-agent-skill/update-foundation-models-apis"><img src="https://agentmods.dev/badge/skills/alessiorubicini/apple-foundation-models-agent-skill/update-foundation-models-apis/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/alessiorubicini/apple-foundation-models-agent-skill/update-foundation-models-apis"><img src="https://agentmods.dev/badge/skills/alessiorubicini/apple-foundation-models-agent-skill/update-foundation-models-apis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00067 | $0.00845 |
| Opus 5.5 | $0.00027 | $0.00338 |
| Sonnet 5.5 | $0.00013 | $0.00169 |
| Haiku 4.5 | $0.00007 | $0.00085 |
Grade A, and why
update-foundation-models-apis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Update Foundation Models API reference
Regenerate the local symbol catalog and OS-version guidance for this repository's apple-foundation-models-skill/references/.
Prerequisites
- A configured
apple-doc-mcp/apple-doc-mcp-server - Write access to this repo
Workflow
1. Select Foundation Models
Use discover_technologies, then choose_technology with doc://com.apple.documentation/documentation/FoundationModels. Record the MCP server version.
2. Breadth-first documentation traversal
Seed the queue with documentation/FoundationModels and retrieve it through get_documentation.
For each retrieved page:
- Parse
referencesobject. - Enqueue every unseen path whose URL starts
/documentation/foundationmodels. - Retrieve every queued category, article, sample, type, protocol, property, initializer, method, enum case, nested type, and relationship page through
get_documentation. - Record failed fragment URLs separately; do not treat anchors as symbols.
- Retrieve directly linked cross-framework pages needed to validate Foundation Models guidance, such as the PCC entitlement, Vision tools, and Evaluations integration.
3. Rebuild symbol-index.md
Emit a markdown table:
- Columns: Path, Kind (
symbolKind/ article kind), Min platform (prefer iOSintroducedAt, otherwise the first documented platform), Title.
Sort paths lexicographically.
4. Fetch release notes
Required URL: https://developer.apple.com/documentation/Updates/FoundationModels
Update the applicable OS delta reference with every documented release-note bullet and migration.
5. Delta and quality audit
- Filter metadata by the target OS
introducedAt,deprecatedAt,renamed, and availability fields. - Group member-level additions under their owning type so the skill remains an operating manual rather than an API dump.
- Compare every group and release-note topic with the existing references.
- Remove APIs or behaviors that the current Apple documentation does not establish. Never infer signatures.
- Keep examples compilable and aligned with current declarations.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed · +18 lines · -23 tokens per session c9da39e9b67b
- 3mo ago First seen · 77 lines · 90 tokens per session scan A 81f7a0977bd6
update-foundation-models-apis is a skill published in the GitHub repository alessiorubicini/Apple-Foundation-Models-Agent-Skill (16 stars, last pushed 2mo ago), licensed MIT. It adds 67 tokens to every session and 845 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
update-foundation-models-apis compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| update-foundation-models-apisalessiorubicini/Apple-Foundation-Models-Agent-Skill | Skill | 16 | 2mo ago | MIT | A | 67 | Claude Code |
| apple-foundation-models-app-patternssambitcreate/Swift-Foundation-Models-Skills | Skill | 26 | 8mo ago | MIT | A | 20 | Codex |
| apple-foundation-models-custom-toolssambitcreate/Swift-Foundation-Models-Skills | Skill | 26 | 8mo ago | MIT | A | 20 | Codex |
| apple-foundation-models-health-assistantsambitcreate/Swift-Foundation-Models-Skills | Skill | 26 | 8mo ago | MIT | A | 23 | Codex |
| apple-foundation-models-siri-shortcuts-integrationsambitcreate/Swift-Foundation-Models-Skills | Skill | 26 | 8mo ago | MIT | A | 27 | Codex |
| apple-foundation-models-voice-assistantsambitcreate/Swift-Foundation-Models-Skills | Skill | 26 | 8mo ago | MIT | A | 23 | Codex |
| apple-foundation-models-system-toolssambitcreate/Swift-Foundation-Models-Skills | Skill | 26 | 8mo ago | MIT | A | 23 | Codex |