Skip to content
Back to skills

Pages

ASecurity

List or open distilled pages by delegating to the local `wenlan pages` CLI. `/pages <query>` opens the page when one matches, or prints the matches when several do. `/pages` lists recent pages. Invoked as `/pages [query]`.

  • 79 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 12, 2026
ai-agentsshellbash

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 12, 2026

npx -y skills add wenlan-app/wenlan --skill pages --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pages?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pages
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wenlan-app-pages/badge)](https://www.skillsdirectory.com/skills/wenlan-app-pages)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pages
description: >
  List or open distilled pages by delegating to the local `wenlan pages` CLI.
  `/pages <query>` opens the page when one matches, or prints the matches when
  several do. `/pages` lists recent pages. Invoked as `/pages [query]`.
argument-hint: "[query]"
allowed-tools: ["Bash", "mcp__wenlan__get_page_revisions"]
user-invocable: true
---

# /pages

Open a distilled page fast. The **`wenlan pages`** CLI does the open (one local
command on your PATH — nothing to register, source, or install). This skill is
only the slash workflow wrapper.

**Never read a page body. Never render a metadata card.** Resolve by title /
filename only — the file opens in your editor, which renders and searches it
better than chat. Keeping bodies out is what keeps this cheap.

Resolve the binary once (the agent shell's PATH may omit `~/.wenlan/bin`):

```bash
W="$(command -v wenlan || echo "$HOME/.wenlan/bin/wenlan")"
```

## `/pages <query>` — open, or print the matches

Run ONE Bash block:

```bash
W="$(command -v wenlan || echo "$HOME/.wenlan/bin/wenlan")"
"$W" pages "<query>"
```

Act on its output — do NOT re-fetch, list again, or read bodies:

- **`Opened <path>`** → one page matched and is now open. Print that line. Done.
- **A bare path** → print it and say the OS launcher did not open it automatically.
- **`no page matches: …`** → print it; suggest `/distill <query>`.
- **`N matches for … `** followed by `title · filename` lines → several matched.
  If several pages match, print the CLI output verbatim and ask the user to rerun
  `/pages` with one of the filenames or a narrower query (titles can repeat, so
  the filename is the real handle).

Do not use a picker. Do not re-fetch, list again, or read any page file.

## `/pages` — list recent

```bash
W="$(command -v wenlan || echo "$HOME/.wenlan/bin/wenlan")"
"$W" --format table pages
```

Prints the newest ~20 titles (CLI-capped; `--limit 0` for all). Show them and
tell the user to `/pages <query>` to open one.

If `wenlan` is not found, tell the user to run `/setup`; the CLI is not installed.

## Explicit changelog lookup

Only when the user explicitly asks for a page's changelog or version history,
resolve its stable id without reading the page body. Resolve the page ID first
with `wenlan pages "<query-or-filename>" --resolve-id`.

```bash
"$W" pages "<query-or-filename>" --resolve-id
```

If several pages match, ask the user to narrow by filename and rerun the
resolver. Then call `get_page_revisions(page_id="<resolved-id>")`.
Do not fetch changelogs during ordinary `/pages` list/open flows.

## When NOT to use

- Raw memory lookups → `/recall`.
- Synthesize a new page → `/distill`.

Files in this skill

  • SKILL.md2.7 KB
  • agents/openai.yaml112 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.