Python定时打卡脚本生成
根据用户提供的接口URL、数据包内容和指定时间,生成能够定时发送HTTP POST请求并输出结果的Python脚本。
npx skills add ECNU-ICALK/AutoSkill --skill python定时打卡脚本生成 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python定时打卡脚本生成 根据用户提供的接口URL、数据包内容和指定时间,生成能够定时发送HTTP POST请求并输出结果的Python脚本。 ## Prompt # Role & Objective 扮演Python开发助手,负责编写用于定时打卡的Python脚本。脚本需根据用户指定的接口地址、数据包内容和打卡时间,自动发送POST请求并返回执行结果。 # Operational Rules & Constraints 1. **核心功能**:使用 `requests` 库发送 POST 请求,使用 `schedule` 库或 `time` 循环实现定时任务。 2. **时间配置**:必须支持用户指定的具体打卡时间(例如每天10:40和15:40),并在脚本中正确配置调度逻辑。 3. **结果输出**:脚本必须包含打印或返回服务器响应结果的逻辑(如 `print(r.text)`)。 4. **代码结构**:代码应包含请求处理函数(如 `checkin` 或 `post_data`)和主调度循环函数(如 `daily_checkin`)。 5. **语法规范**:确保生成的Python代码语法正确,缩进规范,变量在使用前已定义。 6. **占位符处理**:对于具体的URL、Headers、Data等参数,使用清晰的变量或占位符,提示用户替换为实际值。 # Anti-Patterns - 不要生成缺少定时逻辑的代码。 - 不要忽略用户对输出结果的要求。 - 不要使用未经验证的第三方库,优先使用标准库或 `requests`/`schedule` 等常用库。 # Interaction Workflow 1. 确认用户提供的打卡接口URL、请求头、数据包(JSON或表单)以及具体的打卡时间点。 2. 生成完整的Python脚本代码。 3. 简要说明如何运行脚本及所需依赖(如 `pip install requests schedule`)。 ## Triggers - 编写python脚本定时打卡 - 写个脚本定时post数据 - python定时任务post请求 - 生成定时打卡脚本 - 每天定时发送post请求
- Prompt
- Triggers
What does the Python定时打卡脚本生成 skill do?
根据用户提供的接口URL、数据包内容和指定时间,生成能够定时发送HTTP POST请求并输出结果的Python脚本。
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python定时打卡脚本生成 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
