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 VeryMath/AI4Math-Optimization --skill optskillsgit clone --depth 1 https://github.com/VeryMath/AI4Math-OptimizationWrote 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/verymath/ai4math-optimization/optskills)<a href="https://agentmods.dev/skills/verymath/ai4math-optimization/optskills"><img src="https://agentmods.dev/badge/skills/verymath/ai4math-optimization/optskills/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/verymath/ai4math-optimization/optskills"><img src="https://agentmods.dev/badge/skills/verymath/ai4math-optimization/optskills.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.00051 | $0.00689 |
| Opus 5.5 | $0.00020 | $0.00276 |
| Sonnet 5.5 | $0.00010 | $0.00138 |
| Haiku 4.5 | $0.00005 | $0.00069 |
Grade A, and why
optskills 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 1mo 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 — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OptSkills
Use this package independently for problem modeling. It does not require the
OptSkills training, agent, chat, or embedding system. Solver environment setup
can use the separate or-solver skill as described in step 6.
Lightweight version check
At the start of every normal use, read only the Upstream snapshot commit line
from SOURCES.md and run
git ls-remote https://github.com/fujiwaranoM0kou/OptSkills.git HEAD. Compare
only those two commits; do not fetch or inspect upstream cards. If they match,
continue silently. If they differ or the lookup fails, give at most one short
note and continue with the packaged cards without retrying. Read UPDATE.md
and inspect upstream content only when the user asks to update.
Normal use
- Restate the user's sets, parameters, decision variables, objective, constraints, units, and assumptions.
- Read
skill_library/index.json. Compare the problem structure with each entry'snameanddescription, then select one to three candidates. - Read only the selected files using their relative
pathfields. Never invent a path from a skill ID. - Choose the closest card by variables, objective, and constraint structure. If none fits, say that no released card matched and continue with general mathematical modeling without claiming a card was used.
- Apply the card to the user's actual data. Card examples are guidance, not proof that the new model is correct.
- Choose the solver in this modeling task, honoring the user's choice, model
requirements, and actual library and license availability. If the chosen
solver needs installation or configuration, use
or-solverwhen available (in this repository:../or-solver/SKILL.md). Pass the specified solver, interface, any version requirements, target Python environment, and observed setup error. That skill only configures the named target; solver choice and solving remain here. Resume after setup, using only libraries and licenses actually available. If setup support is unavailable or fails, explain the missing conditions and continue with work the current environment supports. Ask before installing dependencies unless the user has already authorized it. - Check solver status before reading values. Recompute the objective and the problem's key constraints whenever execution is possible.
- Report separately: selected card, completed model, solver execution, constraint checks, and unresolved limitations.
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assignment-problem-example.md 4.9 KB
- assignment-problem-example.zh-CN.md 4.5 KB
- LICENSE 1.0 KB
- README.md 2.5 KB
- README.zh-CN.md 2.3 KB
- skill_library/2d_bin_packing_with_disjunctive_constraints.md 15 KB
- skill_library/assignment_problem_solver.md 10 KB
- skill_library/assignment_problem_with_capacity_and_demand.md 10 KB
- skill_library/assignment_problem_with_surplus_resources.md 11 KB
- skill_library/assignmentflowwithparticipationrequirements.md 13 KB
- skill_library/binary_arc_selection_with_flow_conservation.md 11 KB
- skill_library/binary_coverage_maximization_with_budget.md 10 KB
- skill_library/binary_network_flow_routing.md 9.4 KB
- skill_library/binary_selection_with_knapsack_constraint.md 10 KB
- skill_library/binary_set_covering_with_cost_minimization.md 9.4 KB
- skill_library/binary_subset_selection_with_pairwise_interactions.md 10.0 KB
- skill_library/binaryselectionmaximindistance.md 12 KB
- skill_library/bipartite_flow_allocation_with_capacity.md 9.3 KB
- skill_library/bipartiteassignmentflow.md 10 KB
- skill_library/capacitated_arc_routing_problem_carp_solver.md 24 KB
- skill_library/capacitated_facility_location_milp.md 11 KB
- skill_library/capacitated_transportation_problem_solver.md 11 KB
- skill_library/capacitatedassignmentsolver.md 9.2 KB
- skill_library/cardinality_constrained_pairwise_interaction_maximization.md 14 KB
- skill_library/cardinality_constrained_pairwise_selection.md 12 KB
- skill_library/constrained_assignment_with_min_max_objective.md 11 KB
- skill_library/constrained_cardinality_assignment.md 14 KB
- skill_library/contiguous_interval_packing_with_non_overlap.md 11 KB
- skill_library/contiguous_interval_span_minimization.md 11 KB
- skill_library/cutting_stock_pattern_based_integer_optimization.md 11 KB
- skill_library/degree_constrained_minimum_spanning_tree_via_flow_based_connectivity.md 14 KB
- skill_library/discrete_assignment_with_min_max_objective.md 9.6 KB
- skill_library/edge_traversal_minimization_for_required_route_coverage.md 12 KB
- skill_library/employee_shift_assignment_with_unfulfilled_demand.md 11 KB
- skill_library/facility_location_coverage_optimizer.md 12 KB
- skill_library/facility_location_problem_solver.md 10 KB
- skill_library/fixed_charge_production_planning.md 12 KB
- skill_library/flexible_job_shop_scheduling_with_arbitrary_routing.md 13 KB
- skill_library/flexible_job_shop_scheduling_with_free_routing.md 11 KB
- skill_library/flow_shop_scheduling_with_makespan_minimization.md 9.7 KB
- skill_library/flowshopscheduling.md 9.7 KB
- skill_library/generalized_assignment_with_soft_demand.md 11 KB
- skill_library/generalized_bin_packing_container_minimization.md 11 KB
- skill_library/generalizedassignmentsolver.md 8.2 KB
- skill_library/generator_commitment_and_dispatch.md 13 KB
- skill_library/index.json 40 KB
- skill_library/integer_linear_programming_with_multiple_knapsack_constraints.md 9.9 KB
- skill_library/integer_resource_allocation_with_demand_satisfaction.md 9.7 KB
- skill_library/job_shop_scheduling_with_disjunctive_constraints.md 14 KB
- skill_library/lexicographic_max_flow_min_cost_solver.md 12 KB
- skill_library/maximalcoveringlocationproblem.md 11 KB
- skill_library/maximum_cardinality_bipartite_matching.md 9.8 KB
- skill_library/maximum_cardinality_matching_via_binary_edge_assignment.md 8.6 KB
- skill_library/maximum_flow_network_solver.md 11 KB
- skill_library/maximum_leaf_spanning_tree.md 13 KB
- skill_library/maximum_weight_assignment_with_capacity_constraints.md 10 KB
- skill_library/maximum_weight_subgraph_with_degree_constraints.md 10 KB
- skill_library/min_max_assignment_solver.md 9.9 KB
- skill_library/minimax_assignment_with_absolute_difference_constraints.md 10 KB
- skill_library/minimum_cost_flow_with_route_constraints.md 9.3 KB
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.
- 1mo ago Changed · +8 lines d5da9e1326bc
- 1mo ago First seen · 54 lines · 51 tokens per session scan A 1ae1469a706e
optskills is a skill published in the GitHub repository VeryMath/AI4Math-Optimization (11 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 689 once invoked, about $0.0002 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-09-04.
Other skills, from other repositories
math-beamer
Use when creating, revising, or auditing source-grounded mathematical Beamer slide decks from papers, notes, proofs, lectures, experiments, or existing LaTeX slides across pure mathematics, applied mathematics, computational mathematics, statistics, optimization, geometry, topology, algebra, number theory…
paper-writing
Use when drafting, revising, or auditing source-grounded mathematical paper text, including abstracts, introductions, related work, theorem exposition, experiment narratives, revision plans, and response letters.
latex-build-and-layout-audit
Use when checking LaTeX paper projects for compilation, latexmk logs, undefined references, citation issues, duplicate labels, macro/package hygiene, layout warnings, floats, arXiv, or venue compatibility.
paper-skeleton-and-logical-architecture
Use when turning mathematical notes, theorem statements, proof sketches, experiments, or reading outputs into a paper skeleton, section plan, result dependency map, or contribution architecture before prose drafting.
proof-obligation-and-assumption-audit
Use when checking mathematical paper results for assumptions, quantifiers, domains, dependency fit, edge cases, external theorem use, proof coverage, or theorem-to-claim consistency.
claim-evidence-ledger
Use when auditing mathematical paper drafts for supported claims, missing citations, overclaims, proof status, experiment support, or source-to-text traceability.