SkillsBench is a benchmark for measuring how effectively AI agents use modular skills—folders containing instructions, scripts, and resources—to complete specialized tasks. It helps researchers and developers evaluate both skill quality and agent behavior, including tasks that require combining multiple skills. The catalogue’s skills and instructions are evaluated as part of this workflow.
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 agentmods add skills/benchflow-ai/skillsbench/multi-resource-allocation-validationnpx skills add benchflow-ai/skillsbench --skill multi-resource-allocation-validationgit clone --depth 1 https://github.com/benchflow-ai/skillsbenchWrote 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/benchflow-ai/skillsbench/multi-resource-allocation-validation)<a href="https://agentmods.dev/skills/benchflow-ai/skillsbench/multi-resource-allocation-validation"><img src="https://agentmods.dev/badge/skills/benchflow-ai/skillsbench/multi-resource-allocation-validation.svg" alt="Measured on agentmods" 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 | $0.00039 | $0.00677 |
| Opus 5 | $0.00019 | $0.00338 |
| Sonnet 5 | $0.00008 | $0.00135 |
| Haiku 4.5 | $0.00004 | $0.00068 |
Grade A, and why
multi-resource-allocation-validation 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 5d 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 — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Multi-Resource Allocation Validation
Use this skill before returning a batch of resource allocation actions, and after building a feasible schedule to make small objective improvements.
Core Workflow
Replay every proposed action against a temporary resource state. A placement is valid only if each required resource remains non-negative after applying all earlier placements in the same batch. Do not validate each placement only against the original observation.
Example field names vary by task, but common reminders include cpu_free, memory_free, and gpu_slots[*].free_gpu_units.
Replay Skeleton
Use replay validation as the final gate before returning actions:
temporary_state = copy_resources(original_observation)
repaired_actions = []
for action in actions:
if action is not a placement:
repaired_actions.append(action)
continue
find the work item, target machine, and target slot/resource
check compatibility
check every required resource is available
if any check fails:
action = repair_or_replace_with_defer_or_reject(action, temporary_state)
if action is still a placement:
subtract consumed resources from temporary_state
repaired_actions.append(action)
The combined action list must be feasible after all earlier actions in the same batch have consumed resources. Each work item should appear in at most one action, and deferred or rejected work should not consume resources.
Repair Order
When a placement fails validation, repair it in this order:
- Try an alternate slot or resource on the same target.
- Try an alternate active machine or target that already has compatible allocations.
- Try an alternate inactive machine or empty target.
- Defer the work if waiting is allowed and still useful.
- Reject the work only when no valid placement or defer decision is appropriate.
In shorthand: alternate slot -> alternate active machine -> alternate inactive machine -> defer -> reject.
Feasible-Solution Improvement Pass
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.
- 5d ago First seen · 77 lines · 39 tokens per session scan A e9f843e4d342
multi-resource-allocation-validation is a skill published in the GitHub repository benchflow-ai/skillsbench (1,747 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 39 tokens to every session and 677 once invoked, about $0.0002 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-08-30.
Other skills, from other repositories
hotpath_init
Configure hotpath profiling in a Rust project. Adds the hotpath dependency with feature-gated setup, instruments main with hotpath::main, functions with measure/measureall, and wraps channels, mutexes, rwlocks, streams, futures, reqwest clients, axum routers and byte-level I/O with hotpath macros. Use when the user…
writing-bench-task-judge
Use when writing or modifying checkgoals() / getanswer() / App check methods in benchenv/task/, or when reviewing a draft task's judge correctness. Triggers include adding a new task, editing a judge method, or diagnosing a judge false-positive/negative.
portfolio
Cross-chain DeFi portfolio discovery, rebalancing suggestions, and NEAR Intent construction. Activates when the user pastes a wallet address or asks about yield/positions/rebalancing. Bootstraps a per-user "portfolio" project, aggregates positions across all the user's addresses inside one project, and offers a…
llm-council
Query multiple LLM models in parallel from CodeAct and cross-reference their responses.
environment-discovery
Systematic exploration of unknown environments before starting work.
benchflow-traj-upload
Find a local Claude Code or Codex session, open the BenchFlow trajectory viewer, and submit it after the user reviews it. Use this skill whenever someone pastes a BenchFlow eval prize line, wants to submit / share / contribute / upload a trajectory, set up traj upload, view a session, or pick a session to send. Also…