luck-habits

luck-habits: A "luck diary" (change-your-luck diary) personal growth journaling system based on Richard Wiseman’s luck behavior research. It guides users narratively to record daily events, intelligently extracts good/bad luck events, uses cognitive reframing to turn bad-luck perspectives into good-luck views, and recommends next-day tasks based on the user profile. Triggered when the user mentions “luck diary”, “change-luck diary”, “write diary”, “what happened today”, “record today”, or “luck journal”. Supports daily journaling, event analysis, mindset reframing, next-day task recommendations, growth tracking, progressive unlocks, luck personality, SSR tasks, and achievements.

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 "luck-habits" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-acf35ee3cdf3f783eb9b597ae00a6cc16307011cb4159c3d585800ddede27785. Verify the upstream source and version against https://skillhub.cn/skills/user_8742cc45/luck-habits 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

luck-habits: A "luck diary" (change-your-luck diary) personal growth journaling system based on Richard Wiseman’s luck behavior research. It guides users narratively to record daily events, intelligently extracts good/bad luck events, uses cognitive reframing to turn bad-luck perspectives into good-luck views, and recommends next-day tasks based on the user profile. Triggered when the user mentions “luck diary”, “change-luck diary”, “write diary”, “what happened today”, “record today”, or “luck journal”. Supports daily journaling, event analysis, mindset reframing, next-day task recommendations, growth tracking, progressive unlocks, luck personality, SSR tasks, and achievements.

0 Downloads

Introduction source: third_party · user_8742cc45 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: luck-habits
description: 好运日记(改运日记)—— 基于理查德·怀斯曼运气行为学的个人成长日记系统。通过叙事式引导帮助用户记录每日事件,智能提炼好运/霉运事件,运用认知重构将霉运转化为好运视角,并基于用户画像推荐明日任务。当用户提到"好运日记"、"改运日记"、"写日记"、"今天发生了什么"、"记录今天"、"运气日记"时触发。支持每日日记、事件分析、心态转换、明日任务推荐、成长追踪、渐进解锁、运势人格、SSR任务、成就系统。

好运日记 (Luck Habits) - SKILL 主文档

版本:v7.0 精简优化版 | 更新:2026-04-17


⚡ 命令驱动系统

所有操作通过命令触发!命令以 / 开头,识别后立即执行脚本!

核心命令映射表

# 核心命令
"/好运日记"     → python3 scripts/journal_manager.py start
"/写日记"       → python3 scripts/journal_manager.py start
"/签到"         → python3 scripts/checkin.py check

# 解锁与设置
"/金手指-XX解锁" → python3 scripts/cheat_manager.py "XX解锁"
"/设置人格-XX"   → python3 scripts/profile_manager.py set_persona "XX"
"/重置-确认"     → python3 scripts/profile_manager.py reset --confirm

# 查看信息
"/查看成就"     → python3 scripts/achievement_manager.py show
"/查看画像"     → python3 scripts/profile_manager.py show
"/查看统计"     → python3 scripts/stats.py overall
"/查看解锁"     → python3 scripts/unlock_manager.py show

# 分享与复盘
"/朋友圈"       → python3 scripts/social_share_manager.py
"/朋友圈-文案"   → python3 scripts/social_share_manager.py "文案"
"/本周复盘"     → python3 scripts/generate_review.py week
"/本月复盘"     → python3 scripts/generate_review.py month

# 帮助
"/帮助"         → 显示帮助文档
"/命令"         → 显示命令列表
"/版本"         → 显示版本信息

执行流程

用户输入命令 → AI识别命令 → 立即执行脚本 → 输出结果

严禁:反复思考、重复读取文件、多次调用use_skill、创建临时脚本


🎯 核心功能

1. 日记记录系统

  • 心情评分与颜色记录
  • 好运/霉运事件提炼
  • 心态转换引导
  • 明日任务推荐

2. 渐进解锁系统

  • 第2天:AI人格系统
  • 第3天:运势人格 + 运势签
  • 第5天:SSR任务系统
  • 第7天起:不同任务池
  • 第30天:完整功能

3. 双人格系统

AI人格(5种基础 + 3种特殊):

  • 温柔治愈系、毒舌傲娇系、元气少女系、大叔系、中二病系
  • 杨笠人格、特朗普人格、张雪峰人格

运势人格(8种):

  • 欧皇附体、非酋转世、锦鲤体质、玄学大师等

4. SSR任务系统

  • 任务稀有度:SSR(0.5%) / SR(5%) / R(20%) / N(74.5%)
  • 难度自适应:根据连续完成/失败天数调整
  • 20%概率注入惊喜任务

⚠️ 特殊情况处理

首次使用

当用户输入 /好运日记 且 ~/.luck-habits/data/profile.json 不存在时:

第1步:输出欢迎语
AI: "🌱 欢迎来到好运日记!花2分钟让我了解你..."

