Установка
SKILL.md
Pagliacci Pizza — Printing Press CLI
Prerequisites: Install the CLI
This skill drives the pagliacci-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 pagliacci --cli-only - Verify:
pagliacci-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.5 or newer):
go install github.com/mvanhorn/printing-press-library/library/food-and-dining/pagliacci/cmd/pagliacci-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.
When to Use This CLI
Use this CLI when an agent or user wants to interact with Pagliacci Pizza programmatically: browsing the menu, finding a store and time slot, building a half-and-half pizza, planning a small-party order, checking rewards balance, or replaying a past order. The CLI is built for households ordering for family or small parties.
Unique Capabilities
These capabilities aren't available in any other tool for this API.
Local state that compounds
-
slices today— See which Pagliacci slices are available right now at every Seattle store, sorted by proximity to your saved address.When the family asks 'what slices can we order tonight?', this returns a single comparable list — no per-store iteration needed.
pagliacci-pp-cli slices today --agent -
rewards stack— Compute the best application of stored coupons, reward redemption, and account credit for a given order total. Defaults to single-best-coupon + credit; multi-coupon stacking is flagged --experimental.Family-size orders ($40+) hit reward thresholds where stacking actually saves real money — agents pick the optimal discount, not just the first valid coupon.
pagliacci-pp-cli rewards stack --order-total 55.00 --agent -
orders summary— Aggregate orders over a time range with top items, store breakdown, and order frequency.See the household's pizza pattern — what we order most, which store, how often — for budgeting or just fun.
pagliacci-pp-cli orders summary --since 90d --agent
Time-aware composed lookups
-
store tonight— List stores that are still open and can deliver to your saved address right now, sorted by ETA.Last-minute family dinner: only surface stores that will actually take the order tonight.
pagliacci-pp-cli store tonight --address-label home --agent -
address best-time— Resolve a saved address label to the next available delivery slot in one call.Schedule delivery to land at family dinner time — no separate zone lookup or slot search.
pagliacci-pp-cli address best-time --label home --agent
Order workflows
-
orders reorder— Re-create a past order as a fresh cart, with price revalidation since prices change. Add --send to also submit.Households have a usual order — replay it without rebuilding the cart line by line.
pagliacci-pp-cli orders reorder --last --dry-run -
menu half-half— Build a half-and-half pizza in one command, with each side's toppings validated against the menu and priced via ProductPrice.Families with picky kids order half-and-half pies as the default. One command produces a sendable cart entry for the most common household pizza shape.
pagliacci-pp-cli menu half-half --left pepperoni --right cheese --size large --json -
orders plan— Given the number of people and a saved address, suggest a complete order plan: best store, delivery slot, sized cart contents, and the optimal discount stack.Hosting 4–8 people: one command gives the agent everything it needs to confirm an order — no chained tool calls, no manual compose.
pagliacci-pp-cli orders plan --people 6 --address-label home --json
HTTP Transport
This CLI uses Chrome-compatible HTTP transport for browser-facing endpoints. It does not require a resident browser process for normal API calls.
Discovery Signals
This CLI was generated with browser-observed traffic context.
- Capture coverage: 26 API entries from 26 total network entries
- Protocols: rest_json (98% confidence)
- Auth signals: composed — headers: Authorization — cookies: customerId, authToken
- Generation hints: requires_browser_auth, composed_auth
- Candidate command ideas: store list — GET /Store returned full inventory of locations; menu top — GET /MenuTop/{storeId} drives the home menu UI; menu cache — GET /MenuCache/{storeId} returns the full menu; menu slices — GET /MenuSlices returns today's slices across all stores; address lookup — POST /AddressInfo validates an address and resolves a delivery store; address list — GET /AddressName returns saved addresses; orders list — GET /OrderList/{page}/{size} returns paginated history; orders get — GET /OrderListItem/{id} returns full detail
Command Reference
account — Authentication and registration (no auth required for these endpoints)
pagliacci-pp-cli account confirm_email— Confirm a new account by clicking the email-confirmation link's tokenpagliacci-pp-cli account create_token— Issue a session token (used internally by the SPA for token refresh)pagliacci-pp-cli account login— Authenticate with email/phone + password. Response sets customerId and authToken cookies.pagliacci-pp-cli account logout— Invalidate the current sessionpagliacci-pp-cli account password_forgot— Request a password reset emailpagliacci-pp-cli account password_reset— Reset a password using a token from PasswordForgot emailpagliacci-pp-cli account register— Create a new customer account
address — Address validation and saved address book
pagliacci-pp-cli address create— Create a new saved addresspagliacci-pp-cli address delete— Delete a saved addresspagliacci-pp-cli address get— Get a saved address by IDpagliacci-pp-cli address get_info— Get address info by saved IDpagliacci-pp-cli address list— List the authenticated user's saved addressespagliacci-pp-cli address lookup— Validate an address and check delivery zone (returns store ID if deliverable)
cart — Build and price an order before sending it
pagliacci-pp-cli cart get_quote_building— Get the current cart/quote-building state by building IDpagliacci-pp-cli cart price_order— Compute the total price for an order (cart contents, taxes, fees, delivery) before sendingpagliacci-pp-cli cart send_order— Submit an order. Requires payment information for guests; uses stored payment for authenticated users.pagliacci-pp-cli cart update_quote_building— Update cart contents (add/remove/modify items)
credit — Account credit balance and entries
pagliacci-pp-cli credit delete— Remove an account credit entrypagliacci-pp-cli credit get— Get a single credit entrypagliacci-pp-cli credit list— List the authenticated user's account credit entries
customer — Customer profile and devices
pagliacci-pp-cli customer access_devices_delete— Revoke a device's access to the accountpagliacci-pp-cli customer access_devices_list— List devices that have access to this accountpagliacci-pp-cli customer get— Get customer profile by IDpagliacci-pp-cli customer migrate_answer— Submit the answer to a migration questionpagliacci-pp-cli customer migrate_question— Submit a security/migration question (legacy account migration flow)
customer_feedback — Customer feedback submissions to Pagliacci
pagliacci-pp-cli customer_feedback get— Get a feedback submission by IDpagliacci-pp-cli customer_feedback submit— Submit customer feedback (guest or authenticated)
gifts — Stored gift cards, balance lookup, and transfer
pagliacci-pp-cli gifts check— Check the balance of a gift card by ID and PIN (no auth required to check)pagliacci-pp-cli gifts delete— Remove a stored gift card from the accountpagliacci-pp-cli gifts get— Get a single stored gift card by IDpagliacci-pp-cli gifts list— List the authenticated user's stored gift cardspagliacci-pp-cli gifts transfer— Transfer gift card balance to another accountpagliacci-pp-cli gifts value— Get current value/balance of a saved gift card
menu — Menus, slices, and product pricing
pagliacci-pp-cli menu cache— Get the full menu (categories, products, prices, descriptions, images) for a storepagliacci-pp-cli menu product_price— Calculate the price for a customized product (size, toppings, modifiers)pagliacci-pp-cli menu slices— Get available slices across all stores for the current day (perishable, rotates daily)pagliacci-pp-cli menu top— Get featured top-of-menu items for a store
orders — Order history and details
pagliacci-pp-cli orders clone— Get order data shaped for re-ordering (transforms a past order into a new cart)pagliacci-pp-cli orders get— Get the full detail of a single past order (items, prices, store, time)pagliacci-pp-cli orders list— List the authenticated user's order history (paginated)pagliacci-pp-cli orders list_gift_cards— List orders that purchased gift cardspagliacci-pp-cli orders list_pending— List orders that are currently in flight (placed but not yet delivered/picked up)pagliacci-pp-cli orders suggestion— Get personalized order suggestions for a customer
rewards — Loyalty card, rewards history, and stored coupons
pagliacci-pp-cli rewards card— Get the authenticated user's reward card balance, points, and available rewardspagliacci-pp-cli rewards coupon_lookup— Look up a coupon by its serial number (validate before applying)pagliacci-pp-cli rewards history— Get reward earning/redemption history (most recent N entries)pagliacci-pp-cli rewards stored_coupons— List coupons saved to the authenticated user's account
scheduling — Delivery and pickup time windows
pagliacci-pp-cli scheduling slot_list— List available time-window slots for a store and service typepagliacci-pp-cli scheduling slot_list_for_date— List allowed slot times for a specific delivery/pickup date (YYYYMMDD)pagliacci-pp-cli scheduling window_days— List available delivery or pickup days for a store. serviceType is DEL (delivery) or PICK (pickup)
store — Pagliacci store locations, hours, and quote info
pagliacci-pp-cli store compute_quote— Compute a quote for a specific store with cart contents (returns Delivery, Drone, Pickup wait values)pagliacci-pp-cli store get— Get a single store by its numeric IDpagliacci-pp-cli store get_quote— Get quote-store metadata (delivery fee, drone status, pickup wait time) for a single storepagliacci-pp-cli store list— List all Pagliacci store locations with addresses, hours, GPS, amenities, and available slicespagliacci-pp-cli store list_quotes— List quote-store metadata (delivery fee, drone status, pickup wait) for all stores
system — System information and announcements
pagliacci-pp-cli system site_wide_message— Get site-wide announcement banner text (closures, holiday hours, etc.)pagliacci-pp-cli system version— Get the current API version
Freshness Contract
This printed CLI owns bounded freshness only for registered store-backed read command paths. In --data-source auto mode, those paths check sync_state and may run a bounded refresh before reading local data. --data-source local never refreshes. --data-source live reads the API and does not mutate the local store. Set PAGLIACCI_NO_AUTO_REFRESH=1 to skip the freshness hook without changing source selection.
Covered paths:
pagliacci-pp-cli addresspagliacci-pp-cli address createpagliacci-pp-cli address deletepagliacci-pp-cli address getpagliacci-pp-cli address get_infopagliacci-pp-cli address listpagliacci-pp-cli address lookuppagliacci-pp-cli creditpagliacci-pp-cli credit deletepagliacci-pp-cli credit getpagliacci-pp-cli credit listpagliacci-pp-cli customerpagliacci-pp-cli customer access_devices_deletepagliacci-pp-cli customer access_devices_listpagliacci-pp-cli customer getpagliacci-pp-cli customer migrate_answerpagliacci-pp-cli customer migrate_questionpagliacci-pp-cli giftspagliacci-pp-cli gifts checkpagliacci-pp-cli gifts deletepagliacci-pp-cli gifts getpagliacci-pp-cli gifts listpagliacci-pp-cli gifts transferpagliacci-pp-cli gifts valuepagliacci-pp-cli orderspagliacci-pp-cli orders clonepagliacci-pp-cli orders getpagliacci-pp-cli orders listpagliacci-pp-cli orders list_gift_cardspagliacci-pp-cli orders list_pendingpagliacci-pp-cli orders suggestionpagliacci-pp-cli storepagliacci-pp-cli store compute_quotepagliacci-pp-cli store getpagliacci-pp-cli store get_quotepagliacci-pp-cli store listpagliacci-pp-cli store list_quotes
When JSON output uses the generated provenance envelope, freshness metadata appears at meta.freshness. Treat it as current-cache freshness for the covered command path, not a guarantee of complete historical backfill or API-specific enrichment.
Finding the right command
When you know what you want to do but not which command does it, ask the CLI directly:
pagliacci-pp-cli which "<capability in your own words>"
which resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code 0 means at least one match; exit code 2 means no confident match — fall back to --help or use a narrower query.
Recipes
What can we eat tonight?
pagliacci-pp-cli slices today --agent --select store,slice,price
Returns today's available slices across all stores with just the high-gravity fields for fast agent decision making.
Plan a small-party order for 6
pagliacci-pp-cli orders plan --people 6 --address-label home --json
Composes store proximity, delivery slot, sized cart, and discount stack into one recommendation.
Build a half-and-half family pizza
pagliacci-pp-cli menu half-half --left pepperoni --right cheese --size large --json
Validates both halves against the menu and returns a priced, sendable cart entry.
Replay last order
pagliacci-pp-cli orders reorder --last --dry-run --json
Pulls the most recent OrderListItem, transforms via OrderClone, re-prices, and returns a sendable cart without submitting.
Maximize discount before checkout
pagliacci-pp-cli rewards stack --order-total 55.00 --agent
Computes the best application of saved coupons, reward redemption, and account credit for a given order total.
Auth Setup
Pagliacci has no public API and uses a custom composed PagliacciAuth {customerId}|{authToken} header constructed from cookies. Run pagliacci-pp-cli auth login --chrome while logged into pagliacci.com in Chrome — the CLI reads the auth cookies and constructs the header for you. Public commands (menu, stores, slices, time-windows) work without login; authenticated commands (order history, rewards, saved addresses) require the Chrome session.
Run pagliacci-pp-cli doctor to verify setup.
Agent Mode
Add --agent to any command. Expands to: --json --compact --no-input --no-color --yes.
-
Pipeable — JSON on stdout, errors on stderr
-
Filterable —
--selectkeeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:pagliacci-pp-cli address list --agent --select id,name,status -
Previewable —
--dry-runshows the request without sending -
Offline-friendly — команды sync/search могут использовать локальное хранилище SQLite, если оно доступно
-
Неинтерактивный режим — никогда не запрашивает ввод, каждый параметр передаётся флагом
Обёртка ответа
Команды, читающие из локального хранилища или API, оборачивают вывод в конверт с указанием источника:
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}
Разобрать .results для данных и .meta.source чтобы понять, живые они или локальные. Человекочитаемая N results (live) сводка выводится в stderr только когда stdout является терминалом — консьюмеры через пайп/агента получают чистый JSON в stdout.
Обратная связь от агента
Когда вы (или агент) замечаете что-то неладное в этом CLI, зафиксируйте это:
pagliacci-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
pagliacci-pp-cli feedback --stdin < notes.txt
pagliacci-pp-cli feedback list --json --limit 10
Записи хранятся локально в ~/.pagliacci-pp-cli/feedback.jsonl. Они никогда не отправляются POST-запросом, если не PAGLIACCI_FEEDBACK_ENDPOINT установлено И при этом либо --send передан, либо PAGLIACCI_FEEDBACK_AUTO_SEND=true. По умолчанию поведение только локальное.
Пишите, что удивило вас, а не отчёт об ошибке. Коротко, конкретно, одной строкой: именно эта часть накапливается.
Доставка вывода
Каждая команда принимает --deliver <sink>. Вывод направляется в указанный приёмник в дополнение к stdout (или вместо него), чтобы агенты могли маршрутизировать результаты команд без ручной передачи через пайп. Поддерживаются три приёмника:
| Приёмник | Эффект |
|---|---|
stdout | По умолчанию; запись только в stdout |
file:<path> | Атомарно записать вывод в <path> (tmp + rename) |
webhook:<url> | Отправить тело вывода POST-запросом на URL (application/json or application/x-ndjson когда --compact) |
Неизвестные схемы отклоняются со структурированной ошибкой, перечисляющей поддерживаемый набор. Сбои webhook возвращают ненулевой код и логируют URL + HTTP-статус в stderr.
Именованные профили
Профиль — это сохранённый набор значений флагов, переиспользуемый между вызовами. Используйте его, когда запланированный агент вызывает одну и ту же команду при каждом запуске с одинаковой конфигурацией — шаблон «Beacon» от HeyGen.
pagliacci-pp-cli profile save briefing --json
pagliacci-pp-cli --profile briefing address list
pagliacci-pp-cli profile list --json
pagliacci-pp-cli profile show briefing
pagliacci-pp-cli profile delete briefing --yes
Явные флаги всегда важнее значений профиля; значения профиля важнее значений по умолчанию. agent-context перечисляет все доступные профили в available_profiles так что интроспектирующие агенты обнаруживают их во время выполнения.
Коды выхода
| Код | Значение |
|---|---|
| 0 | Успех |
| 2 | Ошибка использования (неверные аргументы) |
| 3 | Ресурс не найден |
| 4 | Требуется аутентификация |
| 5 | Ошибка API (проблема на стороне upstream) |
| 7 | Превышен лимит запросов (подождите и повторите) |
| 10 | Ошибка конфигурации |
Разбор аргументов
Разобрать $ARGUMENTS:
- Пусто,
help, or--help→ показатьpagliacci-pp-cli --helpвывод - Начинается с
install→ заканчивается наmcp→ установка MCP; иначе → см. раздел «Предварительные требования» выше - Всё остальное → Прямое использование (выполнить как команду CLI с
--agent)
Установка MCP-сервера
- Установите MCP-сервер:
go install github.com/mvanhorn/printing-press-library/library/food-and-dining/pagliacci/cmd/pagliacci-pp-mcp@latest - Зарегистрируйте в Claude Code:
claude mcp add pagliacci-pp-mcp -- pagliacci-pp-mcp - Проверьте:
claude mcp list
Прямое использование
- Проверьте, установлен ли:
which pagliacci-pp-cliЕсли не найден, предложите установить (см. раздел «Предварительные требования» в начале этого навыка). - Сопоставьте запрос пользователя с лучшей командой из разделов «Уникальные возможности» и «Справочник команд» выше.
- Выполните с флагом
--agent:pagliacci-pp-cli <command> [subcommand] [args] --agent - Если неоднозначно, углубитесь в справку по подкоманде:
pagliacci-pp-cli <command> --help.
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: pp-pagliacci](https://darkplay.ru/ai/skills/mvanhorn-printing-press-library-pp-pagliacci)
Из того же репозитория
Похожие скиллы и другие разделы каталога
Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
Ozon Seller MCP (RU)ilyautov · API Ozon Seller в ИИ-ассистенте: товары, заказы, цены, остатки, финансы, отзывы
Авито MCP (RU)ilyautov · API Авито в ИИ-ассистенте: объявления, чаты, заказы, автозагрузка, отзывы
Яндекс Маркет MCP (RU)ilyautov · API Яндекс Маркета в ИИ-ассистенте: заказы, товары, цены, отчёты, отзывыЛучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachatЛучшие ИИ-инструменты для генерации изображений
Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты
MagviMagvi
DALL-E 3OpenAI
SupaLabSupalab
Freestyling.aiFreestyling
ArtGeneration.meArtgeneration
BigjpgBigjpg
Художник от VKVK
Avato AI12ai
Virton AIVirton