backgroundtasks — Claude Code skill: what it does, how to install
API reference skill for Apple's BackgroundTasks framework. Queries BGTaskScheduler details, background processing, and app refresh.
npx skills add Prisma-Labs-Dev/apple-skills --skill backgroundtasks -a claude-codeWhat backgroundtasks does
This skill adds Apple BackgroundTasks reference files to the agent. It helps query task scheduling, background execution rules, and task registration via BGTaskScheduler.
The skill runs with the Explore agent in a fork context. Content is split across two core files: backgroundtasks-index.md covers framework concepts, while bgtaskscheduler.md details registration and task queues. Every answer delivers a concise summary paired with relevant file paths.
The skill covers only the BackgroundTasks framework. It will not answer questions about unrelated Apple APIs.
What it helps with
- schedule background tasks using BGTaskScheduler
- verify supported background task types
- configure app refresh handlers in iOS
- locate reference files for background processing
Example prompts for the agent
- How do I schedule a background task with BGTaskScheduler?
- Check backgroundtasks-index.md for supported background task types
- Explain task registration in bgtaskscheduler.md
How to install backgroundtasks
1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill backgroundtasks -a claude-code2Manually: put the files in place
~/.claude/skills/backgroundtasks/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/backgroundtasks/
1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill backgroundtasks -a codex2Manually: put the files in place
.agents/skills/backgroundtasks/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill backgroundtasks -a cursor2Manually: put the files in place
.cursor/skills/backgroundtasks/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Prisma-Labs-Dev/apple-skills backgroundtasks2Manually: put the files in place
.github/skills/backgroundtasks/SKILL.md1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill backgroundtasks -a gemini-cli2Platform CLI
gemini skills install https://github.com/Prisma-Labs-Dev/apple-skills --path skills/backgroundtasksManually: put the files in place
.devin/skills/backgroundtasks/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill backgroundtasks -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about backgroundtasks
How do I install backgroundtasks in Claude Code?
Run npx skills add Prisma-Labs-Dev/apple-skills --skill backgroundtasks -a claude-code. The tool adds the skill directly to your project.
What does the backgroundtasks skill do?
It supplies documentation for Apple's BackgroundTasks framework. The agent searches these docs to answer background execution questions.
What files does this skill include?
It contains backgroundtasks-index.md for framework overview and bgtaskscheduler.md for task scheduling and registration.
Source text
SKILL.md · MIT
--- name: backgroundtasks user-invocable: true description: "API reference: BackgroundTasks. Query for BGTaskScheduler, app refresh, background processing." context: fork agent: Explore --- # BackgroundTasks Documentation Search these docs to answer questions about background task APIs. ## Return Format Always include: 1. **Summary** - Answer the question concisely 2. **File paths** - List relevant files for full details ## Files - `backgroundtasks-index.md` - Framework overview, task types - `bgtaskscheduler.md` - Task scheduling and registration
© Prisma-Labs-Dev · MIT · Prisma-Labs-Dev/apple-skills