ima Knowledge Base Sync Tool: Incremental Synchronization between Local Folders and ima Knowledge Base

Preface

After consolidating materials into the ima Knowledge Base, the local directory often continues to change: notes are updated, PDFs are exported, and folders are organized in batches. If relying solely on manual uploads, it is difficult to determine “what is missing in the cloud and what is extra locally,” making duplicate uploads and missed uploads common. The following introduces the ima Knowledge Base Sync Tool (@user_3af2e55b/ima-sync) on SkillHub: after installing the Skill on the Agent side, it supports bidirectional difference comparison and incremental synchronization across three official forms, generating visual reports.

What is this

The ima Knowledge Base Sync Tool is a Skill listed on SkillHub by community publisher user_3af2e55b, categorized under knowledge-management, with the current page marking version v2.0.6. The official description positions it as a synchronization tool for the ima Knowledge Base and local folders, emphasizing zero dependencies and usability directly in a browser.

The core problem it solves is establishing a comparable, incremental, and pre-checkable synchronization process between the local directory and the ima Knowledge Base, rather than a one-time manual upload.

Core Features

The following capabilities are derived from the SkillHub page and crawled metadata; configuration items or interface details not present in the materials are not expanded upon.

  1. Bidirectional Difference Comparison: Compares differences between local and cloud to provide a basis for subsequent synchronization.
  2. Incremental Sync Upload: Performs incremental uploads after differences are clarified, reducing repetitive full-load labor.
  3. Visual HTML Reports: Synchronization results are presented as HTML reports for easy verification.
  4. File Pre-check and Filtering: Performs pre-checks and filtering on files before upload to reduce the probability of invalid or non-compliant files entering the Knowledge Base.
  5. Three Usage Forms:
    • Pure front-end visual tool: Open and use with Chrome / Edge, no installation required;
    • Python command-line script: Uses only the standard library, with no external dependencies;
    • WorkBuddy scheduled automation: Suitable for executing synchronization periodically.
  6. Upload and Format: Supports 21 file formats; adopts COS direct upload + OpenAPI dual authentication to improve upload stability.

The Skill tag indicates requires_api_key=true; ima-related API credentials must be prepared before use (specific fields are subject to the SKILL.md inside the package after installation).

Installation and Activation

Install via SkillHub CLI

First, confirm whether skillhub is already on your machine:

command -v skillhub && skillhub --version

If not installed, follow the SkillHub official installation documentation to perform a complete installation (CLI + default Skill):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

To install only the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

When installing this Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/, which the Agent may not recognize. In Cursor, the common path is ~/.cursor/skills/:

skillhub install user_3af2e55b/ima-sync --dir ~/.cursor/skills/

The SkillHub page also provides installation prompts for AI: install @user_3af2e55b/ima-sync according to https://skillhub.cn/install/skillhub.md. When providing the above instructions to Agents like Cursor, the effect is consistent with executing the CLI installation via documentation, but the actual Agent’s skills directory takes precedence.

Skills directories for other Agents

Common paths listed in the SkillHub installation documentation include:

  • Claude Code: ~/.claude/skills/
  • Cursor: ~/.cursor/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project
  • workbuddy: ~/.workbuddy/skills/

Simply change --dir to the corresponding environment path; the installation command format remains unchanged.

After installation, complete the configuration for API Key and local directories according to the SKILL.md inside the package; since independent configuration field names are not provided in the materials, they will not be fabricated here.

Typical Usage

Combining the official introduction, you can choose the form based on the scenario rather than mixing the three entry points:

  1. Occasional verification, hoping for zero installation: Use Chrome or Edge to open the pure front-end visual tool to complete difference viewing and synchronization operations (specific entry points are subject to the instructions inside the Skill package).
  2. Scripting, CI, or local scheduling: Use the Python standard library command-line script to execute comparison and incremental uploads in the terminal; suitable for developers already familiar with local path and credential management.
  3. Periodic automatic execution: Mount this Skill in automation environments supporting skills directories like WorkBuddy, and configure scheduled tasks to execute synchronization.

Regardless of the form, the process follows the officially described order: Difference Comparison → Pre-check Filtering → Incremental Upload → View HTML Report. Credentials and steps related to ima OpenAPI / COS are subject to the Skill documentation after installation.

Applicable Scenarios and Notes

Who is it for

  • Individuals or teams already using the ima Knowledge Base with fixed local data directories that need to remain consistent with the cloud.
  • Those who want to use Agent Skills to unify “installation, instructions, and automation entry points” rather than maintaining a separate set of undocumented scripts.

Points to note

  • Tag requires_api_key=true: Authentication and upload cannot be completed without configuring a valid API Key.
  • SkillHub statistics (as of page crawl): Rating 100000, Downloads 2274; Community source (community), upgrades and troubleshooting are subject to the SkillHub page and in-package FAQ.
  • The three forms target different environments: The browser form relies on Chrome/Edge; the Python form relies on local Python; the WorkBuddy form relies on the corresponding Agent’s skills directory and scheduling capabilities. Choosing the wrong option can lead to the illusion of “Skill installed but entry point not found,” so ensure alignment with --dir during installation.

Conclusion

The ima Knowledge Base Sync Tool converges the synchronization between the ima Knowledge Base and local folders into a single link that is comparable, incremental, and reportable. It allows switching between three forms—front-end, Python CLI, and WorkBuddy—reducing the maintenance cost of “knowing how to upload but not how to align.”

  • SkillHub Page: https://www.skillhub.cn/skills/user_3af2e55b/ima-sync
  • Official API Coordinates: https://api.skillhub.cn/user_3af2e55b/ima-sync
  • Installation Instructions: https://skillhub.cn/install/skillhub.md
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye