Logo Nav Profile

Nav Profile

Tổ chức
qf-studio
nav-profile

Quản lý tùy chọn và các chỉnh sửa của người dùng cho mô hình hóa hai chiều. Tự động học từ các chỉnh sửa trong phiên. Dùng khi người dùng nói "lưu tùy chọn của tôi", "hãy nhớ là tôi thích..." hoặc tự động kích hoạt sau khi có chỉnh sửa.

Add to TypingMind

Tổng quan

Nhà phát hànhqf-studio
Kho mãnavigator
Tên kỹ năngnav-profile
Sao
232
Bản fork
12
Tệp đi kèm
4
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được qf-studio công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Nav Profile trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/qf-studio/navigator/tree/main/skills/nav-profile
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/qf-studio/navigator.git /tmp/navigator
mkdir -p .claude/skills
cp -r /tmp/navigator/skills/nav-profile .claude/skills/nav-profile
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Nav Profile trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Nav Profile ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Nav Profile với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Navigator Profile Skill

Manage user preferences for bilateral modeling - enabling Claude to understand and adapt to your working style, technical preferences, and past corrections.

Why This Exists (Theory of Mind)

Based on Riedl & Weidmann 2025 research on Human-AI Synergy:

  • Theory of Mind (ToM) is the key differentiator in human-AI collaboration success
  • Users with higher ToM achieve 23-29% performance boost
  • Bilateral modeling completes the ToM loop: Claude models you, you model Claude

This skill enables Claude to:

  • Remember your preferences across sessions
  • Learn from corrections without you repeating them
  • Adapt communication style to your level
  • Build a persistent mental model of YOU

When to Invoke

Auto-invoke when:

  • User says "save my preferences", "remember I like..."
  • User says "update my profile", "change my preference for..."
  • After detecting a correction pattern (auto-learn mode)
  • User says "show my profile", "what do you know about me?"

DO NOT invoke if:

  • User is creating a context marker (use nav-marker)
  • User wants session-specific preferences only
  • User explicitly says "just for this session"

Profile Location

.agent/.user-profile.json (git-ignored, session-persistent)

Execution Steps

Step 1: Determine Action

SHOW (viewing profile):

User: "Show my profile", "What do you remember about me?"
→ Display current profile

UPDATE (explicit preference):

User: "Remember I prefer functional style", "Save that I like concise explanations"
→ Update specific preference

LEARN (auto-detect correction):

[Internal trigger after correction detected]
→ Extract and save correction pattern

RESET (clear profile):

User: "Reset my profile", "Clear my preferences"
→ Confirm and delete profile

Step 2: Load or Initialize Profile

Check if profile exists:

bash
if [ -f ".agent/.user-profile.json" ]; then
  echo "Profile exists"
else
  echo "No profile found, will create new"
fi

Initialize new profile (if not exists):

json
{
  "version": "1.0",
  "created": "{YYYY-MM-DD}",
  "last_updated": "{YYYY-MM-DD}",
  "preferences": {
    "communication": {
      "verbosity": "balanced",
      "confirmation_threshold": "high-stakes",
      "explanation_style": "examples"
    },
    "technical": {
      "preferred_frameworks": [],
      "code_style": "mixed",
      "testing_preference": "tdd"
    },
    "workflow": {
      "autonomous_commits": true,
      "auto_compact_threshold": 80,
      "marker_before_risky": true
    }
  },
  "corrections": [],
  "goals": []
}

Step 3A: Show Profile (If SHOW Action)

Display current profile:

Your Navigator Profile
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Communication Preferences:
- Verbosity: {verbosity}
- Confirmation: {confirmation_threshold} (when to verify understanding)
- Explanations: {explanation_style}

Technical Preferences:
- Preferred frameworks: {frameworks or "none set"}
- Code style: {code_style}
- Testing: {testing_preference}

Workflow Preferences:
- Autonomous commits: {autonomous_commits}
- Auto-compact at: {auto_compact_threshold}% context
- Markers before risky changes: {marker_before_risky}

Learned Corrections ({count}):
{recent_corrections_list}

Active Goals ({count}):
{active_goals_list}

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Last updated: {last_updated}

Step 3B: Update Profile (If UPDATE Action)

Parse preference from user input:

User: "Remember I prefer functional style"
→ Category: technical
→ Field: code_style
→ Value: functional

