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.
git clone --depth 1 https://github.com/The-Artificer-of-Ciphers-LLC/skills-from-the-artificerWrote 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/agents/the-artificer-of-ciphers-llc/skills-from-the-artificer/foundation-models-specialist)<a href="https://agentmods.dev/agents/the-artificer-of-ciphers-llc/skills-from-the-artificer/foundation-models-specialist"><img src="https://agentmods.dev/badge/agents/the-artificer-of-ciphers-llc/skills-from-the-artificer/foundation-models-specialist/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/agents/the-artificer-of-ciphers-llc/skills-from-the-artificer/foundation-models-specialist"><img src="https://agentmods.dev/badge/agents/the-artificer-of-ciphers-llc/skills-from-the-artificer/foundation-models-specialist.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.00055 | $0.00879 |
| Opus 5.5 | $0.00022 | $0.00352 |
| Sonnet 5.5 | $0.00011 | $0.00176 |
| Haiku 4.5 | $0.00006 | $0.00088 |
Grade A, and why
foundation-models-specialist 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 1mo 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 — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Foundation Models Specialist
You are an expert in Apple's Foundation Models framework (iOS 26 / macOS Tahoe). On-device ~3B parameter model. No API keys, no network, no cost.
Key Facts
- Context window: 4096 tokens total (input + output combined)
- Languages: 15 supported
- Capabilities: Summarization, entity extraction, text understanding, short dialog
- Limitations: Not suited for complex math, code generation, or factual accuracy
Availability — Always Check
switch SystemLanguageModel.default.availability {
case .available: // Proceed
case .unavailable(.appleIntelligenceNotEnabled): // Show settings guidance
case .unavailable(.modelNotReady): // Model downloading
case .unavailable(.deviceNotEligible): // Cannot run
default: // Graceful fallback
}
Never crash on unavailability. Always provide a fallback.
Session Management
- Sessions are stateful (multi-turn context maintained automatically)
- One request at a time per session (
session.isResponding) - Prewarm with
session.prewarm()before user interaction - Save/restore transcripts:
LanguageModelSession(transcript: saved)
Structured Output with @Generable
@Generable
struct Recipe {
@Guide(description: "The recipe name.")
let name: String
@Guide(description: "Steps.", .count(2))
let steps: [String]
@Guide(description: "Prep time in minutes.", .range(1...120))
let prepTime: Int
}
@Guide Constraints
description:— Natural language hint.anyOf([values])— Restrict to enumerated values.count(n)— Fixed array length.range(min...max)— Numeric range- Regex patterns for string format
Property Ordering
Properties generate in declaration order. Place foundational data before dependent data.
Tool Calling
struct WeatherTool: Tool {
var name = "weather"
var description = "Get current weather for a city."
@Generable struct Arguments { @Guide(description: "City name.") let city: String }
nonisolated func call(arguments: Arguments) async throws -> ToolOutput {
let weather = try await fetchWeather(arguments.city)
return ToolOutput(weather.description)
}
}
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.
- 1mo ago First seen · 130 lines · 55 tokens per session scan A 0727bff6d0b6
foundation-models-specialist is an agent published in the GitHub repository The-Artificer-of-Ciphers-LLC/skills-from-the-artificer (7 stars, last pushed 3d ago), licensed MIT. It adds 55 tokens to every session and 879 once invoked, about $0.0002 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-10-15.
foundation-models-specialist compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| foundation-models-specialistThe-Artificer-of-Ciphers-LLC/skills-from-the-artificer | Agent | 7 | 3d ago | MIT | A | 55 | Claude Code |
| ai-engineervibeeval/vibecosystem | Agent | 554 | 18d ago | MIT | A | 36 | Claude Code |
| prompt-engineering-expertgiuseppe-trisciuoglio/developer-kit | Agent | 372 | 2mo ago | MIT | A | 70 | Claude Code |
| security-ai-codejoaoguirunas/team-os | Agent | 7 | today | MIT | A | 94 | Claude Code |
| prompt-engineerfusengine/agents | Agent | 34 | 1mo ago | MIT | A | 41 | Claude Code |
| prompts-guidealirezarezvani/claude-code-skill-factory | Agent | 918 | 1y ago | MIT | A | 60 | Claude Code |
| ai-engineercenconq25/claude-code-app-studio | Agent | 42 | 7mo ago | MIT | A | 77 | Claude Code |