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★ 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:
- Install via the Printing Press installer. It defaults binaries to
$HOME/.local/binon macOS/Linux and%LOCALAPPDATA%\Programs\PrintingPress\binon Windows:npx -y @mvanhorn/printing-press-library install psx --cli-only - Verify:
psx-pp-cli --version - Ensure the reported install directory is on
$PATHfor 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 --agentbasis— 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 --agentdocs 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 --agentwatchlist— 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 --agentdrift— Trace one symbol's PE, dividend yield, market c
Установить pp-psx в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashFAQ
Что делает скилл 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), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic