Skip to content
Back to skills

Cross Llm Opencode

ASecurity

Run a multi-slice build with Claude Code as lead and the opencode headless executor, using committed acceptance tests and isolated Git worktrees.

  • 11 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 29, 2026
ai-agentspythongobashdebugginggitsecurity

Works with

  • claude code
  • terminal
  • cli
  • mcp

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned November 17, 2026

npx -y skills add jhesham/cross-llm-delivery --skill cross-llm-opencode --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cross Llm Opencode?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cross Llm Opencode
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jhesham-cross-llm-opencode/badge)](https://www.skillsdirectory.com/skills/jhesham-cross-llm-opencode)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cross-llm-opencode
description: >-
  Run a multi-slice build with Claude Code as lead and the opencode
  headless executor, using committed acceptance tests and isolated Git worktrees.
---
<!-- GENERATED from cross-llm-delivery (provider: opencode, v0.7.2) - do not edit here; edit the monorepo source. -->

# Cross-LLM Delivery -- Claude Code lead

Claude authors the slice contracts and acceptance tests, reviews candidates,
and integrates verified commits. The opencode CLI implements each
slice. The engine and driver are vendored under `scripts/`; no package install
or source checkout is needed on the target machine.
The configured default workhorse is `opencode:opencode/deepseek-v4-pro`; preserve the user's selection.

## Before dispatch

Use this for any change pinned by a failing acceptance test and an explicit
writable-file allowlist: a one-slice fix or a multi-slice plan with a dependency
DAG. Work directly when there is no testable contract yet (investigation,
exploratory design) or the test would cost more than a trivial edit; for
debugging, commit the failing reproduction test first, then let CLD implement.

Read [delivery-core.md](references/delivery-core.md) when starting a build or
recovering one. Read [provider-setup.md](references/provider-setup.md) to check
CLI/authentication requirements, and [provider.md](references/provider.md) for
the selected executor's capabilities and limitations. Catalog entries and CLI
discovery do not prove headless access, price or current validation.

Keep the user's exact executor/model/effort/tier selection. Honor their
existing authorization for billed validation and implementation; ask only
when it is unclear. Do not silently substitute models, remove a tier, increase
budgets or retry paid work. Preserve existing project instructions.

For executor choices, run `python scripts/list_models.py --json` and follow
the picker section of `references/delivery-core.md`. Present exact returned
IDs and supported efforts; discovery does not authorize dispatch.

## MCP tools

When `cld_*` tools are available, use them with absolute plan/repo paths.
Preview with `cld_preview`, then `cld_new_build` only when starting a new build.
Call `cld_step` with explicit `executor`, `validation_policy` and `budget_attempts`
under the user's authorization. Poll its `job_id` using `cld_job` with
`wait_seconds=45` until terminal. For finished jobs, act on `result.gate_code`;
then call `cld_integrate` with `integration_tests` and poll the same way.
Inspect `died`, `lost` or `exit_unconfirmed` jobs before further mutation.
To stop a job, call `cld_cancel`, then keep polling `cld_job` while its state is `running` or `cancelling`; any other state is final, and an unconfirmed or lost job blocks the repository until the processes it names are gone.
Use the CLI instructions below when tools are unavailable.

## Plan and run

Author and commit failing acceptance tests first. Keep tests and pytest
configuration outside the slice's writable allowlist. Plan values are one
line; split large work into top-level `## SLICE:` blocks with `deps`.
Read [authoring-plans.md](references/authoring-plans.md) for the supported schema, and
[superpowers-to-cld.md](references/superpowers-to-cld.md) to convert a superpowers plan into slices.

Run from this installed skill directory with absolute plan/repository paths,
or use the absolute driver path from another cwd. Select the executor explicitly
for dispatch, and prefer `--json` to inspect the gate and evidence paths.

```bash
python scripts/run_delivery.py <plan.md> --repo <dir> --dry-run --json
python scripts/run_delivery.py <plan.md> --repo <dir> --step --workers 1 --executor <exact-spec> --validation-policy <deny|unmetered|allow> --budget-attempts <N> --json
python scripts/run_delivery.py --status --repo <dir> --json
python scripts/run_delivery.py <plan.md> --repo <dir> --integrate --integration-tests <selector> --json
```

Choose the validation policy and attempt limit under the user's authorization:
validation and retries count as dispatches. Start with one worker and only the
production/validation allowance needed for this sitting. The public CLI default
is four workers, so pass `--workers 1` when limiting concurrency.

## Act on the result

- 0: the operation succeeded; work remains.
- 2: failure or dependency defer; inspect the named evidence.
- 3: all slices are integrated and verified.
- 4: lead repair required; retained work is available.
- 5: invalid input/state, prerequisite, lock or budget/admission block.
- 6: accepted work awaits integration before dependent dispatch.

Acceptance is the independently verified Git diff plus a real passing pytest
run with tests collected. An executor's prose or file events are not acceptance.
Integration runs an explicit committed suite against the recorded candidate in
an owned worktree; inspect its final ref/SHA before merging into the user's branch.

Resume using the same plan, repository and ledger. Status needs no provider call.
For repair, inspect the retained attempt, edit only authorized source files,
then run `--mark-repaired <slice-id>` with the original plan and integrate after
gate 6. Never reset/delete a ledger or worktree to make an error disappear.
Read the recovery section of [delivery-core.md](references/delivery-core.md)
for migration, changed plans, collection failure and rollback.

A Git worktree isolates candidate files; it is not a security sandbox. Tests
and executor processes inherit host capabilities. Provider permissions differ.
Denied permissions require inspecting the log/configuration, not blanket bypass.

Missing token/cost usage stays unknown. Token/dollar budgets admit calls using
explicit reservations; they cannot stop an already running provider at an exact
usage boundary. See the budget section of the core reference.

Read [observability.md](references/observability.md) only for event logs or
optional exports, and [architecture.md](references/architecture.md) for engine
extension/debugging. Do not load every reference for an ordinary step.

For data handling, privacy, security reporting and a no-inference reviewer
preview of this bundle, see [README.md](README.md).

Files in this skill

  • .gitignore36 B
  • LICENSE1.1 KB
  • README.md277 B
  • SKILL.md4.6 KB
  • examples/demo-plan.md508 B
  • references/architecture.md2.9 KB
  • references/authoring-plans.md7.5 KB
  • references/delivery-core.md6.5 KB
  • references/observability.md3.8 KB
  • references/provider-setup.md1.3 KB
  • references/provider.md1.3 KB
  • scripts/cld/__main__.py283 B
  • scripts/cld/_skeleton.py46 B
  • scripts/cld/_windows_job.py3.1 KB
  • scripts/cld/accounting.py14 KB
  • scripts/cld/admission.py5.6 KB
  • scripts/cld/attempts.py4.2 KB
  • scripts/cld/behavioral.py2.5 KB
  • scripts/cld/build_state.py8.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.