cape.agent.skills.checkcases: Efficient case-status queries

This module defines the built-in agent skill "check-cases", which teaches the CAPE agent how to use the full capability of the cape check command (cape.cfdx.cli.cape_c()) efficiently.

The fixed cape_c tool exposes only f, I, and add_cols, so every call computes the default columns (including status, progress, queue, and cpu-hours), which are the most expensive ones. The skill’s cape_check() tool exposes explicit column and counter selection and the full set of case-subset filters so the agent computes only what the user’s question needs.

cape.agent.skills.checkcases.cape_check(*a, **kw) → dict

Check case status with explicit column and counter selection

This wraps cape.cfdx.cli.cape_c() after translating a few agent-friendly inputs: comma-separated strings for cols, counters, and hide_cols are split into lists, and an empty string for counters becomes an empty list (disabling all counter output).

Call:
>>> result = cape_check(*a, **kw)
Inputs:
a: tuple

Positional arguments passed to the CAPE CLI function

kw: dict

Keyword arguments passed to the CAPE CLI function

Outputs:
result: dict

Wrapped CLI result