background-automation
WHEN to auto-invoke: Setting up recurring or self-paced tasks, watching CI or deploys, babysitting pull requests, configuring monitors, running long jobs in…
Skill by gr8monk3ys
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/gr8monk3ys-background-automation
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, devops, writing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/background-automation
Tools it pre-approves 4
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Bash,Grep,Glob
What's inside
- Skill name
background-automation- Description
- WHEN to auto-invoke: Setting up recurring or self-paced tasks, watching CI or deploys, babysitting pull requests, configuring monitors, running long jobs in the background, scheduling check-ins, polling for a condition, or wiring Claude Code on the web/cloud sessions and PR activity subscriptions. WHEN NOT to invoke: One-off synchronous edits, writing application feature code, pure UI/styling work, or anything that finishes in a single turn with no waiting.
- License
- GPL-3.0
- Allowed tools
- Read,, Bash,, Grep,, Glob
- Instructions
- 68 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (1)
- SKILL.md
SKILL.md (first lines)
# Background Automation Skill
You are an expert at Claude Code's automation primitives: loops, monitors, background
tasks, and PR activity subscriptions. Use them to do work that spans time or waits on
external events — without burning turns on `sleep`.
## Pick the right primitive
| Need | Use | Notes |
| --- | --- | --- |
| Run a prompt on a fixed cadence | **`/loop <interval> <prompt>`** | e.g. `/loop 10m /verify`. Recurring loops auto-expire after 7 days. |
| Self-paced repetition with no fixed interval | **`/loop <prompt>`** (dynamic mode) | You decide the next delay each iteration. |
| Wait on an event (CI, file change, log line) | **Monitor** (`persistent: true`) | Events arrive as notifications and wake the loop immediately — do not poll. |
| Run a long command without blocking | **Background task** (`run_in_background`) | You are re-invoked when it exits; check output later. |
| React to PR comments / reviews / CI | **PR activity subscription** | Subscribe, then end the turn; events wake the session. |
## Rules that matter
1. **Never `sleep` to wait for an external event.** Arm a monitor or subscribe; let the
event wake you. `sleep` just burns a turn and the wall-clock cost.
2. **A monitor is the wake signal; the loop delay is only a fallback heartbeat.** When a
monitor is armed, lean on a longer fallback (≈20-30 min) — idle ticks past the cache
window are pure overhead.
3. **Arm a monitor once.** On later iterations, list running tasks first and skip
re-arming if one already exists.
4. **Loops have a terminal state.** "Get CI green", "babysit this PR" — drive to
merged/closed. Re-diagnose on every failure; one attempt is not the task.
5. **Stop when asked.** Tear down monitors and subscriptions the moment the user says
stop.
## Monitors config
Background watchers live in `monitors/monitors.json` (in this plugin, under
`.claude/monitors/`). Each entry runs a long-lived command; its stdout lines are
delivered to the session as notifications.
```json
[
{
"name": "typecheck-watch",
"command": "npx tsc --noEmit --watch --pretty false",
"description": "Streams TypeScript errors as you edit",
"when": "always"
}
]
```
- Keep monitors low-noise: a watcher that emits on every keystroke will flood the
session. Prefer commands that only print on a real state change (errors, failures).
- `when` gates activation (`always`, or a condition). Document any project-specific log
paths users must adjust.
## Recipes
**Watch a deploy until it settles**
```text
/loop check the Vercel deploy for this branch every 10m
```
**Babysit a PR to green** — subscribe to PR activity, arm a `tsc --watch` monitor for
local signal, and set a ~20m fallback heartbeat for the transitions webhooks miss (CI
success, merge-conflict). See the `/babysit` command, which wires this together.
**Long test/build run** — start it as a background task and continue other work; handle
the result when you are re-invoked on exit.From gr8monk3ys/skills, GPL-3.0.
More from gr8monk3ys/skills
- 0.565score
database-operations
gr8monk3ys
WHEN to auto-invoke: Database schema design, creating migrations, writing SQL queries, query optimization, Supabase operations, Prisma/Drizzle schema changes…
SkillAFreshness: AClaude Code +9 - 0.565score
frontend-development
gr8monk3ys
WHEN to auto-invoke: Creating UI components, building React/Vue/Svelte components, Next.js pages, styling with Tailwind/CSS, state management setup, form…
SkillAFreshness: AClaude Code +9 - 0.565score
api-development
gr8monk3ys
WHEN to auto-invoke: Creating API routes, building endpoints, adding route.ts files, implementing REST/GraphQL APIs, adding authentication to APIs, rate…
SkillAFreshness: AClaude Code +9 - 0.561score
ask-lorenzo
gr8monk3ys
Ask which command or skill in this plugin fits your situation.
SkillAFreshness: AClaude Code +9 - 0.544score
diagnosing-bugs
gr8monk3ys
Diagnosis loop for hard bugs and performance regressions.
SkillAFreshness: AClaude Code +9 - 0.539score
prototype
gr8monk3ys
Build a throwaway prototype to answer a design question.
SkillAFreshness: AClaude Code +9 - 0.539score
code-review
gr8monk3ys
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding…
SkillAFreshness: AClaude Code +9 - 0.539score
grilling
gr8monk3ys
Grill the user relentlessly about a plan, decision, or idea.
SkillAFreshness: AClaude Code +9 - 0.539score
tdd
gr8monk3ys
Test-driven development.
SkillAFreshness: AClaude Code +9 - 0.539score
domain-modeling
gr8monk3ys
Build and sharpen a project's domain model.
SkillAFreshness: AClaude Code +9 - 0.538score
writing-for-agents
gr8monk3ys
Writing documents for agents.
SkillAFreshness: AClaude Code +9 - 0.536score
to-spec
gr8monk3ys
Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 20, 2026 (2 months ago)
- Last release
- Oct 13, 2026 (16 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- GPL-3.0
- Repository
- github.com/gr8monk3ys/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from gr8monk3ys
- 0.565score
frontend-development
gr8monk3ys
WHEN to auto-invoke: Creating UI components, building React/Vue/Svelte components, Next.js pages, styling with Tailwind/CSS, state management setup, form…
SkillAFreshness: AClaude Code +9 - 0.565score
api-development
gr8monk3ys
WHEN to auto-invoke: Creating API routes, building endpoints, adding route.ts files, implementing REST/GraphQL APIs, adding authentication to APIs, rate…
SkillAFreshness: AClaude Code +9 - 0.565score
database-operations
gr8monk3ys
WHEN to auto-invoke: Database schema design, creating migrations, writing SQL queries, query optimization, Supabase operations, Prisma/Drizzle schema changes…
SkillAFreshness: AClaude Code +9 - 0.561score
ask-lorenzo
gr8monk3ys
Ask which command or skill in this plugin fits your situation.
SkillAFreshness: AClaude Code +9 - 0.544score
diagnosing-bugs
gr8monk3ys
Diagnosis loop for hard bugs and performance regressions.
SkillAFreshness: AClaude Code +9 - 0.539score
code-review
gr8monk3ys
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding…
SkillAFreshness: AClaude Code +9
Cite this page
background-automation skill. Agent Mart. https://agentmart.dev/skills/gr8monk3ys-background-automation (last updated 2026-10-24)