第2步:提供两种选择
    【方式1】快速填写表单:file:///.../onboarding-form.html
    【方式2】对话问答:直接回答问题

第3步:处理用户选择
- 表单方式:等待用户粘贴JSON数据
- 对话方式:逐个问题询问(人生阶段、MBTI、目标愿景、状态评估、今日心情)

第4步:创建用户画像
    python3 scripts/profile_manager.py create <数据>

第5步:输出画像摘要

非命令形式对话

  • 如果是提问 → 回答问题
  • 如果是闲聊 → 友好回应并提示可用命令
  • 其他情况 → 提示"请使用命令,输入 /帮助 查看帮助"

📁 文件结构

luck-habits/
├── SKILL.md                      # 本文档
├── scripts/                      # 核心脚本(13个)
│   ├── journal_manager.py        # 日记管理
│   ├── cheat_manager.py          # 金手指管理
│   ├── achievement_manager.py    # 成就管理
│   ├── checkin.py                # 打卡管理
│   ├── unlock_manager.py         # 解锁管理
│   ├── stats.py                  # 统计分析
│   ├── generate_review.py        # 复盘生成
│   ├── hint_generator.py         # 运势签生成
│   ├── social_share_manager.py   # 朋友圈分享
│   ├── task_generator.py         # SSR任务生成
│   ├── profile_manager.py        # 用户画像管理
│   └── data_migration.py         # 数据迁移
├── references/                   # 参考文档
│   ├── command-reference.md      # 完整命令参考
│   ├── cli-guide.md              # CLI使用指南
│   ├── faq.md                    # 常见问题
│   ├── ai-personas.md            # AI人格定义
│   ├── luck-personas.md          # 运势人格定义
│   ├── special-personas.md       # 特殊人格定义
│   ├── yangli-persona.md         # 杨笠人格
│   └── achievements.md           # 成就定义
├── assets/                       # 资源文件
└── onboarding-form.html          # 入门表单

🔗 详细文档

  • 完整命令参考:references/command-reference.md
  • CLI使用指南:references/cli-guide.md
  • 常见问题:references/faq.md
  • AI人格定义:references/ai-personas.md
  • 完整规划方案:好运日记-SKILL规划方案.md

💡 使用示例

示例1:开始写日记

用户: /好运日记

AI: (立即执行)
    cd /Users/zhangchonghua/WorkBuddy/20260408153802/luck-habits/scripts
    python3 journal_manager.py start

    📝 开始今天的日记...
    🌸 温柔治愈系:今天过得怎么样呢?

示例2:解锁特朗普人格

用户: /金手指-特朗普人格解锁

AI: (立即执行)
    python3 cheat_manager.py "特朗普人格解锁"

    ✅ 特朗普人格已解锁!
    🇺🇸 没人比我更懂运气!相信我,你会拥有最好的运气!

示例3:查看成就

用户: /查看成就

AI: (立即执行)
    python3 achievement_manager.py show

    🏆 你的成就列表
    ✅ 初次邂逅 - 首次使用好运日记
    ✅ 连续打卡7天 - 坚持记录一周
    ⏳ 欧皇降临 - 获得SSR任务(进行中)

🚀 性能优化

本版本已优化:

  • ✅ SKILL.md精简至150行(从350行)
  • ✅ 所有脚本支持CLI调用
  • ✅ 无需创建临时脚本
  • ✅ 危险操作使用备份机制
  • ✅ 详细文档移至references/

预期性能:

  • 响应时间:<2秒
  • 文件读取:0次
  • Token消耗:降低约30%

📊 版本历史

  • v7.0 (2026-04-17):精简优化版,SKILL.md从350行优化至150行
  • v6.0 (2026-04-16):命令驱动版,所有功能通过命令触发
  • v5.0 (2026-04-16):完整版,包含所有功能模块

开始使用:输入 /好运日记 或 /帮助 🎉

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供基于理查德·怀斯曼运气行为学的完整个人成长日记系统
  • 包含日记记录、心态转换、任务推荐、成就系统等闭环功能
  • 支持渐进解锁、双人格系统、SSR任务等创新玩法
Trigger Precision90/100

Highlights

  • 触发词覆盖全面,包含6个核心场景关键词
  • 边界清晰,不易与其他日记类Skill混淆
Structure and Standards88/100

Areas to improve

  • 缺少When to Use章节 Reported severity: Minor

    文档结构完整但未明确设置When to Use使用场景说明章节

    Recommendation: 建议在核心功能后增加When to Use章节,明确说明适用场景和使用时机

Highlights

  • 采用命令驱动系统设计,结构清晰易理解
  • 提供完整的使用示例和特殊情况处理流程
  • frontmatter完整,版本信息明确
Execution Reliability85/100

Highlights

  • 所有操作通过标准化命令触发,执行路径明确
  • 首次使用有完整引导流程,降低用户上手门槛
  • 危险操作设置确认机制,保障数据安全
Evidence Verifiability (mean of the first four)87/100

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.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.