Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-pbs

БесплатноБез исполняемых скриптовНе проверен

The only machine-readable Pakistani price panel — every urban centre and essential item the Bureau prices weekly, accrued locally because the Bureau itself…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

Pakistan Bureau of Statistics — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the pbs-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:
    npx -y @mvanhorn/printing-press-library install pbs --cli-only
    
  2. Verify: pbs-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:

go install github.com/mvanhorn/printing-press-library/library/other/pbs/cmd/pbs-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.

Pakistan Bureau of Statistics publishes the richest sub-national price data in the country one machine-hostile weekly file at a time, indexes those files in a hand-edited JavaScript array, and deletes its own history: its live index reaches further back than the Internet Archive does, and one monthly annex is already served under two different months so one of them is lost. This CLI turns those scattered releases into one queryable panel and records every gap as a gap. Use spread and drift for questions the source cannot answer at all, coverage and verify to audit what you have, and revisions to catch what the Bureau quietly changed.

When to Use This CLI

Use this CLI for any question about Pakistani consumer prices that spans more than one release file: comparing an item across cities, following an item over weeks, building a custom weighted index, or auditing how complete a price series actually is. It is also the right tool when you need to prove what the Bureau published at a point in time, because it stores what the site later overwrites. Prefer it over reading the source files by hand whenever the answer needs more than one week.

Anti-triggers

Do not use this CLI for:

  • Do not use this CLI to fill in a missing week or estimate a price the Bureau did not publish; it reports gaps and will not interpolate.
  • Do not use it for a provincial or regional average; the Bureau does not publish the city weight vector, so any such figure would look official and be wrong.
  • Do not use it for Pakistani price history before July 2023; the older base series is no longer served and returns HTTP 404.
  • Do not use it for national headline inflation commentary alone, where the Bureau's own published index is the citable figure.
  • Do not use it for wage, fertilizer, cement or CNG series in this version; those sub-tables cover a different city set and are not yet parsed.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Panel joins the source cannot answer

  • spread — See the cheapest and dearest city for any essential item in any week, and how that gap has moved over time.

    Reach for this when the question is about geography rather than time — which city is an outlier on this item right now.

    pbs-pp-cli spread "Onions" --as-of 2026-09-03 --agent
    
  • drift — Follow one item's price across named cities and weeks, with missing weeks shown as gaps rather than filled.

    Reach for this when the question is about time for a known item and known cities.

    pbs-pp-cli drift "Wheat Flour Bag" --city lahore --city quetta --agent
    
  • basket — Build your own price index over any subset of items using the weight vector PBS republishes every week.

    Reach for this to build a food-only or fuel-only index the Bureau never computes.

    pbs-pp-cli basket --item "Wheat Flour Bag" --item "Sugar Refined" --weight lowest --agent
    
  • movers — Rank every item in a release by percent change recomputed from price levels, nationally or per city, with outliers flagged.

    Reach for this when the question is which items moved this week, rather than one known item.

    pbs-pp-cli movers --as-of 2026-09-03 --top 10 --flag-outliers --agent
    

Only the accrued store knows

  • weights — Read the item weight vector for any release, diff two releases, and check the totals sum to 100.

    _Reach for this before trusting a long ind

Полный SKILL.md на GitHub

Установить pp-pbs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

FAQ

Что делает скилл pp-pbs?

The only machine-readable Pakistani price panel — every urban centre and essential item the Bureau prices weekly, accrued locally because the Bureau itself does not keep the series. Trigger phrases: `pakistan spi`, `weekly sensitive price indicator`, `pakistani food prices by city`, `price of wheat flour in lahore`, `pakistan cpi city prices`, `cost of living pakistan by city`, `use pbs`, `run pbs`.

Как установить скилл pp-pbs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-pbs запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-pbs с