onboarding

ginlix-ai/LangAlpha

Первичная настройка: инвестпрофиль, вотчлисты, портфель и предпочтения.

Звёзды2 324
Авторginlix-ai

Установка

SKILL.md

Onboarding Skill

Purpose

Help new users set up their investment profile through a natural, conversational flow. The agent gathers preferences and stores them as rich, descriptive text that future conversations can reference for personalized advice.

This skill provides 5 tools:

  • get_user_data - Read user data
  • update_user_data - Create or update user data
  • remove_user_data - Delete user data
  • manage_workspaces - Create workspaces (via action="create")
  • ptc_agent - Dispatch a research question to a workspace

You should call these tools directly instead of using ExecuteCode tool.


Tool Reference

Tool 1: get_user_data

Retrieve user data by entity type.

EntityDescriptionentity_id
allComplete user data (profile, preferences, watchlists with items, portfolio)Not used
profileUser info (name, timezone, locale)Not used
preferencesAll preferences (risk, investment, agent)Not used
watchlistsList of all watchlistsNot used
watchlist_itemsItems in a specific watchlistOptional watchlist_id
portfolioAll portfolio holdingsNot used
# Get complete user data (recommended at start of onboarding)
get_user_data(entity="all")

Tool 2: update_user_data

Create or update user data (upsert semantics). Preference entities merge by default.

EntityDescription
profileUser info (name, timezone, locale, onboarding_completed)
risk_preferenceRisk tolerance settings
investment_preferenceInvestment style settings
agent_preferenceAgent behavior settings
watchlistCreate or update a watchlist
watchlist_itemAdd or update item in watchlist
portfolio_holdingAdd or update a portfolio holding

All preference fields accept any descriptive string. Extra fields are allowed and persisted.

# Good - rich context that helps future conversations
update_user_data(entity="risk_preference", data={
    "risk_tolerance": "Moderate - comfortable with market swings but avoids concentrated bets",
    "notes": "Lost money in 2022 tech crash, now prefers diversification"
})

# Bad - keyword with no context
update_user_data(entity="risk_preference", data={"risk_tolerance": "medium"})

Tool 3: remove_user_data

Delete user data by entity type.

EntityIdentifier fields
watchlistwatchlist_id or name
watchlist_itemsymbol (+ optional watchlist_id)
portfolio_holdingsymbol (+ optional account_name)

Tool 4: manage_workspaces (action="create")

Create the user's first workspace. This requires user approval — the user sees a card and must approve.

ParameterTypeDescription
actionstringMust be "create"
namestringName for the workspace (e.g. "My Portfolio Analysis")
descriptionstringBrief description of the workspace purpose
manage_workspaces(action="create", name="My Portfolio Analysis", description="Track and analyze my stock portfolio")

Returns { success: true, workspace_id: "...", workspace_name: "..." } on approval, or "User declined workspace creation." on rejection.

Tool 5: ptc_agent

Dispatch a personalized research question to a workspace. This requires user approval — the user sees the question and can approve to start the analysis.

ParameterTypeDescription
questionstringAn actionable question related to the user's interests
workspace_idstringThe workspace ID (from manage_workspaces result)
ptc_agent(
    question="Analyze my NVDA position — what's the current technical setup and any upcoming catalysts I should watch for?",
    workspace_id="abc-123"
)

Returns { success: true, workspace_id: "...", thread_id: "...", status: "dispatched" } on approval, or "User declined research dispatch." on rejection.


What to Gather

Stocks (Required, Structured)

At least one stock must be added to the watchlist or portfolio before onboarding can complete. Use the structured watchlist_item or portfolio_holding entities.

# Watchlist item
update_user_data(entity="watchlist_item", data={
    "symbol": "NVDA", "notes": "Watching for AI chip growth"
})

# Portfolio holding
update_user_data(entity="portfolio_holding", data={
    "symbol": "AAPL", "quantity": 50, "average_cost": 175.0
})

Risk & Investment Profile (Required, Flexible)

