Preface

Daily task lists are written in spreadsheets, but when it comes to actually getting started, one often hesitates among several options. Writing a random script yourself can pick one item, but you also have to handle filtering for Yin/Yang sections, mobile compatibility, and avoiding overwriting old links after every spreadsheet update—these miscellaneous steps easily slow down the pace.

Below is the introduction to the Agent Skill “What to do now?” (@user_d482a0dc/nirvana-lottery) on SkillHub. Centered around the “Define Life” workbook, it uses a script to generate a self-contained HTML mini-game and deploys it as an accessible link following the workflow in the skill documentation, turning “drawing a thing to do right now” into a fully reusable set of operations.

What is this

“What to do now?” is a community Skill, currently at version 1.5.0, categorized as life-service, and published by user_d482a0dc (marked as author “Luoyu” on the SkillHub page). The skill description and README position it as a companion mini-game for the Nirvana System: it reads the user-provided “Define Life” .xlsx file, generates an HTML page with zero external dependencies, and performs filtering and random selection based on Yin/Yang sections and activity lists within the browser.

The tag requires_api_key=false indicates that no additional API Key is needed after installation. SkillHub page statistics (based on captured data): Rating 100000, Downloads 836.

Official entry points:

  • SkillHub Page: https://www.skillhub.cn/skills/user_d482a0dc/nirvana-lottery
  • API Coordinate Page: https://api.skillhub.cn/user_d482a0dc/nirvana-lottery

Core Features

The following capabilities are derived from SKILL.md / README.md within the skill package and the v1.5.0 update notes. The Agent executes according to the documentation after installation.

  1. Excel → HTML: generate_lottery.py reads the “Define Life” workbook and writes activity data into a single-file HTML (no CDN dependency).
  2. Yin/Yang Sections: Only includes worksheets whose names contain “Define Life·Yin” or “Define Life·Yang” (v1.5.0 tightened the filter, excluding irrelevant sheets like “Undefined Life”); the page supports Yin/Yang filtering and one-click select-all, and fixed the logic issue where selecting only Yin could still result in drawing a Yang activity.
  3. Activity Management: Within the webpage, you can check/uncheck activities, add or delete activities and sections; the lottery features a rolling animation and history records, with sound effects implemented via Web Audio.
  4. Mobile: Responsive viewport; the README states it can be used in mobile browsers.
  5. Deployment & Links: The skill workflow requires copying the generated HTML to an index.html in a separate dist directory, and deploying it to CloudStudio via workbuddy_cloudstudio_deploy. Each use requires a different directory to obtain public URLs that do not overwrite each other (this step is written in the SKILL, targeting Agent environments that support this tool).

Technical dependencies (README): Python 3.11+, openpyxl; the frontend is pure HTML/CSS/JS.

Installation and Enablement

1. Install SkillHub CLI (if not already installed)

Check the CLI according to the SkillHub Installation Document:

command -v skillhub && skillhub --version

If not installed, you can execute the installation script in the documentation (requires internet connection):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install this Skill

When installing, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized.

skillhub install nirvana-lottery --namespace user_d482a0dc --dir <your skills directory>

Common path examples recorded in the documentation:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project
  • WorkBuddy (also mentioned in README): ~/.workbuddy/skills/

You can also send the following prompt to the Agent to let it operate according to the official installation instructions:

Please install `@user_d482a0dc/nirvana-lottery` based on https://skillhub.cn/install/skillhub.md.

After installation is complete, restart or refresh the Agent according to your client’s requirements so that SKILL.md is loaded.

Typical Usage

Trigger Methods

The trigger words listed by the skill include:

  • “What to do now”
  • “Generate a game”
  • “Turn my Define Life into a game”
  • User provides a Define Life Excel path and mentions “game” or “lottery”

Excel Format Requirements

The workbook must satisfy (excerpt from SKILL):

  • Worksheet names contain “Define Life·Yang” or “Define Life·Yin” (e.g., Define Life·Yang·Study)
  • Starting from row 4: Column A is the activity name, Column B is the score/penalty (can be left blank)

If the user is unclear about the format, the Agent can explain verbally according to the skill instructions or generate an example .xlsx in the conversation.

Generate HTML

Run the script in the skill directory. Do not manually specify the output path; let the script generate a unique filename with a timestamp:

cd <skill_dir>
python generate_lottery.py "<Excel Path>"

stdout will print the path of the generated lottery_<filename>_<timestamp>.html.

Deployment (according to SKILL workflow)

Use a new dist directory for each generation, copy the HTML as index.html, and then call workbuddy_cloudstudio_deploy, with directory pointing to that unique directory. The skill emphasizes: with a different directory each time, CloudStudio will assign a new sandbox, and links will not overwrite old versions.

After completion, send the public URL to the user and explain that it can be opened in a mobile browser; updating the Excel and regenerating will result in a new independent link.

Dialogue example (README):

“Turn my Define Life into a game”

Suitable Scenarios and Notes

Who it is for

  • Users who already use “Define Life / Nirvana System” style Excel to manage daily activities and hope to use random selection to alleviate decision paralysis.
  • Scenarios requiring quick access in mobile browsers where pages should not rely on external CDNs.

Limitations and Notes

  • The skill relies heavily on a specific Excel structure; if there is no existing workbook, you need to prepare or generate a sample file according to the format first.
  • generate_lottery.py requires a local Python environment and openpyxl; the SkillHub package does not include a binary .xlsx sample.
  • The CloudStudio deployment step is bound to workbuddy_cloudstudio_deploy; on Agents that only support local files, you may only get a local HTML and need to host or open the file yourself.
  • The README explains that the Nirvana System background and the Douyin account Nirvana_System are merely product context; lottery results do not constitute professional advice; use rationally.

v1.5.0 changes only affect worksheet filtering and the Yin/Yang mutual exclusion selection logic. If you previously treated worksheets with names containing “Define Life” but not Yin/Yang sheets as prize pools, the participation scope will become smaller after upgrading (Skill note: sections 7→6, activities 63→47 are only author’s self-test data; your file depends on the actual table structure).

Conclusion

“What to do now?” condenses the “Define Life” spreadsheet into a shareable lottery page: a local script generates self-contained HTML, which is then deployed as a link according to the skill documentation. It is suitable for users who have already structured their life tasks but want to determine a single action randomly before execution.

For installation and details, see SkillHub: https://www.skillhub.cn/skills/user_d482a0dc/nirvana-lottery