Onboarding 标志

Onboarding

社区热门
huytieu
onboarding

Personalize COG for your workflow - creates profile, interests, and watchlist files with guided setup (run this first!)

Add to TypingMind

概览

发布者huytieu
代码仓库COG-second-brain
技能名称onboarding
星标数
1.2K
复刻数
138
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 huytieu 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Onboarding AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/huytieu/COG-second-brain/tree/main/skills/onboarding
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huytieu/COG-second-brain.git /tmp/COG-second-brain
mkdir -p .claude/skills
cp -r /tmp/COG-second-brain/skills/onboarding .claude/skills/onboarding
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Onboarding,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Onboarding。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Onboarding 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

COG Onboarding Skill

Purpose

Welcome new users and collect essential information to personalize their COG experience. All configuration is stored as natural markdown files within the vault structure, following COG's philosophy of transparent, editable knowledge.

When to Invoke

  • User explicitly requests /onboarding or mentions "onboarding" or "setup COG"
  • User is new and hasn't completed onboarding yet
  • User wants to update their profile or add new projects
  • Any time profile customization is needed

Core Design Principle: Smart, Low-Friction Onboarding

The onboarding MUST feel like a natural conversation, NOT a form to fill out.

Key rules:

  • Ask open-ended questions, not option-pickers. Never present numbered lists of choices for the user to pick from.
  • Ask as few questions as possible. Infer what you can from context and the user's natural responses.
  • Never ask redundant questions. If you can extract the answer from something the user already said, don't ask again.
  • Parse intelligently. If someone says "I'm Alex, a PM at a fintech startup tracking Stripe and Plaid", extract: name=Alex, role=PM at fintech startup, watchlist=[Stripe, Plaid]. Don't ask follow-up questions for info already given.
  • Confirm, don't re-ask. If you're unsure about something the user said, confirm your interpretation rather than asking the question fresh.

Process Flow

1. Welcome Message

Greet the user warmly and explain what COG is:

Welcome to COG - your self-evolving second brain powered by Claude + Obsidian + Git!

COG helps you capture thoughts, get daily intelligence briefings, and build knowledge over time - all stored as simple markdown files you own.

Let's get you set up. Tell me a bit about yourself - your name, what you do, and what topics or areas you're most interested in staying sharp on. Feel free to share as much or as little as you'd like.

This single open-ended prompt replaces the old sequential questions. The user can naturally mention their name, role, interests, sources, projects, and competitors all at once - or just share a few things.

2. Check for Existing Profile

Look for 00-inbox/MY-PROFILE.md. If it exists:

I found an existing COG profile! What would you like to update? Just tell me what you'd like to change - your interests, projects, profile info, or anything else.

Don't present a numbered menu. Let them describe what they want in natural language.

3. Intelligent Information Extraction

After the user responds, extract as much as possible from their natural language:

FieldHow to Extract
NameLook for self-introduction patterns ("I'm Alex", "My name is...", "Call me..."). Use first name by default.
RoleLook for job/activity mentions ("I'm a PM", "I work in...", "software engineer at...").
InterestsLook for topic mentions ("interested in AI", "following crypto", "love design"). Also infer from role context.
News SourcesLook for source mentions ("I read HN", "follow on Twitter"). If not mentioned, skip - it's optional.
ProjectsLook for project mentions ("working on a SaaS app", "building..."). If not mentioned, skip.
Competitive WatchLook for company/person mentions ("tracking Stripe", "watching what OpenAI does"). If not mentioned, skip.

4. Smart Follow-Up (Only If Needed)

After extracting what you can, check what's missing from the required fields only:

  • Name (required)
  • Role (required)
  • Interests (required - need at least 2-3 topics)

If any required field is missing, ask ONE follow-up that covers all gaps. For example:

Thanks! I got your name and role. What topics are you most interested in staying updated on? (e.g., AI, startups, design, health - whatever matters to you)

Optional fields (news sources, projects, competitive watch) should NEVER generate follow-up questions. If the user didn't mention them, skip them. They can always add them later by editing the files or running onboarding again.

5. Confirm and Create

Before creating files, briefly confirm what you captured and ask about agent team mode:

Here's what I've got:

- **Name**: Alex
- **Role**: Product Manager at a fintech startup
- **Interests**: AI/ML, fintech trends, product strategy, UX design
- **Projects**: Payments dashboard revamp
- **Tracking**: Stripe, Plaid

One more thing - COG can run in two modes:
- **Solo mode** (default): I handle everything directly in our conversation.
- **Agent team mode**: I delegate research, analysis, and writing to specialist sub-agents for deeper, more thorough results. Works best with Claude Code.

Which do you prefer? (Solo is great for most people - team mode is for power users who want maximum depth.)

Wait for confirmation, then generate everything. If they say "looks good" or similar, proceed. If they correct something, update and proceed without re-confirming. Default to solo if they don't express a preference.

5.5. Role Pack Matching

After extracting the user's role text in Step 3, scan .claude/roles/*.md for a matching role pack:

  1. Read each role pack file's YAML frontmatter (role_id and aliases)
  2. Compare the user's extracted role text (case-insensitive) against:
    • Exact role_id match (e.g., "product-manager")
    • Any string in aliases (e.g., "pm", "product lead", "head of product")
    • Fuzzy substring match (e.g., "product manager at a fintech startup" contains "product manager")
  3. If a match is found:
    • Store the matched role_id as role_pack in the MY-PROFILE.md frontmatter
    • Present role-specific recommendations:
    As a [Role Display Name], here are the skills and integrations that'll be most useful for you:
    
    **Recommended skills** (ordered by relevance for your role):
    [List top 5-6 skills from the role pack with the "Why it matters for you" context]
    
    **Recommended integrations**:
    [List integrations from the role pack with role-specific explanations]
    • Use the role pack's suggested agent_mode as the default (instead of solo)
  4. If no match is found:
    • Set role_pack: custom in MY-PROFILE.md
    • Recommend core skills only (those with roles: [all])
    • Ask about common integrations: "Do you use GitHub, Slack, or any other tools you'd like COG to connect with?"

5.6. Integration Discovery

After role pack matching, set up the user's integration preferences:

  1. If a role pack was matched, present its recommended integrations with role-specific context:

    Based on your role, these integrations would give COG the most context:
    
    [For each integration in role pack:]
    - **[Integration]** — [Why it matters for you, from role pack]
    
    Which of these do you already use? And are there any other tools you'd like to connect?
  2. Parse the user's response:

    • Services they confirm using → add to Active section of MY-INTEGRATIONS.md
    • Services they don't mention or say no to → add to Disabled section
    • Additional services they mention → add to Active section
    • Always add ElevenLabs to Disabled unless explicitly requested
  3. Generate 00-inbox/MY-INTEGRATIONS.md:

    markdown
    ---
    type: integrations
    created: YYYY-MM-DD
    tags: ["#integrations", "#config", "#cog"]
    ---
    
    # My Integrations
    
    *COG checks this file before using any external service. Edit anytime.*
    
    ## Active
    [For each confirmed integration:]
    - **[Service]**: [Brief description of how COG uses it]
    
    ## Disabled
    [For each declined/unmentioned integration:]
    - **[Service]**: Skipped during onboarding. Enable anytime by moving to Active section.
    
    ---
    
    *Move services between Active and Disabled sections to control what COG connects to.*
  4. If no role pack was matched, ask about common integrations conversationally:

    COG can connect with tools like GitHub, Slack, Linear, Notion, and PostHog for richer analysis. Do you use any of these? (Totally optional - COG works great without them too.)

6. Generate Profile Documents

Create the four profile documents using the templates in references/profile-templates.md.

00-inbox/MY-PROFILE.md
00-inbox/MY-INTERESTS.md
03-professional/COMPETITIVE-WATCHLIST.md (only if they mentioned companies/people to track)
For Each Project: 04-projects/[project-slug]/PROJECT-OVERVIEW.md

7. Create Directory Structure

