本文へ移動
cccskills
無料GitHub で公開

behavior-log

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.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Behavior Log

Use scripts/behavior_log.py to insert one record into behavior_logs or read recent logs.

Run

uv run scripts/behavior_log.py write good --coach-comment "Kept focus"
uv run scripts/behavior_log.py write bad --pavlok-log '{"stimulusType":"zap","stimulusValue":30}'
echo '{"stimulusType":"beep","stimulusValue":100}' | uv run scripts/behavior_log.py write bad --pavlok-log -
uv run scripts/behavior_log.py write good --related-date 2026-01-26
uv run scripts/behavior_log.py read 2

Inputs

  • write mode: behavior must be good or bad.
  • write mode: --related-date accepts YYYY-MM-DD or YYYYMMDD.
  • write mode: --pavlok-log expects a JSON object string; use - to read from stdin.
  • write mode: --coach-comment is optional free text.
  • read mode: days is a positive integer (1 = today, 2 = today + yesterday).

Outputs

Write mode prints a single line of JSON:

{"id": 10}

Read mode prints a JSON array:

[{"id": 10, "behavior": "good", "related_date": "2026-01-26", "pavlok_log": null, "coach_comment": null, "created_at": "2026-01-26T09:00:00"}]

Notes

  • Database URL comes from DATABASE_URL (default: sqlite:///./app.db).

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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日 更新

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日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

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 のスキルをすべて見る

このスキルの問題を報告する