跳到正文
cccskills
免费在 GitHub 公开

repentance

Execute pending daily punishments by sending Pavlok stimuli via scripts/repentance.py. Use when you need to run the punishment cycle.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Repentance

Use scripts/repentance.py to execute pending punishments and update daily_punishments.

Run

uv run scripts/repentance.py

Inputs

This script takes no CLI arguments.

Environment

  • PAVLOK_TYPE_PUNISH is required (e.g., zap, vibe, beep).
  • PAVLOK_VALUE_PUNISH is required (integer).
  • PUNISH_INTERVAL_SEC is optional (integer, default 1).
  • PAVLOK_API_KEY is required by scripts/pavlok.py.
  • If using zap, LIMIT_DAY_PAVLOK_COUNTS and LIMIT_PAVLOK_ZAP_VALUE are required.

Outputs

Prints a single line of JSON:

{"executed": 2}

Notes

  • Processes daily_punishments rows in pending or failed state.
  • Marks rows running while executing, updates executed_count, and sets failed on errors or rate limits.
  • Always creates a new pending daily_punishments row after processing.
  • Database URL comes from DATABASE_URL (default: sqlite:///./app.db).

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Insert schedule rows into the local database (schedules) from a JSON array. Use when bulk-loading schedule entries with prompt_name, input_value, and scheduled_date via scripts/add_schedules.py.

中文简介正在准备中。当前显示原文说明。

motoya0118/pavlok_CLI_agent722026年4月9日 更新

Insert a Slack ignore event and update daily punishments using scripts/add_slack_ignore_events.py. Use when a Slack message was ignored and you need to record it.

中文简介正在准备中。当前显示原文说明。

motoya0118/pavlok_CLI_agent722026年4月9日 更新

Insert or read behavior log rows in the local database (behavior_logs). Use when recording a good/bad behavior entry, attaching a Pavlok API response JSON, adding a coach comment, or fetching recent logs via scripts/behavior_log.py.

中文简介正在准备中。当前显示原文说明。

motoya0118/pavlok_CLI_agent722026年4月9日 更新

Read target remind schedules and recent action_logs (last 3 days) as JSON for agent comment generation.

中文简介正在准备中。当前显示原文说明。

motoya0118/pavlok_CLI_agent722026年4月9日 更新

pavlok

免费

Send a Pavlok stimulus via the Pavlok API using scripts/pavlok.py. Use when you need to trigger vibe/beep/zap with a numeric value in this repo and print the API response.

中文简介正在准备中。当前显示原文说明。

motoya0118/pavlok_CLI_agent722026年4月9日 更新

slack

免费

Post a question to Slack and wait for a reply, or post a reply into a thread using scripts/slack.py.

中文简介正在准备中。当前显示原文说明。

motoya0118/pavlok_CLI_agent722026年4月9日 更新

查看 motoya0118 的全部技能

报告此技能的问题