Individual skill
knowledge-base
Not available
configs/microservice/bff-service/configs/agent-skills/clawhub/ima-skills/knowledge-base/SKILL.md
Source commit bee2737925dae3033d7ca57dfbb7ed9dff983831
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 3, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
Standard SKILL.md format has not been attested at this commit. No installation command is available; inspect the source.
Repository context
- Repository stars (not skill ratings)
- 2,385
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai Repository topic
- llm Repository topic
- mcp Repository topic
- rag Repository topic
- wanwu Repository topic
- workflow Repository topic
- agentic-ai Repository topic
- agentic-framework Repository topic
- ai-agent Repository topic
- ai-agent-development-framework Repository topic
Declared tags are partial or unavailable.
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 18,095 bytesSKILL.mdcore · 18,095 bytesSKILL.mdcore · 18,095 bytesSKILL.mdcore · 18,095 bytesSKILL.mdcore · 18,095 bytesSKILL.mdcore · 18,095 bytesSKILL.mdcore · 18,095 bytesSKILL.mdcore · 18,095 bytesSKILL.mdcore · 18,095 bytesSKILL.mdcore · 18,095 bytesSKILL.mdcore · 18,095 bytesSKILL.mdcore · 18,095 bytesSKILL.mdcore · 18,095 bytesSKILL.mdcore · 18,095 bytesSKILL.mdcore · 18,095 bytesreferences/api.mdruns · 27,034 bytesscripts/cos-upload.cjsruns · 5,251 bytesscripts/preflight-check.cjsruns · 12,074 bytes
Read excerpt
# Knowledge Base (知识库)
API base path: `openapi/wiki/v1` — 完整数据结构和接口参数详见 `references/api.md`。
## 接口决策表
| 用户意图 | 调用接口 | 关键参数 |
| --------------------------------------------- | ---------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| 上传文件到知识库 | `check_repeated_names` → `create_media` → COS Upload → `add_knowledge` | `media_type`(按扩展名),`knowledge_base_id`,`file_name`,`file_size` |
| 上传文件到知识库的某个文件夹 | 先定位文件夹 → 同上(`folder_id` 传入目标文件夹 ID) | 见「文件夹操作」章节 |
| 添加网页/微信文章到知识库 | `import_urls` | `urls`(1-10 个),`knowledge_base_id`,可选 `folder_id`(省略则根目录) |
| 添加笔记到知识库 | `add_knowledge` | `media_type=11`,`note_info.content_id=<note_id>`,`knowledge_base_id` |
| 添加 URL(文件型)到知识库 | `check_repeated_names` → 下载文件 → 走"上传文件"流程 | URL 指向 PDF/Word/PPT 等文件时,按文件方式处理 |
| 检查文件名是否重复 | `check_repeated_names` | `params[].name`,`params[].media_type`,`knowledge_base_id`,`folder_id` |
| 获取知识库信息 | `get_knowledge_base` | `ids`(1-20 个,不重复) |