Gather enough context so future conversations can give personalized advice. At minimum, capture risk_tolerance on risk_preference. Topics to explore:

  • Risk comfort - How much volatility can they handle? Any past experiences that shaped their risk view?
  • Investment style - Growth, value, income, ESG? Any sectors they avoid or focus on?
  • Time horizon - Short-term trading, long-term holding, or flexible?
  • Analysis preference - Do they care most about growth metrics, valuation, competitive moat, or risk factors?

Store these as descriptive text across risk_preference and investment_preference:

update_user_data(entity="risk_preference", data={
    "risk_tolerance": "Conservative - prioritizes capital preservation, uncomfortable with >10% drawdowns",
    "notes": "Nearing retirement in 5 years, shifting from growth to income"
})

update_user_data(entity="investment_preference", data={
    "company_interest": "Dividend-paying blue chips and REITs for income",
    "holding_period": "Long-term (5+ years), rarely sells",
    "analysis_focus": "Dividend sustainability, payout ratio, and balance sheet strength",
    "avoid_sectors": "Crypto, speculative biotech"
})

Agent Preferences (Optional, Flexible)

How does the user want the agent to behave? Topics to explore:

  • Output style - Quick bullet points, balanced summaries, or deep dives?
  • Visualization - Always include charts, only when helpful, or prefer text?
  • Proactive questions - Should the agent ask before acting, use its judgment, or only ask when critical?
  • Anything else - Notes, instructions, preferences the user wants remembered.
update_user_data(entity="agent_preference", data={
    "output_style": "Balanced summary with key numbers highlighted",
    "data_visualization": "Include charts when comparing multiple stocks",
    "proactive_questions": "Use your judgment, only ask when the decision significantly impacts the analysis",
    "instruction": "Always mention if a stock has upcoming earnings within 2 weeks"
})

Conversation Guide

Always Use AskUserQuestion

Present options so the user can tap instead of type. Options are starting points for richer conversation, not rigid mappings. After the user selects an option, capture the full context of their choice (including any follow-up detail) as descriptive text.

Example AskUserQuestion options by topic:

Risk comfort:

  • "Conservative - protect my capital"
  • "Moderate - balanced risk and reward"
  • "Aggressive - maximize growth potential"
  • "I have a nuanced view"

Investment style:

  • "Growth companies with strong momentum"
  • "Stable dividend payers for income"
  • "Undervalued opportunities"
  • "ESG / sustainable investing"

Time horizon:

  • "Short-term (under 1 year)"
  • "Medium-term (1-5 years)"
  • "Long-term (5+ years)"
  • "Flexible - depends on the opportunity"

Analysis preference:

  • "Focus on growth metrics (revenue, earnings growth)"
  • "Focus on valuation (P/E, DCF)"
  • "Focus on competitive moat and market position"
  • "Focus on risk factors and downside protection"

Output style:

  • "Quick bullet points - just the highlights"
  • "Balanced summary with supporting data"
  • "In-depth deep dive with full analysis"
  • "Data-heavy with charts and numbers"

Visualization:

  • "Always include charts and visuals"
  • "Include when it helps explain something"
  • "Prefer text-only analysis"

Proactive questions:

  • "Ask me before making decisions"
  • "Use your judgment most of the time"
  • "Only ask when it's critical"

Storing Responses

After the user selects an option (or provides a custom answer), store the descriptive text, not a keyword:

# User selected "Moderate - balanced risk and reward" and added
# "but I get nervous during big market drops"
update_user_data(entity="risk_preference", data={
    "risk_tolerance": "Moderate - balanced risk and reward, but gets nervous during big market drops"
})

Conversation Flow

  1. Start - Greet the user, explain what you'll set up, and ask about stocks they're watching or own.
  2. Stocks - Add their stocks to watchlist/portfolio. Ask follow-up for holdings (quantity, cost basis).
  3. Risk & Investment - Use AskUserQuestion for each topic. Follow up naturally for more detail.
  4. Agent Preferences - Optional. Ask about output style, visualization, proactive questions.
  5. Open-ended - "Anything else I should know about how you like to work?"
  6. Complete - Summarize what was set up, mark onboarding complete.
  7. Workspace & Question - After completing onboarding, create a workspace using manage_workspaces(action="create", name="...", description="...") with a name and description that fits the user's interests. Then use ptc_agent(question="...", workspace_id="...") with the returned workspace_id to dispatch an actionable starter question based on the user's stocks or interests. The question should be specific and immediately useful (e.g. "Analyze my NVDA position — what are the key technical levels and upcoming catalysts?" rather than "Tell me about stocks").

