Problem
Tink CLI commands such as tink inspect <URL>, tink skill list, tink skillset list, and tink library list output human-targeted text or TSV tables.
For AI agents and automated tooling, parsing unstructured or tabular CLI output is brittle:
- Parsing
tink inspect requires regex or indentation scraping to extract candidates, SHAs, and member paths.
- TSV tables require splitting and escaping handling.
- Any change to human CLI formatting risks breaking agent workflows.
Proposed change
Add a --json flag to read and query operations:
tink inspect <URL> --json: outputs structured JSON containing repository URL, boundary, resolved commit SHA, standalone skills, and skillset candidates with member lists.
tink skill list --json: outputs installed skills, versions, and paths.
tink skillset list [--library] --json: outputs installed/library skillsets, members, and status.
tink library list --json: outputs available library skills and provenance.
Acceptance
Problem
Tink CLI commands such as
tink inspect <URL>,tink skill list,tink skillset list, andtink library listoutput human-targeted text or TSV tables.For AI agents and automated tooling, parsing unstructured or tabular CLI output is brittle:
tink inspectrequires regex or indentation scraping to extract candidates, SHAs, and member paths.Proposed change
Add a
--jsonflag to read and query operations:tink inspect <URL> --json: outputs structured JSON containing repository URL, boundary, resolved commit SHA, standalone skills, and skillset candidates with member lists.tink skill list --json: outputs installed skills, versions, and paths.tink skillset list [--library] --json: outputs installed/library skillsets, members, and status.tink library list --json: outputs available library skills and provenance.Acceptance
--jsonflag emits valid, deterministic JSON on stdout.--jsonis active.