search-macos26-docs
БесплатноЗапускает вложенные скриптыНе проверенSearch and inspect local macOS 26 SDK documentation and Swift interfaces, especially SwiftUI, SwiftUICore, and AppKit. Use when Codex needs current macOS 26…
от pproenca★ 231 звезда на GitHubОб этом скилле
Search macOS 26 Docs
Use the local Xcode macOS SDK as the source of truth for macOS 26 APIs. Prefer this skill before web search when the task asks what is available in the current SDK, how a SwiftUI/AppKit symbol is declared, what availability it has, or whether a macOS 26 API exists.
Quick Start
Build or refresh the cached symbol graphs:
python3 "$HOME/.codex/skills/search-macos26-docs/scripts/build_cache.py"
Search SwiftUI, SwiftUICore, and AppKit symbol docs:
python3 "$HOME/.codex/skills/search-macos26-docs/scripts/search_symbols.py glass button style
python3 "$HOME/.codex/skills/search-macos26-docs/scripts/search_symbols.py window toolbar --macos26
python3 "$HOME/.codex/skills/search-macos26-docs/scripts/search_symbols.py NSHostingScene --module SwiftUI --module AppKit --limit 12
Probe a symbol or concept with exact SDK source snippets attached:
python3 "$HOME/.codex/skills/search-macos26-docs/scripts/probe_symbol.py" ZoomNavigationTransition --module SwiftUI
python3 "$HOME/.codex/skills/search-macos26-docs/scripts/search_symbols.py" MTKView --module MetalKit --verify-interfaces --limit 12
Discover SDK modules before deciding where to search:
python3 "$HOME/.codex/skills/search-macos26-docs/scripts/search_symbols.py" --find-module metal
python3 "$HOME/.codex/skills/search-macos26-docs/scripts/search_symbols.py" --list-modules
The search script auto-builds the default cache on first use. Use --force on build_cache.py when Xcode changes or search results look stale.
Workflow
- Resolve the active SDK with
xcrun --sdk macosx --show-sdk-path. - Use
scripts/search_symbols.pyfor prose docs, symbol names, declarations, and availability. This reads cachedswift-symbolgraph-extractoutput from the local SDK. - Add
--verify-interfacesor usescripts/probe_symbol.pywhen exact compiler declarations, overloads, underscored symbols, generated attributes, or platform availability matter. Verification searches.swiftinterface, headers, and apinotes and reports source snippets plus diagnostics. - Use
--find-module PATTERNor--list-modulesto discover candidate SDK modules, then rerun with explicit--modulevalues. - Cite findings as local SDK facts. If a symbol is not found in symbol graphs, check
sourceOnlyMatchesfrom--verify-interfacesbefore concluding it does not exist.
Interface Inspection
Swift interfaces are API surfaces, not full documentation. They are still the best fallback for exact signatures and attributes:
SDK_PATH=$(xcrun --sdk macosx --show-sdk-path)
SWIFTUI="$SDK_PATH/System/Library/Frameworks/SwiftUI.framework/Modules/SwiftUI.swiftmodule/arm64e-apple-macos.swiftinterface"
SWIFTUICORE="$SDK_PATH/System/Library/Frameworks/SwiftUICore.framework/Modules/SwiftUICore.swiftmodule/arm64e-apple-macos.swiftinterface"
APPKIT="$SDK_PATH/System/Library/Frameworks/AppKit.framework/Modules/AppKit.swiftmodule/arm64e-apple-macos.swiftinterface"
rg -n "GlassButtonStyle|WindowResizability|NSHostingScene|toolbar" "$SWIFTUI" "$SWIFTUICORE" "$APPKIT"
sed -n '1200,1235p' "$SWIFTUI"
Use interface grep for:
- overload sets and generic constraints
@available, deprecation, and rename messages- internal-adjacent underscored declarations visible in the SDK
- declarations missing prose docs in symbol graphs
- AppKit declarations that are easier to confirm by exact interface text
Symbol Graph Cache
The cache defaults to:
${CODEX_MACOS26_DOCS_CACHE:-$HOME/.cache/codex/search-macos26-docs}/<sdk-name>/<target>/<module>/
Default modules are SwiftUI, SwiftUICore, and AppKit. Add more modules when needed:
python3 "$HOME/.codex/skills/search-macos26-docs/scripts/build_cache.py --module UniformTypeIdentifiers
python3 "$HOME/.codex/skills/search-macos26-docs/scripts/search_symbols.py pasteboard --module AppKit
Useful options:
build_cache.py --listprints cache location and SDK details without extracting.build_cache.py --forcedeletes and rebuilds selected module caches.search_symbols.py --jsonemits machine-readable results.search_symbols.py --verify-interfacesattaches matching.swiftinterface, header, or apinotes snippets and diagnostics to shown results.probe_symbol.py QUERY ...is shorthand for a verified, non-deduped symbol probe with full docs.search_symbols.py --find-module PATTERNlists SDK modules with names matching a substring.search_symbols.py --list-moduleslists SDK framework modules visible to the helper.search_symbols.py --kind "Instance Method"narrows result kind.search_symbols.py --macos26filters to symbols introduced in macOS 26 or later.search_symbols.py --introduced macOS:26filters by an explicit availability domain and major version.search_symbols.py --no-dochides doc snippets for compact output.search_symbols.py --no-dedupekeeps repeated extension results when every concrete receiver m
Установить search-macos26-docs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл search-macos26-docs?
Search and inspect local macOS 26 SDK documentation and Swift interfaces, especially SwiftUI, SwiftUICore, and AppKit. Use when Codex needs current macOS 26 APIs, Liquid Glass components, window, scene, menu, toolbar, AppKit bridging, availability, signatures, deprecations, symbol docs, or SDK-only facts and should not rely on memory or public web docs being available.
Как установить скилл search-macos26-docs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл search-macos26-docs запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic