Back to list
motoya0118

behavior-log

by motoya0118

CLI agentにpavlokを使用させたらどうなるか自傷実験

66🍴 2📅 Jan 23, 2026

SKILL.md


name: behavior-log description: 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.

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 read 2

Inputs

  • write mode: behavior must be good or bad.
  • 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).

Notes

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

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon