Borrowing it
Nothing to install: this file belongs to ZhuoZhuoCrayon/ai-workspace. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ZhuoZhuoCrayon/ai-workspace/main/.agents/skills/iwiki-sync/SKILL.mdgit clone --depth 1 https://github.com/ZhuoZhuoCrayon/ai-workspaceWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/zhuozhuocrayon/ai-workspace/iwiki-sync)<a href="https://agentmods.dev/skills/zhuozhuocrayon/ai-workspace/iwiki-sync"><img src="https://agentmods.dev/badge/skills/zhuozhuocrayon/ai-workspace/iwiki-sync/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/zhuozhuocrayon/ai-workspace/iwiki-sync"><img src="https://agentmods.dev/badge/skills/zhuozhuocrayon/ai-workspace/iwiki-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.01516 |
| Opus 5 | $0.00039 | $0.00758 |
| Sonnet 5 | $0.00015 | $0.00303 |
| Haiku 4.5 | $0.00008 | $0.00152 |
Grade A, and why
iwiki-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
iwiki-sync — AI 工作区与 iWiki 双向同步
目标:让 knowledge/ 与 iWiki 个人空间保持可持续、可回溯、可增量的双向同步。
MCP Server:user-iWiki
0x00 前置约束
- 同步范围默认从
knowledge/<project>/开始,不直接同步整个仓库。 INDEX.md默认不同步(仅同步 issue 实体文档)。- 所有路径使用工作区根目录相对路径。
- 同步前必须先读取
.iwiki-sync.json。 - 调用任何 iWiki MCP 工具前,必须先读取对应工具 schema(
mcps/user-iWiki/tools/*.json)。
0x01 映射文件规范
位置:工作区根目录 .iwiki-sync.json(应被 .gitignore 忽略)。
建议结构:
{
"space_id": 136740934,
"homepage_id": 135057649,
"root_title": "AI 工作区",
"sync_policy": {
"index_sync": false,
"conflict_mode": "manual",
"deletion_mode": "tombstone"
},
"mappings": {
"knowledge/bkmonitor/issues/2026-03-03-apm-shared-datasource/README.md": {
"docid": 4018554751,
"type": "MD",
"iwiki_title": "需求",
"last_local_updated": "2026-03-03",
"last_sync_at": "2026-03-08T12:30:00Z",
"status": "active"
}
}
}
字段说明:
space_id/homepage_id: iWiki 定位信息。root_title: iWiki 顶层目录名,固定为AI 工作区。sync_policy.conflict_mode:manual | local_wins | remote_wins。sync_policy.deletion_mode: 推荐tombstone(标记删除,不做远端删除)。mappings[*].status:active | tombstone。
0x02 命名与目录映射
目录骨架固定为:AI 工作区 → <project> → <category>。
命名规则:
- issue 文件夹:
{date}-{frontmatter.title}。 README.md→需求。PLAN.md→实施方案。PROGRESS.md→进展。INDEX.md:默认不同步。
示例:
- 本地
knowledge/bkmonitor/issues/2026-03-03-apm-shared-datasource/ - iWiki 标题
2026-03-03-APM 支持跨应用共享数据源
0x03 上传流程(本地 -> iWiki)
- 读取
.iwiki-sync.json,确认space_id、homepage_id与root_title。 - 扫描本地目录,过滤掉
INDEX.md。 - 对每个条目按映射判断:
- 无映射:新增(
createDocument)。 - 有映射:更新(
saveDocument)。
- 无映射:新增(
- 新增时先确保父目录存在,再创建子目录/文件。
- 每次创建或更新后立即回写
.iwiki-sync.json。
新增操作规范:
- FOLDER:
contenttype="FOLDER",body传" "。 - MD:
contenttype="MD",body传完整 Markdown。
更新操作规范:
- 使用
saveDocument(docid, title, body)。 - 即使只改标题,也传非空
body。
0x04 下载流程(iWiki -> 本地)
- 根据
.iwiki-sync.json取目标docid。 - 调用
getDocument获取远端正文。 - 写回本地对应路径(不存在则创建)。
- 更新映射项中的
last_sync_at与状态字段。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 154 lines · 77 tokens per session scan A 2c3b7bd23b8d
iwiki-sync is a skill published in the GitHub repository ZhuoZhuoCrayon/ai-workspace (27 stars, last pushed 4d ago), licensed MIT. It adds 77 tokens to every session and 1,516 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
baoyu-youtube-transcript
A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.
orbit-notion
Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…
instrument-data-to-allotrope
Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
read
Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…
overleaf-sync
A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.