@kvalifik/relume-sitemap
v0.1.0
Published
Generate Relume-compatible sitemap clipboard payloads from XML sitemaps and crawled pages.
Downloads
114
Readme
Relume Sitemap
Generate Relume-compatible visual sitemap clipboard payloads from XML sitemaps and crawled page HTML.
This is a CLI-first tool. It can be used directly by humans, or through Agent Skills in Codex, Claude, and other skills-compatible agents.
This project is not affiliated with, endorsed by, or sponsored by Relume.
Install
Run without installing:
npx @kvalifik/relume-sitemap@latest --helpOr install globally:
npm install -g @kvalifik/relume-sitemapWorkflow
Inspect the sitemap first:
relume-sitemap inspect --sitemap https://www.example.com/sitemap.xmlIf multiple language or path scopes are reported, choose one scope before crawling. For example, English root pages while excluding Danish pages:
relume-sitemap crawl \
--sitemap https://www.example.com/sitemap.xml \
--include / \
--exclude /da \
--out ./work/example-enBuild a Relume payload with inferred page sections:
relume-sitemap build \
--crawl ./work/example-en/crawl.json \
--out ./work/example-en \
--sections include \
--copyThen paste into Relume's sitemap canvas with Cmd+V on macOS.
Commands
relume-sitemap inspect --sitemap <url-or-file>
relume-sitemap discover --url <url> --out <dir> [--max-pages 500] [--include /] [--exclude /da,/fr]
relume-sitemap crawl --sitemap <url-or-file> --include <path-prefix> --out <dir> [--exclude /da,/fr]
relume-sitemap build --crawl <crawl.json> --out <dir> [--sections include|none] [--copy]
relume-sitemap validate --payload <relume-payload.html>
relume-sitemap copy --payload <relume-payload.html>Use discover when a public XML sitemap is missing, sparse, or only contains the homepage. It writes discovered-sitemap.xml, which can then be passed to crawl.
Outputs
The build command writes:
crawl.jsonsitemap-tree.jsonrelume-payload.jsonrelume-payload.htmlsitemap.mdcopy-to-clipboard.html
relume-payload.html is the clipboard fragment Relume reads. sitemap.md is the easiest review file.
Agent Skills
The shared Agent Skill lives at:
skills/relume-sitemap/SKILL.mdCodex and Claude Code wrapper plugins are included under:
plugins/codex/relume-sitemap/
plugins/claude/relume-sitemap/The wrappers intentionally stay thin. The CLI is the source of truth.
Codex
Install the marketplace from GitHub:
codex plugin marketplace add kvalifik/relume-sitemapThen open the Codex plugin directory, choose Kvalifik Tools, and install Relume Sitemap.
For local skill-only installation, use Codex's skill installer with:
https://github.com/kvalifik/relume-sitemap/tree/main/skills/relume-sitemapClaude Code
Install the marketplace from GitHub:
/plugin marketplace add kvalifik/relume-sitemap
/plugin install relume-sitemap@kvalifik-toolsThe Claude plugin exposes the skill as /relume-sitemap:relume-sitemap.
Claude.ai
Create a ZIP containing the skills/relume-sitemap/ folder and upload it as a custom skill. The folder name must remain relume-sitemap.
Development
npm testThe test suite uses a local crawl fixture, so it does not hit live websites.
