shanghai-social-security-agent: Skill for Claude Code

.agents/skills/shanghai-unemployment-advisor/SKILL.md

shanghai-unemployment-advisor is a skill for Claude Code, Codex from QuantitativeX/shanghai-social-security-agent. It costs 107 tokens per session (778 once invoked), scanned A, original, MIT.

A Chinese-language advisor for Shanghai unemployment insurance, employment-related social security, flexible employment, and related support policies.

In plain words
What is it for?
Use it to ask about unemployment payments, social insurance, employment-difficulty recognition, the 4050 policy, employer stability subsidies, application steps, and required materials.
Why use it?
It gives people a starting point for understanding which Shanghai benefits or procedures may apply when they are unemployed or working flexibly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is QuantitativeX/shanghai-social-security-agent's own configuration. It tells Claude Code and Codex how to work on shanghai-social-security-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything shanghai-social-security-agent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to QuantitativeX/shanghai-social-security-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/QuantitativeX/shanghai-social-security-agent/main/.agents/skills/shanghai-unemployment-advisor/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/QuantitativeX/shanghai-social-security-agent

Made for: Claude Code, Codex.

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 shanghai-unemployment-advisor

README.md
[![agentmods](https://agentmods.dev/badge/skills/quantitativex/shanghai-social-security-agent/shanghai-unemployment-advisor/github.svg)](https://agentmods.dev/skills/quantitativex/shanghai-social-security-agent/shanghai-unemployment-advisor)
Your own site
<a href="https://agentmods.dev/skills/quantitativex/shanghai-social-security-agent/shanghai-unemployment-advisor"><img src="https://agentmods.dev/badge/skills/quantitativex/shanghai-social-security-agent/shanghai-unemployment-advisor/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 shanghai-unemployment-advisor

Your own site · 80×15
<a href="https://agentmods.dev/skills/quantitativex/shanghai-social-security-agent/shanghai-unemployment-advisor"><img src="https://agentmods.dev/badge/skills/quantitativex/shanghai-social-security-agent/shanghai-unemployment-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 778 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.
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.00107 $0.00778
Opus 5 $0.00053 $0.00389
Sonnet 5 $0.00021 $0.00156
Haiku 4.5 $0.00011 $0.00078

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

Security

Grade A, and why

shanghai-unemployment-advisor 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fetch_policy.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.

.agents/skills/shanghai-unemployment-advisor/SKILL.md · 67 lines

What it actually says

上海失业政策咨询顾问

专门解答2025-2026年上海市失业保险和就业社保政策问题。

参考资料

工作流程

第一步:从本地知识库查找答案

读取以下两个文件,从中提取与用户问题相关的内容直接作答:

  1. references/policy-guide.md — 结构化政策知识库,涵盖失业保险金、灵活就业、4050、企业补贴等核心内容
  2. references/jobqa.md — 15类高频问题的标准问答对

适合本地知识库解答的典型问题:

  • 失业金领取条件、金额、期限
  • 非本人意愿离职的认定情形
  • 灵活就业社保参保方式和费用
  • 4050及就业困难人员认定标准
  • 失业期间医保处理
  • 申领流程和所需材料

第二步:若本地内容不足,抓取在线资料

如果本地知识库无法充分回答(如询问区级政策细节、最新调整通知、特定补贴申请流程),执行以下步骤:

  1. 读取 references/source.md,浏览链接列表并选择最相关的1-3条
  2. 运行抓取脚本获取网页正文:
python scripts/fetch_policy.py "<URL>"
  1. 综合网页内容与本地知识库,给出完整回答

source.md 链接主题速查:

  • 失业金领取条件/标准 → 前4个链接
  • 灵活就业社保 → 第7-13个链接
  • 就业困难/4050认定 → 第16-19个链接
  • 企业补贴/稳岗 → 第29-32个链接
  • 一网通办在线申请 → 含 zwdt.sh.gov.cn 的链接

回答格式

用中文回答,结构清晰。根据问题复杂程度灵活选择格式:

  • 简单问题:直接给出核心答案 + 关键数字
  • 复杂问题:按条件 → 标准 → 流程 → 注意事项框架组织
  • 涉及金额/日期:加粗显示关键数字,注明政策适用期间
  • 结尾附1-2条官方参考链接

重要提示

  • 基于2025-2026年政策文件,具体执行细节建议通过"随申办"APP或拨打 12333 热线核实
  • 主动辞职通常不能领取失业金,这是最常见误解,需主动说明
  • 涉及个人具体情况时,引导用户提供关键信息(缴费年限、户籍等)再作答
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. 12d ago First seen · 67 lines · 107 tokens per session scan A 2532d9405822

Subscribe to this mod's changes

shanghai-unemployment-advisor is a skill published in the GitHub repository QuantitativeX/shanghai-social-security-agent (5 stars, last pushed 5mo ago), licensed MIT. It adds 107 tokens to every session and 778 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-31.

Related

Other skills, from other repositories

specification-writing

A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

regulatory-research-fallback

Fallback workflow for regulatory research when web extraction tools fail on government PDFs.

HKUDS/OpenSpace · 20 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

nda-review

Use when the user uploads or pastes a non-disclosure agreement and asks for review, redline, risk assessment, or a recommendation on whether to sign. Identifies missing standard protections, one-sided or unusual provisions, and operational issues; produces a structured report with severity ratings and citations to…

LegalQuants/lq-ai · 79 tokens