Skip to content
cccskills
FreePublished on GitHubEnglish overview

cli-exercise-run

Run and record CLI exercise cases through a shared Go runtime and Tuistory adapter. The skill follows approved setup, exercise, validation, and cleanup phases, captures observed terminal behavior, and preserves execution evidence and chronology.

OriginalShow the original description

Internal shared execution and recording flow for cli-exercise. Uses one Go owner and a thin Tuistory adapter for exact or exploratory cases.

cli/cli46,749 stars(GitHub 46,749 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Recording a CLI behavior case
  • Running an approved setup and validation sequence
  • Capturing terminal interactions and outcomes
  • Preserving evidence after an interrupted run

Overview

What it does

This internal execution flow runs and records CLI exercises through a Go runtime and Tuistory adapter. Each case requires an approved contract and a ready preflight record. It performs setup, the approved operation, immediate validation, and approved cleanup in order. The client reads the actual terminal state before requesting an allowed action, and records what was typed, displayed, or failed. It preserves execution order, start and finish times, and outcome. If a run fails or is interrupted, it retains partial evidence and uses the dedicated evidence-recording procedure.

When it helps

Use this flow when a specific CLI behavior needs a traceable record of its steps and results. It keeps setup, operation, and validation separate for each case, and preserves a record if execution stops partway through. This is an internal shared execution flow, not a skill for direct user invocation.

Example requests

  • “Run the CLI steps for the approved case and record the terminal and results.”
  • “Run this case’s setup, operation, and validation in order.”
  • “Preserve and report the partial evidence from the interrupted run.”

Notes

Execution requires a Go helper, a Tuistory client, a preflight record, and an approved contract. Do not switch to another executable found on the ordinary PATH, or display or save real credentials.

This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.

Document check

AI checked the SKILL.md for operations that need care and for setup requirements. The score comes only from actually running the skill (hands-on test).

SafetyAre sending data, deleting files, and running commands disclosed?
AGoodActions are contract-limited; displaying or saving real credentials is prohibited.
Easy setupDoes it need few tools or API keys, and are they documented?
BPartly lackingA Go helper, Tuistory, preflight record, and approved contract are required.

Not counted in the score. Rated by AI (OpenAI Codex) as of Oct 26, 2026. Treat it as a guide and read the original before installing.

Disagree? Request a re-evaluation

Tell us which point is wrong and why. No login needed. We will check it against the SKILL.md, redo the evaluation, and show the result here.

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Files included (1)

  • SKILL.md4.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Shared execution

Read the runtime interface. Read the controller format only when authoring or running a controller. Require a ready preflight receipt and a complete approved contract before launching the subject. Use the session manifest and shared-state convention even for a single case. Each case covers one behavior: execute its setup runs, one exercise invocation, then its validation runs immediately, before the next case. Approved cleanup follows validation. Multiple setup or validation runs are allowed; a second exercise belongs to a separate behavior case, unless doing so would change an exact caller case, which requires clarification first. Honor explicitly narrower coverage without inventing missing phases.

Each invocation uses this same run/client path with its own capture directory. Run titles explain what preparation establishes or validation checks. Carry approved shared state forward, not a reused capture. Wait for each run to finish and close before starting the next; do not batch phases or overlap case runs. Keep actual execution order in the manifest. The assembler is not a way to repair history by rearranging clips.

Start an owned, isolated run

Use the receipt's tools and the contract's executable, arguments, and workspace. Verify the executable checksum immediately before launch. Never fall back to a different gh, shell, or executable found on the ordinary PATH.

Start the Go helper's run command with the skill root, contract, and preflight receipt. Keep the process attached to the current task. Do not use a global Tuistory daemon or start unrelated background agents. A bounded temporary host may remain alive while the current agent inspects and acts; it must be shut down at the end.

The Go runtime isolates configuration and passes only explicitly approved environment values. Never type, print, or persist real credentials. These controls do not make the host an OS sandbox for untrusted programs. Node only supplies the mechanical Tuistory boundary. It must not replace Go's contract checks, controller decisions, capture policy, or verdicts.

Observe, then act

Use the client to read the actual terminal state, then request an allowed action with that observation's revision and a concise reason.

Do not confuse a visible choice with the currently selected choice, or focus with a checked checkbox. A stale-observation rejection requires a fresh read, not an automatic replay of the same action.

Use condition-based waits for readiness and explicit timing for pacing when the case permits it. Record the actual typing, prompt redraws, spinners, editor transitions, and failures. Never assemble a fake terminal from selected stills.

Use semantic selector helpers only where their interpretation is supported. For other permitted UIs, inspect and use the caller's required raw keys or coordinates. Report unsupported interactions explicitly.

Controllers and handoffs

Controllers are bounded declarative data. Their actions pass through the same exact-step and effect checks as live AI actions. Go interprets their rules; they cannot execute arbitrary code or grant themselves broader authority.

An uncovered prompt may pause a controller while retaining the terminal. In exact mode, the next action still must match the supplied case. In explore mode, the AI can choose the next permitted action after inspecting the state.

Annotate meaningful steps and decisions while they happen. Keep annotations outside the product output and preserve their source timestamps.

Finish on every exit path

Capture the actual exit status and final state. Ask the runtime to finish and shut down. If the subject cannot finish normally, stop only the owned process tree and report interruption distinctly from the expected outcome.

Retain the runtime's startedAt and finishedAt metadata for chronology checks. Never fill in or rewrite timestamps to make a capture fit the intended order. Legacy captures without them require an explicit execution order unverified warning, not a claim of verified chronology.

Do not leave a host or recorder running while writing the report. Preserve partial evidence and use the evidence module even after a failure.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

This dispatcher helps with GitHub Agentic Workflows by identifying whether a request is about design, creation, configuration, updates, debugging, or upgrades. It selects the matching workflow prompt or skill file so the agent can follow task-specific guidance.

  • Design a GitHub Agentic Workflow from scratch
  • Create or configure a workflow engine
  • Update or debug an existing workflow
cli/cli46.7KUpdated Oct 25, 2026

cli-exercise

FreeSummary

Exercise a real command-line program with specified cases or a stated goal, then capture and verify the observed behavior. It produces local media evidence such as a session video, helping reviewers see what the command did without treating the recording as proof of general correctness.

  • Record specified CLI test cases
  • Demonstrate a command’s behavior
  • Validate an interactive terminal workflow
cli/cli46.7KUpdated Oct 25, 2026

Verify CLI exercise expectations against recorded evidence, render requested media, inspect the results, and return local artifacts with case outcomes. The workflow keeps failures visible and does not publish evidence by default.

  • Verifying a recorded CLI exercise
  • Rendering and inspecting session evidence
  • Returning local artifacts without publishing
cli/cli46.7KUpdated Oct 25, 2026

Use this skill to execute supplied CLI test cases without changing their commands, inputs, ordering, or assertions. It guides preparation, exercise, and validation case by case, then classifies results as passed, failed, blocked, or observed based on actual evidence.

  • Run caller-supplied CLI cases in their specified order
  • Preserve literal inputs and expected assertions
  • Validate each case against observed output or state
cli/cli46.7KUpdated Oct 25, 2026

Use this skill to explore a CLI goal by choosing observable checks within an approved scope. It guides the agent through preparation, one exercise, and immediate validation for each case, then helps report what the evidence established and what remained unreachable.

  • Explore a CLI task with a clear goal and approved boundaries
  • Choose checks for an outcome such as uploading a file
  • Run and validate CLI cases one at a time
cli/cli46.7KUpdated Oct 25, 2026

This internal module checks whether cli-exercise can use its required build, terminal, and media tools. When a dependency is missing, it identifies a suitable setup path and requires approval before installation, then rechecks readiness. It does not authorize recordings or other actions.

  • Check cli-exercise tool readiness
  • Find missing recording or rendering dependencies
  • Prepare an approved dependency installation
cli/cli46.7KUpdated Oct 25, 2026

See all skills by cli

Report a problem with this skill