一键导入
pages
List or open distilled Wenlan pages from Codex by delegating to the local `wenlan pages` CLI. Invoked as /pages [query].
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
List or open distilled Wenlan pages from Codex by delegating to the local `wenlan pages` CLI. Invoked as /pages [query].
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Frictionless Wenlan setup for Codex. Detects a missing local runtime, installs or repairs it, and verifies the plugin to MCP to local runtime round-trip. Run when the user says "set up wenlan", "is wenlan working", or "fix wenlan".
Frictionless setup. Detects a missing local runtime, installs or repairs it, configures local memory, and verifies the full plugin -> MCP -> local runtime round-trip. Run after `/plugin install wenlan@7xuanlu-wenlan`, or any time the user says "set up wenlan", "is wenlan working", "fix wenlan".
Show a one-screen Codex reference for the Wenlan plugin. Use when the user asks for Wenlan help, command list, or invokes /help.
Run Wenlan diagnostics or resolve every finding into a ready repair, review item, system action, or blocker.
One-screen quick reference for the Wenlan plugin. Lists the daily verbs, the daily flow, where data lives, and how to view it without a GUI. Use when the user says "help", "what can I do", "list wenlan commands", "how do I use wenlan", or invokes `/help`.
Run Wenlan diagnostics or resolve every finding into a ready repair, review item, system action, or blocker.
基于 SOC 职业分类
| name | pages |
| description | List or open distilled Wenlan pages from Codex by delegating to the local `wenlan pages` CLI. Invoked as /pages [query]. |
| argument-hint | [query] |
| allowed-tools | ["Bash"] |
| user-invocable | true |
Open or list distilled Wenlan pages without pulling page bodies into chat.
The wenlan pages CLI owns title and filename matching plus the OS editor
open. This skill is only the Codex slash workflow wrapper.
Never read a page body. Never render a metadata card. Resolve by title or filename only; the page opens in the user's editor where Markdown search and navigation belong.
Use the agent shell's PATH first, then the standard Wenlan install path:
if command -v wenlan >/dev/null 2>&1; then
W="$(command -v wenlan)"
elif [ -x "$HOME/.wenlan/bin/wenlan" ]; then
W="$HOME/.wenlan/bin/wenlan"
else
echo "wenlan not found"
exit 127
fi
If wenlan is not found, tell the user to run /setup.
/pages <query>Run one Bash block:
if command -v wenlan >/dev/null 2>&1; then
W="$(command -v wenlan)"
elif [ -x "$HOME/.wenlan/bin/wenlan" ]; then
W="$HOME/.wenlan/bin/wenlan"
else
echo "wenlan not found"
exit 127
fi
"$W" pages "<query>"
Act only on the command output:
Opened <path>: print that line. The page is open.no page matches: ...: print it and suggest /distill <query>.N matches for ... followed by title · filename lines: several pages
matched. If several pages match, print the CLI output. Ask the user to rerun
/pages with one of the filenames or a narrower query.Do not use a picker. Do not re-fetch, list again, or read any page file.
/pagesRun one Bash block:
if command -v wenlan >/dev/null 2>&1; then
W="$(command -v wenlan)"
elif [ -x "$HOME/.wenlan/bin/wenlan" ]; then
W="$HOME/.wenlan/bin/wenlan"
else
echo "wenlan not found"
exit 127
fi
"$W" --format table pages
Print the newest topics exactly as the CLI returns them. The CLI caps the list
by default and prints --limit 0 when the user wants all topics. Tell the user
to run /pages <query> to open one.
/recall./distill.