Skills for Real Engineers. Straight from my .agents directory.
online-resource-scheduling
Agent skill frombenchflow-ai/skillsbench
Design deterministic online scheduling policies from current observations. Use when assigning arriving work to limited resources without seeing future requests.
How to install online-resource-scheduling
npx skills add benchflow-ai/skillsbench# or add only this skill to Claude Code: copy the folder
tasks-extra/gpu-cluster-online-scheduling/environment/skills/online-resource-scheduling/
# into
~/.claude/skills/online-resource-scheduling/ (all projects)
.claude/skills/online-resource-scheduling/ (one project)
tasks-extra/gpu-cluster-online-scheduling/environment/skills/online-resource-scheduling/SKILL.md
Apache-2.0Full file1# Online Resource Scheduling23Use this skill to build online schedulers that make deterministic decisions from the current observation only.45## Core Workflow67Convert each observation into a temporary state, rank pending work, score feasible actions by weighted marginal cost, update the temporary state immediately, then replay the final action list before returning it.89```text10actions = []11temporary_state = copy_resources(observation)1213for item in ranked_pending_items(observation):14 candidates = enumerate_feasible_actions(item, temporary_state)15 if not candidates:16 actions.append(defer_or_reject(item))17 continue1819 scored = []20 for action in candidates:21 deltas = estimate_objective_deltas(action, temporary_state)22 score = sum(weights[k] * deltas[k] for k in deltas)23 scored.append((score, stable_tie_break(action), action))2425 chosen = min(scored)[-1]26 actions.append(chosen)27 apply(chosen, temporary_state)2829validate(actions, observation)30return actions31```3233## Weighted Marginal Scoring3435When a task provides objective weights, use them to compare feasible actions. Avoid fixed rules such as "always first-fit", "always minimize fragmentation", or "always use the tightest slot". Those can be wrong when another objective component has a larger weighted effect.3637Suggested generic workflow:38391. Read visible objective weights.402. For each pending item, enumerate feasible actions.413. For each feasible action, estimate the change in each objective component.42…
Excerpt shown under the repository's Apache-2.0 license.
More skills in skillsbench
Similar skill repositories
Public repository for Agent Skills
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
