About apple-ml
A documentation-navigation skill for Apple machine-learning frameworks, based on Apple developer documentation and identified SDK versions. It routes tasks to reference pages covering Core AI, Core ML, Create ML, Vision, Speech, and related APIs.
Key features
- 01Routes tasks to documentation categories
- 02Covers Core AI and Core ML
- 03Includes Create ML and Vision references
- 04Covers Speech and language APIs
- 05Documents Media Intelligence and Music Understanding
- 06Notes framework and SDK version boundaries
Use cases
- 01Find guidance for loading and running models
- 02Locate APIs for image or text recognition
- 03Research speech transcription workflows
- 04Look up media and music analysis APIs
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ fandhe-ai/ agent-reference-skills --skill apple-mlAfter installing, type/apple-mlin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/coreai/aimodel.mdaimodelasset.mdaimodelcache.mdasseterror.mdbackground-inference-entitlement.mdcompiling-core-ai-models-ahead-of-time.mdcomputestream.mdcomputeunitkind.mddebugging-and-profiling.mdimagedescriptor.mdinferencefunction.mdinferencefunctiondescriptor.mdinferencevalue.mdintegrating-on-device-ai-models.mdmanaging-model-specialization-and-caching.mdndarray.mdndarraydescriptor.mdREADME.mdspecializationoptions.mdreferences/coreml/mlarraybatchprovider.mdmlbatchprovider.mdmlcomputedevice.mdmlcomputedeviceprotocol.mdmlcomputeplan.mdmlcomputepolicy.mdmlcomputeunits.mdmlcpucomputedevice.mdmldictionaryfeatureprovider.mdmlfeatureprovider.mdmlfeaturevalue.mdDetails
From the project README対象: Apple developer documentation(取得日 2026-10-16、iOS 27.0 SDK 時点)。Core AI / Media Intelligence / Music Understanding は iOS 27.0+。Speech の SpeechAnalyzer 系は 26.0+(AssetInputSequenceProvider / CaptureInputSequenceProvider / AnalyzerInputConverter のみ 27.0+)。
Core ML と Core AI の境界: 公式の文言では Core ML は decision trees / tabular などニューラルネット以外のモデル向け、Core AI は最新アーキテクチャ向けで、モデル形式は .aimodel。.mlmodel / .mlpackage との互換は未確認。
ディレクトリ構成
skills/apple-ml/
SKILL.md
references/
coreai/
README.md
integrating-on-device-ai-models.md
aimodel.md
aimodelasset.md
aimodelcache.md
inferencefunction.md
inferencefunctiondescriptor.md
inferencevalue.md
imagedescriptor.md
computestream.md
computeunitkind.md
ndarray.md
ndarraydescriptor.md
specializationoptions.md
managing-model-specialization-and-caching.md
compiling-core-ai-models-ahead-of-time.md
debugging-and-profiling.md
asseterror.md
background-inference-entitlement.md
coreml/
README.md
mlmodel.md
mlmodelconfiguration.md
mlmodeldescription.md
mlmodelasset.md
mlmodelcollection.md
mlmodelstructure.md
mlmodelerror.md
mlmultiarray.md
mlshapedarray.md
mltensor.md
mltensorscalar.md
mltensorrangeexpression.md
mlfeatureprovider.md
mldictionaryfeatureprovider.md
mlfeaturevalue.md
mlsendablefeaturevalue.md
mlbatchprovider.md
mlarraybatchprovider.md
mlpredictionoptions.md
mlstate.md
mlstateconstraint.md
mlcomputeunits.md
mlcomputedevice.md
mlcomputedeviceprotocol.md
mlcpucomputedevice.md
mlgpucomputedevice.md
mlneuralenginecomputedevice.md
mlcomputeplan.md
mlcomputepolicy.md
createml/
README.md
mlimageclassifier.md
mlimageclassifier-modelparameters.md
mlobjectdetector.md
mlobjectdetectormetrics.md
mltextclassifier.md
mlclassifier.md
mlclassifiermetrics.md
mlregressor.md
mlregressormetrics.md
mlsoundclassifier.md
mlactionclassifier.md
mlhandposeclassifier.md
mlhandactionclassifier.md
mlactivityclassifier.md
mlstyletransfer.md
mlwordtagger.md
mlwordtaggermetrics.md
mlgazetteer.md
mlwordembedding.md
mlrecommender.md
mlrecommendermetrics.md
mlboundingboxanchor.md
mlboundingboxcoordinatesorigin.md
mlboundingboxunits.md
mldatatable.md
mldatavalue.md
mltrainingsession.md
mltrainingsessionparameters.md
mljob.md
mlcheckpoint.md
mlmodelmetadata.md
mlsplitstrategy.md
mlcreateerror.md
vision/
README.md
vnrequest.md
vnobservation.md
vnimagerequesthandler.md
vnsequencerequesthandler.md
vnrecognizetextrequest.md
vnrecognizedtextobservation.md
vnclassifyimagerequest.md
vncoremlrequest.md
vncoremlmodel.md
vndetectbarcodesrequest.md
vndetectfacelandmarksrequest.md
vndetectfacerectanglesrequest.md
vndetecthumanbodyposerequest.md
visionrequest.md
visionobservation.md
visionerror.md
imagerequesthandler.md
targetedimagerequesthandler.md
videoprocessor.md
imageprocessingrequest.md
statefulrequest.md
targetedrequest.md
poseproviding.md
boundingboxproviding.md
boundingregionproviding.md
quadrilateralproviding.md
normalizedpoint.md
normalizedrect.md
normalizedregion.md
normalizedcircle.md
coordinateorigin.md
recognizetextrequest.md
recognizedocumentsrequest.md
classifyimagerequest.md
coremlrequest.md
calculateimageaestheticsscoresrequest.md
generateimagefeatureprintrequest.md
detectbarcodesrequest-modern.md
detectcontoursrequest.md
detectrectanglesrequest.md
detectdocumentsegmentationrequest.md
detecttextrectanglesrequest.md
detectfacerectanglesrequest-modern.md
detectfacelandmarksrequest-modern.md
detectfacecapturequalityrequest.md
detecthumanbodyposerequest-modern.md
detecthumanbodypose3drequest.md
detecthumanhandposerequest.md
detecthumanrectanglesrequest.md
detectanimalbodyposerequest.md
recognizeanimalsrequest.md
detecthorizonrequest.md
detectlenssmudgerequest.md
detecttrajectoriesrequest.md
generatepersoninstancemaskrequest.md
generatepersonsegmentationrequest.md
generateforegroundinstancemaskrequest.md
generateiterativesegmentationrequest.md
isolating-an-object-from-a-tap-box-or-scribble.md
generateattentionbasedsaliencyimagerequest.md
generateobjectnessbasedsaliencyimagerequest.md
trackobjectrequest.md
trackrectanglerequest.md
trackopticalflowrequest.md
trackhomographicimageregistrationrequest.md
tracktranslationalimageregistrationrequest.md
downloadableassetsrequest.md
downloadableassetsrequeststatus.md
barcodereadertool.md
ocrtool.md
natural-language/
README.md
nltagger.md
nltag.md
nltagscheme.md
nltokenizer.md
nllanguage.md
nllanguagerecognizer.md
nlembedding.md
nlcontextualembedding.md
nlcontextualembeddingkey.md
nlscript.md
nlmodel.md
nlgazetteer.md
speech/
README.md
speechanalyzer.md
speechtranscriber.md
dictationtranscriber.md
speechdetector.md
speechmodule.md
localedependentspeechmodule.md
speechmoduleresult.md
analyzerinput.md
assetinputsequenceprovider.md
captureinputsequenceprovider.md
analyzerinputconverter.md
assetinventory.md
assetinstallationrequest.md
speechmodels.md
sfspeechrecognizer.md
sfspeechrecognizerauthorizationstatus.md
sfspeechrecognitionrequest.md
sfspeechaudiobufferrecognitionrequest.md
sfspeechurlrecognitionrequest.md
sfspeechrecognitiontask.md
sfspeechrecognitionresult.md
sftranscription.md
sfspeechlanguagemodel.md
sfspeechlanguagemodel-configuration.md
sfcustomlanguagemodeldata.md
media-intelligence/
README.md
detecting-and-grouping-faces-in-images.md
facegroupanalyzer.md
mediaintelligenceimageasset.md
finding-the-best-moments-in-a-video.md
videoanalyzer.md
mediaintelligencevideoasset.md
highlightanalysisrequest.md
keyframeanalysisrequest.md
mediaintelligenceerror.md
music-understanding/
README.md
musicunderstandingsession.md
musicunderstandingsession-sessionresult.md
musicunderstandingsession-timedvalue.md
musicunderstandingsession-rangedvalue.md
rhythmresult.md
keyresult.md
loudnessresult.md
paceresult.md
structureresult.md
instrumentactivityresult.md
musicunderstandingerror.md
探索手順
タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:
- 下記マッピング表でタスクに対応するカテゴリを探す
- そのカテゴリの
references/{category}/README.mdを参照して目的のページを特定する - 該当ページの
.mdを Read して詳細を確認する
タスク → カテゴリ マッピング
| タスク | カテゴリ | 参照 README |
|---|---|---|
| Core AI で .aimodel をロード・推論したい(AIModel / InferenceFunction / NDArray) | coreai | references/coreai/README.md |
| Core AI のモデル specialization・キャッシュ・ahead-of-time コンパイル(coreai-build)を知りたい | coreai | references/coreai/README.md |
| Core AI モデルのデバッグ・プロファイル・バックグラウンド推論 entitlement を知りたい | coreai | references/coreai/README.md |
| MLModel のロード・推論・設定を知りたい | coreml | references/coreml/README.md |
| MLMultiArray / MLTensor / MLFeatureProvider の使い方を知りたい | coreml | references/coreml/README.md |
| MLComputeUnits / MLComputeDevice で CPU・GPU・ANE を切り替えたい | coreml | references/coreml/README.md |
| MLState・MLComputePlan など Core ML の状態・計算計画を扱いたい | coreml | references/coreml/README.md |
| 画像分類・物体検出モデルをトレーニングしたい | createml | references/createml/README.md |
| MLImageClassifier / MLTextClassifier を使いたい | createml | references/createml/README.md |
| Create ML でアクション・ハンドポーズ・単語タグ・レコメンダーモデルを学習したい | createml | references/createml/README.md |
| MLDataTable でデータを準備・加工したい | createml | references/createml/README.md |
| 画像からテキストを認識したい(OCR) | vision | references/vision/README.md |
| VNRequest / VNImageRequestHandler を使いたい | vision | references/vision/README.md |
| VNCoreMLRequest で Core ML モデルを Vision に組み込みたい | vision | references/vision/README.md |
| Vision の modern Swift API(VisionRequest / ImageRequestHandler / 追跡・顕著性・セグメンテーション)を使いたい | vision | references/vision/README.md |
| Foundation Models 用の OCRTool / BarcodeReaderTool を使いたい | vision | references/vision/README.md |
| テキストのトークナイズ・品詞タグ付けをしたい | natural-language | references/natural-language/README.md |
| NLLanguageRecognizer で言語を判定したい | natural-language | references/natural-language/README.md |
| NLEmbedding / NLContextualEmbedding / NLModel でテキスト埋め込みを使いたい | natural-language | references/natural-language/README.md |
| SpeechAnalyzer / SpeechTranscriber でモダンな音声認識・文字起こしをしたい | speech | references/speech/README.md |
| 音声アセットを管理したい(AssetInventory) | speech | references/speech/README.md |
| 従来の SFSpeechRecognizer / SFSpeechAudioBufferRecognitionRequest で音声認識したい | speech | references/speech/README.md |
| カスタム言語モデル(SFSpeechLanguageModel)を使いたい | speech | references/speech/README.md |
| SFTranscription で認識結果を扱いたい | speech | references/speech/README.md |
| 写真の顔を人物ごとにグループ化したい(FaceGroupAnalyzer) | media-intelligence | references/media-intelligence/README.md |
| 動画のハイライト・キーフレームを抽出したい(VideoAnalyzer) | media-intelligence | references/media-intelligence/README.md |
| 楽曲の BPM・キー・ラウドネス・構造・楽器を解析したい(MusicUnderstandingSession) | music-understanding | references/music-understanding/README.md |