pref0
Installation
SKILL.md
pref0 — Preference Learning for AI Agents
You have access to the pref0 API. It learns user preferences from conversations and serves them back at inference time. The more conversations you track, the better it gets.
When to use this skill
After a conversation ends → Track it
After finishing a conversation (or at natural breakpoints), send the messages to pref0 so it can extract preferences. This is especially valuable when the user corrects you (e.g., "use pnpm, not npm") or states explicit preferences (e.g., "always use metric units").
Before responding to a user → Fetch their preferences
Before generating a response, fetch the user's learned preferences and follow them. This prevents the user from having to repeat themselves across sessions.
API Reference
Base URL: https://api.pref0.com
Auth: Authorization: Bearer $PREF0_API_KEY