stock-data-skill
OpenClaw Skill for stock data analysis
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.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install fliellerjulian/pref0Inspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
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.
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 generating a response, fetch the user's learned preferences and follow them. This prevents the user from having to repeat themselves across sessions.
Base URL: https://api.pref0.com
Auth: Authorization: Bearer $PREF0_API_KEY
Send a conversation so pref0 can learn from it. It extracts corrections, explicit preferences, and behavioral patterns automatically.
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:
{
"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...
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# 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...OpenClaw Skill for stock data analysis
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 discove...
139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱"...
⚠️ 重要声明