package-context-sql-blue
Local PostgreSQL for agent context
Use the blue launcher beside this file to initialize a dedicated PostgreSQL instance under the current user's home. Run as the normal user with PostgreSQL 16 or newer binaries, Python 3.11 or newer, uv, and Git on PATH. The skill includes devenv.nix and .envrc for hosts using Nix, devenv, and direnv. Copy both into the deployment directory and run direnv allow to supply PostgreSQL and the other runtime tools. Installing this Package Skill also requires Node.js and npx.
Copy the launcher into the chosen deployment directory and create colors.yml there. Resolve the source blue path relative to this skill directory, not the shell's working directory.
profile: context-sql-local
context-sql-state-dir: ~/.local/share/context-sql
context-sql-config: ~/.config/context-sql/connections.json
context-sql-skill-dir: ~/.codex/skills/sql-context
context-sql-install-skill: true
context-sql-service: false
Paths expand for the user running the launcher. colors.yml contains only non-secret settings. Edit it to change the deployment. Keep database files and credentials outside the deployment directory and Git. Add .colors/ and .envrc.private to the deployment .gitignore. Never set COLORS_PAR_PROFILE.