User: "I like concise explanations"
→ Category: communication
→ Field: verbosity
→ Value: concise

Map common expressions to profile fields:

User SaysCategoryFieldValue
"concise", "brief", "short"communicationverbosityconcise
"detailed", "thorough"communicationverbositydetailed
"always confirm"communicationconfirmation_thresholdalways
"skip confirmations"communicationconfirmation_thresholdnever
"functional style"technicalcode_stylefunctional
"OOP style"technicalcode_styleoop
"prefer React"technicalpreferred_frameworks[append "react"]
"prefer Express"technicalpreferred_frameworks[append "express"]

Update and save:

json
// Update specific field
profile.preferences[category][field] = value;
profile.last_updated = "{YYYY-MM-DD}";

// Write to file
Write(".agent/.user-profile.json", JSON.stringify(profile, null, 2));

Confirm update:

✅ Profile updated!

Changed: {category}.{field}
From: {old_value}
To: {new_value}

This will affect future sessions.

Step 3C: Auto-Learn Correction (If LEARN Action) [AUTO-TRIGGER]

IMPORTANT: This action triggers automatically - no explicit skill invocation needed.

When to detect corrections (monitor ALL conversations):

  • User says "No, I meant...", "Actually...", "Not X, use Y"
  • User repeats a correction they gave before
  • User shows frustration at repeated mistake

Trigger patterns to watch for:

"No, ..." → Direct correction
"I said ..." → Repeated instruction
"Actually, ..." → Clarification
"Not X, Y" → Substitution
"Always use ..." → Rule establishment
"Never do ..." → Anti-pattern
"I prefer ..." → Preference

When detected:

User: "No, I meant plural /users not /user"
→ Correction detected: REST naming convention preference
→ Auto-save to profile (silent)

Extract correction pattern:

python
correction = {
  "date": "{YYYY-MM-DD}",
  "context": "{what we were doing}",
  "original": "{what I said/generated}",
  "corrected_to": "{what user wanted}",
  "pattern": "{generalized rule}",
  "confidence": "high|medium|low"
}

Add to corrections list:

json
profile.corrections.push(correction);

// Keep last 20 corrections (rolling window)
if (profile.corrections.length > 20) {
  profile.corrections.shift();
}

Silently acknowledge (don't interrupt flow):

[Internal log: Correction saved to profile]

Sync to Knowledge Graph (if enabled in config):

bash
PLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/cache/navigator-marketplace/navigator}"
[ -d "$PLUGIN_DIR" ] || PLUGIN_DIR="$HOME/.claude/plugins/marketplaces/navigator-marketplace"
# Check if knowledge graph integration is enabled
if [ -f ".agent/knowledge/graph.json" ]; then
  # Convert correction to memory
  python3 "$PLUGIN_DIR/skills/nav-graph/functions/correction_to_memory.py" \
    --action convert-one \
    --correction-json '{"pattern": "{pattern}", "context": "{context}", "confidence": "{confidence}"}' \
    --graph-path .agent/knowledge/graph.json

  # [Internal log: Correction synced to knowledge graph as memory]
fi

This creates a pitfall/pattern/learning memory in the knowledge graph, making the correction available via "What do we know about X?" queries.

Periodically surface learnings (every 5 corrections):

📚 I've learned from your corrections:
- REST endpoints should use plural nouns
- You prefer functional components over class components
- TypeScript strict mode is required

These will be applied in future sessions.

Step 3D: Reset Profile (If RESET Action)

Confirm before delete:

⚠️  This will delete your Navigator profile:
- {X} saved preferences
- {Y} learned corrections
- {Z} active goals

This cannot be undone.

Delete profile? [y/N]

If confirmed:

bash
rm .agent/.user-profile.json

Confirm deletion:

✅ Profile deleted

Future sessions will start fresh.
To rebuild, use "Save my preferences" as you work.

Step 4: Update Goals (Optional)

If user mentions a goal:

User: "I'm working on the OAuth feature"
→ Add/update goal in profile

Goal structure:

json
{
  "name": "oauth-feature",
  "started": "{YYYY-MM-DD}",
  "context": "OAuth implementation for user login",
  "status": "in-progress",
  "last_mentioned": "{YYYY-MM-DD}"
}

Goal cleanup (auto-archive goals not mentioned in 7 days):

