Install the "add-afm-model" agent skill from https://github.com/scouzi1966/maclocal-api/tree/main/.claude/skills/add-afm-model into .claude/skills/add-afm-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-afm-model", 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.
Type 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.
skills CLI
$ npx skills add scouzi1966/maclocal-api --skill add-afm-model -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "add-afm-model" agent skill from https://github.com/scouzi1966/maclocal-api/tree/main/.claude/skills/add-afm-model into .agents/skills/add-afm-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-afm-model", 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.
skills CLI
$ npx skills add scouzi1966/maclocal-api --skill add-afm-model -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "add-afm-model" agent skill from https://github.com/scouzi1966/maclocal-api/tree/main/.claude/skills/add-afm-model into .cursor/skills/add-afm-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-afm-model", 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.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add scouzi1966/maclocal-api --skill add-afm-model -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "add-afm-model" agent skill from https://github.com/scouzi1966/maclocal-api/tree/main/.claude/skills/add-afm-model into .gemini/skills/add-afm-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-afm-model", 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.
Installs 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).
skills CLI
$ npx skills add scouzi1966/maclocal-api --skill add-afm-model -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "add-afm-model" agent skill from https://github.com/scouzi1966/maclocal-api/tree/main/.claude/skills/add-afm-model into .github/skills/add-afm-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-afm-model", 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.
skills CLI
$ npx skills add scouzi1966/maclocal-api --skill add-afm-model -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "add-afm-model" agent skill from https://github.com/scouzi1966/maclocal-api/tree/main/.claude/skills/add-afm-model into .opencode/skills/add-afm-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-afm-model", 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.
Facts
Skill name
add-afm-model
GitHub stars
346
Token cost
~1.4k tokens
SKILL.md length
636 words
Files
3 (incl. references)
Skills in repo
12
Repo updated
First seen
Licence
MIT
At a glance
Add support for a new HuggingFace MLX model to AFM. An agent skill from scouzi1966/maclocal-api.
Works in 6 steps: Parse Input → Fetch config.json → Extract model_type → …
User wants to add
SKILL.md covers Usage, Instructions, Tier: Registry Addition and Tier: Port from Python, plus 2 more sections
Calls swift; reaches huggingface.co and github.com
What it does
Add Afm Model is an agent skill from scouzi1966/maclocal-api. Add support for a new HuggingFace MLX model to AFM. Use when user wants to add, onboard, or check compatibility of a model — handles everything from "already supported" to implementing new architectures.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/implementation-guide.md` and `references/model-investigation.md`).
It sits in AI & LLM Engineering, covering Model hubs and datasets and iOS development. It works with Hugging Face and macOS. The repository describes itself as: 'afm' command cli: macOS server and single prompt mode that exposes Apple's Foundation and MLX Models and other APIs running on your Mac through a single aggregated…. The licence is MIT.
When your agent uses it
User wants to add
Check compatibility of a model — handles everything from already supported to implementing new architectures
Example prompts
“already supported”
“/add-afm-model”
Requirements
Python 3
Workflow steps
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 138ca5d. It shows what the files ask for, not the result of running them.
Tool permissions
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.
Runs code
Shell commands in SKILL.md call:
swift
From the folder's file list and the shell code blocks in SKILL.md.
Network
Hosts in commands or code, which the agent is likely to contact:
huggingface.co
github.com
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
Add Afm Model loads about 1.4k tokens when it runs, and up to ~4.6k if it reads all its reference files. Until then it costs about 54 tokens; SKILL.md has 636 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~54
When it runs· the whole SKILL.md, loaded when a task matches
~1.4k
With references· SKILL.md plus every file in references/, read only if the agent opens them
~4.6k
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.
Safety
Auto-check passed
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.
Download SKILL.mdSave it as .claude/skills/add-afm-model/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
add-afm-model
description
Add support for a new HuggingFace MLX model to AFM. Use when user wants to add, onboard, or check compatibility of a model — handles everything from "already supported" to implementing new architectures.
user_invocable
true
Add AFM Model
Investigate and add support for a HuggingFace MLX model to the AFM server.
Add Afm Model 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.
Prepare a macOS or Ubuntu machine for edge-e3 development, diagnose missing Verilator/LLVM/Python dependencies, initialize the public repository, and answer or act on the example prompts in the root…
Chooses the right serving container and current image URI for deploying a Hugging Face model to a SageMaker endpoint, preferring Hugging Face images over generic ones.
Runs evaluations of Hugging Face Hub models on local hardware with inspect-ai or lighteval, and helps choose between vLLM, Transformers and accelerate backends.
Guides building on-device multi-agent apps in Swift with the AgentSquad framework: which agent, orchestrator, classifier, storage or voice type fits each situation.
Maintain and extend AFM (maclocal-api), a Swift OpenAI-compatible local LLM server and CLI for Apple Foundation Models, MLX models, API gateway proxying, and Vision OCR.
Test a pre-built afm binary at any path — runs pre-flight safety checks, then any combination of unit tests, assertions, smart analysis, promptfoo evals, batch validation, OpenAI compat, GPU…
Add support for a new HuggingFace MLX model to AFM. An agent skill from scouzi1966/maclocal-api. Add Afm Model is an agent skill from scouzi1966/maclocal-api. Add support for a new HuggingFace MLX model to AFM.
When should I use Add Afm Model?
Add Afm Model fits situations like: user wants to add; check compatibility of a model — handles everything from already supported to implementing new architectures.
How do I install Add Afm Model in Claude Code?
Run `npx skills add scouzi1966/maclocal-api --skill add-afm-model -a claude-code`. Or copy the skill folder (.claude/skills/add-afm-model in scouzi1966/maclocal-api) into .claude/skills/add-afm-model in your project. Claude Code loads it when a task matches its description.
How do I install Add Afm Model in Codex?
Run `npx skills add scouzi1966/maclocal-api --skill add-afm-model -a codex`. Or copy the skill folder (.claude/skills/add-afm-model in scouzi1966/maclocal-api) into .agents/skills/add-afm-model in your project. Codex loads it when a task matches its description.
Can I use Add Afm Model in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add scouzi1966/maclocal-api --skill add-afm-model -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-afm-model, .gemini/skills/add-afm-model, .github/skills/add-afm-model and .opencode/skills/add-afm-model in your project.
What does Add Afm Model need to run?
Going by SKILL.md and its folder, Add Afm Model needs the command-line tools its instructions call (swift). Our summary lists: Python 3.
Does Add Afm Model access the network?
SKILL.md names 2 domains. In commands or code: huggingface.co and github.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
Is Add Afm Model safe to install?
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.
What licence does Add Afm Model use?
Add Afm Model is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Add Afm Model use?
About 1.4k tokens (SKILL.md is roughly 5.6k 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 3.2k tokens, read only when the agent opens those files.
What are the alternatives to Add Afm Model?
Skills that share tags, products or a category with Add Afm Model: Edge Bringup (exeex/edge-cores, 110 stars), SageMaker Serving Image Selection (huggingface/skills, 11k stars), Hugging Face Local Model Evals (huggingface/skills, 11k stars) and AgentSquad for Swift (2FastLabs/agent-squad, 7.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Add Afm Model?
scouzi1966 (a GitHub user) maintains it in scouzi1966/maclocal-api, which has 346 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 10, 2026.
Source: scouzi1966/maclocal-api on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.