Trigger.dev Background Tasks
papermark/papermark
Guides building durable background tasks, scheduled jobs and queues with Trigger.dev, including retries, waits, idempotency and concurrency limits.
Implements shallow background jobs with later/now conventions using Solid Queue.
$ npx skills add dilolabs/nosia --skill job-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dilolabs/nosia job-patterns --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/dilolabs/nosia.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.vibe/skills/job-patterns .claude/skills/job-patterns && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "job-patterns" agent skill from https://github.com/dilolabs/nosia/tree/main/.vibe/skills/job-patterns into .claude/skills/job-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "job-patterns", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/dilolabs/nosia/tree/main/.vibe/skills/job-patternsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add dilolabs/nosia --skill job-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dilolabs/nosia job-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dilolabs/nosia.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.vibe/skills/job-patterns .agents/skills/job-patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "job-patterns" agent skill from https://github.com/dilolabs/nosia/tree/main/.vibe/skills/job-patterns into .agents/skills/job-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "job-patterns", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dilolabs/nosia --skill job-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dilolabs/nosia job-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dilolabs/nosia.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.vibe/skills/job-patterns .cursor/skills/job-patterns && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "job-patterns" agent skill from https://github.com/dilolabs/nosia/tree/main/.vibe/skills/job-patterns into .cursor/skills/job-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "job-patterns", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/dilolabs/nosia.git --path .vibe/skills/job-patterns--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add dilolabs/nosia --skill job-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dilolabs/nosia job-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dilolabs/nosia.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.vibe/skills/job-patterns .gemini/skills/job-patterns && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "job-patterns" agent skill from https://github.com/dilolabs/nosia/tree/main/.vibe/skills/job-patterns into .gemini/skills/job-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "job-patterns", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install dilolabs/nosia job-patternsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add dilolabs/nosia --skill job-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dilolabs/nosia.git skills-src && mkdir -p .github/skills && cp -r skills-src/.vibe/skills/job-patterns .github/skills/job-patterns && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "job-patterns" agent skill from https://github.com/dilolabs/nosia/tree/main/.vibe/skills/job-patterns into .github/skills/job-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "job-patterns", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dilolabs/nosia --skill job-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dilolabs/nosia job-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dilolabs/nosia.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.vibe/skills/job-patterns .opencode/skills/job-patterns && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "job-patterns" agent skill from https://github.com/dilolabs/nosia/tree/main/.vibe/skills/job-patterns into .opencode/skills/job-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "job-patterns", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
job-patternsImplements shallow background jobs with later/now conventions using Solid Queue.
Job Patterns is an agent skill from dilolabs/nosia. Implements shallow background jobs with later/now conventions using Solid Queue. Use when adding background processing, async operations, scheduled tasks, or when user mentions jobs, queues, workers, or background processing. WHEN NOT: Business logic implementation (use model-patterns), controller work (use crud-patterns), or mailer delivery (use mailer-patterns).
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/recurring-jobs.md` and `references/solid-queue.md`). Compatibility notes: Ruby 3.3+, Rails 8.0+, Solid Queue
It sits in Backend & APIs, covering Background jobs and Scheduled and recurring tasks. It works with Ruby on Rails. The repository describes itself as: Self-hosted AI RAG + MCP Platform. The licence is MIT.
Read from SKILL.md and the folder at commit 0ef5e5d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
railsbundleFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ruby 3.3+, Rails 8.0+, Solid Queue
From compatibility in the SKILL.md frontmatter.
Job Patterns loads about 1.6k tokens when it runs, and up to ~3.4k if it reads all its reference files. Until then it costs about 95 tokens; SKILL.md has 279 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from dilolabs/nosia at commit 0ef5e5d, republished under its MIT licence (© dilolabs). 279 words, ~1,649 tokens.
.claude/skills/job-patterns/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Jobs orchestrate. Models do the work. Background jobs are thin wrappers around model methods.
Tech Stack: Rails 8.2 (edge), Solid Queue, ActiveJob
Pattern: Thin jobs call model methods; models have _later/_now pairs
Commands:
bin/rails generate job NotifyRecipients # Generate job
bundle exec rake solid_queue:start # Run worker
bin/rails runner "puts SolidQueue::Job.count" # Check queue
bin/rails runner "SolidQueue::Job.destroy_all" # Clear jobs_now in tests)The job receives a model and calls its _now method. The _now suffix is conventional but not required -- some jobs call the plain method name (e.g., notifiable.notify_recipients).
# app/jobs/notify_recipients_job.rb
class NotifyRecipientsJob < ApplicationJob
queue_as :default
def perform(notifiable)
notifiable.notify_recipients_now
end
endThe model defines both _later and _now methods:
# In model or concern
def notify_recipients_later
NotifyRecipientsJob.perform_later(self)
end
def notify_recipients_now
recipients.each do |recipient|
next if recipient == creator
Notification.create!(recipient: recipient, notifiable: self, action: notification_action)
end
end
# Default to sync
def notify_recipients
notify_recipients_now
end
# Trigger async from callbacks
after_create_commit :notify_recipients_laterclass NotifyRecipientsJob < ApplicationJob
queue_as :default
def perform(notifiable)
notifiable.notify_recipients_now
end
endclass DeliverBundledNotificationsJob < ApplicationJob
queue_as :default
def perform
Notification::Bundle.deliver_all_now
end
endclass SessionCleanupJob < ApplicationJob
queue_as :low_priority
def perform
Session.cleanup_old_sessions_now
end
endclass TrackEventJob < ApplicationJob
queue_as :default
def perform(eventable, action, options = {})
eventable.track_event_now(action, options)
end
endclass BroadcastUpdateJob < ApplicationJob
queue_as :default
def perform(broadcastable)
broadcastable.broadcast_update_now
end
endclass DispatchWebhookJob < ApplicationJob
queue_as :webhooks
retry_on StandardError, wait: :exponentially_longer, attempts: 5
def perform(webhook, event)
webhook.dispatch_now(event)
end
endclass DispatchWebhookJob < ApplicationJob
discard_on Webhook::InvalidUrl # Don't retry
retry_on StandardError, wait: :exponentially_longer, attempts: 5 # Backoff
retry_on CustomError, wait: 5.minutes, attempts: 3 # Fixed interval
rescue_from Webhook::Timeout do |exception|
webhook.mark_as_slow!
raise exception # Re-raise to trigger retry
end
def perform(webhook, event)
webhook.dispatch_now(event)
end
endAlways set and reset Current context:
class NotifyRecipientsJob < ApplicationJob
before_perform do |job|
notifiable = job.arguments.first
Current.account = notifiable.account
Current.user = notifiable.creator if notifiable.respond_to?(:creator)
end
after_perform { Current.reset }
def perform(notifiable)
notifiable.notify_recipients_now
end
end# Enqueue in batches
Card.active.pluck(:id).each_slice(100) do |batch|
ProcessCardsJob.perform_later(batch)
end
class ProcessCardsJob < ApplicationJob
def perform(card_ids)
Card.where(id: card_ids).find_each(&:process_now)
end
enddef reindex_later
return if reindex_job_queued?
ReindexBoardJob.perform_later(id)
end
def reindex_job_queued?
SolidQueue::Job.exists?(
job_class: "ReindexBoardJob",
arguments: [id].to_json,
finished_at: nil
)
endclass CommentTest < ActiveSupport::TestCase
test "notify_recipients_now creates notifications" do
comment = comments(:logo_comment)
assert_difference -> { Notification.count }, 2 do
comment.notify_recipients_now
end
end
endclass NotifyRecipientsJobTest < ActiveJob::TestCase
test "enqueues job" do
comment = comments(:logo_comment)
assert_enqueued_with job: NotifyRecipientsJob, args: [comment] do
NotifyRecipientsJob.perform_later(comment)
end
end
endtest "creating comment enqueues notification job" do
card = cards(:logo)
assert_enqueued_with job: NotifyRecipientsJob do
card.comments.create!(body: "Great work!", creator: users(:david))
end
endSee references/solid-queue.md for Solid Queue configuration and
references/recurring-jobs.md for recurring job setup.
_later/_now naming convention (though the _now suffix is not strictly enforced), put business logic in models, set queue priorities, implement retry strategies, test model methods directlyCurrent.reset in jobs, skip retry strategies for unreliable operations© dilolabs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in .vibe/skills/job-patterns of dilolabs/nosia.
Open the folder on GitHubat commit 0ef5e5d
We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in dilolabs/nosia, which our catalogue first saw on October 7, 2026.
Job Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Job Patterns this skilldilolabs/nosia | 213 | 1 repos | ~1.6k | Automated safety check: Pass | MIT | |
| Trigger.dev Background Taskspapermark/papermark | 9.2k | — | ~2.1k | Automated safety check: Pass | Custom licence | |
| Frappe App Devfrappe/skills | 146 | — | ~943 | Automated safety check: Pass | None | |
| Schkedbibendi/schked | 138 | — | ~454 | Automated safety check: Pass | MIT | |
| Sap Btp Job Schedulingsecondsky/sap-skills | 462 | — | ~3.6k | Automated safety check: Pass | GPL-3.0 | |
| Frappe Syntax SchedulerImpertio-Studio/Frappe_Claude_Skill_Package | 187 | — | ~2.7k | Automated safety check: Pass | MIT |
papermark/papermark
Guides building durable background tasks, scheduled jobs and queues with Trigger.dev, including retries, waits, idempotency and concurrency limits.
frappe/skills
Builds full-stack Frappe Framework applications end-to-end. An agent skill from frappe/skills.
bibendi/schked
Guide for working with Schked, a Ruby recurring-job scheduler built on top of rufus-scheduler.
secondsky/sap-skills
This skill provides comprehensive guidance for SAP BTP Job Scheduling Service development, configuration, and operations.
Impertio-Studio/Frappe_Claude_Skill_Package
A skill your agent uses when configuring scheduler events and background jobs in Frappe/ERPNext v14/v15/v16.
mendixlabs/mxcli
Scheduled events (Mendix's cron) and task queues in MDL — the eight repeat variants and the fields each takes, and what a queue does and does not throttle.
dilolabs/nosia
Builds REST APIs using respondto blocks with Jbuilder templates following the 37signals same-controllers-different-formats philosophy.
dilolabs/nosia
Implements custom passwordless authentication without Devise.
dilolabs/nosia
Implements HTTP caching with ETags, fragment caching, Russian doll caching, and Solid Cache configuration.
dilolabs/nosia
Creates and refactors model and controller concerns for shared behavior.
dilolabs/nosia
Builds event tracking, activity feeds, and webhook systems following 37signals patterns with a generic Event model and Eventable concern.
dilolabs/nosia
Creates minimal Action Mailer classes with bundled notification patterns following 37signals conventions.
Works with
Categories
Implements shallow background jobs with later/now conventions using Solid Queue. Job Patterns is an agent skill from dilolabs/nosia. Implements shallow background jobs with later/now conventions using Solid Queue.
Job Patterns fits situations like: adding background processing; async operations; scheduled tasks; user mentions jobs.
Run `npx skills add dilolabs/nosia --skill job-patterns -a claude-code`. Or copy the skill folder (.vibe/skills/job-patterns in dilolabs/nosia) into .claude/skills/job-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dilolabs/nosia --skill job-patterns -a codex`. Or copy the skill folder (.vibe/skills/job-patterns in dilolabs/nosia) into .agents/skills/job-patterns in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dilolabs/nosia --skill job-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/job-patterns, .gemini/skills/job-patterns, .github/skills/job-patterns and .opencode/skills/job-patterns in your project.
Going by SKILL.md and its folder, Job Patterns needs the command-line tools its instructions call (rails and bundle). Compatibility (from SKILL.md): Ruby 3.3+, Rails 8.0+, Solid Queue.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Job Patterns is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Job Patterns: Trigger.dev Background Tasks (papermark/papermark, 9.2k stars), Frappe App Dev (frappe/skills, 146 stars), Schked (bibendi/schked, 138 stars) and Sap Btp Job Scheduling (secondsky/sap-skills, 462 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dilolabs (a GitHub organization) maintains it in dilolabs/nosia, which has 213 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on September 9, 2026.
Source: dilolabs/nosia on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.