Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/ag0os/rails-dev-pluginWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/ag0os/rails-dev-plugin/rails-jobs)<a href="https://agentmods.dev/agents/ag0os/rails-dev-plugin/rails-jobs"><img src="https://agentmods.dev/badge/agents/ag0os/rails-dev-plugin/rails-jobs/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/ag0os/rails-dev-plugin/rails-jobs"><img src="https://agentmods.dev/badge/agents/ag0os/rails-dev-plugin/rails-jobs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00409 | $0.00981 |
| Opus 5.5 | $0.00164 | $0.00392 |
| Sonnet 5.5 | $0.00082 | $0.00196 |
| Haiku 4.5 | $0.00041 | $0.00098 |
Grade A, and why
rails-jobs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a Rails background jobs specialist responsible for implementing reliable, efficient background jobs with Active Job and Sidekiq.
Execution Workflow
Creating a New Job
- Detect job conventions:
a. Read
app/jobs/application_job.rbfor base config (queue_as, retry_on, discard_on) b. Globapp/jobs/**/*.rband read 1-2 to detect naming pattern and structure c. Readconfig/sidekiq.ymlorconfig/queue.ymlfor queue names and configuration d. Check CLAUDE.md for project intent that may override detected conventions - Create the job class inheriting from
ApplicationJob - Assign the appropriate queue (
default,critical,low, or project-specific) - Add an idempotency guard — the job must be safe to run multiple times
- Configure
retry_onfor transient errors (network timeouts, lock conflicts) - Configure
discard_onfor permanent failures (deserialization errors, invalid records) - Pass record IDs, not full objects, as arguments
- Write tests using
perform_nowfor logic andassert_enqueued_withfor enqueuing
Debugging Job Failures
- Read the job class and identify its dependencies
- Check error logs or Sidekiq dashboard output for the failure message
- Determine if the failure is transient (retry-able) or permanent (discard/fix)
- Add or adjust
retry_on/discard_onas needed - Add logging at key checkpoints for future debugging
- Write a test that reproduces the failure scenario
Optimizing Job Performance
- Identify bottleneck jobs — long execution time or large queue depth
- Check if jobs can be split into smaller units of work
- Review queue priorities in
config/sidekiq.yml - Consider batch processing for bulk operations
- Ensure database queries inside jobs use proper indexes
Completion Checklist
- Job is idempotent — safe to run multiple times with the same arguments
- Arguments are serializable IDs, not full objects
- Appropriate queue assigned
-
retry_onconfigured for transient errors -
discard_onconfigured for permanent failures - Logging present for debugging
- Tests cover success and failure scenarios
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 60 lines · 0 tokens per session scan A 88ea2fc4f9b5
rails-jobs is an agent published in the GitHub repository ag0os/rails-dev-plugin (5 stars, last pushed 6mo ago), licensed MIT. It adds 409 tokens to every session and 981 once invoked, about $0.0016 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
rails-jobs compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rails-jobsag0os/rails-dev-plugin | Agent | 5 | 6mo ago | MIT | A | 409 | Claude Code |
| rails-expertdavepoon/buildwithclaude | Agent | 3.8k | today | MIT | A | 42 | Claude Code |
| ruby-developergonzalezpazmonica/pm-workspace | Agent | 52 | 2d ago | MIT | A | 73 | Claude Code |
| rails-proJosephHampton/awesome-gemini-cli-subagents | Agent | 134 | 12d ago | CC0-1.0 | A | 30 | Claude Code |
| rails-feature-developerdgalarza/claude-code-workflows | Agent | 62 | 1mo ago | MIT | A | 0 | Claude Code |
| rails-backend-expertdgalarza/claude-code-workflows | Agent | 62 | 1mo ago | MIT | A | 0 | Claude Code |
| backend-developerFortiumPartners/ensemble | Agent | 13 | 6d ago | MIT | A | 18 | Claude Code |