Peptalk
Peptalk is a codex skill that knows what you've been working on for the past 30 minutes and is always available to give you a motivating pep talk and expert advice.
Core trick
Reads recent worklog entries from SQLite, summarizes them with an LLM, then converts a 70–90 word script into audio.
Description
Peptalk is a codex skill that knows what you've been working on for the past 30 minutes and is always available to give you a motivating pep talk and expert advice.
README excerpt
# Peptalk Peptalk is a local prototype that turns recent Hindsight worklogs into a short, expert-style motivational pep talk. The current workflow fetches the latest worklog entries from a local SQLite DB, summarizes the work, and generates a ~30-second audio clip. Path placeholders used below: - `$PROJECT_ROOT` is the path to this repository. - `$HINDSIGHT_DB` is the path to your local Hindsight SQLite database. Set them before running the commands, for example: ```bash export PROJECT_ROOT="/path/to/peptalk" export HINDSIGHT_DB="/path/to/hindsight/worklogs.db" ``` **Overview** - Pulls the most recent Hindsight worklogs from a local SQLite database. - Produces a one-paragraph summary and a 70–90 word pep talk script. - Generates an AI-voice audio clip from the script. - Sample outputs live in `$PROJECT_ROOT/output`. **Repository Layout** - `$PROJECT_ROOT/planning.md` contains the product idea, workflow, and system notes. - `$PROJECT_ROOT/skills/hindsight-peptalk/SKILL.md` is the Codex skill guide for generating a pep talk. - `$PROJECT_ROOT/skills/hindsight-peptalk/scripts/fetch_worklogs.py` pulls worklogs from the Hindsight DB. - `$PROJECT_ROOT/output` stores generated media artifacts. **Requirements** - Python 3 for the fetch script. - A local Hindsight database (default path: `$HINDSIGHT_DB`). - OpenAI API access for speech generation and `OPENAI_API_KEY` set in your environment. - The Codex `speech` skill installed at `$CODEX_HOME/skills/speech` to use the bundled T