opencode-lane

opencode-lane is a skill for Claude Code from VKirill/claude-lane-stack. It costs 112 tokens per session (3,326 once invoked), scanned A, original, MIT.

A development workflow for adding and diagnosing an OpenCode plugin inside the Claude Lane stack. OpenCode is a coding-agent environment, while the lane stack coordinates its sessions and related tools.

In plain words
What is it for?
It helps implement OpenCode behavior, diagnose writer sessions, configure optional Jev or winnow processing, and keep failures from stopping the session unnecessarily.
Why use it?
It defines where plugin code belongs and which system owns each part of a run, reducing confusion between Claude Code, OpenCode, and lane-control functions.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code; mentions OpenCode.

Part of the lane-stack plugin — 62 skills, 4 commands, 24 agents, 1 MCP server shipped together

Good fit It helps implement OpenCode behavior, diagnose writer sessions, configure optional Jev or winnow processing, and keep failures from stopping the session unnecessarily.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vkirill/claude-lane-stack/opencode-lane
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add VKirill/claude-lane-stack --skill opencode-lane
Clone the repo
git clone --depth 1 https://github.com/VKirill/claude-lane-stack

Made for: Claude Code.

Or install lane-stack, the plugin that ships this one along with the rest of its 62 skills, 4 commands, 24 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for opencode-lane

README.md
[![agentmods](https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/opencode-lane/github.svg)](https://agentmods.dev/skills/vkirill/claude-lane-stack/opencode-lane)
Your own site
<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/opencode-lane"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/opencode-lane/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for opencode-lane

Your own site · 80×15
<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/opencode-lane"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/opencode-lane.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,326 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.03326
Opus 5.5 $0.00045 $0.01330
Sonnet 5.5 $0.00022 $0.00665
Haiku 4.5 $0.00011 $0.00333

Measured 17d ago against content hash 318abbe807d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

opencode-lane scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/lane-stack/skills/opencode-lane/SKILL.md · 256 lines

How it starts

The opening of the file, as written. The whole thing — 256 lines — stays where its author put it; the contents beside it link to each section on GitHub.

opencode-lane

Info (print and stop)

If $ARGUMENTS is info, or the user says info / справка / как запускать this skill: print the block below verbatim (Russian), then stop. Do not edit the plugin.

opencode-lane — OpenCode-половина Claude Lane

Роли
- Claude Code = PM: run-init, run-supervisor, lane-ctl owns/verify/accept.
- OpenCode = писатели (Grok и любой другой model через lane-session).
- Этот плагин = единственное НАШЕ нововведение внутри OpenCode-сессии.

Куда класть код
- Вход: profiles/opencode/opencode-lane.ts (только re-export).
- Код:  profiles/opencode/opencode-lane/<mod>.ts + проводка в index.ts.
- Живое: ~/.config/opencode/plugins/opencode-lane.ts (вход) + ~/.config/opencode/opencode-lane/ (модули, НЕ в plugins/: v2 грузит каждую папку там как плагин).
- Гейт v2: агент lane-* (общий сервис, env сервиса не тредовый). v1: LANE_* маркеры процесса.
- Не второй plugin-файл. Не новое имя в opencode.json.

Конвейер
- lane-session без --pure (плагин должен грузиться).
- Env: LANE_TASK_FILE, LANE_PROMPT_FILE, LANE_STACK_ROOT, TYPESAFE_API_KEY.
- Выкл Jev extra: LANE_OPENCODE_JEV=0. Выкл effort: LANE_JEV_EFFORT=0.
- Fail-open: Jev/winnow упал → сессия как без плагина, строка в jsonl.

Нельзя
- owns / verify / accept / retry — не сюда (lane-ctl, lane-session).
- Глотать чужие плагины (gemini-auth, open-cursor).
- Второй планировщик на Jev. Jev = System One, не coding LLM.

Как открыть шпаргалку
- Claude Code: /lane-stack:opencode-lane info
- OpenCode TUI: /opencode-lane  (файл ~/.config/opencode/commands/opencode-lane.md)
- Не /lane-stack:… в палитре OpenCode — это namespace Claude-плагина, там его нет.

Диагноз прогона
- Сказать «делай диагноз».
- Лог: сосед LANE_PROMPT_FILE → opencode-lane.jsonl
  при read-only .agents → ~/.config/opencode/opencode-lane.jsonl
- Запуск/инструменты/stderr: provider.events.jsonl рядом с provider.out.
- Связь: task + session + call/message ID; log_origin указывает попытку.

Canonical files: profiles/opencode/opencode-lane.ts, profiles/opencode/opencode-lane/index.ts, bin/lane-session (attach_lane_contract_env, opencode argv). Skills lane-contract (YAML) and orchestrator-lanes (DAG) stay separate.

Read the full file on GitHub · 256 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago Changed · -3 tokens per session 318abbe807d7
  2. 1mo ago Changed · +115 tokens per session d35ddd7bf436
  3. 1mo ago Changed · +1 lines 6cd56518bee0
  4. 2mo ago Changed · +2 lines 65b421aa45bd
  5. 2mo ago First seen · 253 lines · 0 tokens per session scan A 4fa920a8aac8

Subscribe to this mod's changes

opencode-lane is a skill published in the GitHub repository VKirill/claude-lane-stack (125 stars, last pushed 3d ago), licensed MIT. It adds 112 tokens to every session and 3,326 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.

Related

opencode-lane compared with skills from other repositories

opencode-lane next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
opencode-laneVKirill/claude-lane-stackSkill1253d agoMITA112Claude Code
build-teaql-appteaql/teaql-agent-kitSkill2.8k21d agoMITA112Codex
context-exclusionteaql/teaql-agent-kitSkill2.8k21d agoMITA41Claude Code
eval-agentsFlorianBruniaux/claude-code-ultimate-guideSkill7.6kyesterdayCC-BY-SA-4.0A80Claude Code
land-and-deployFlorianBruniaux/claude-code-ultimate-guideSkill7.6kyesterdayCC-BY-SA-4.0A41Claude Code
self-assessmentFlorianBruniaux/claude-code-ultimate-guideSkill7.6kyesterdayCC-BY-SA-4.0A12Claude Code, Codex
source-command-methodology-advisorFlorianBruniaux/claude-code-ultimate-guideSkill7.6kyesterdayCC-BY-SA-4.0A27Claude Code, Codex