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.00090 | $0.00703 |
| Opus 5 | $0.00045 | $0.00351 |
| Sonnet 5 | $0.00018 | $0.00141 |
| Haiku 4.5 | $0.00009 | $0.00070 |
Grade A, and why
update-foundation-models-apis scanned grade A with 1 finding 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 11d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
If Sosumi is unavailable, raw `curl` + JSON parse is sufficient per step 1. How it starts
The opening of the file, as written. The whole thing — 77 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 26.x delta notes for this repository’s apple-foundation-models-skill/references/.
Prerequisites
- Network access to
https://developer.apple.com/tutorials/data/documentation/ - Write access to this repo
Optional: Sosumi MCP (same tool names as SwiftUI maintenance skill) for interactive search—mirrors .agents/skills/update-foundation-models-apis/references/scan-manifest.md.
Workflow
1. BFS crawl foundationmodels.json
Seed queue with /documentation/foundationmodels.json.
For each downloaded JSON:
- Parse
referencesobject. - For every value with
"url"starting/documentation/foundationmodels, enqueue${url}.jsonif not yet fetched. - Persist JSON files under a local cache directory (e.g.
_extract/, gitignored).
2. Rebuild symbol-index.md
Emit a markdown table:
- Columns: Path, Kind (
symbolKind/ article kind), Min platform (platforms[0].introducedAtwhen present), Title.
Sort paths lexicographically.
3. Fetch release notes
Required URL: https://developer.apple.com/documentation/Updates/FoundationModels
Summarize new bullets into references/ios-26-4-release-notes-and-pending.md (or add a new ios-26-5-… file if Apple publishes a new section).
4. Pending-symbol audit
Given a candidate list (e.g. FoundationModelAgent, LatentMemory, ModelConfiguration, user-reported betas):
- Grep the crawled JSON corpus for exact symbol strings.
- If absent: mark Documentation pending in the pending matrix—never invent signatures.
5. Spot-check high-traffic types
Manually re-fetch markdown or JSON for:
LanguageModelSessionSystemLanguageModelGenerableToolLanguageModelSession/GenerationError
Verify no signature drift against man-pages; update reference files if fragments changed.
6. Commit
- Branch:
update/foundation-models-apis-YYYY-MM - Files:
apple-foundation-models-skill/references/symbol-index.md, delta markdown, any corrected man-pages. - PR description lists new paths count and removed paths count vs. previous crawl.
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.
- 11d 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 (13 stars, last pushed 2mo ago), licensed MIT. It adds 90 tokens to every session and 703 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
apple-foundation-models-app-patterns
Apply MVVM architecture patterns for building Foundation Models apps.
apple-foundation-models-custom-tools
Build custom tools that the model can call to extend functionality.
apple-foundation-models-health-assistant
Integrate HealthKit data with custom tools for health-focused AI assistants.
apple-foundation-models-siri-shortcuts-integration
Integrate with Siri Shortcuts and App Intents for system voice commands.
apple-foundation-models-voice-assistant
Build voice interfaces with speech recognition and text-to-speech integration.
apple-foundation-models-system-tools
Use built-in system tools for weather, contacts, calendar, and more.