smithery.ai

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.

First seen Mar 27, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,542 B
  • docs SUMMARY.md 252 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Behavior Log

Use scripts/behaviorlog.py to insert one record into behaviorlogs 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).