dw-cycle-tracker
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "dw-cycle-tracker" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-16fe253e0051f7647bca3d4b3eaab07ef12950fc16a524b14689c803ce51b60d. Verify the upstream source and version against https://skillhub.cn/skills/user_cb37ec27/dw-cycle-tracker before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Period/cycle tracker: Used when the user says “track period/cycle/ovulation/menstruation.” Records cycle start and end and predicts the next period and ovulation; data stored locally and kept private.
Introduction source: third_party · user_cb37ec27 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: dw-cycle-tracker
slug: dw-cycle-tracker
displayName: 经期/周期追踪
description: 当用户说"记经期/周期追踪/排卵期/生理期"时使用。记录周期起止,预测下次与排卵期,本地私密。
version: 1.0.0
category: 健康管理
platforms:
- WorkBuddy
- Claude Code
- Cursor
- QClaw
- ima
author: Dream
license: MIT经期/周期追踪
周期不规律,总措手不及。
适用场景
- 记录开始/结束日
- 预测下次与排卵期
- 标症状
核心能力
脚 本
c y c l e . p y
存 于
~ / . h e a l t h / c y c l e . j s o n
:
`
b
a
s
h
S K I L L
~ / . w o r k b u d d y / s k i l l s / d w
c y c l e
t r a c k e r
p y t h o n 3
$ S K I L L / c y c l e . p y
s t a r t
2 0 2 6
0 7
0 1
p y t h o n 3
$ S K I L L / c y c l e . p y
p r e d i c t
`
执行方式
本 skill 为工作流型,由 agent 按以下步骤执行,无需额外脚本:
上次 2026-07-01 周期28天
预计下次 2026-07-29 排卵约 07-15
示例
('cycle.py', '#!/usr/bin/env python3\n# -- coding: utf-8 --\n"""周期追踪:本地 JSON,预测下次与排卵。"""\nimport argparse, json, os\nfrom datetime import date, timedelta\nPATH = os.path.expanduser("~/.health/cycle.json")\n\ndef load():\n if not os.path.exists(PATH): return {"records":[]}\n with open(PATH, encoding="utf-8") as f: return json.load(f)\n\ndef save(d):\n os.makedirs(os.path.dirname(PATH), exist_ok=True)\n with open(PATH,"w",encoding="utf-8") as f: json.dump(d,f,ensure_ascii=False,indent=2)\n\ndef main():\n p=argparse.ArgumentParser(description="周期追踪")\n sub=p.subparsers(dest="c")\n ps=sub.add_parser("start"); ps.add_argument("ymd")\n def start(a):\n d=load(); d["records"].append(a.ymd); d["cycle"]=d.get("cycle",28); save(d)\n print("已记录开始 %s" % a.ymd)\n ps.set_defaults(f=start)\n pp=sub.add_parser("predict")\n def predict(a):\n d=load(); recs=d.get("records",[])\n if not recs: print("暂无记录"); return\n last=date.fromisoformat(recs[-1]); cyc=d.get("cycle",28)\n nxt=last+timedelta(days=cyc); ov=last+timedelta(days=cyc-14)\n print("上次 %s 周期%d天\n预计下次 %s 排卵约 %s" % (recs[-1], cyc, nxt.isoformat(), ov.isoformat()))\n pp.set_defaults(f=predict)\n args=p.parse_args()\n if not args.c: p.print_help(); return\n args.f(args)\n\nif name=="main":\n main()\n')
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 满足女性用户的健康管理需求
- 本地存储保障隐私安全
- 提供周期预测实用功能
Highlights
- 触发词覆盖全面且边界清晰
- description位置正确内容完整
Areas to improve
-
核心能力代码块格式异常 Reported severity: Minor
核心能力部分的代码块被拆分成单个字符换行,严重影响可读性
Recommendation: 将 cycle.py 的代码块正常格式化,避免字符级拆分
-
缺少 When to Use 章节 Reported severity: Minor
文档结构中缺少明确的使用时机说明章节
Recommendation: 添加 When to Use 章节,说明具体使用场景和时机
-
示例部分代码格式混乱 Reported severity: Minor
示例部分的代码格式不规范,影响理解
Recommendation: 规范示例代码的格式,确保可读性
Highlights
- 文档基本结构完整
- 包含适用场景和执行方式说明
Highlights
- 脚本逻辑完整,包含参数解析和异常处理
- 本地JSON存储路径明确
- 预测算法合理可靠
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Save or modify files
Confirm the output directory and whether existing files will be replaced. Back up important files and prefer a new output directory.
Mentioned in main document · lines 211
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.