Skip to main content

least-cost-capable

A portable Agent Skill and small Python helper for comparing declared relative cost ranks among agent models in a supplied catalogue. It checks task capability, availability, authorization, and whether cost evidence is comparable. It does not contact model providers, spend credits, launch agents, or guarantee actual savings or dispatch.

Run with Python 3.10 or newer:

python scripts/select_model.py examples/catalogue.json

The example selects standard-code: the lower-ranked candidate lacks debugging capability, and the unavailable candidate is excluded. Tests cover mismatched input/output cost metrics, unknown evidence, duplicate IDs, and invalid catalogue roots. Invalid JSON or malformed catalogue data exits with a named command-line validation error and no selection.

Use with Claude Code

Install it as a personal skill, available in every project:

git clone https://github.com/kanibal-studio/least-cost-capable ~/.claude/skills/least-cost-capable

Or copy this folder into a project's .claude/skills/least-cost-capable/ to share it with the repository. Claude Code reads SKILL.md from that folder, and the helper stays at scripts/select_model.py inside it. Describe the task, give Claude a catalogue in the format of examples/catalogue.json (or the facts to build one), and ask it to use the least-cost-capable skill. The skill reports a choice from the catalogue's facts only; it does not switch models, change settings or launch agents.

Created by ALTA VISTA360, S.L.U. (kanibal-studio).

Licensed under the MIT License.

Metadata

Release files for least-cost-capable 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for least-cost-capable 0.1.1
File Size Uploaded Provenance
least_cost_capable-0.1.1.tar.gz 6.3 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for least-cost-capable 0.1.1
File Interpreter ABI Platform
least_cost_capable-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 kB

Release files / least_cost_capable-0.1.1.tar.gz

Download URL least_cost_capable-0.1.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b1f6178e1392c8485b927bb0c368a57ea25bd11dc417a44c6601e4ffb74e7872
BLAKE2b-256 checksum
How to use checksums
65ed88a8293bc7701a51db01b43a53d9641b1dacedee710f135b9c3292ac736d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / least_cost_capable-0.1.1-py3-none-any.whl

Download URL least_cost_capable-0.1.1-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6b4d1f89ba34fc61ca26381194d2c280a02dfb91997f6b1a8de1dda4a90fedf
BLAKE2b-256 checksum
How to use checksums
9a800be17856820471b20ef97dc005c6fb581517c897bc597a7681c65ecef679
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Security for least-cost-capable 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for least_cost_capable-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page