/odin-apple:ios-build-cleanupfrom ODIN Apple
Cleans Xcode build artifacts by deleting DerivedData and project build outputs. Requires explicit user confirmation before deletion.
Ships in ODIN Apple. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Field | Bound contract |
|---|---|
| Trigger | The user runs /ios-build-cleanup. |
| Authority | Human-gated: requires explicit human invocation and previews the target and consequence before any irreversible deletion. The model never invokes it autonomously. |
| Side effect | Local deletion of DerivedData and build artifacts only. These artifacts are untracked and regenerable by a rebuild. No source, VCS, credential, or remote mutation. |
| Done | A clean build state is restored: DerivedData and project build artifacts are removed and the next build starts from a clean cache. |
~/Library/Developer/Xcode/DerivedData).~/Library/Developer/Xcode/DerivedData. If the user supplies a path, use it..build, build/, and *.xcodeproj/*.xcworkspace build outputs. Under the DerivedData directory, identify this project's entries by Xcode's DerivedData naming rule: each entry is named <projectName>-<hash>, where <projectName> is the basename of the .xcodeproj or .xcworkspace file with its extension removed and spaces replaced by the underscore character, and <hash> is Xcode's digest of that file's absolute path (a 28-character lowercase alphabetic digest of the NFD-normalized path). Apple does not document this scheme publicly; it is reproduced from Xcode's behavior by bitrise-io/go-xcode xcodecache/derived_data_path.go (xcodeProjectDerivedDataPath + xcodeDerivedDataHash, MD5 of the NFD path rendered as 28 base-26 letters). Match directories whose name is <projectName>- followed by the hash, anchoring on the exact project name and the dash. Do not match on a bare project-name prefix: a bare prefix over-matches sibling projects whose names share it (a prefix of MyApp also catches MyAppTests-<hash>), and deletion is irreversible. When the DerivedData path is the shared default, match only this project's entries; when the user supplies a project-specific path, the whole directory is the target.A report listing every target deleted, every target skipped as already-clean, and any target that failed deletion. The terminal classification is clean when all targets are removed or were already absent, or blocked when any target could not be deleted.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
xcode-cleanup, deriveddata, build-artifacts, ios-development
npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odin-apple3 skills in this plugin
/ios-build-fixUse when asked to run /ios-build-fix to fix a failing iOS build, regenerate an Xcode project from project.yml, or correct UI behavior. Not for a clean rebuild: use ios-build-cleanup./xcode-simulator-testingUse when asked to run /xcode-simulator-testing with a scheme name or current to build and launch an iOS app in a simulator. Not for project regeneration: use ios-build-fix.Other plugins' skills for the same job