Based on configuration, create personalized structure:

Base Structure (Always):

00-inbox/
01-daily/
  briefs/
  checkins/
02-personal/
  braindumps/
  development/
  wellness/
03-professional/
  braindumps/
  leadership/
  strategy/
  skills/
04-projects/
05-knowledge/
  consolidated/
  patterns/
  timeline/
  booklets/
06-templates/

Project-Specific (For each listed project):

04-projects/[project-slug]/
  PROJECT-OVERVIEW.md
  braindumps/
  competitive/
  content/
  planning/
  resources/

8. Create Welcome Guide

Generate: 00-inbox/WELCOME-TO-COG.md

Generate it from the template in references/welcome-guide.md.

9. Wrap-Up (No Menu!)

After setup, summarize what was created and suggest a natural next action:

You're all set! I've created your profile, interests, and project files. Everything is in your vault and editable anytime.

If you want to jump right in, try a braindump - just tell me what's on your mind and I'll capture it. Or ask for your daily brief to see what's happening in your interest areas today.

Don't present a numbered menu of next actions. Just suggest one or two natural things and let them decide.

Configuration Update Mode

If user runs onboarding after initial setup (MY-PROFILE.md exists):

Don't show a menu. Just ask:

You've already completed onboarding! What would you like to update? Just tell me what needs changing.

Then intelligently handle whatever they say - whether it's adding projects, changing interests, updating their role, etc.

Success Criteria

Onboarding is successful when:

  1. MY-PROFILE.md created in 00-inbox/ with role_pack in frontmatter
  2. MY-INTERESTS.md created in 00-inbox/
  3. MY-INTEGRATIONS.md created in 00-inbox/ with active/disabled sections
  4. Role pack matched (or set to custom) and recommendations presented
  5. Project directories and overviews created (if applicable)
  6. WELCOME-TO-COG.md guide created with role-specific skill ordering
  7. User understands next steps and where their profile is stored

Error Handling

If profile already exists:

  • Don't overwrite, offer update mode instead
  • Preserve existing content, only append/modify requested sections
  • Archive old version to 00-inbox/archive/MY-PROFILE-YYYY-MM-DD.md if starting fresh

If directory creation fails:

  • Report which directories couldn't be created
  • Provide manual creation instructions
  • Continue with rest of setup

If user exits mid-onboarding:

  • Create partial profile with note: "Onboarding incomplete - run onboarding skill to finish"
  • Save what was collected so far
  • Resume from last completed step on next run

Privacy & Data

All configuration data is stored as markdown files in:

  • 00-inbox/MY-PROFILE.md - Basic profile with role pack
  • 00-inbox/MY-INTERESTS.md - Interest areas
  • 00-inbox/MY-INTEGRATIONS.md - Active/disabled external service integrations
  • 03-professional/COMPETITIVE-WATCHLIST.md - Competitive tracking
  • 04-projects/[project]/PROJECT-OVERVIEW.md - Project details

Benefits of markdown storage:

  • Human-readable and editable
  • Version controlled with Git
  • Searchable in Obsidian
  • Linkable from other notes
  • No parsing required, just read as text
  • Can be archived, moved, organized like any other note

Philosophy

COG's configuration is knowledge, not configuration. By storing preferences as markdown notes:

  • They're part of your knowledge base, not hidden config files
  • You can link to them, reference them, evolve them
  • They have context and can include your own notes
  • They're transparent and auditable
  • They benefit from all of Obsidian's features (tags, links, search, graph view)

This is "configuration as knowledge" - your preferences are themselves notes in your second brain.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Onboarding AI 技能有什么作用?

Personalize COG for your workflow - creates profile, interests, and watchlist files with guided setup (run this first!)

为什么在 TypingMind 中使用 Onboarding?

因为您只需安装一次,就能搭配任何模型使用。Onboarding 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Onboarding?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/huytieu/COG-second-brain/tree/main/skills/onboarding。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Onboarding?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Onboarding 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Onboarding 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Onboarding AI 技能免费吗?

是的。huytieu 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