Don't ask all questions at once. Let the conversation flow naturally. If the user wants to skip optional topics, respect that.

Not Exhaustive

The listed topics are a starting point. If the conversation naturally reveals other preferences (e.g., specific sectors to avoid, earnings season behavior, news sensitivity), store those too. Any extra fields are accepted via extra="allow" on the models.


Completion Requirements

Before marking onboarding complete, verify:

  1. At least one stock was added (watchlist or portfolio)
  2. Risk preference was set (any truthy value in risk_preference)
# Mark onboarding complete
update_user_data(entity="profile", data={"onboarding_completed": true})

If missing:

  • No stocks: "Before we finish, let's add at least one stock you're interested in. What's a stock you're watching or own?"
  • No risk preference: "One more thing - I'd like to understand your risk comfort level so I can tailor my advice."

Tips

  1. Be conversational - Don't interrogate. Let topics flow naturally and combine related questions.
  2. Use AskUserQuestion for choices - Always present options as selectable buttons. Only use plain text for open-ended input (stock symbols, quantities, notes).
  3. Handle partial info - If the user says "I own some AAPL", follow up for quantity and cost basis.
  4. Confirm entries - After saving, briefly confirm: "Added AAPL (50 shares @ $175) to your portfolio."
  5. Capture context, not keywords - The user's words and nuances are more valuable than a one-word category.
  6. Use defaults - If user doesn't specify a watchlist, items go to the default one automatically.
  7. Respect skips - Investment preferences and agent preferences are optional. Don't push if the user wants to move on.

Error Handling

  • If a stock is already in a watchlist, inform the user and offer alternatives
  • If a holding already exists, offer to update it instead of creating a duplicate
  • If user_id is not available, inform that the user needs to be logged in

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: onboarding](https://darkplay.ru/ai/skills/ginlix-ai-langalpha-onboarding)

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

Spec Mineraffaan-m · Извлекает поведенческие спецификации из кода для OpenSpec в виде блоков Requirement и…
225 587 ★
shopify-ai-toolkitanthropics · AI Toolkit от Shopify: 18 навыков разработки для платформы Shopify, включая поиск по…
100 комп.
git-pr-workflowswshobson · Автоматизация Git-процессов, улучшение pull request'ов и адаптация новых членов команды.
495 комп.
kyc-screeneranthropics · Разбирает документы онбординга, запускает движок правил, отмечает пробелы
186 комп.
human-resourcesanthropics · Оптимизация HR-процессов: рекрутинг, онбординг, оценка эффективности, анализ компенсаций…
233 комп.
Stackhawk Security Onboardinggithub · Автоматически настраивает тестирование безопасности StackHawk для репозитория: генерирует…
36 140 ★
engineering-advanced-skillsalirezarezvani · 37 продвинутых инженерных навыков: дизайн агентов, RAG-архитектор, проектирование БД и…
510 комп.
markdown-html-skillsalirezarezvani · Конвертация markdown в интерактивный HTML: 5 навыков, включая конвертер слайдов.
510 комп.
research-ops-skillsalirezarezvani · Домен Research Operations: 5 навыков, включая клинические исследования и оркестратор.
510 комп.
executive-onboarding-playbookdeanpeters · Составить план диагностического онбординга VP или CPO на 30-60-90 дней.
8 061 ★

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации изображений

Генерация изображений

Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты

MagviMagvi
По запросу
5.0
DALL-E 3OpenAI
По подписке
5.0
SupaLabSupalab
По запросу
5.0
Freestyling.aiFreestyling
Есть бесплатный тариф
4.9
ArtGeneration.meArtgeneration
Есть бесплатный тариф
4.9
BigjpgBigjpg
По запросу
4.9
Художник от VKVK
Бесплатно
4.9
Wonderink — ИИ-книги
Есть бесплатный тариф
4.8
Avato AI12ai
По запросу
4.8
Virton AIVirton
По запросу
4.8