IMA Knowledge Base Auto-Archiving: One-Click Import of Local Files

Preface

Engineering documents, reports, and drawings often land on a local machine or shared drive first, then are manually uploaded to a knowledge base. In between, one has to look up Knowledge Base IDs and folder IDs, avoid duplicate accumulation of files with the same name, and steps are scattered across the console, object storage, and OpenAPI. Below is the introduction to the community Skill “IMA Knowledge Base Auto-Archive” on SkillHub. It consolidates the IMA OpenAPI file upload chain into one step, targeting developers and operations personnel who need to archive local files into the IMA knowledge base (including scenarios like “Santai Gas - Engineering Knowledge Hub”).

What is it

“IMA Knowledge Base Auto-Archive” is an Agent Skill published on SkillHub, located at @user_9aa69e66/ima-auto-archive, current version 1.0.0, source community, category knowledge-management. The publisher is user_9aa69e66.

One-sentence positioning: Archive local files to the user’s IMA knowledge base with one click. Inside the Skill, it completes knowledge base and folder ID resolution, duplicate name checking, COS upload, and database entry, covering the entire file upload process corresponding to the IMA OpenAPI.

Official entry points:

  • API page: https://api.skillhub.cn/user_9aa69e66/ima-auto-archive
  • Showcase page: https://www.skillhub.cn/skills/user_9aa69e66/ima-auto-archive

Core Features

The following capabilities are derived from the SkillHub description and page instructions, with no extended inference made.

  1. Auto-resolve KB / Folder ID
    Reduces the manual process of looking up knowledge base and directory identifiers in the background and stitching request parameters.

  2. Duplicate Name Check
    Handles name conflicts before upload to reduce the accumulation of duplicate files in the knowledge base.

  3. COS Upload and Entry
    Chains uploads according to IMA-side object storage and entry conventions, completing “file entry” rather than stopping at the local or COS level.

  4. Encapsulate IMA OpenAPI
    Concentrates file upload-related OpenAPI steps within the Skill. The Agent can call it by following the SKILL instructions, without needing to stitch interface documentation from scratch each time.

The Skill tag is requires_api_key=true, indicating that runtime depends on the IMA/OpenAPI-side API Key or equivalent credentials, which must be configured in the environment in advance.

Installation and Enablement

The Skill uses the generic SKILL.md format and is distributed via SkillHub. As of the data extraction, the page statistics show a rating of 100,000, downloads of 918, and installations of 0. The specific installation commands for Cursor, Codex CLI, and Claude Code should refer to the current description on the SkillHub Skill details page; this article does not list commands that have not been verified by the page.

It is recommended to confirm the following before enabling:

  1. You have opened the above showcase page or API page in SkillHub and installed @user_9aa69e66/ima-auto-archive to the Agent environment following the platform’s guidelines.
  2. You possess IMA OpenAPI access credentials (consistent with requires_api_key=true) and have the right to write files to the target IMA knowledge base.
  3. The Agent runtime environment can access COS and the network endpoints required by IMA (determined by the OpenAPI and actual upload chain).

Typical Usage

The official public copy focuses on capability description and does not provide example commands or configuration snippets that can be reproduced line-by-line in the scraped data. The typical workflow can be summarized as follows based on the introduction, for reference to check if the implementation matches the Skill documentation:

  1. Specify the local file path to be archived and the target IMA knowledge base context (including knowledge bases like “Engineering Knowledge Hub”) in the conversation or task.
  2. The Skill resolves the Knowledge Base (KB) and folder IDs and performs a duplicate name check.
  3. Upon passing, proceed with COS upload and complete the entry.

If the page later supplements example prompts, environment variable names, or configuration items, update the local Skill package based on the latest SKILL content from SkillHub.

Applicable Scenarios and Notes

Who is it for

  • Teams that need to batch or single-write local documents and exports into the IMA knowledge base.
  • Developers who want an Agent to handle the OpenAPI + COS steps instead of writing upload scripts from scratch every time.

Limitations and Notes

  • Community source (community). Behavior is related to IMA OpenAPI and COS policy changes. Regression testing of upload and duplicate logic should be performed after upgrading IMA or the Skill version.
  • API Key must be configured; without credentials, the Skill cannot complete the authorized call.
  • Duplicate name checking can reduce duplication but does not replace governance strategies on the knowledge base side (directory conventions and naming conventions still need to be agreed upon by the business side).
  • The installation count of 0 only reflects the SkillHub count snapshot, which is not equivalent to “unavailable”. It depends on whether your local successfully loads SKILL.md.

Conclusion

“IMA Knowledge Base Auto-Archive” stitches together ID resolution, deduplication, COS upload, and entry into a single archive chain usable by the Agent, suitable for scenarios where local files are ingested into IMA (including Engineering Knowledge Hub). For details and installation methods, see SkillHub: https://www.skillhub.cn/skills/user_9aa69e66/ima-auto-archive.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye