layoff-strategy-optimizer

layoff-strategy-optimizer is a skill for Claude Code, Codex from 90le/worker-rights-cn. It costs 101 tokens per session (897 once invoked), scanned A, original, Apache-2.0.

A guide for planning lawful strategies for worker-side layoff and dismissal disputes in China. It combines case facts, legal classification, evidence, local-rule checks, compensation estimates, negotiation, and arbitration planning.

In plain words
What is it for?
It helps evaluate layoffs, forced resignations, low settlement offers, unpaid wages, social-insurance issues, non-compete pressure, protected-status cases, and the order of negotiation or arbitration steps.
Why use it?
It brings scattered facts and possible actions into one ordered plan while screening out fabricated evidence, threats, illegal data access, and promises of a guaranteed result.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions Codex.

Part of the worker-rights-cn plugin — 11 skills, 5 hooks, 1 MCP server shipped together

Good fit It helps evaluate layoffs, forced resignations, low settlement offers, unpaid wages, social-insurance issues, non-compete pressure, protected-status cases, and the order of negotiation or arbitration steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/90le/worker-rights-cn/layoff-strategy-optimizer
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.

Any agent
npx skills add 90le/worker-rights-cn --skill layoff-strategy-optimizer
Clone the repo
git clone --depth 1 https://github.com/90le/worker-rights-cn

Made for: Claude Code, Codex.

Or install worker-rights-cn, the plugin that ships this one along with the rest of its 11 skills, 5 hooks, 1 MCP server.

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

agentmods badge for layoff-strategy-optimizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/90le/worker-rights-cn/layoff-strategy-optimizer/github.svg)](https://agentmods.dev/skills/90le/worker-rights-cn/layoff-strategy-optimizer)
Your own site
<a href="https://agentmods.dev/skills/90le/worker-rights-cn/layoff-strategy-optimizer"><img src="https://agentmods.dev/badge/skills/90le/worker-rights-cn/layoff-strategy-optimizer/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.

agentmods 80×15 button for layoff-strategy-optimizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/90le/worker-rights-cn/layoff-strategy-optimizer"><img src="https://agentmods.dev/badge/skills/90le/worker-rights-cn/layoff-strategy-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 897 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00101 $0.00897
Opus 5 $0.00051 $0.00449
Sonnet 5 $0.00020 $0.00179
Haiku 4.5 $0.00010 $0.00090

Measured 10d ago against content hash bd0995611cb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

layoff-strategy-optimizer 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run_strategy_cases.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/worker-rights-cn/skills/layoff-strategy-optimizer/SKILL.md · 55 lines

How it starts

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

Layoff Strategy Optimizer

Overview

Create a lawful, worker-side strategy that prioritizes the highest supported recovery path under the evidence. This skill coordinates case-intake, safety-guardrails, layoff-defense, compensation-calculator, local-rules-adapter, evidence-builder, negotiation-coach, agreement-review, and arbitration-drafter.

Workflow

  1. Screen unsafe requests with safety-guardrails; refuse fabrication, threats, illegal data access, or outcome guarantees.
  2. Use case-intake facts to classify the scenario. If multiple labels conflict, use unclear_or_mixed until documents and chronology are reconciled.
  3. Read references/strategy-matrix.json and match the strongest scenario IDs.
  4. Use layoff-defense to bind termination maps and legal anchors.
  5. Use compensation-calculator for N, N+1, 2N, unpaid wages, annual leave, and double-wage estimates when inputs are available.
  6. Use local-rules-adapter for city cap, social-insurance, housing-fund, and local filing checks; mark uncertain local figures as local_verify.
  7. Use evidence-builder to rank immediate evidence and employer-controlled proof requests.
  8. Use negotiation-coach before signing or when leverage can produce a better settlement.
  9. Use agreement-review before any resignation, waiver, settlement, non-compete, payment schedule, or all-claims clause is signed.
  10. Use arbitration-drafter when negotiation fails, limitation is near, or the employer refuses written terms/payment.

Strategy Rules

  • Optimize for lawful expected value, not only the largest theoretical number.
  • Present best_supported_path, fallback_path, and settlement_floor; do not overstate weak claims as guaranteed.
  • Preserve the worker's strongest characterization: avoid personal-reason resignation, broad waiver, vague settlement, or unsupported admission before review.
  • Compare N, N+1, 2N, reinstatement, unpaid wages, annual leave, double wage, non-compete compensation, and local cap issues separately.
  • Use protected status, procedure gaps, wage arrears, unsigned contract, employer-controlled evidence, and settlement payment certainty as negotiation levers only when facts support them.
  • Never advise threats, public shaming, fake evidence, hidden recordings where illegal, company data copying, or personal-information exposure.

Read the full file on GitHub · 55 lines

Files

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.

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. 10d ago First seen · 55 lines · 101 tokens per session scan A bd0995611cb6

Subscribe to this mod's changes

layoff-strategy-optimizer is a skill published in the GitHub repository 90le/worker-rights-cn (93 stars, last pushed 29d ago), licensed Apache-2.0. It adds 101 tokens to every session and 897 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

compliance

Compliance expert for SOC 2, GDPR, HIPAA, PCI-DSS, and security frameworks.

RightNow-AI/openfang · 22 tokens

dependency-audit

Audits direct and transitive dependencies for license compliance, maintenance health, CVEs, abandoned packages, and bloat. Triggers on: "audit dependencies", "license check", "dependency health", "abandoned packages", "unused dependencies", "license compliance", "supply chain", "dependency risk".

Mathews-Tom/armory · 66 tokens

commercial-legal-pl

Skill do analizy i tworzenia umów według polskiego prawa, ze szczególnym uwzględnieniem umów B2B, IP i IT (body leasing, NDA, wdrożenia, SaaS, przeniesienie praw autorskich, ugody). Powstał w Kancelarii Radców Prawnych Żurawska Piotrowski i Wspólnicy (ktzr.pl). Używaj zawsze gdy użytkownik prosi o przeanalizowanie…

apiotrowski-afk/commercial-legal-pl · 231 tokens

anvil-adsense-audit

A pre-submission audit for websites applying to Google AdSense, Google's advertising programme. It checks policy, content, crawling, privacy, and site-readiness items and records each as Pass, Fail, Unknown, or Not applicable.

PNGTRID/AnvilWiki · 136 tokens

brazil-vat

> Use esta skill sempre que perguntarem sobre tributos indiretos brasileiros, IVA, tributos sobre o consumo, PIS, Cofins, ICMS, ISS, IPI, CBS, IBS, Imposto Seletivo, NF-e (Nota Fiscal Eletronica), NFS-e, Simples Nacional, registro de CNPJ, reforma tributaria (EC 132/2023, LC 214/2025, LC 227/2026) ou qualquer questao…

openaccountants/openaccountants · 213 tokens

br-return-assembly

Skill orquestrador final que monta o pacote completo de declarações do Brasil para autônomos e pequenos empresários residentes no Brasil (MEI, Simples Nacional, autônomo/pessoa física). Consome os outputs de todos os content skills do Brasil (br-irpf para Declaração de Ajuste Anual, br-simples para reconciliação de…

openaccountants/openaccountants · 209 tokens