Skip to main content

least-cost-capable

PyPI Python CI MIT

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.

Or install the helper from PyPI and run it on your own catalogue:

pip install least-cost-capable
least-cost-capable catalogue.json

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.2

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.2
File Size Uploaded Provenance
least_cost_capable-0.1.2.tar.gz 6.5 kB With provenance Details

Built distribution (wheel)

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

Total release size: 12.3 kB

Release files / least_cost_capable-0.1.2.tar.gz

Download URL least_cost_capable-0.1.2.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8aabcbdf7f4170e06266862d95670c13f3b3886940309d2d525e8ee2852019eb
BLAKE2b-256 checksum
How to use checksums
ebeae92f2fe8b17b5ddeac4228d47a85beb2c54238e5d9e2ddd498a3828e272f
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.2-py3-none-any.whl

Download URL least_cost_capable-0.1.2-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb058df2534481808dfcd88bd5583f3d6017936644a3626b4477ec5687627bd2
BLAKE2b-256 checksum
How to use checksums
321f986a8beb11dbb02fe23d4218354615133ec3ad76f115e00809adbdb1adc5
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.2

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.2.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.2 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