ht-skills
管理灏天文库文集和文档,支持新建文集、新建文档、查询文集/文档、更新文档、修改文档归属、管理文档层级、查询个人花园限制与用量;支持图片上传到 COS、图片分组、查询图片列表/详情与图片额度。适用于 OpenClaw 自主写文章并上传、文集创建、文档入库、文档移动、插图上传与外链等场景。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/1044197988/ht-skillsWhat This Skill Does
ht-skills is a specialized management tool designed for the HaoTian (灏天) Knowledge Base. It serves as an interface between an OpenClaw AI agent and the HaoTian documentation system, enabling agents to autonomously perform CRUD operations on collections and documents. With this skill, your agent can create new archives, organize knowledge into hierarchical structures, update existing content, and move documents between collections, making it an essential tool for automated documentation workflows.
Installation
To install this skill, use the OpenClaw command-line interface by running: clawhub install openclaw/skills/skills/1044197988/ht-skills. Once installed, you must configure your personal API token in the client/config.json file. Ensure that the requests library is installed in your Python environment (pip install requests) to facilitate communication with the remote API server.
Use Cases
This skill is perfect for scenarios involving automated content production. For example, if you have an AI writing assistant, you can configure it to automatically save drafts into specific collections, categorize them under appropriate parents, and update them as feedback comes in. It is also ideal for bulk-organizing existing documentation repositories, allowing the agent to perform clean-up tasks or move legacy documents into new, relevant project collections without human intervention.
Example Prompts
- "Check if there is a collection named 'Project Alpha' and, if it exists, create a new document inside it titled 'Requirements Specification' with the content from my 'specs.txt' file."
- "I need to update the content of document ID 987. Please update the text to include the latest project timeline changes and set the sort order to 10."
- "Could you move the 'Annual Report 2023' document from the 'Drafts' collection to the 'Finalized Archive' collection?"
Tips & Limitations
To ensure smooth operations, always verify IDs before performing updates or moves to avoid errors. When creating new collections, follow the recommended protocol of asking the user for confirmation to prevent accidental creation of duplicate or unwanted archives. Note that the author attribute of documents cannot be modified via this skill. Additionally, always prioritize searching for existing collection IDs rather than assuming they are known, as the server imposes fixed limits on result sets without pagination parameters. Always ensure your network connectivity is stable, as this skill relies heavily on real-time communication with the HaoTian API server.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-1044197988-ht-skills": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api