تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

pref0

بواسطة fliellerjulian

Web & Frontend Development
1.2kالتنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Learn user preferences from conversations and personalize responses automatically.

الوصف

ما الذي تفعله هذه المهارة

pref0 learns user preferences from conversation history and injects them into future sessions automatically. Corrections like "use pnpm, not npm" are extracted, scored by confidence, and served back via a ready-to-use system prompt string. Preferences compound across sessions as the same signals repeat.

Instead of manually maintaining a preferences file or re-stating preferences each session, pref0 extracts and scores them automatically from natural conversation corrections.

متى تستخدمها

  • Stop repeating tooling preferences to an AI agent every session
  • Capture corrections mid-conversation and apply them going forward
  • Inject personalized context into agent system prompts at inference time
  • Reset a user's preference profile on request or account deletion
  • Build multi-user AI apps where each user gets personalized defaults

مثال على سير العمل

الإدخال

User asks: Help me scaffold a new web project

الوكيل
  1. 1

    Fetch preferences via GET /v1/profiles/{userId}?minConfidence=0.5

  2. 2

    Append the returned prompt field to the system prompt

  3. 3

    Generate scaffold using the learned preferences (TypeScript, pnpm, Tailwind)

  4. 4

    After session ends, call POST /v1/track with the full message history

  5. 5

    pref0 extracts any new corrections or preferences and updates confidence scores

الإخراج

Scaffolded project matches user's known preferences without any explicit instruction; new corrections from the session are stored for next time

المتطلبات

  • PREF0_API_KEY environment variable
  • pref0 account (sign up at pref0.com/signup)

التثبيت

clawhub install fliellerjulian/pref0

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط