Command Palette

Search for a command to run...

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

pp-nccpl

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

Pakistan's clearing-layer data as a local research panel with a coverage audit and an arithmetic self-check, not another dashboard. Trigger phrases: `foreign…

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

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

NCCPL — Printing Press CLI

Prerequisites: Install the CLI

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

NCCPL publishes the only per-symbol leverage, short-interest and free-float data in the Pakistani market - once, behind Cloudflare, one date at a time, with no export. Every tool built on it renders a chart and throws the history away. This one keeps it: sync backfills a local SQLite panel, panel emits it in the shape a regression consumes, coverage tells you exactly which sessions are missing, and verify proves each date against NCCPL's own arithmetic identities before you trust it.

When to Use This CLI

Reach for this CLI when you need Pakistani market data that sits below the exchange feed: who bought and sold by investor class, how much leverage and short interest is open against a symbol, what a symbol's free float and VAR margin are, and how trade volume reconciles against settlement. It is built for assembling history into a local panel and handing that panel to a model, so prefer it whenever the question spans more than one date. It is also the right tool for auditing data you already pulled, because it can prove a date against NCCPL's own arithmetic identities and tell you which sessions are missing.

Anti-triggers

Do not use this CLI for:

  • Do not use this CLI for live or intraday prices, quotes, or index levels - NCCPL publishes post-settlement data once per session, not a market feed.
  • Do not use this CLI for company fundamentals, earnings, announcements or corporate actions; it is a clearing house, not a filings source.
  • Do not use this CLI to place, modify or settle trades - every endpoint it reaches is read-only market information.
  • Do not use this CLI to compute a regression or backtest result; export a panel and run the analysis in your own research code.
  • Do not expect deep history on every resource - some NCCPL surfaces are near-dormant, so run coverage before assuming an archive exists.

Unique Capabilities

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

Research-grade integrity

  • verify — Prove a date's flow numbers are internally consistent before they reach a regression.

    Reach for this before feeding any NCCPL date into a model; a date that fails an invariant is corrupt input, not a weak signal.

    nccpl-pp-cli verify --from 2026-08-01 --to 2026-09-04 --agent
    
  • coverage — List which sessions are missing per resource, how stale each one is, and how wide each date's data actually is.

    Use this as a pipeline pre-flight - it exits non-zero on a gap, so a scheduled research job fails loudly instead of silently treating a missing session as a zero. Re-syncing a date replaces it rather than adding to it: a stored settlement date always mirrors the last snapshot fetched for it, so if NCCPL revises a date and drops symbols the next sync removes them and the store never serves a row the source stopped publishing. coverage row_count therefore always equals the number of observations actually stored, and the audit can never disagree with the data it audits. One deliberate exception: a fetch returning zero rows for a date that already holds rows does NOT delete them, because an empty response and a transient failure look identical from here; the next non-empty fetch mirrors the date correctly.

    nccpl-pp-cli coverage --resources fipi,lipi,var-margins --exit-code --agent
    
  • contract-check — Assert every endpoint family still answers correctly for a date it just reported as its own latest.

    _Run this when results look empty - it

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

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

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

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

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

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

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

Read
Bash

FAQ

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

Pakistan's clearing-layer data as a local research panel with a coverage audit and an arithmetic self-check, not another dashboard. Trigger phrases: `foreign investor flows on the PSX`, `FIPI and LIPI for last week`, `which sectors did foreigners buy`, `short interest on a Pakistani stock`, `free float for a PSX symbol`, `MTS open positions`, `use nccpl`, `run nccpl`.

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

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

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

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

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

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