Agent skill

Pp Smartex

by mvanhorn in mvanhorn/printing-press-library

Read-only Japan Shinkansen planning with smartEX: dated adult fares, Tokaido/Sanyo/Kyushu stations, discount deadlines, luggage limits and booking handoff.

Apache-2.0Auto-check: notes

Install Pp Smartex

skills CLI
$ npx skills add mvanhorn/printing-press-library --skill pp-smartex -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mvanhorn/printing-press-library pp-smartex --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mvanhorn/printing-press-library.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-skills/pp-smartex .claude/skills/pp-smartex && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pp-smartex
GitHub stars
2.1k
Token cost
~1.9k tokens
SKILL.md length
702 words
Files
1
Skills in repo
505
Repo updated
First seen
Licence
Apache-2.0

At a glance

Read-only Japan Shinkansen planning with smartEX: dated adult fares, Tokaido/Sanyo/Kyushu stations, discount deadlines, luggage limits and booking handoff.

  • Works in 3 steps: Install via the Printing Press… → Verify: smartex-pp-cli --version → Ensure the reported install directory is…
  • SmartEX planning
  • SKILL.md covers Prerequisites: Install the CLI, When to Use This CLI, Choose the Command and Recipes, plus 3 more sections
  • Calls npx and go

What it does

Pp Smartex is an agent skill from mvanhorn/printing-press-library. Read-only Japan Shinkansen planning with smartEX: dated adult fares, Tokaido/Sanyo/Kyushu stations, discount deadlines, luggage limits and booking handoff. Use for smartEX planning, compare Shinkansen fares, smartEX booking deadline, oversized baggage, use smartex or run smartex. Exact seat inventory and bookings use the official site.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Official library of CLIs generated by the CLI Printing Press. Endorsed, tested, and community-contributed. The licence is Apache-2.0.

When your agent uses it

  • SmartEX planning
  • Compare Shinkansen fares
  • SmartEX booking deadline
  • Oversized baggage

Example prompts

  • “/pp-smartex”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Read, Bash

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and…
  2. Verify: smartex-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

What it can do on your machine

Read from SKILL.md and the folder at commit 0fdcc7a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pp Smartex loads about 1.9k tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 702 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~87
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mvanhorn/printing-press-library at commit 0fdcc7a, republished under its Apache-2.0 licence (© mvanhorn). 702 words, ~1,931 tokens.

