Skip to content
Skillv1.0.0

scheduler

Focus: pluggable scheduling drivers + polling worker.

by darkostanimirovic(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from darkostanimirovic/meanwhile (pkg/scheduler/AGENTS.md). Install upstream with npx skills add darkostanimirovic/meanwhile --skill scheduler. Copyright stays with the author.

Scheduler Package Notes (for coding agents)

Focus: pluggable scheduling drivers + polling worker.

Key types/flows

  • Driver persists Job records and must remove jobs returned by ClaimDue.
  • Worker polls driver at an interval and dispatches via handler.
  • Drivers: in-memory (simple), Redis (sorted set + hash storage).

Contracts and pitfalls

  • ClaimDue should be idempotent for a given job ID (remove when claimed).
  • Jobs are identified by Job.ID and can be rescheduled by overwriting.
  • Prefer short handler work; treat worker as a poller, not a job runner.

Used by engine

  • Timeout scheduling uses job type human.request.timeout and request ID as job ID.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/darkostanimirovic-meanwhile-scheduler/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

darkostanimirovic-meanwhile-scheduler.ocm.jsonjson
{
  "ocm": "1",
  "id": "darkostanimirovic-meanwhile-scheduler",
  "kind": "skill",
  "name": "scheduler",
  "description": "Focus: pluggable scheduling drivers + polling worker.",
  "publisher": "darkostanimirovic",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "github-agents"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Focus: pluggable scheduling drivers + polling worker."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-agents",
      "repository": "https://github.com/darkostanimirovic/meanwhile",
      "path": "pkg/scheduler/AGENTS.md",
      "ref": "ef751e67c067abce0442e672a8d578a68af7a94b",
      "url": "https://github.com/darkostanimirovic/meanwhile/blob/ef751e67c067abce0442e672a8d578a68af7a94b/pkg/scheduler/AGENTS.md",
      "key": "darkostanimirovic/meanwhile/pkg/scheduler/AGENTS.md"
    }
  },
  "instructions": "# Scheduler Package Notes (for coding agents)\n\nFocus: pluggable scheduling drivers + polling worker.\n\nKey types/flows\n- `Driver` persists `Job` records and **must remove** jobs returned by `ClaimDue`.\n- `Worker` polls driver at an interval and dispatches via handler.\n- Drivers: in-memory (simple), Redis (sorted set + hash storage).\n\nContracts and pitfalls\n- `ClaimDue` should be idempotent for a given job ID (remove when claimed).\n- Jobs are identified by `Job.ID` and can be rescheduled by overwriting.\n- Prefer short handler work; treat worker as a poller, not a job runner.\n\nUsed by engine\n- Ti",
  "cost": {
    "context_tokens": 170
  }
}

Fetch it by URL: GET /api/v1/registry/darkostanimirovic-meanwhile-scheduler/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.