Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

OpenRouter in the CLI: budgets and failover v1.0.0

Use this resource to compare OpenRouter models, track an agent fleet's spend and watch credit runway

New

  • 440 downloads
  • 172 likes
  • 250 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install openrouter-fleet-cost-governance

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent uses the openrouter-pp-cli tool to compare models for a task, track what each scheduled job costs, check credit runway and spot cost spikes. A local usage ledger and failover maps underpin it. You get a budget per agent and alerts.

Mostly picked by

Updated November 2, 2026

Card for the “OpenRouter in the CLI: budgets and failover” skill

Details

Generates with
Your agent's model
Licence
Apache-2.0

Similar resources

View all

What you get

  • SKILL.md: installation and command reference
  • SKILL.md: catalogue intelligence and cost governance
  • SKILL.md: provider health, dispatch and credit runway

Good fit for

  • You run several agents that draw on OpenRouter credits
  • You want to understand why last week's bill went up

Not for

    Tags

    • openrouter
    • costs
    • models
    • agents

    About

    You say

    “Which model is cheapest for my summarisation task, and what did my scheduled jobs cost this week?”

    Card for the “OpenRouter in the CLI: budgets and failover” skill

    Skill published by Rick van de Laar under the Apache-2.0 license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to compare OpenRouter models, track an agent fleet's spend and watch credit runway
    3. Review and adjust the result

    Content preview

    Files

    • .golangci.yml0.2 KB
    • .goreleaser.yaml1.4 KB
    • .manuscripts/20260901-171359-a49ee862/proofs/2026-09-03-005439-dogfood-results.json786 KB
    • .manuscripts/20260901-171359-a49ee862/proofs/2026-09-03-005709-dogfood-results.json786.8 KB
    • .manuscripts/20260901-171359-a49ee862/proofs/2026-09-03-010338-dogfood-results.json782.5 KB
    • .manuscripts/20260901-171359-a49ee862/proofs/2026-09-03-010719-dogfood-results.json781.8 KB
    • .manuscripts/20260901-171359-a49ee862/proofs/phase5-acceptance.json34.9 KB
    • .manuscripts/20260901-171359-a49ee862/proofs/regen-merge-dry-run-report.json92.3 KB
    • .manuscripts/20260901-171359-a49ee862/research.json22.1 KB
    • .manuscripts/20260901-171359-a49ee862/research/2026-09-01-181300-feat-openrouter-pp-cli-brief.md3.8 KB
    • .manuscripts/20260901-171359-a49ee862/research/2026-09-01-182550-feat-openrouter-pp-cli-absorb-manifest.md7.5 KB
    • .manuscripts/20260901-171359-a49ee862/research/openrouter-openapi.json1,522.8 KB
    • .printing-press-patches/.gitkeep0 KB
    • .printing-press-patches/ambiguous-write-retries-disabled.json0.9 KB
    • .printing-press-patches/batch-rollback-reports-committed-count.json0.6 KB
    • .printing-press-patches/catalog-go-1264-vuln-floor.json0.7 KB
    • .printing-press-patches/catalog-go-1265-vuln-floor.json0.7 KB
    • .printing-press-patches/defaulted-numeric-parameters-emitted.json0.6 KB
    • .printing-press-patches/manifest-schema-and-printer-name.json0.8 KB
    • .printing-press-patches/mcp-http-transport.json0.9 KB
    • .printing-press-patches/models-query-tests.json0.6 KB
    • .printing-press-patches/openrouter-novel-literal-registration.json1.1 KB
    • .printing-press-patches/openrouter-release-ledger-version-preservation.json1 KB
    • .printing-press-patches/spec-example-tokens-sanitized.json1 KB
    • .printing-press-patches/transcendence-commands.json1.5 KB
    • .printing-press-pii-polish.json0.2 KB
    • .printing-press-release.json0.6 KB
    • .printing-press.json3.7 KB
    • agentcookie.toml0.5 KB
    • AGENTS.md7.2 KB
    • apify-actor-audit-report.json0.2 KB
    • CHANGELOG.md1.1 KB
    • CLAUDE.md0 KB
    • cmd/openrouter-pp-cli/main.go0.4 KB
    • cmd/openrouter-pp-mcp/http_auth_test.go4.8 KB
    • cmd/openrouter-pp-mcp/main.go6.3 KB
    • go.mod1.1 KB
    • go.sum7.6 KB
    • internal/cache/cache.go1.8 KB
    • internal/cli/agent_context.go8.2 KB
    • internal/cli/analytics.go5.8 KB
    • internal/cli/api_discovery.go3.8 KB
    • internal/cli/audio_create-speech.go110.7 KB
    • internal/cli/audio_create-transcriptions.go117.3 KB
    • internal/cli/audio.go0.7 KB
    • internal/cli/auth.go8.1 KB
    • internal/cli/budget_check.go1.9 KB
    • internal/cli/budget_set.go1.2 KB
    • internal/cli/budget_test.go1 KB
    • internal/cli/budget.go1.6 KB
    • internal/cli/byok_create-byokkey.go13.5 KB
    • internal/cli/byok_delete-byokkey.go9.3 KB
    • internal/cli/byok_get-byokkey.go5.5 KB
    • internal/cli/byok_list-byokkeys.go8.6 KB
    • internal/cli/byok_update-byokkey.go12.6 KB
    • internal/cli/byok.go0.8 KB
    • internal/cli/channel_workflow.go8.6 KB
    • internal/cli/containers_files_download-container-content.go4.1 KB
    • internal/cli/containers_files_get-container.go6 KB
    • internal/cli/containers_files_list-container.go6.3 KB
    • internal/cli/containers_files_promote-container.go10.5 KB
    • internal/cli/containers_files.go0.9 KB
    • internal/cli/containers.go0.7 KB
    • internal/cli/credits_create-coinbase-charge.go9.2 KB
    • internal/cli/credits_get.go4.6 KB
    • internal/cli/credits_runway_test.go1.1 KB
    • internal/cli/credits_runway.go4.6 KB
    • internal/cli/credits.go0.7 KB
    • internal/cli/data_source.go29.9 KB
    • internal/cli/datasets_get-app-rankings.go8.1 KB
    • internal/cli/datasets_get-rankings-daily.go9.1 KB
    • internal/cli/datasets_get-session-cost.go6.4 KB
    • internal/cli/datasets.go0.9 KB
    • internal/cli/deliver.go3.7 KB
    • internal/cli/doctor.go27.2 KB
    • internal/cli/embeddings_create.go20.8 KB
    • internal/cli/embeddings_list-models.go6.1 KB
    • internal/cli/embeddings.go0.7 KB
    • internal/cli/endpoints_failover_test.go1.1 KB
    • internal/cli/endpoints_failover.go3.8 KB
    • internal/cli/export.go6.4 KB
    • internal/cli/feedback.go7 KB
    • internal/cli/files_content_download-file.go4.8 KB
    • internal/cli/files_content.go0.6 KB
    • internal/cli/files_delete.go10.3 KB
    • internal/cli/files_get-metadata.go6.4 KB
    • internal/cli/files_list.go7 KB
    • internal/cli/files_upload.go11 KB
    • internal/cli/files.go0.8 KB
    • internal/cli/generation_explain_test.go1.1 KB
    • internal/cli/generation_explain.go4.7 KB
    • internal/cli/generation_get.go5.8 KB
    • internal/cli/generation_list-content.go5.8 KB
    • internal/cli/generation_submit-feedback.go11.2 KB
    • internal/cli/generation.go0.8 KB
    • internal/cli/guardrails_assignments_bulk-assign-keys-to-guardrail.go11.7 KB
    • internal/cli/guardrails_assignments_bulk-assign-members-to-guardrail.go11.8 KB
    • internal/cli/guardrails_assignments_bulk-unassign-keys-from-guardrail.go11.7 KB
    • internal/cli/guardrails_assignments_bulk-unassign-members-from-guardrail.go11.8 KB
    • internal/cli/guardrails_assignments_list-guardrail-key.go6.3 KB
    • internal/cli/guardrails_assignments_list-guardrail-member.go6.2 KB
    • internal/cli/guardrails_assignments.go1.1 KB
    • internal/cli/guardrails_create.go17.9 KB
    • internal/cli/guardrails_delete.go9.4 KB
    • internal/cli/guardrails_get.go5.5 KB
    • internal/cli/guardrails_list-key-assignments.go5.4 KB
    • internal/cli/guardrails_list-member-assignments.go5.4 KB
    • internal/cli/guardrails_list.go6.5 KB
    • internal/cli/guardrails_update.go17.5 KB
    • internal/cli/guardrails.go1 KB
    • internal/cli/helpers.go100.2 KB
    • internal/cli/images_create.go121.4 KB
    • internal/cli/images_list-model-endpoints.go6.2 KB
    • internal/cli/images_list-models.go5 KB
    • internal/cli/images.go0.7 KB
    • internal/cli/import.go3.8 KB
    • internal/cli/key_eta_test.go1.1 KB
    • internal/cli/key_eta.go3.7 KB
    • internal/cli/keys_create.go12.6 KB
    • internal/cli/keys_delete.go9.3 KB
    • internal/cli/keys_get.go5.5 KB
    • internal/cli/keys_list.go6.2 KB
    • internal/cli/keys_update.go11.2 KB
    • internal/cli/keys.go0.8 KB
    • internal/cli/learn_init_test.go4.7 KB
    • internal/cli/learn_init.go10.8 KB
    • internal/cli/learnings_candidates_test.go16.8 KB
    • internal/cli/learnings_candidates.go22.4 KB
    • internal/cli/learnings_stats_test.go5.9 KB
    • internal/cli/learnings_stats.go5.5 KB
    • internal/cli/limits_status_test.go1.1 KB
    • internal/cli/limits_status.go4.9 KB
    • internal/cli/limits.go0.8 KB
    • internal/cli/models_churn_test.go1.1 KB
    • internal/cli/models_churn.go7.7 KB
    • internal/cli/models_endpoints_list.go5.8 KB
    • internal/cli/models_endpoints.go0.6 KB
    • internal/cli/models_get.go14.6 KB
    • internal/cli/models_list-count.go4.8 KB
    • internal/cli/models_list-user.go6.3 KB
    • internal/cli/models_query_test.go2.3 KB
    • internal/cli/models_query.go6.5 KB
    • internal/cli/models.go0.9 KB
    • internal/cli/observability_create-destination.go15.7 KB
    • internal/cli/observability_delete-destination.go9.5 KB
    • internal/cli/observability_get-destination.go5.6 KB
    • internal/cli/observability_list-destinations.go5.4 KB
    • internal/cli/observability_update-destination.go15.6 KB
    • internal/cli/observability.go0.9 KB
    • internal/cli/openrouter-analytics_get-meta.go4.7 KB
    • internal/cli/openrouter-analytics_query.go14.8 KB
    • internal/cli/openrouter-analytics.go0.7 KB
    • internal/cli/openrouter-auth_create-keys-code.go13.1 KB
    • internal/cli/openrouter-auth_exchange-code-for-apikey.go11.2 KB
    • internal/cli/openrouter-auth.go0.8 KB
    • internal/cli/platform_cli_test.go40.6 KB
    • internal/cli/platform_client.go29.6 KB
    • internal/cli/platform_window_test.go3.8 KB
    • internal/cli/platform_window.go9.2 KB
    • internal/cli/playbook_init_test.go17.5 KB
    • internal/cli/playbook_init.go10.6 KB
    • internal/cli/playbooks/embed.go1.5 KB
    • internal/cli/playbooks/MANIFEST.md0.9 KB
    • internal/cli/presets_chat_create-presets-completions.go39.2 KB
    • internal/cli/presets_chat.go0.6 KB
    • internal/cli/presets_get.go5.4 KB
    • internal/cli/presets_list.go5.5 KB
    • internal/cli/presets_messages_create-presets.go36.2 KB
    • internal/cli/presets_messages.go0.6 KB
    • internal/cli/presets_responses_create-presets.go37.1 KB
    • internal/cli/presets_responses.go0.7 KB
    • internal/cli/presets_versions_get-preset.go5.8 KB
    • internal/cli/presets_versions_list-preset.go6.2 KB
    • internal/cli/presets_versions.go0.7 KB
    • internal/cli/presets.go0.9 KB
    • internal/cli/profile.go12.4 KB
    • internal/cli/promoted_activity.go6.9 KB
    • internal/cli/promoted_benchmarks.go10.6 KB
    • internal/cli/promoted_chat.go35.1 KB
    • internal/cli/promoted_classifications.go5.5 KB
    • internal/cli/promoted_endpoints.go5.7 KB
    • internal/cli/promoted_key.go4.8 KB
    • internal/cli/promoted_messages.go32.5 KB
    • internal/cli/promoted_model.go5.9 KB
    • internal/cli/promoted_organization.go5.4 KB
    • internal/cli/promoted_providers.go5 KB
    • internal/cli/promoted_rerank.go16.4 KB
    • internal/cli/promoted_responses.go34.4 KB
    • internal/cli/providers_degraded_test.go1.1 KB
    • internal/cli/providers_degraded.go4.1 KB
    • internal/cli/resource_paths.go11.9 KB
    • internal/cli/root_test.go15 KB
    • internal/cli/root.go32.6 KB
    • internal/cli/scim_create-group-mapping.go11.2 KB
    • internal/cli/scim_delete-group-mapping.go10.8 KB
    • internal/cli/scim_get-group-mapping.go5.6 KB
    • internal/cli/scim_list-group-mappings.go5.4 KB
    • internal/cli/scim_list-groups.go5.3 KB
    • internal/cli/scim_update-group-mapping.go11.3 KB
    • internal/cli/scim.go0.9 KB
    • internal/cli/search.go10.7 KB
    • internal/cli/sync_hint_test.go5.4 KB
    • internal/cli/sync_hint.go3.4 KB
    • internal/cli/sync_numeric_id_test.go1.4 KB
    • internal/cli/sync.go137.1 KB
    • internal/cli/tail.go5.4 KB
    • internal/cli/teach_playbook_test.go13.6 KB
    • internal/cli/teach_playbook.go15.1 KB
    • internal/cli/teach_test.go40.6 KB
    • internal/cli/teach.go42.2 KB
    • internal/cli/usage_anomaly_test.go1.1 KB
    • internal/cli/usage_anomaly.go4.6 KB
    • internal/cli/usage_cost_by_test.go1.1 KB
    • internal/cli/usage_cost_by.go5.5 KB
    • internal/cli/usage_reconcile_test.go1.1 KB
    • internal/cli/usage_reconcile.go5.7 KB
    • internal/cli/usage.go0.9 KB
    • internal/cli/version.go0.6 KB
    • internal/cli/videos_content_list-videos.go3.8 KB
    • internal/cli/videos_content.go0.6 KB
    • internal/cli/videos_create.go118.5 KB
    • internal/cli/videos_get.go5.4 KB
    • internal/cli/videos_list-models.go5.4 KB
    • internal/cli/videos.go0.8 KB
    • internal/cli/which_test.go8.4 KB
    • internal/cli/which.go16.5 KB
    • internal/cli/workspaces_budgets_delete-workspace.go10.2 KB
    • internal/cli/workspaces_budgets_get-workspace.go6.4 KB
    • internal/cli/workspaces_budgets_list-workspace.go5.7 KB
    • internal/cli/workspaces_budgets_upsert-workspace.go12.5 KB
    • internal/cli/workspaces_budgets.go0.9 KB
    • internal/cli/workspaces_create.go14 KB
    • internal/cli/workspaces_delete.go9.8 KB
    • internal/cli/workspaces_get.go5.5 KB
    • internal/cli/workspaces_list.go5.9 KB
    • internal/cli/workspaces_members_bulk-add-workspace.go11.8 KB
    • internal/cli/workspaces_members_bulk-remove-workspace.go11.6 KB
    • internal/cli/workspaces_members_list-workspace.go6.1 KB
    • internal/cli/workspaces_members.go0.8 KB
    • internal/cli/workspaces_update.go13.8 KB
    • internal/cli/workspaces.go1 KB
    • internal/client/client_test.go9 KB
    • internal/client/client_verify_short_circuit_test.go6.4 KB
    • internal/client/client.go70.1 KB
    • internal/client/platform_budget_test.go1.7 KB
    • internal/client/platform_rate_limit_test.go4.8 KB
    • internal/cliutil/cliutil_test.go34.6 KB
    • internal/cliutil/credentials_perms_test.go8.8 KB
    • internal/cliutil/credentials_test.go24.7 KB
    • internal/cliutil/credentials.go9.7 KB
    • internal/cliutil/creds_perms_eval_test.go1.9 KB
    • internal/cliutil/creds_perms_eval.go4.1 KB
    • internal/cliutil/creds_perms_unix.go1.1 KB
    • internal/cliutil/creds_perms_windows.go1.5 KB
    • internal/cliutil/csv.go2.3 KB
    • internal/cliutil/duration_test.go1.7 KB
    • internal/cliutil/duration.go1.6 KB
    • internal/cliutil/extractnumber_test.go3.5 KB
    • internal/cliutil/extractnumber.go2.5 KB
    • internal/cliutil/fanout.go6.4 KB
    • internal/cliutil/jwtshape_test.go4.5 KB
    • internal/cliutil/jwtshape.go3.6 KB
    • internal/cliutil/odata_date_test.go1.7 KB
    • internal/cliutil/odata_date.go1.6 KB
    • internal/cliutil/paths_test.go8 KB
    • internal/cliutil/paths.go10 KB
    • internal/cliutil/probe.go4.8 KB
    • internal/cliutil/ratelimit.go13.3 KB
    • internal/cliutil/testenv/sandbox_unix.go0.4 KB
    • internal/cliutil/testenv/sandbox_windows.go1.5 KB
    • internal/cliutil/testenv/testenv.go3.2 KB
    • internal/cliutil/text.go3.3 KB
    • internal/cliutil/verifyenv.go5.8 KB
    • internal/config/config_perms_test.go11.5 KB
    • internal/config/config.go20.7 KB
    • internal/learn/derive_test.go19.7 KB
    • internal/learn/derive.go14.4 KB
    • internal/learn/doc.go4.4 KB
    • internal/learn/entities/config_test.go4.6 KB
    • internal/learn/entities/config.go10.3 KB
    • internal/learn/entities/extract_test.go4.8 KB
    • internal/learn/entities/extract.go4.8 KB
    • internal/learn/journal_test.go20 KB
    • internal/learn/journal.go18 KB
    • internal/learn/lookups/seeds_test.go2.8 KB
    • internal/learn/lookups/seeds.go2.7 KB
    • internal/learn/lookups/store_test.go21.4 KB
    • internal/learn/lookups/store.go18.4 KB
    • internal/learn/match_test.go5.2 KB
    • internal/learn/match.go8.2 KB
    • internal/learn/normalize_test.go7.7 KB
    • internal/learn/normalize.go3.8 KB
    • internal/learn/patterns/apply_test.go8.3 KB
    • internal/learn/patterns/apply.go9.5 KB
    • internal/learn/patterns/doc.go3.7 KB
    • internal/learn/patterns/extract_test.go10.9 KB
    • internal/learn/patterns/extract.go10.9 KB
    • internal/learn/patterns/store_test.go5.8 KB
    • internal/learn/patterns/store.go10 KB
    • internal/learn/playbooks_test.go17.4 KB
    • internal/learn/playbooks.go12.4 KB
    • internal/learn/preseed_test.go6.9 KB
    • internal/learn/preseed.go7.3 KB
    • internal/learn/promote_test.go12.7 KB
    • internal/learn/promote.go5.1 KB
    • internal/learn/protocol.go1.8 KB
    • internal/learn/recall_canonical_test.go33.1 KB
    • internal/learn/recall_test.go32.3 KB
    • internal/learn/recall.go44.1 KB
    • internal/learn/synthesize_test.go12.6 KB
    • internal/learn/synthesize.go11.9 KB
    • internal/learn/teach_log_test.go5.5 KB
    • internal/learn/teach_log.go4.7 KB
    • internal/learn/teach_test.go3.5 KB
    • internal/learn/teach.go4.2 KB
    • internal/mcp/bound/bound_test.go23.1 KB
    • internal/mcp/bound/bound.go15.9 KB
    • internal/mcp/cobratree/classify.go7.4 KB
    • internal/mcp/cobratree/cli_path.go1.2 KB
    • internal/mcp/cobratree/names.go0.7 KB
    • internal/mcp/cobratree/shellout_test.go33.5 KB
    • internal/mcp/cobratree/shellout.go11.6 KB
    • internal/mcp/cobratree/typemap.go6.5 KB
    • internal/mcp/cobratree/walker.go3.4 KB
    • internal/mcp/code_orch_writebody_test.go3.9 KB
    • internal/mcp/code_orch.go100.3 KB
    • internal/mcp/intents.go5.7 KB
    • internal/mcp/platform_gate_test.go5.3 KB
    • internal/mcp/platform_gate.go1.7 KB
    • internal/mcp/recipe_intents_test.go2.8 KB
    • internal/mcp/tools_test.go22.2 KB
    • internal/mcp/tools.go57.1 KB
    • internal/platform/conformance_test.go36.9 KB
    • internal/platform/doctor.go2.4 KB
    • internal/platform/gate.go21.1 KB
    • internal/platform/metadata.go11.2 KB
    • internal/platform/migration.go9 KB
    • internal/platform/perms_unix.go0.9 KB
    • internal/platform/perms_windows.go1.2 KB
    • internal/platform/profile.go16.2 KB
    • internal/platform/ratelimit.go8.5 KB
    • internal/platform/receipt.go8.1 KB
    • internal/platform/testdata/receipt-status-golden.json1.7 KB
    • internal/store/candidates_test.go12.2 KB
    • internal/store/candidates.go17.3 KB
    • internal/store/events_test.go15.3 KB
    • internal/store/events.go13.3 KB
    • internal/store/extras.go1.7 KB
    • internal/store/learnings_test.go20.5 KB
    • internal/store/learnings.go30.3 KB
    • internal/store/playbooks_test.go12.3 KB
    • internal/store/playbooks.go10 KB
    • internal/store/schema_version_test.go117.4 KB
    • internal/store/store.go240.1 KB
    • internal/store/upsert_batch_test.go139.2 KB
    • internal/types/types.go196.7 KB
    • LICENSE10.7 KB
    • Makefile0.5 KB
    • manifest.json1.7 KB
    • NOTICE0.6 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • README.md41.7 KB
    • SKILL.md40.2 KB
    • spec.json1,522.8 KB
    • tools-manifest.json438.5 KB

    Origin and licence

    Listed unmodified

    Author
    Rick van de Laar
    Source
    github.com/mvanhorn/printing-press-library/tree/b7f184dc0b34ea3e16e85407ba028d828f59e085/library/ai/openrouter
    Licence
    Apache-2.0

    Notice

    « pp-openrouter » (Rick van de Laar, Apache-2.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.