tencent-ima-wiki SKILL.md skillA
tencent-ima-wiki from zj-unicom-ai/uniemployee is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add zj-unicom-ai/uniemployee/tencent-ima-wiki@git:20260928.0dafdd6Pins git:20260928.0dafdd6 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- zj-unicom-ai/uniemployee
- Path
backend/skills/tencent-ima-wiki/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260928.0dafdd6, committed Sep 28, 2026
- Size
- 5,768 bytes
- Repository stars
- 797
- License
- MIT
获取腾讯 ima 知识库(ima.qq.com/wikis)中的文章列表和原始文章详情。适用于:(1) 用户已经登录 ima 知识库,需要导出或读取知识库中的文章列表;(2) ima 网页端不支持直接查看文章详情,需要通过 source_path 原始链接获取内容;(3) 批量抓取个人知识库或共享知识库中的文章标题、来源和正文。触发词:ima知识库、ima.qq.com、腾讯ima、知识库文章列表、万仁刚的知识库。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 腾讯 ima 知识库内容获取
## 概述
通过浏览器自动化连接已登录的 ima.qq.com/wikis 页面,从 React 组件内部状态中提取文章的 `sourcePath`(原始微信公众号等外部链接),再逐个打开新标签页获取文章正文。
## 前置条件
- 用户已在 Chrome 中打开 https://ima.qq.com/wikis 并完成登录
- 当前选中了目标知识库(如"万仁刚的知识库")
- 使用 `mac_computer_use_tool` 配合 `plane="bu"` 进行浏览器操作
## 工作流程
### 第一步:连接浏览器并确认页面状态
```python
import seed_browser_use as bu
# 同步连接浏览器
bu.resync()
# 确认页面已加载
bu.wait_for_load(timeout=15)
page_info = bu.page_info()
print("当前页面:", page_info.get("url"))
```
如果 `resync` 失败或没有活动页面,直接用 `bu.navigate("https://ima.qq.com/wikis")` 打开页面。
### 第二步:提取文章列表的 sourcePath
ima 知识库使用虚拟滚动列表,文章数据存储在 React Fiber 内部状态中,DOM 元素上没有直接的链接属性。需要通过遍历 React Fiber 提取。
使用 `scripts/extract_source_paths.js` 中的代码逻辑,提取前 N 条文章的标题和原始链接:
```python
js_code = """
(async () => {
const results = [];
const count = arguments[0] || 10; // 要提取的条数
for (let i = 0; i < count; i++) {
const item = document.querySelector(`[data-index="${i}"]`);
if (!item) continue;
const fiberKey = Object.keys(item).find(k => k.startsWith('__reactFiber'));
let fiber = item[fiberKey];
let foundPath = null;
let foundTitle = null;
let depth = 0;
…Read the whole file at its exact version.
How to install
mdr add zj-unicom-ai/uniemployee/tencent-ima-wiki@sha256:99ed9b144748120fThe line at the top of this page pins the label git:20260928.0dafdd6, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_aa5lb4ihuecdyex4)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 28, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5768 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
zj-unicom-ai/uniemployee · 797 stars · license MIT · pushed 2026-10-29 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_aa5lb4ihuecdyex4 GET https://markdownregistry.com/api/v1/resolve?ref=zj-unicom-ai/uniemployee/tencent-ima-wiki GET https://markdownregistry.com/api/v1/blob/99ed9b144748120f324c0ef17adce052c260208fc2bcb9b947e433374d6be3f7
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.