n0an

Background Execution Agent Skill — Development skill for Claude Code

Development community

Agent skill for writing and reviewing Swift background-execution code on Apple platforms: BGTaskScheduler, background URLSession, beginBackgroundTask assertions, silent/VoIP push, background modes, an.

How to install Background Execution Agent Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open n0an/Background-Execution-Agent-Skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Background Execution Agent Skill does

Agent skill for writing and reviewing Swift background-execution code on Apple platforms: BGTaskScheduler, background URLSession, beginBackgroundTask assertions, silent/VoIP push, background modes, and background audio.

Alternatives in Development

  • Career-Ops For Codex — Read CLAUDE.md for all project instructions, routing, and behavioral rules 32.5k ★
  • Screenshot — Capture desktop, app windows, or pixel regions across OS platforms 14.6k ★
  • Writing Execution — writer skill 669 ★

README

Background Execution Agent Skill

iOS 13+ Swift 5.9+ MIT License Agent Skills Compatible

An agent skill that helps AI coding agents like Claude Code, Codex, Cursor, and Gemini write correct Swift background-execution code - scheduling deferred work, finishing work after the app backgrounds, transferring files in the background, and waking the app via push, while respecting the system constraints that decide whether the work runs at all.

It uses the [Agent Skills](https://agentskills.io/home) format, so it works smoothly with Claude Code, Codex, Gemini, Cursor, and more.

What It Covers

  • BackgroundTasks - BGTaskScheduler, BGAppRefreshTask, BGProcessingTask, BGContinuedProcessingTask (iOS/iPadOS 26 user-initiated work with progress UI, submission strategy, background GPU access), BGHealthResearchTask, registration timing, BGTaskSchedulerPermittedIdentifiers, submit/reschedule, expiration and setTaskCompleted, error codes
  • Task assertions - beginBackgroundTask(withName:expirationHandler:) / endBackgroundTask, balanced/idempotent bracketing, backgroundTimeRemaining, ProcessInfo.performExpiringActivity for extensions and watchOS, assertions vs scheduler
  • Background URLSession - URLSessionConfiguration.background(withIdentifier:), the mandatory delegate, the full relaunch flow (handleEventsForBackgroundURLSession + urlSessionDidFinishEvents), isDiscretionary, sessionSendsLaunchEvents, timeoutIntervalForResource, expensive/constrained network access, resume data, file-backed uploads
  • Push - silent/bac