Authoring series bindings
Agents and humans share one fail-closed loop: declare sidecar YAML, then run excel-grapher bindings validate and bindings audit until codegen would succeed. bindings burndown is a coverage worklist for leftover formula cells inside the current bound graph closure (not a full workbook walk), not a generator of candidate series.
The author-bindings skill is a separate distribution artifact. It is not inside the excel-grapher wheel. Consumers copy it into their own project. Canonical files live at skills/author-bindings/. This repository does not keep an installed copy. From a git clone or the excel-grapher sdist:
mkdir -p .agents/skills
cp -R skills/author-bindings .agents/skills/author-bindingsClaude Code uses .claude/skills/author-bindings. User-level installs go under ~/.agents/skills/author-bindings.
The optional excel-grapher-author-bindings package is a file source for that copy, not how agents discover skills:
from excel_grapher.skills import author_bindings_skill_dir
with author_bindings_skill_dir() as skill_dir:
print(skill_dir)Schema version for new sidecars comes from the package, not a prompt string:
from excel_grapher.series_bindings import CURRENT_SCHEMA_VERSIONExtract-time domains
Workbooks with OFFSET, INDEX, or INDIRECT need series domains before bindings validate can build the graph, unless you pass --use-cached-dynamic-refs. Cached resolution is a separate path. The declared-domain path is:
- Author an output (or pass
--target). Placeholder shards alone have no extraction root. bindings candidatesuntil the list is empty. Each address becomes a series (inputwithdomain, orconstantwhen the cached value is non-blank), not a PythonCONSTRAINTSentry.- Re-run candidates after widening a selector. A domain that does not cover the cached value can hide the next dynamic ref and still let extract succeed.
bindings validatewithout--use-cached-dynamic-refs.bindings undomainedfor leaves that do not feed dynamic refs. Domain-only edits on those leaves do not need another extract (graph.attach_domains).
greater_than / not_equal require the partner series to be in the sidecar first. Details and the gaps (blanks, defined names, geometric INDEX/MATCH, BLANK_RANGES) are in the CLI reference.
CLI
uv run excel-grapher bindings candidates WORKBOOK --bindings BINDINGS
uv run excel-grapher bindings validate WORKBOOK --bindings BINDINGS
uv run excel-grapher bindings undomained WORKBOOK --bindings BINDINGS
uv run excel-grapher bindings audit WORKBOOK --bindings BINDINGS
uv run excel-grapher bindings burndown WORKBOOK --bindings BINDINGS
uv run excel-grapher bindings upsert WORKBOOK --bindings BINDINGS --series one.yaml- audit — codegen-fatal worklist (
bind_resolution_failed,partial_bind_failure,sparse_label_without_fill, duplicate formula ownership, empty public series).--strictalso fails on warnings. - burndown — unbound formula cells in the bound graph closure, collapsed to A1 rectangles, with weak layout hints.
--strictfails when anything remains unbound.--max-rowsprints... (truncated)when row detail is cut off. - upsert — write one series after schema, occupancy, and resolution checks against a temporary copy.
--replaceupdates an existing id. There is no catalog → four-file bulk emitter. Libraryuse_cached_dynamic_refsdefaults to True; the CLI flag--use-cached-dynamic-refsdefaults to False.
Full flag reference: Command-line interface. Schema and field reference: Series bindings.