workforce-optimization

A governed method for improving workforce efficiency and allocating staff, shifts, tasks, or other resources. It turns operational requests into reviewable planning records and can use linear or mixed-integer optimization models.

In plain words
What is it for?
Use it to plan staffing levels, shifts, service coverage, task schedules, performance targets, or hierarchical resource allocation through approved LP or MILP models.
Why use it?
It makes staffing and resource decisions traceable, recoverable, and independently checked. It also separates the workflow from MindOpt, an external optimization solver that must be supplied and licensed separately.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/desirecore/market/workforce-optimization
Any agent
npx skills add desirecore/market --skill workforce-optimization
Clone the repo
git clone --depth 1 https://github.com/desirecore/market

Made for: Claude Code, Codex.

Per session 188 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,056 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00188 $0.03056
Opus 5 $0.00094 $0.01528
Sonnet 5 $0.00038 $0.00611
Haiku 4.5 $0.00019 $0.00306

Measured 2d ago against content hash 361e6d1d175a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

workforce-optimization 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 2d 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.

skills/workforce-optimization/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Workforce and Resource Optimization

L0

Turn natural-language workforce-efficiency requests into reviewable and recoverable artifacts, execute approved LP/MILP only through a user-provided, licensed MindOpt deployment and the governed connector, and independently recompute every result before delivery.

External dependency — read before installation: MindOpt is third-party solver software that must be installed or deployed separately and activated with a valid license under the official MindOpt license terms. Commercial licenses and operating costs must be purchased separately when applicable; community-license eligibility remains subject to those official terms. The client, this Skill, and MindOptSolve do not bundle the MindOpt software, a license, hosted compute, procurement, or operating fees.

L1

  • Treat MindOptSolve only as a governed connector/adapter to a MindOpt service supplied by the user or operator. Never describe MindOpt itself as an included or built-in Tool.
  • The platform retains direct personal MindOptSolve and compile-option overrides only as a backward-compatible, non-decision-grade expert path outside this Skill's governed team workflow. Never present an unbound personal call as reviewed, human-confirmed, recoverable, or decision-grade; team runs must use the guarded OptimizationSolve path and solver limits recorded in the committed specification.
  • Before promising or requesting an actual solve, verify that the external connector is configured and ready, required capabilities are available, and the deployment has a valid applicable license. A registered Tool name alone is not evidence that the solver is installed, licensed, reachable, or paid for.
  • If the external dependency is unavailable, state which prerequisite is missing and stop before the solver call. You may still finish requirement clarification and produce reviewable SceneSpec, DataContract, and OptimizationSpec artifacts for later execution, but must not fabricate a SolveResult, feasibility, optimality, or benefit claim.
  • Before routing or modeling, the natural-language entry Agent must read the requirement-clarification framework in full and follow its real-decision, mandatory-question, and conditional-question branches.
  • First read the AgentFS user profile, preferences, and relationship memories already injected into the current context. Choose professional, business-guided, or evidence-insufficient adaptive language only from user-confirmed, current, non-conflicting evidence about expertise or communication preference. Employer, job title, one use of jargon, or model inference is not sufficient evidence.
  • Professional language may expose the complete structured information contract at once and accept a batch answer. Business-guided language uses plain-language groups in impact order for as many turns as needed. When evidence is insufficient, show a neutral coverage outline and ask the user's preference. Every mode maintains the same complete question map; never omit a model-changing item merely to reduce turns, question count, or cognitive load.
  • End every first response with the two-sentence fixed fact-gate footer defined by the requirement-clarification framework. Do not paraphrase, shorten, merge, or omit either sentence.
  • Maintain a fact ledger with fact_state, value, source, and model_impact. Only confirmed user facts, confirmed data, deterministic rules, or confirmed non-applicability may enter a model.
  • Treat relative business-time expressions such as today, tomorrow, the next N days, or this quarter as pending_confirmation until the current request confirms the business timezone, business calendar, date-time anchor, and applicable day-boundary, cutoff, holiday, and overnight rules. A system clock or host timezone is environment evidence, not a business rule.
  • Isolate every new request from historical contamination. Facts from another conversation, Plan, artifact, memory, or sample remain pending_confirmation until the user explicitly carries them into the current request; do not search for or reuse a semantically similar Plan as evidence for the first response.
  • Use one entry Agent for routing, consolidated questions, and final delivery. Assign one owner to each stage.
  • After the fact-confirmation gate passes, follow this governed sequence without skipping or reordering its control points:
    1. The entry Agent reads the needed DecisionWorkspace(action="schema") sections and each TeamArtifact(action="schema") contract before constructing writes.
    2. The entry Agent creates the team DecisionWorkspace or submits CAS-protected proposals in business language; proposals never manufacture human receipts.
    3. The user confirms or rejects blocking facts only through the platform's dedicated human controls. A rejection remains an auditable inactive tombstone. All Agents wait for the authoritative result.
    4. Only the top-level entry Agent calls DecisionWorkspace(action="bind_workspace") for the validated current workspace revision and model-input hash. Specialists may not bind, replace, or bypass it.
    5. The assigned stage owner publishes SceneSpec, DataContract, optional PredictionArtifact, OptimizationSpec, SolveResult, ValidationReport, and DeliveryBundle in dependency order through TeamArtifact, retaining the returned exact artifact revision and DecisionWorkspace snapshot.
    6. The entry Agent calls DecisionWorkspace(action="link_artifact") with the exact artifact ID, exact revision, and semantic bindings; never resolve governed evidence through latest.
    7. Submit the linked revision for peer review. An independent reviewer checks business-to-model coverage, units, variable families, feasibility logic, provenance, gaps, and stale/rejected exclusions before execution.
    8. Invoke OptimizationCompile and then OptimizationSolve; both must pass the platform's DecisionWorkspace execution guard before side effects. MindOptSolve remains a compatible connector name and must never be called directly to bypass the guarded solve path.
    9. A validation owner independent from the solver owner calls OptimizationValidate and recomputes domains, hard constraints, objective, baseline delta, and IIS traceability from raw values.
    10. The user approves only through the platform's dedicated human approval control after the exact linked chain passes review and independent validation. No Agent or specialist may create that approval.
  • When training data exists, call OptimizationPredict; use ordered holdout, train-only imputation, tuning, metrics, baseline comparison, and explicit fallback rules.
  • Compile general models with OptimizationCompile, solve once through guarded OptimizationSolve, and retain status, variables, objective, request/job IDs, HTTPS transport, selected-engine evidence, and IIS when infeasible.
  • Require the validation owner to call OptimizationValidate and recompute variable domains, hard constraints, objective, baseline delta, and IIS traceability from raw values.
  • Treat every settled successful Tool call as authoritative. After an interruption, synthesize the persisted result without repeating the Tool.

