AI Agent Hub
Back to skills
GitMind Knowledge Assistant icon

GitMind Knowledge Assistant

Knowledge Management Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_823b254f/gitmind using https://skillhub.cn/install/skillhub.md.

About this skill

GitMind Knowledge Assistant is for agents that operate GitMind account-side knowledge workflows instead of only explaining API docs. It addresses concrete integration issues: running local node commands, opening the system browser for OAuth, checking login state, handling quota errors, resolving page URLs, and waiting for WebSocket-backed generation tasks to finish.

Core workflow

  • Global auth check: before login-dependent tools, prefer get_saved_token; if api_token is missing, blank, or unusable, enter oauth_login and complete the callback in the user's default browser.
  • Global quota fallback: when business tools return quota insufficient, membership required, recharge required, or similar errors, use pricing_page_open to open the correct regional and language-specific pricing page, then retry the original action after payment or recharge.
  • Module coverage: Page Navigation, Auth Login, My Thoughts, Planets, Personal Center, Inspiration Flow, Hot Templates, OSS Authorization, WebSocket/WSS, AI Mind Map, AI Flowchart, AI Bulletin, and AI Exam.
  • Fixed chains: file_project_get calls file_get, then fetches the expiring project_url; file_project_upload uses oss_get_authorization, uploads the object, and saves with file_save.
  • Long-running timeouts: AI Mind Map, AI Flowchart, and direct WSS tools need longer outer timeouts; AI Bulletin should allow at least 1200 seconds.

Boundaries and notes

The skill requires a local Node executor and a system default browser, so it is not suitable for sandbox-only clients that cannot listen on the callback port or open the browser. Do not pin host on the first attempt; retry against a local Node target only if the initial command fails. Return raw https GitMind URLs instead of Markdown links. Use dir_guid for file_list, and prefer page_open(page="docs") or directory_open() for the My Thoughts home page rather than hardcoding /app/dirs/0.

Use Cases

  • An agent needs to resolve “open recent documents” to a GitMind page and open the correct pricing entry with `pricing_page_open`.
  • A workflow fetches a My Thoughts project by following the fixed `file_get` to temporary `project_url` chain.
  • A client calls AI Mind Map, AI Flowchart, or AI Bulletin and must set a long enough outer timeout for WSS completion.
  • A business tool returns quota-insufficient or membership-required, so the agent guides recharge and retries the original GitMind action.

Best For

  • Engineers integrating GitMind into agents, needing auth-state checks, quota fallbacks, and page URL resolution.
  • Developers maintaining My Thoughts file flows, needing project retrieval, OSS upload, and file-save chains.
  • Client authors adding AI knowledge tools, needing WSS long-task handling, browser callbacks, and timeout policies.
  • Product engineers building multilingual agent experiences, needing region, env, and language-aware GitMind pages.