json
// Move to completed if not mentioned recently
goals.forEach(goal => {
  if (daysSince(goal.last_mentioned) > 7) {
    goal.status = "completed-or-abandoned";
  }
});

Step 5: Confirm Action

For explicit actions (SHOW, UPDATE, RESET): Show confirmation message.

For auto-learn (LEARN): Silent acknowledgment, periodic summaries.


Profile Schema Reference

json
{
  "version": "1.0",
  "created": "2025-12-09",
  "last_updated": "2025-12-09",

  "preferences": {
    "communication": {
      "verbosity": "concise|balanced|detailed",
      "confirmation_threshold": "always|high-stakes|never",
      "explanation_style": "examples|theory|both"
    },
    "technical": {
      "preferred_frameworks": ["react", "express", "etc"],
      "code_style": "functional|oop|mixed",
      "testing_preference": "tdd|bdd|manual"
    },
    "workflow": {
      "autonomous_commits": true|false,
      "auto_compact_threshold": 70-90,
      "marker_before_risky": true|false
    }
  },

  "corrections": [
    {
      "date": "2025-12-09",
      "context": "creating API endpoint",
      "original": "Created /user endpoint",
      "corrected_to": "Should be /users (plural)",
      "pattern": "REST endpoints use plural nouns",
      "confidence": "high"
    }
  ],

  "goals": [
    {
      "name": "oauth-feature",
      "started": "2025-12-07",
      "context": "OAuth implementation for user login",
      "status": "in-progress",
      "last_mentioned": "2025-12-09"
    }
  ]
}

Integration with Other Skills

nav-start (Session Start)

Loads profile automatically:

markdown
### Step 3.5: Load User Profile

If `.agent/.user-profile.json` exists:
- Load preferences into context
- Apply confirmation threshold
- Note active goals
- Show: "Loaded preferences from profile"

nav-marker (Context Markers)

Preserves profile reference:

markdown
## Profile State
- Preferences loaded: ✅
- Corrections this session: {count}
- Goals active: {goal_names}

All ToM Checkpoints

Respect profile settings:

markdown
// Before showing verification checkpoint
if (profile.preferences.communication.confirmation_threshold === "never") {
  // Skip verification
} else if (profile.preferences.communication.confirmation_threshold === "high-stakes") {
  // Only verify for complex operations
}

Auto-Learn Triggers

Correction patterns to detect:

User PatternExtracted Learning
"No, I meant..."Direct correction
"Actually, prefer..."Preference correction
"Not X, use Y"Substitution correction
"Always do X"Rule establishment
"Never do Y"Anti-pattern
"I like when you..."Positive preference
"Stop doing X"Negative preference

Confidence scoring:

  • High: Explicit correction with reasoning
  • Medium: Correction without explanation
  • Low: Implicit preference from behavior

Privacy & Data

Profile is:

  • Git-ignored (.agent/.user-profile.json)
  • Local only (not synced)
  • User-controlled (can delete anytime)
  • Session-persistent (survives context clears)

Profile does NOT store:

  • Code snippets
  • File contents
  • Conversation history
  • Sensitive data

Success Criteria

Profile management succeeds when:

  • Profile loads at session start
  • Preferences affect behavior (verbosity, confirmations)
  • Corrections persist across sessions
  • Auto-learn captures patterns silently
  • Goals track user's current focus
  • Reset cleanly removes all data

Best Practices

Good profile usage:

  • "Remember I prefer concise explanations" (clear preference)
  • "Save that I use functional components" (specific)
  • "Show my profile" (verify what's stored)

Avoid:

  • Storing sensitive information
  • Over-correcting (let auto-learn work)
  • Resetting frequently (defeats purpose)

This skill enables bilateral Theory of Mind - Claude understanding you as well as you understanding Claude 🧠

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Nav Profile làm được gì?

Quản lý tùy chọn và các chỉnh sửa của người dùng cho mô hình hóa hai chiều. Tự động học từ các chỉnh sửa trong phiên. Dùng khi người dùng nói "lưu tùy chọn của tôi", "hãy nhớ là tôi thích..." hoặc tự động kích hoạt sau khi có chỉnh sửa.

Vì sao nên dùng Nav Profile trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Nav Profile là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Nav Profile trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/qf-studio/navigator/tree/main/skills/nav-profile. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Nav Profile?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Nav Profile với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Nav Profile với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Nav Profile có miễn phí không?

Có. Kỹ năng này được qf-studio phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