Read the full file on GitHub · 113 lines

Files

What ships with it

3 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.

Changes

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.

  1. 2d ago First seen · 113 lines · 188 tokens per session scan A 361e6d1d175a

Subscribe to this mod's changes

workforce-optimization is a skill published in the GitHub repository desirecore/market (2 stars, last pushed 2d ago), licensed MIT. It adds 188 tokens to every session and 3,056 once invoked, about $0.0009 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-31.

Related

Other skills, from other repositories

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens

oma-scholar

Scholarly research companion using Knows sidecar spec (.knows.yaml). Generates, validates, reviews, queries, and compares structured research-paper sidecars, and fetches them from knows.academy. Use for academic literature search, survey synthesis, paper authoring assistance, and peer review with token-efficient…

first-fluke/oh-my-agent · 73 tokens

github

Interact with GitHub (issues, PRs, repos, releases) using the gh CLI. Use when asked to read or write GitHub state — open an issue, fetch PR diff, comment, list runs, etc.

Team-Commonly/commonly · 49 tokens

agentic-workflow-designer

Conversational skill that interviews users to design new agentic workflows.

bradygaster/squad · 19 tokens

creating-skills

Guide for creating Claude Code skills following Anthropic's official best practices. Use when user wants to create a new skill, build a skill, write SKILL.md, update an existing skill, or needs skill creation guidelines. Provides structure, frontmatter fields, naming conventions, and new features like dynamic context…

redai-infra/Relax · 70 tokens

task-planning

计算任务 gap 并产出下一步可执行子任务 List[TaskSpec];gap 已闭返回空数组。对齐案例剧本 gwqie46v7hzr1w6h(存储行业尽调)确定式分解。.

inclusionAI/Avernet · 58 tokens