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 desirecore/market --skill workforce-optimizationgit clone --depth 1 https://github.com/desirecore/marketWrote 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/desirecore/market/workforce-optimization)<a href="https://agentmods.dev/skills/desirecore/market/workforce-optimization"><img src="https://agentmods.dev/badge/skills/desirecore/market/workforce-optimization/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/desirecore/market/workforce-optimization"><img src="https://agentmods.dev/badge/skills/desirecore/market/workforce-optimization.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.00186 | $0.05134 |
| Opus 5.5 | $0.00074 | $0.02054 |
| Sonnet 5.5 | $0.00037 | $0.01027 |
| Haiku 4.5 | $0.00019 | $0.00513 |
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 26d 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 — 135 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
MindOptSolvedo not bundle the MindOpt software, a license, hosted compute, procurement, or operating fees.
L1
- Treat
MindOptSolveonly 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
MindOptSolveand 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 guardedOptimizationSolvepath 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, andOptimizationSpecartifacts for later execution, but must not fabricate aSolveResult, feasibility, optimality, or benefit claim. - Before routing or modeling, read the framework matching the user's current conversation language in full: for Chinese use 中文澄清框架, and for English use the English framework. Follow its real-decision, mandatory-question and conditional-question branches. The Skill's default metadata locale does not override the user's language; use that framework's matching-language fixed footer.
- Skill activation is intentionally scoped to the current service-process lifetime and active parent turn. After an app/service restart or retry fork, the current entry Agent must load this Skill again before checking hidden optimization tools or delegating a stage owner; verify
TeamArtifactand the stage-required optimization tools inToolCatalogbefore delegation. A child Agent loading the Skill cannot expand a ceiling inherited from an unactivated parent. Do not persist activation, widen default tools, switch source/scope to evade the ceiling, or ask a child to fabricate artifacts when capability is absent. - 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, andmodel_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_confirmationuntil 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_confirmationuntil 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.
- Clarify-only requests still use this workflow. Generic AskUserQuestion may handle non-modeling setup choices or an explicitly explained capability fallback, but its replies never become DecisionWorkspace answers or human confirmations.
- Before using the nonexpert workflow, inspect the live DecisionWorkspace schemas for semantic_checks_version, request_clarification, interpret_clarification, sourceField and evidenceLinks, and confirm check_semantics is available. If the client lacks these contracts, remain in clarification and explain that a compatible client is required. Never emulate missing gates by editing AgentFS records or using the personal solver path.
- Preflight with a read-only DecisionWorkspace list call. If global TaskBoard/assistance capability is disabled or unavailable, explain the missing user interaction surface and remain in plain-text clarification; do not create questions the user cannot answer, and do not enable capabilities without their request.
- Clarification itself may create a team workspace with semantic_checks_version=1, propose business nodes, inspect an explicitly authorized data source, and record request_clarification before the fact gate passes. These are clarification operations, not permission to build a mathematical model, publish modeling artifacts, delegate solving or call a solver.
- Ask model-changing gaps through request_clarification with an answerable question, reason, canonical type, declared unit and justified constraints. Keep the same logical question while its statement/constraints remain unchanged. Do not invent bounds to reduce choices. Group questions by business impact and explain the remaining coverage in ordinary language.
- The platform already offers unknown and raw_text response channels. Do not add epistemic placeholders such as "not sure yet" or "unknown" to exact choices or node.value. These describe missing knowledge, not a business option. Explain the reason without repeating the UI's "why ask" label.
- When the current user message uniquely supplies a complete business value and every required unit/window, proposals must include a typed
node.valueand remain proposed until the dedicated human confirmation. An Agent-proposed value is not an Agent confirmation. Omitting value incorrectly downgrades a known fact to needs_input; a summary-only node is not a confirmable statement. Omit value only for genuinely unknown or still-ambiguous facts and ask a clarification instead. - Human value answers are proposed, not confirmed. Use interpret_clarification only if raw_text uniquely determines the business value and every necessary unit/time scope. Preserve the original wording and link the normalized node to that answer; the user must explicitly confirm the new statement. If ambiguity remains, keep the original answer and needs_input, explain the remaining gap, and do not call interpret_clarification or fill a canonical placeholder. For example, "about eight hours, not sure per day or week" determines neither an exact limit nor a time window. Never use ordinary upsert to detach the original answer, manufacture a receipt, or default unknown.
- Let the platform continue the original source conversation after its effective gaps settle. Do not poll by starting new messages, change request identities to evade deduplication, revive canceled sources or retry unknown dispatch outcomes. A pending/interpretation signal is not solve authorization; reread the exact workspace and honor all gates.
- Bind real data with an authorized FileResourceRef, bytesHash, exact fields/types/units and confirmed timeScope. Add finite required/unique/range/enum/foreign_key/cutoff rules as applicable. Range/enum constants and FK fields must use consistent units. Every consumed data field must have modelSemantics.sourceField plus a sourced_from relationship before its business quantity is traced into the model. Unused columns need not be modeled. Unit/window conversions require an explicitly transformed, traceable and reconfirmed source; do not change only its unit label.
- Propose blocking validation nodes with confirmed positive, negative and boundary examples for exact model constraints. Include complete candidate assignments and the intended hard/soft behavior. Cover missing constraints, wrong time aggregation and accidental softening. Platform check_semantics independently evaluates the declared examples; a solver result or a second Agent explanation alone does not establish business correctness.
- Every new decision-grade
OptimizationSpecmust use the live TeamArtifact payload branch whoseschema_versionis exactly2; legacy v1 payloads are read-only compatibility artifacts and cannot be linked to approve a current decision. Before publishing, read the v2 schema and construct its complete algebraic/CPmodel,problem_family, exactdata_refs, andsemantic_contract. The contract must declaresolve_intentand exactly one entry for every material objective, variable, constraint, and data reference actually present, with the confirmed dimension, canonical unit, and time scope where applicable—no missing, unknown, duplicate, display-label, JSON-Pointer, or implicit-unit substitutions. Re-read the published exact revision and verify this closed set before requestinglink_artifact; a compile-success receipt for legacy or incomplete semantics is not decision-grade evidence. - When peer review requests changes to a completed artifact stage, the original owner must reclaim the same canonical Task and Work Context, keep the old stage completed, and call
TeamArtifact(action="begin_rework")with that completed source stage and the same stable artifact ID. Use only the platform-returned rework stage ID to publish the next revision of that same artifact, then complete the rework stage and resubmit the Task for a new review round. Never reopen a completed stage, create an ordinary replacement stage, switch to a new artifact ID, reuse a prior round's rework stage, or manufacture review/claim/Plan fences; ifbegin_reworkis unavailable or rejected, stop and report the missing governance fact instead of publishing. - Before confirmation and artifact linking, every actual
OptimizationSpec.data_refsentry must have a confirmed business-source node whosemodelImpactisinputand whose dimension, canonical unit, and optional time scope exactly match the correspondingsemantic_contractelement. Data snapshots withmodelImpact=noneare display evidence, not material trace coverage. Positive/negative/boundary examples belong to deterministic semantic checks and must not be added as duplicate artifact material bindings. - The decision-grade mapping criteria can be read in one call:
TeamArtifact(action="schema", artifact_type="optimization_spec", json_pointer="/publish_requirements"); current clients list them undertype_specific.decision_grade_mapping. Publishing only checks that the spec compiles, and these criteria surface layer by layer at linking and later, so prepare them all before modeling. Every node mapped to a model element needsmodelSemanticsmatching the correspondingsemantic_contractelement; a workspace withsemantic_checks_version=1also needshardness(plussoftPenaltyfor soft constraints),objectiveSense, orvariableDomainaccording tomodelImpact, each matching the actual model. These fields, along with node titles, summaries, values, and source relationships, are model input: changing them after binding requiresbind_workspace, publishing, and linking again, and confirmed statements must be reconfirmed, so bind after they are complete. Governed compilation accepts only the published spec itself: put the model name inmodel.nameand the time limit inrequested_limits.time_limit_seconds, and do not passmodel_name,time_limit_seconds, ordiagnose_infeasible. - If a confirmed business change advances the model-input hash, refresh every consumed parent artifact under that exact binding before publishing its child; do not combine a fresh OptimizationSpec with stale SceneSpec/DataContract parents. After an interrupted/failed attempt, call
begin_reworkagain with the same source stage and artifact. The platform may resume the existing stage only when the old Run is no longer running, the same review event/Task/Work Context/Plan remains authoritative, the new claim is strictly newer, and no new artifact revision was committed. Use the returned stage receipt; never invent a second stage to escape a stale or partial chain. - Attach file evidence with evidenceLinks whose ref matches the node's evidenceRefs; use only authorized FileResourceRef identities, not guessed paths or arbitrary URLs. Explain report failures using their reason code, exact field/model element, frozen expectation, observed value, impact and next safe action. Direct the user to the graph's issue/source/model controls and change-impact preview; a colored branch, viewed evidence or preview never grants execution approval.
- After the fact-confirmation gate passes, follow this governed sequence without skipping or reordering its control points:
- The entry Agent reads the needed
DecisionWorkspace(action="schema")sections and eachTeamArtifact(action="schema")contract before constructing writes. - The entry Agent creates the team DecisionWorkspace or submits CAS-protected proposals in business language; proposals never manufacture human receipts.
- 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.
- 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. - The assigned stage owners publish
SceneSpec,DataContract, optionalPredictionArtifact, and a decision-grade OptimizationSpec v2 with the completesemantic_contractabove in dependency order throughTeamArtifact, retaining exact artifact revisions and the DecisionWorkspace snapshot. When confirmed predictive inputs require training data, call OptimizationPredict inside this step, publish its real PredictionArtifact and confirm its model-changing outputs before creating OptimizationSpec. Without predictive inputs, omit this branch; do not predict after semantic checks. Initial model publication performs the platform's internal pure compilation checks; do not call guarded OptimizationCompile early to break the model-publication/semantic-check dependency. - The entry Agent calls
DecisionWorkspace(action="link_artifact")with the exact artifact ID, exact revision, and semantic bindings; never resolve governed evidence throughlatest. - 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. After the user confirms the exact source/rules/examples, call DecisionWorkspace(action="check_semantics") for the current revision/hash and inspect its complete bounded report. Missing data, unsupported evaluators, budget limits or unconfirmed examples are blocked, not passes. Do not rebind the workspace merely because an audit-only revision changed; retain the model-input snapshot until business semantics change.
- Invoke
OptimizationCompileand thenOptimizationSolve; both must pass the platform's DecisionWorkspace execution guard before side effects.MindOptSolveremains a compatible connector name and must never be called directly to bypass the guarded solve path. - A validation owner independent from the solver owner calls
OptimizationValidateand recomputes domains, hard constraints, objective, baseline delta, and IIS traceability from raw values. Only then publish and link the real SolveResult and ValidationReport. Never prepublish guessed results. DeliveryBundle must preserve the exact evidence chain and its human approval status. - 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.
- The entry Agent reads the needed
- In step 5's confirmed prediction branch, use
OptimizationPredictwith ordered holdout, train-only imputation, tuning, metrics, baseline comparison, and explicit fallback rules. - Compile general models with
OptimizationCompile, solve once through guardedOptimizationSolve, and retain status, variables, objective, request/job IDs, HTTPS transport, selected-engine evidence, and IIS when infeasible. - Require the validation owner to call
OptimizationValidateand 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.
What ships with it
4 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.
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.
- 26d ago Changed · +1 lines a44c0e31b1fb
- 1mo ago Changed · +2 lines 5a069b4a988d
- 2mo ago Changed · +19 lines · -2 tokens per session 60520569187a
- 3mo ago First seen · 113 lines · 188 tokens per session scan A 361e6d1d175a
workforce-optimization is a skill published in the GitHub repository desirecore/market (2 stars, last pushed today), licensed MIT. It adds 186 tokens to every session and 5,134 once invoked, about $0.0007 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-08-31.
workforce-optimization compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| workforce-optimizationdesirecore/market | Skill | 2 | today | MIT | A | 186 | Claude Code |
| sector-rotationHKUDS/Vibe-Trading | Skill | 39k | yesterday | MIT | A | 39 | Claude Code, Codex |
| foundry-config-setupmicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 65 | Claude Code, Codex |
| oma-scholarfirst-fluke/oh-my-agent | Skill | 1.5k | yesterday | MIT | A | 30 | Claude Code |
| browser_cdpmateaix/mateclaw | Skill | 1.2k | 3d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| creating-skillsredai-infra/Relax | Skill | 678 | 8d ago | Apache-2.0 | A | 70 | Claude Code |
| config-validatorjmagly/aiwg | Skill | 232 | today | MIT | A | 15 | Claude Code, Codex |