Overview
- Skill Key
- fliellerjulian/pref0
- Author
- fliellerjulian
- Source Repo
- openclaw/skills
- Version
- 1.0.0
- Source Path
- skills/fliellerjulian/pref0
- Latest Commit SHA
- 0fb5c046213e771a3a38167a9db7a3351f60e7ef
Learn user preferences from conversations and personalize responses automatically. Preferences compound over time — corrections like "use TypeScript, not JavaScript" are captured and injected into future sessions.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 pref0 技能。 若已安装,则直接安装 pref0 技能。
# 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`
### Track a conversation (POST /v1/track)
Send a conversation so pref0 can learn from it. It extracts corrections, explicit preferences, and behavioral patterns automatically.
```bash
curl -X POST https://api.pref0.com/v1/track \
-H "Authorization: Bearer $PREF0_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "<user-id>",
"messages": [
{ "role": "user", "content": "Help me set up a new project" },
{ "role": "assistant", "content": "Here is a project using npm and JavaScript..." },
{ "role": "user", "content": "Use pnpm, not npm. And TypeScript." },
{ "role": "assistant", "content": "Updated to pnpm and TypeScript..." }
]
}'
```
**Response:**
```json
{
"messagesAnalyzed": 4,
"preferences": { "created": 2, "reinforced": 0, "decreased": 0, "removed": 0 },
"patterns": { "created": 1, "reinforced": 0 }
}
```
The response tells you how many messages were processed (`messagesAnalyzed`) and exactly what changed: `created` (new preference learned), `reinforced` (existing preference seen again, confidence increased), `decreased` (user retr...
openstockdata
OpenClaw Skill for stock data analysis
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
capgoblin
Access unsecured credit lines for AI agents on the Arc Network using the Credex Protocol. Use for borrowing USDC against reputation, repaying debt to grow credit limits, providing liquidity as an LP, or managing cross-chain USDC via Circle Bridge. Triggers on "borrow from credex", "repay debt", "deposit to pool", "check credit status", "provide liquidity", or any credit/lending task on Arc.
capt-marbles
Control PhantomBuster automation agents via API. List agents, launch automations, get output/results, check status, and abort running agents. Use when the user needs to run LinkedIn scraping, Twitter automation, lead generation phantoms, or any PhantomBuster workflow.
camelsprout
DuckDB CLI specialist for SQL analysis, data processing and file conversion. Use for SQL queries, CSV/Parquet/JSON analysis, database queries, or data conversion. Triggers on "duckdb", "sql", "query", "data analysis", "parquet", "convert data".
camohiddendj
DuckDuckGo HTML search scraper CLI with JSON, CSV, OpenSearch, markdown, and compact outputs.