← Back to Skills Marketplace
zfm-mid

编程政策查找

by 酒不换桃花 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
68
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install query-policy-deepseek
Description
This skill should be used when the user asks to query or search for "科技特长生升学政策" (technology/specialty student admission policies), batch query education poli...
README (SKILL.md)

Query Policy DeepSeek Skill

批量查询各地科技特长生升学政策的 Skill,基于 DeepSeek API 实现。

Core Script

The main execution script is located at:

scripts/query_policy_v2.py

This script performs the following:

  1. Reads region list from 地区.txt
  2. Calls DeepSeek API to query technology specialty student admission policies
  3. Parses CSV-formatted responses
  4. Writes results to 政策.csv with UTF-8-sig encoding (Excel compatible)
  5. Tracks progress in 进度.txt

Key Configuration

Setting Value
API Key sk-134d7a53ebab42e4ac5af93ea28e5f13
API Endpoint https://api.deepseek.com/chat/completions
Model deepseek-chat
Temperature 0 (deterministic output)

File Paths

Default paths (configured in the script):

  • Input: C:\Users\zhufangming\Desktop\zfm_demo_02\地区.txt
  • Output: C:\Users\zhufangming\Desktop\zfm_demo_02\政策.csv
  • Progress: C:\Users\zhufangming\Desktop\zfm_demo_02\进度.txt

Important: Before running, verify these paths exist and are correct.

Output Format

CSV with 5 columns:

  1. 学段 (Education stage: 小升初/初升高)
  2. 地区 (Region)
  3. 学校名称 (School name)
  4. 赛事/项目名称 (Competition/project name)
  5. 对升学的具体帮助 (Specific admission benefits)

Policy Rules

Allowed Competitions

  • Python编程赛/Python创意编程赛
  • 全国青少年Python编程竞赛
  • 中国电子学会青少年Python编程等级测试
  • NOC大赛Python赛项
  • 全国青少年科技创新大赛(科技创新成果类)
  • 青少年机器人竞赛(不含图形化编程类)
  • 青少年电子信息智能创新大赛
  • 人工智能相关竞赛(创意编程、算法类)

Prohibited Competitions (Must NOT appear)

  • Scratch/图形化编程类
  • 蓝桥杯/BlueCloud
  • NOI系列 (NOIP, CSP-J/S, IOI, etc.)
  • C++信息学奥赛相关

Description Requirements

Each policy description MUST include:

  • 年份 (Year): Which year's admission policy
  • 招生人数 (Quota): Specific numbers (e.g., 招收3人, 招收5人)
  • 报名条件 (Conditions): Award level requirements
  • 招生对象 (Target): Which students can apply
  • 过程/方式 (Process): How admission works

Execution

To run the policy query:

python "C:\Users\zhufangming\.workbuddy\skills\query-policy-deepseek\scripts\query_policy_v2.py"

Or copy the script to the target directory and run from there.

Version History

  • v2: Base version with 5 columns
  • v3: Added 信息来源 (information source) column - not yet integrated in main script

For updates or modifications, edit scripts/query_policy_v2.py directly.

Usage Guidance
Do not run this skill as-is unless the embedded DeepSeek key has been removed and replaced with your own declared credential. Also update the hardcoded file paths, back up any existing output CSV, and remember that queried region data will be sent to DeepSeek.
Capability Analysis
Type: OpenClaw Skill Name: query-policy-deepseek Version: 1.0.0 The skill bundle contains a hardcoded DeepSeek API key (sk-134d7a53ebab42e4ac5af93ea28e5f13) within both SKILL.md and scripts/query_policy_v2.py, which is a major security vulnerability. Furthermore, the script relies on hardcoded absolute file paths pointing to a specific user's desktop (C:\Users\zhufangming\Desktop\zfm_demo_02\), which is a privacy leak and indicates the code was not sanitized for general use. While the script's logic appears to fulfill its stated purpose of querying education policies via api.deepseek.com, the inclusion of active credentials and specific local paths makes it high-risk.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
The Python script matches the stated purpose: it reads a region list, queries DeepSeek for education policy information, parses CSV-like responses, and writes a CSV output.
Instruction Scope
The skill is user-invocable and documents a manual command to run the script; once run, the script immediately performs the full batch query without per-region confirmation.
Install Mechanism
There is no install spec or dependency installation, but the source is unknown and the included runnable script contains an embedded credential.
Credentials
The script uses hardcoded Windows Desktop paths and overwrites the configured output CSV each run; this is related to the stated purpose but should be user-configurable.
Persistence & Privilege
The artifacts embed a DeepSeek bearer token while metadata declares no required credential, creating an account/permission-boundary risk for anyone who installs or runs it.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install query-policy-deepseek
  3. After installation, invoke the skill by name or use /query-policy-deepseek
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Query Policy DeepSeek Skill 1.0.0 – Initial Release - Enables batch querying of technology/specialty student admission policies by region in China using DeepSeek API. - Provides script for reading input regions, querying policies, parsing results, and writing to a CSV file compatible with Excel. - Ensures only approved competition types are included per policy requirements. - CSV output includes detailed policy info: year, quota, requirements, eligible students, and admission process. - Default script paths and configuration details included for setup and execution.
Metadata
Slug query-policy-deepseek
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 编程政策查找?

This skill should be used when the user asks to query or search for "科技特长生升学政策" (technology/specialty student admission policies), batch query education poli... It is an AI Agent Skill for Claude Code / OpenClaw, with 68 downloads so far.

How do I install 编程政策查找?

Run "/install query-policy-deepseek" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 编程政策查找 free?

Yes, 编程政策查找 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 编程政策查找 support?

编程政策查找 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 编程政策查找?

It is built and maintained by 酒不换桃花 (@zfm-mid); the current version is v1.0.0.

💬 Comments