pavlok_CLI_agent: Skill for Codex

.codex/skills/behavior-log/SKILL.md

behavior-log is a skill for Codex from motoya0118/pavlok_CLI_agent. It costs 51 tokens per session (444 once invoked), scanned A, original, Apache-2.0.

A local record-keeping helper for writing and reading behavior log entries. Entries can be marked good or bad and may include a date, coach comment, or Pavlok device response.

In plain words
What is it for?
Use it to record daily behavior outcomes, attach Pavlok response JSON, add coaching comments, or read recent log entries.
Why use it?
It keeps behavior observations in one searchable database instead of relying on scattered notes, while preserving related device data when supplied.

Skill for Codex

Written for Codex: installed under .codex/.

This is motoya0118/pavlok_CLI_agent's own configuration. It tells Codex how to work on pavlok_CLI_agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pavlok_CLI_agent configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run scripts/behavior_log.py write good --coach-comment "Kept focus".

Reuse

Borrowing it

Nothing to install: this file belongs to motoya0118/pavlok_CLI_agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/motoya0118/pavlok_CLI_agent/main/.codex/skills/behavior-log/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/motoya0118/pavlok_CLI_agent

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for behavior-log

README.md
[![agentmods](https://agentmods.dev/badge/skills/motoya0118/pavlok_cli_agent/behavior-log/github.svg)](https://agentmods.dev/skills/motoya0118/pavlok_cli_agent/behavior-log)
Your own site
<a href="https://agentmods.dev/skills/motoya0118/pavlok_cli_agent/behavior-log"><img src="https://agentmods.dev/badge/skills/motoya0118/pavlok_cli_agent/behavior-log/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for behavior-log

Your own site · 80×15
<a href="https://agentmods.dev/skills/motoya0118/pavlok_cli_agent/behavior-log"><img src="https://agentmods.dev/badge/skills/motoya0118/pavlok_cli_agent/behavior-log.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 444 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00444
Opus 5.5 $0.00020 $0.00178
Sonnet 5.5 $0.00010 $0.00089
Haiku 4.5 $0.00005 $0.00044

Measured 1mo ago against content hash 4bfb2fdd7c3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

behavior-log scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.codex/skills/behavior-log/SKILL.md · 57 lines

What it actually says

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).
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 57 lines · 51 tokens per session scan A 4bfb2fdd7c3a

Subscribe to this mod's changes

behavior-log is a skill published in the GitHub repository motoya0118/pavlok_CLI_agent (72 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 51 tokens to every session and 444 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.

Related

behavior-log compared with skills from other repositories

behavior-log next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
behavior-logmotoya0118/pavlok_CLI_agentSkill727mo agoApache-2.0A51Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code