Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add wenlan-app/wenlan --skill wenlan-syncgit clone --depth 1 https://github.com/wenlan-app/wenlanWrote 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/wenlan-app/wenlan/wenlan-sync)<a href="https://agentmods.dev/skills/wenlan-app/wenlan/wenlan-sync"><img src="https://agentmods.dev/badge/skills/wenlan-app/wenlan/wenlan-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/wenlan-app/wenlan/wenlan-sync"><img src="https://agentmods.dev/badge/skills/wenlan-app/wenlan/wenlan-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00055 | $0.01409 |
| Opus 5.5 | $0.00022 | $0.00564 |
| Sonnet 5.5 | $0.00011 | $0.00282 |
| Haiku 4.5 | $0.00006 | $0.00141 |
Grade A, and why
wenlan-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 today.
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 — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Keep Wenlan rules and skills in step
Wenlan holds the person's working rules and skills. This app keeps a copy so it can follow them. Wenlan's copy is the real one. When the person edits a rule or skill here, send the edit to Wenlan as a suggestion. Only the person approves or declines it, in the Wenlan app. Never approve anything yourself.
Two kinds of run:
- Daily run (scheduled, nobody watching): only pull. Bring unchanged copies up to date, apply answers the person already gave, and send nothing.
- "Sync Wenlan now" (the person asked): do everything a daily run does, and also suggest the person's edits.
End every run with one or two lines saying what changed and what waits for the person.
Where things live
- Rules: in
~/AGENTS.md, the lines between<!-- wenlan:begin -->and<!-- wenlan:end -->. Each marker is a line of its own. Everything outside them is the person's own notes for this app: never change it. - Skills:
~/workspace/custom-skills/<name>/SKILL.md. A folder made from Wenlan holds a file named.wenlan. A folder without.wenlanis this app's own skill: never change, suggest or delete it. OnlySKILL.mdis kept in step. - Pristine copies:
~/workspace/custom-skills/.wenlan-rules.baseholds the rules text exactly as you last wrote it from Wenlan;<name>/.wenlan-base.mdholds that skill'sSKILL.mdas you last wrote it. - State:
~/workspace/custom-skills/.wenlan-rulesfor the rules and.wenlanin each skill folder. Each is JSON:{"version": "...", "suggested": null}.versionis Wenlan's version you last wrote.suggestedis thecontent_hashWenlan returned for your last suggestion, ornull.
First run
Before writing anything, list the layout: ls ~ ~/workspace/custom-skills.
If ~/AGENTS.md or ~/workspace/custom-skills is missing, or the layout is
not what this skill describes, stop and tell the person. Change nothing.
Steps
- Read Wenlan:
read_personal_ruleswith layer{"kind":"shared"}, andread_skillwith no name. Each item hasversionandlast_suggestion(null, or{content_hash, status}with statuspending,acceptedordeclined). If any call fails or an answer looks incomplete, stop and change nothing. - Check the rules markers in
~/AGENTS.md:- Neither marker, and no
.wenlan-rulesstate yet (first run): append the two marker lines with Wenlan's text between them at the end of the file. - Markers missing after the first run, either marker more than once, or end before begin: write nothing for the rules and tell the person.
- Never rewrite anything outside the block.
- Neither marker, and no
- For the rules, and for each listed skill, compare this app's copy with its
pristine copy (
cmp -s):- No copy yet: write Wenlan's text (for a skill,
read_skillwith its name), the pristine copy, and the state withsuggested: null. - Copy unchanged (same as pristine): if
versiondiffers from the state, write Wenlan's text, the pristine copy and the new version. Else nothing. - Copy edited here (differs from pristine):
suggestedequalslast_suggestion.content_hash:pending: the person has not answered. Keep this app's copy.accepted: write Wenlan's current text, the pristine copy and the new version; setsuggested: null.declined: the person said no to this exact edit. Write Wenlan's current text over this app's copy, the pristine copy and the new version; setsuggested: null. Tell the person in one line which edit was replaced. Keep no copy of it anywhere.
- Otherwise (no suggestion yet, or Wenlan does not know it):
- Daily run: keep this app's copy and send nothing. Mention it.
- "Sync Wenlan now": suggest it once. Rules:
propose_personal_ruleswithrules_block= the block text between the markers andbase_version= the state'sversion. Skill:save_skillwith the skill'sname,skill_md= the whole editedSKILL.md, andbase_version= the state'sversion. Store the returnedcontent_hashinsuggested. Keep this app's copy. If Wenlan refuses, change nothing and tell the person why. - Send the edited copy as it is, even when Wenlan's
versiondiffers from the state's. Never copy Wenlan's newer text into it first. When the two changes touch different lines, Wenlan puts them together; when they touch the same lines, the card says Apply would replace Wenlan's newer lines. When the versions differ, tell the person in one line that Wenlan also changed and the card in the Wenlan app shows what Apply would do.
- No copy yet: write Wenlan's text (for a skill,
- A missing or unknown
last_suggestionis not an answer: never overwrite an edited copy because of it, because of an error, or because time passed.
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.
- today First seen · 101 lines · 55 tokens per session scan A ab2fadf87c84
wenlan-sync is a skill published in the GitHub repository wenlan-app/wenlan (502 stars, last pushed today), licensed Apache-2.0. It adds 55 tokens to every session and 1,409 once invoked, about $0.0002 per session on Opus 5.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-11-30.
wenlan-sync compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| wenlan-syncwenlan-app/wenlan | Skill | 502 | today | Apache-2.0 | A | 55 | Claude Code, Codex |
| run-wenlan-app7xuanlu/wenlan | Skill | 79 | 1mo ago | Apache-2.0 | A | 71 | Claude Code |
| help7xuanlu/wenlan | Skill | 79 | 1mo ago | Apache-2.0 | A | 39 | Claude Code, Codex |
| verify7xuanlu/wenlan | Skill | 79 | 1mo ago | Apache-2.0 | A | 63 | Claude Code |
| statskalinbogatzevski/captain-memo | Skill | 5 | 6d ago | Apache-2.0 | A | 36 | Claude Code |
| searchkalinbogatzevski/captain-memo | Skill | 5 | 6d ago | Apache-2.0 | A | 49 | Claude Code |
| doctorkalinbogatzevski/captain-memo | Skill | 5 | 6d ago | Apache-2.0 | A | 52 | Claude Code |