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.
npx skills add khalilbenaz/claude-skills-collection --skill hangfire-job-schedulergit clone --depth 1 https://github.com/khalilbenaz/claude-skills-collectionWrote 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/skills/khalilbenaz/claude-skills-collection/hangfire-job-scheduler)<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/hangfire-job-scheduler"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/hangfire-job-scheduler/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/skills/khalilbenaz/claude-skills-collection/hangfire-job-scheduler"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/hangfire-job-scheduler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00122 | $0.02533 |
| Opus 5 | $0.00061 | $0.01267 |
| Sonnet 5 | $0.00024 | $0.00507 |
| Haiku 4.5 | $0.00012 | $0.00253 |
Grade A, and why
hangfire-job-scheduler 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 9d 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 — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hangfire Job Scheduler
Workflow en étapes
- Choisir le type de job — voir tableau ci-dessous ; le type détermine l'API.
- Concevoir le job — interface DI, paramètres simples, idempotence, attribut
[AutomaticRetry]. - Configurer le storage — SQL Server (standard), Redis (haute fréquence), PostgreSQL (Hangfire.PostgreSql).
- Configurer le serveur — queues priorisées,
WorkerCount,ServerTimeout. - Enregistrer les jobs — au démarrage via
IRecurringJobManagerouRecurringJob.AddOrUpdate. - Protéger et déployer le dashboard — filtre d'auth, HTTPS uniquement en production.
- Monitorer — dashboard, logs structurés, alertes sur jobs Failed/Expired.
Critères de décision : quel type de job ?
| Type | Quand l'utiliser | API |
|---|---|---|
| Fire-and-forget | Traitement hors request pipeline, sans résultat attendu | BackgroundJob.Enqueue |
| Delayed | Action différée (ex: relance J+1) | BackgroundJob.Schedule |
| Recurring | Batch quotidien, rapport, purge CRON | RecurringJob.AddOrUpdate |
| Continuation | Chaînage (import → notification) | BackgroundJob.ContinueJobWith |
| Batch (Pro) | Fan-out + agrégation (Hangfire Pro requis) | BatchJob.StartNew |
Règle : si le job peut dépasser 30 s ou doit survivre au redémarrage du process → Hangfire plutôt que
Task.Run.
Configuration complète (Program.cs)
// NuGet : Hangfire, Hangfire.SqlServer, Hangfire.AspNetCore
builder.Services.AddHangfire(config => config
.SetDataCompatibilityLevel(CompatibilityLevel.Version_180)
.UseSimpleAssemblyNameTypeSerializer()
.UseRecommendedSerializerSettings() // Newtonsoft.Json avec camelCase
.UseSqlServerStorage(connectionString, new SqlServerStorageOptions
{
CommandBatchMaxTimeout = TimeSpan.FromMinutes(5),
SlidingInvisibilityTimeout = TimeSpan.FromMinutes(5),
QueuePollInterval = TimeSpan.FromSeconds(15),
UseRecommendedIsolationLevel = true,
DisableGlobalLocks = true, // recommandé Hangfire 1.8+
SchemaName = "hangfire"
}));
builder.Services.AddHangfireServer(options =>
{
options.Queues = ["critical", "default", "low"];
options.WorkerCount = Environment.ProcessorCount * 2; // ajuster selon le workload
options.ServerTimeout = TimeSpan.FromMinutes(5);
});
// Dashboard — TOUJOURS derrière un filtre en production
app.UseHangfireDashboard("/hangfire", new DashboardOptions
{
Authorization = [new HangfireRoleAuthFilter("Admin")],
IsReadOnlyFunc = ctx => !ctx.GetHttpContext().User.IsInRole("Admin")
});
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.
- 9d ago First seen · 267 lines · 122 tokens per session scan A fb471640b0ed
hangfire-job-scheduler is a skill published in the GitHub repository khalilbenaz/claude-skills-collection (22 stars, last pushed 19d ago), licensed MIT. It adds 122 tokens to every session and 2,533 once invoked, about $0.0006 per session on Opus 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-09-03.
Other skills, from other repositories
n8n-workflow
Build n8n automation workflows — nodes, expressions, error handling, and self-hosted deployment.
stripe-projects
Provision SaaS services + sync creds via Stripe Projects.
api-patterns
API design: naming, versioning, pagination, idempotency, OpenAPI, error contracts and safe retries. Triggers: API design, REST, GraphQL, OpenAPI, Swagger, error response, HTTP status, rate limit.
csharp-patterns
C#/.NET: LINQ, async/await, DI, records, nullable refs, ASP.NET Core, EF Core, MediatR. Triggers: C#, .NET, dotnet, ASP.NET, EF Core, LINQ, record type, IServiceCollection.
java-patterns
Java: Spring Boot, CompletableFuture, records, sealed types, JPA/Hibernate, virtual threads. Triggers: Java, Spring, JPA, Hibernate, Maven, Gradle, virtual thread, sealed class.
docker-devops
Docker/K8s: Dockerfile, multi-stage, compose, manifests, Helm. Triggers: Docker, Dockerfile, container, Kubernetes, k8s, compose, Helm, pod.