GitMind Knowledge Assistant
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; ifapi_tokenis missing, blank, or unusable, enteroauth_loginand 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_opento 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_getcallsfile_get, then fetches the expiringproject_url;file_project_uploadusesoss_get_authorization, uploads the object, and saves withfile_save. - Long-running timeouts: AI Mind Map, AI Flowchart, and direct WSS tools need longer outer timeouts; AI Bulletin should allow at least
1200seconds.
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.
Related Skills
Automatically compiles Feishu documents with quality checks, deduplication, Wiki updates, and multidimensional table index writes.
Open-ended visual QA for images, combining CV and LLM for scene description, chart interpretation, reasoning, and cloud history lookup.
Fast CLI for summarizing URLs, local files, and YouTube links with multi-provider models and JSON output.
Extracts an eight-layer reasoning fingerprint from scholar texts and applies a nine-module constraint to run peer review, supervision, lecturing, or panel discussion with quantitative scores and qualitative comments.