feat: page command defaults to TOC summary, adds --complete flag #4

Merged
sam merged 1 commits from claude/issue-3-page-default-summary into main 2026-03-05 20:35:28 -06:00
Collaborator

Closes #3

Changes

  • rsw <game> page <title> now returns only the table of contents (section list) by default, conserving agent context window
  • Added --complete flag to fetch the full page content (previous default behavior)
  • --section <name> behavior is unchanged
  • Updated SKILL.md with new usage docs and recommended 2-step workflow: fetch TOC first, then fetch specific section

New UX

# Default: TOC only
rsw osrs page "Dragon scimitar"

# Specific section (unchanged)
rsw osrs page "Dragon scimitar" --section "Combat styles"

# Full page (old default behavior)
rsw osrs page "Dragon scimitar" --complete
Closes #3 ## Changes - `rsw <game> page <title>` now returns **only the table of contents** (section list) by default, conserving agent context window - Added `--complete` flag to fetch the full page content (previous default behavior) - `--section <name>` behavior is unchanged - Updated `SKILL.md` with new usage docs and recommended 2-step workflow: fetch TOC first, then fetch specific section ## New UX ``` # Default: TOC only rsw osrs page "Dragon scimitar" # Specific section (unchanged) rsw osrs page "Dragon scimitar" --section "Combat styles" # Full page (old default behavior) rsw osrs page "Dragon scimitar" --complete ```
claude added 1 commit 2026-03-05 20:28:26 -06:00
feat: page command defaults to TOC-only, adds --complete flag
All checks were successful
Integration Tests / test (pull_request) Successful in 30s
21a0ae09e2
sam merged commit 21a0ae09e2 into main 2026-03-05 20:35:28 -06:00
sam deleted branch claude/issue-3-page-default-summary 2026-03-05 20:35:29 -06:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/claude-plugin-runescape#4