Download SKILL.mdSave it as .claude/skills/pp-smartex/SKILL.md (or your agent's skills folder).
name
pp-smartex
description
Read-only Japan Shinkansen planning with smartEX: dated adult fares, Tokaido/Sanyo/Kyushu stations, discount deadlines, luggage limits and booking handoff. Use for smartEX planning, compare Shinkansen fares, smartEX booking deadline, oversized baggage, use smartex or run smartex. Exact seat inventory and bookings use the official site.
allowed-tools
Read, Bash
author
zjsng
license
Apache-2.0
<!-- GENERATED FILE — DO NOT EDIT.
     This file is a verbatim mirror of library/travel/smartex/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

smartEX planning

Prerequisites: Install the CLI

This skill drives the smartex-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    bash
    npx -y @mvanhorn/printing-press-library install smartex --cli-only
  2. Verify: smartex-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:

bash
go install github.com/mvanhorn/printing-press-library/library/travel/smartex/cmd/smartex-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

Read-only dated adult fares, discount deadlines and baggage checks from smartEX and linked JR sources. Plan with Japanese station names and precise JST dates, then book through the official site.

When to Use This CLI

Resolve Tokyo–Kagoshima-Chuo Shinkansen stations and compare public fares or booking constraints. For exact trains and seats, generate a canonical handoff and use member booking. No booking, payment, account or reservation mutation is supported.

Choose the Command

  • Resolve Japanese names and station IDs with stations; Osaka and Shin-Osaka remain distinct.
  • Use fare for dated basic adult one-way prices, current JST month and next two months. All-class comparison uses four public requests. Child fares and party totals involving children are null.
  • Use products for current smartEX/Hayatoku rules and sale-window checks; listed routes, exclusion dates, allocated seats and discount prices still require source/booking confirmation. --detail fetches current fare-document links.
  • Use window for precise JST calendar/overnight rules. Confirmation time is null because current Japanese08:00 and English14:00 guidance conflict.
  • Use window --oversized-baggage with --class reserved or --class green for class-dependent five/four-person limits. Oversized one-year and overnight eligibility remain unknown because official language editions differ; use the known one-month daytime fallback.
  • Use baggage for per-piece cm/kg limits. More than160cm through250cm requires a reserved oversized area; special equipment needs operator confirmation.
  • Use timetable for fresh official publications and a limited2026-03-14 basic example catalog. Operating date and seats are unknown; null arrival means the source provided departure only.
  • Use policy for boarding, changes and refund conditions; handoff supplies a booking checklist.

Policy as-of2026-10-02; embedded rules are a snapshot, not current inventory. An empty timetable example list is incomplete coverage, not no service. Paid-member EX Reservation and free-membership smartEX are distinct. Round-trip smartEX discounts ended2026-03-31.

Recipes

fare
bash
smartex-pp-cli fare --from Tokyo --to Shin-Osaka --date 2026-10-02 --agent --select quotes

Compare fresh dated adult fares and membership restrictions

window
bash
smartex-pp-cli window --date 2026-10-28 --now 2026-10-02T12:00:00+09:00 --agent

Compute precise JST advance request and confirmation boundaries

baggage
bash
smartex-pp-cli baggage --length-cm 80 --width-cm 60 --height-cm 40 --weight-kg 20 --agent

Check baggage size and required reserved seat class

Show full SKILL.md (341 more words)Show less

Health Check and Recovery

sh
smartex-pp-cli doctor --json
smartex-pp-cli sources --source timetable --check --limit 1 --agent
smartex-pp-cli reference service --agent

Unknown station or invalid input exits2; source/parse/network failure5; throttle7. A source HTTP200 check is page reachability only. On a source change, inspect current reference links or use official handoff. On partial fare failure, successful quotes retain explicit fetch_failures; do not total missing classes or unknown child prices.

Unique Capabilities

These commands return compact, sourced planning output for agent workflows.

Shinkansen planning
  • stations — Resolve station names and corridor order

    Use for compact auditable Shinkansen planning before booking

    bash
    smartex-pp-cli stations --query Osaka --agent
  • route — Identify corridors and train categories with booking links

    Use for compact auditable Shinkansen planning before booking

    bash
    smartex-pp-cli route --from Tokyo --to Hakata --agent
  • fare — Compare fresh dated adult fares and membership restrictions

    Use for compact auditable Shinkansen planning before booking

    bash
    smartex-pp-cli fare --from Tokyo --to Shin-Osaka --date 2026-10-02 --agent
  • products — Compare discount deadlines and unresolved eligibility conditions

    Use for compact auditable Shinkansen planning before booking

    bash
    smartex-pp-cli products --date 2026-10-28 --now 2026-10-02T12:00:00+09:00 --agent
  • window — Compute precise JST advance request and confirmation boundaries

    Use for compact auditable Shinkansen planning before booking

    bash
    smartex-pp-cli window --date 2026-10-28 --now 2026-10-02T12:00:00+09:00 --agent
  • baggage — Check baggage size and required reserved seat class

    Use for compact auditable Shinkansen planning before booking

    bash
    smartex-pp-cli baggage --length-cm 80 --width-cm 60 --height-cm 40 --weight-kg 20 --agent
  • policy — Retrieve practical boarding, changes and refunds guidance

    Use for compact auditable Shinkansen planning before booking

    bash
    smartex-pp-cli policy --topic refund --agent
  • timetable — Find current official basic timetables and validated regular service examples

    Use for compact auditable Shinkansen planning before booking

    bash
    smartex-pp-cli timetable --from Tokyo --to Shin-Osaka --agent
  • handoff — Prepare canonical booking links and an exact travel checklist

    Use for compact auditable Shinkansen planning before booking

    bash
    smartex-pp-cli handoff --from Tokyo --to Shin-Osaka --date 2026-10-28 --agent
  • sources — Inspect source freshness and planning versus inventory boundaries

    Use for compact auditable Shinkansen planning before booking

    bash
    smartex-pp-cli sources --agent

Auth Setup

Public planning commands need no login. Exact trains and seat inventory are available through the canonical member booking handoff.

Run smartex-pp-cli doctor to verify setup.

© mvanhorn, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in cli-skills/pp-smartex of mvanhorn/printing-press-library.

Open the folder on GitHubat commit 0fdcc7a

Compare with similar skills

Pp Smartex next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pp Smartex compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pp Smartex this skillmvanhorn/printing-press-library2.1k—~1.9kAutomated safety check: NotesApache-2.0
Content Dates Auditthedaviddias/Front-End-Checklist74k—~691Automated safety check: PassMIT
Shifting Clinical Datesmaziyarpanahi/openmed5.5k—~1.7kAutomated safety check: PassApache-2.0
Date Calculatoraipoch/medical-research-skills2k—~1.3kAutomated safety check: PassMIT
Date NightLeoYeAI/openclaw-master-skills2.2k—~4.8kAutomated safety check: PassMIT
Date Range Analyzerjeremylongshore/tons-of-skills-marketplace2.8k1 repos~564Automated safety check: PassMIT

Similar skills

  • Content Dates Audit

    thedaviddias/Front-End-Checklist

    Audits article and blog pages for visible publish dates, Article JSON-LD with datePublished and dateModified, and Open Graph time tags, then fixes what is missing.

    74k GitHub stars~691 tokensUpdated 2 days ago
    Marketing & SEOAuto-check passed
  • Shifting Clinical Dates

    maziyarpanahi/openmed

    Apply consistent per-patient date shifting in OpenMed that preserves intervals between events while satisfying HIPAA Safe Harbor's date rule.

    5.5k GitHub stars~1.7k tokensUpdated yesterday
    Legal & ComplianceAuto-check passed
  • Date Calculator

    aipoch/medical-research-skills

    Calculate medical date windows including gestational age, estimated delivery dates, and follow-up visit scheduling.

    2k GitHub stars~1.3k tokensUpdated 21 days ago
    Research & ScienceAuto-check passed
  • Date Night

    LeoYeAI/openclaw-master-skills

    Your AI date night concierge — plans, books, and coordinates an entire evening out through browser automation.

    2.2k GitHub stars~4.8k tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check passed
  • Date Range Analyzer

    jeremylongshore/tons-of-skills-marketplace

    Analyze date range analyzer operations. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub starsUsed in 1 repo~564 tokens
    Data & AnalyticsAuto-check passed
  • Adult Social Skills

    LeoYeAI/openclaw-master-skills

    Building and maintaining social connections as an adult. An agent skill from LeoYeAI/openclaw-master-skills.

    2.2k GitHub stars~5.4k tokensUpdated 2 mo ago
    Auto-check passed

More from mvanhorn/printing-press-library

All 505 skills in this repo
  • Agent Desktop

    mvanhorn/printing-press-library

    Desktop automation through the real Rust agent-desktop CLI, published in Printing Press through a small bridge.

    2.1k GitHub stars~2.3k tokensUpdated yesterday
    Auto-check: notes
  • Gfonts

    mvanhorn/printing-press-library

    Search, browse, and download Google Fonts from the terminal via the gfonts CLI.

    2.1k GitHub stars~574 tokensUpdated yesterday
    Auto-check passed
  • Pp 1688

    mvanhorn/printing-press-library

    The free, offline Trigger phrases: search 1688 for, find a factory on 1688 for, wholesale price on 1688 for, who is the cheapest supplier on 1688 for, compare 1688 suppliers for, use 1688, run 1688.

    2.1k GitHub stars~3k tokensUpdated yesterday
    Auto-check: notes
  • Pp Activity Japan

    mvanhorn/printing-press-library

    Inspect known Activity Japan plan IDs or URLs, compare dated prices and sessions, check language-sitemap coverage, and hand off to canonical booking pages.

    2.1k GitHub stars~2k tokensUpdated yesterday
    Auto-check: notes
  • Pp Adminbyrequest

    mvanhorn/printing-press-library

    Every Admin By Request portal action, plus a local SQLite mirror of audit, events, inventory and requests for ad-hoc...

    2.1k GitHub stars~3.3k tokensUpdated yesterday
    Auto-check: notes
  • Pp Agent Capture

    mvanhorn/printing-press-library

    macOS screen capture, window recording, GIF conversion, and agent evidence bundles from the terminal.

    2.1k GitHub stars~1.6k tokensUpdated yesterday
    Auto-check: notes

Questions about Pp Smartex

What does Pp Smartex do?

Read-only Japan Shinkansen planning with smartEX: dated adult fares, Tokaido/Sanyo/Kyushu stations, discount deadlines, luggage limits and booking handoff. Pp Smartex is an agent skill from mvanhorn/printing-press-library. Read-only Japan Shinkansen planning with smartEX: dated adult fares, Tokaido/Sanyo/Kyushu stations, discount deadlines, luggage limits and booking handoff.

When should I use Pp Smartex?

Pp Smartex fits situations like: smartEX planning; compare Shinkansen fares; smartEX booking deadline; oversized baggage.

How do I install Pp Smartex in Claude Code?

Run `npx skills add mvanhorn/printing-press-library --skill pp-smartex -a claude-code`. Or copy the skill folder (cli-skills/pp-smartex in mvanhorn/printing-press-library) into .claude/skills/pp-smartex in your project. Claude Code loads it when a task matches its description.

How do I install Pp Smartex in Codex?

Run `npx skills add mvanhorn/printing-press-library --skill pp-smartex -a codex`. Or copy the skill folder (cli-skills/pp-smartex in mvanhorn/printing-press-library) into .agents/skills/pp-smartex in your project. Codex loads it when a task matches its description.

Can I use Pp Smartex in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mvanhorn/printing-press-library --skill pp-smartex -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pp-smartex, .gemini/skills/pp-smartex, .github/skills/pp-smartex and .opencode/skills/pp-smartex in your project.

What does Pp Smartex need to run?

Going by SKILL.md and its folder, Pp Smartex needs the command-line tools its instructions call (npx and go). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Bash.

Does Pp Smartex access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Pp Smartex safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Pp Smartex use?

Pp Smartex is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pp Smartex use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pp Smartex?

Skills that share tags, products or a category with Pp Smartex: Content Dates Audit (thedaviddias/Front-End-Checklist, 74k stars), Shifting Clinical Dates (maziyarpanahi/openmed, 5.5k stars), Date Calculator (aipoch/medical-research-skills, 2k stars) and Date Night (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pp Smartex?

mvanhorn (a GitHub user) maintains it in mvanhorn/printing-press-library, which has 2,053 GitHub stars. The repository holds 505 skills in this directory. The repository was last updated on October 7, 2026.

Source: mvanhorn/printing-press-library on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.