Command Palette

Search for a command to run...

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

pp-psx

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

Every PSX data-portal surface in one Go binary, plus the local price history the exchange itself throws away. Trigger phrases: `KSE-100 level today`, `quote…

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

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

Pakistan Stock Exchange — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the psx-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 psx --cli-only
    
  2. Verify: psx-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/payments/psx/cmd/psx-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.

The PSX data portal renders only what is true right now and keeps nothing for you. This CLI mirrors the instrument master, screener metrics, sector aggregates and market snapshots into local SQLite, so longitudinal questions the portal structurally cannot answer become one command: what changed since last week (diff), which names are abnormal against their own history (unusual), and when a valuation multiple compressed (drift). Announcements, payouts and OHLCV history are read live rather than mirrored. No API key, no account, no browser.

When to Use This CLI

Use this CLI for any question about Pakistan Stock Exchange instruments, prices, indices, sectors, valuation metrics, corporate actions or debt instruments. It is strongest when the question is longitudinal or cross-entity, because it keeps a local mirror the exchange portal does not. Note that longitudinal commands (diff, drift, unusual, rotation) read snapshots captured by 'snapshot take', so run that on a schedule before expecting trend answers. It is strictly read-only: PSX exposes no write surface and this CLI never mutates anything upstream.

Anti-triggers

Do not use this CLI for:

  • Do not use this CLI to place, modify or cancel trades. PSX exposes no order-entry surface and this CLI is strictly read-only.
  • Do not use it for non-PSX markets. It covers Pakistan Stock Exchange only, not NSE India, NYSE, or crypto venues.
  • Do not use it for real-time streaming or tick-by-tick execution data. The portal is poll-based and the CLI paces requests conservatively.
  • Do not use it as a source of investment advice or Shariah-compliance verdicts. It reports exchange data; interpretation is the caller's responsibility.
  • Do not use it for portfolio profit-and-loss against purchase prices. PSX exposes no trade or cost-basis data.

Unique Capabilities

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

Cross-surface joins

  • actions — See every announcement, payout, AGM date and circuit-breaker event for the symbols you track, in one place.

    Reach for this when the question is 'did anything happen to my names', instead of running four searches and merging them by hand.

    psx-pp-cli actions --watchlist --since 7d --agent
    
  • basis — Compare futures-board prices against the regular spot board to see premium or discount per symbol.

    Use this for carry and roll questions that require crossing PSX's separate market boards.

    psx-pp-cli basis --market DFC --top 20 --agent
    
  • docs search — Search PSX regulatory documents, listing guides and notices by keyword, with last-updated dates.

    Use this to locate the governing PSX rule, guide or notice for a question instead of browsing the corporate site by hand.

    psx-pp-cli docs search "rule book" --agent
    

Local state that compounds

  • diff — Show what changed in price, volume and valuation metrics between two synced snapshots.

    Use this when the user asks what moved since last week rather than what the price is right now.

    psx-pp-cli diff --since 7d --agent
    
  • watchlist — Keep a saved symbol set and price it on demand, with change measured from the day you added each name.

    Use this to give an otherwise stateless market portal a memory of which names the user actually cares about.

    psx-pp-cli watchlist prices --agent
    
  • drift — Trace one symbol's PE, dividend yield, market c

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

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

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

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

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

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

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

Read
Bash

FAQ

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

Every PSX data-portal surface in one Go binary, plus the local price history the exchange itself throws away. Trigger phrases: `KSE-100 level today`, `quote OGDC`, `what changed in my PSX watchlist`, `PSX dividend announcements this week`, `which PSX sector is leading`, `Pakistan Stock Exchange historical data`, `use psx`, `run psx`, `PSX listing rules PDF`.

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

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

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

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

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

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