Files
full-focus/scripts
2026-02-03 11:48:59 -05:00
..
2026-02-03 11:48:59 -05:00
2026-02-03 11:48:59 -05:00
2026-02-03 11:48:59 -05:00

Weekly Planning Scripts

Setup

1. Install dependencies

cd /Users/aj.siegel/Projects/FullFocus
pip3 install -r scripts/requirements.txt

2. Get your Notion API Token

  1. Go to https://www.notion.so/my-integrations
  2. Click "+ New integration"
  3. Name it "Weekly Planning Script" (or whatever you prefer)
  4. Select your workspace
  5. Click "Submit"
  6. Copy the "Internal Integration Token"

3. Share databases with your integration

For each database (Projects, Tasks Tracker, Reading List):

  1. Open the database page in Notion
  2. Click "..." menu → "Connections"
  3. Add your "Weekly Planning Script" integration

4. Set environment variable

Add to your ~/.zshrc or ~/.bash_profile:

export NOTION_TOKEN="secret_your_token_here"

Then reload: source ~/.zshrc

Usage

Run the script to fetch weekly planning data:

python3 scripts/fetch_weekly_data.py

Or add it to your PATH and run directly:

./scripts/fetch_weekly_data.py

This outputs JSON with:

  • Projects marked "Focus this week"
  • Tasks due within the next 7 days
  • Reading list articles (To Read or In Progress)

The weekly-template skill automatically calls this script to generate your weekly note, reducing AI inference costs.