lane-contract

lane-contract is a skill for Claude Code from VKirill/claude-lane-stack. It costs 72 tokens per session (2,503 once invoked), scanned A, original, MIT.

A file-based task contract system for describing coding tasks in YAML, including which files a task owns and how it must be checked.

In plain words
What is it for?
Use it to write or review task YAML, define file ownership, set acceptance requirements, and run checks at writer, lane, or project level.
Why use it?
It prevents parallel tasks from editing the same files and makes acceptance checks explicit before work is dispatched.

Skill for Claude Code

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

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

Good fit Use it to write or review task YAML, define file ownership, set acceptance requirements, and run checks at writer, lane, or project level.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vkirill/claude-lane-stack/lane-contract
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 lane-contract
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 lane-contract

README.md
[![agentmods](https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/lane-contract/github.svg)](https://agentmods.dev/skills/vkirill/claude-lane-stack/lane-contract)
Your own site
<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/lane-contract"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/lane-contract/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 lane-contract

Your own site · 80×15
<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/lane-contract"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/lane-contract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,503 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00072 $0.02503
Opus 5.5 $0.00029 $0.01001
Sonnet 5.5 $0.00014 $0.00501
Haiku 4.5 $0.00007 $0.00250

Measured 1mo ago against content hash b55eaed3ce3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lane-contract 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 1mo 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/lane-contract/SKILL.md · 176 lines

How it starts

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

Lane contract (files only)

Inside a Lane Pilot chat (LANE_PILOT_AGENT_TYPE set / tools lane_pilot_* present) the contract is the task-v2 JSON in the plan of lane_pilot_dispatch_writer, and its schema is strict: exactly schema_version, id, title, risk, lane, project_cwd, read_first, interfaces, invariants, out_of_scope, expected_outputs, owns_paths, never_touch, depends_on, objective, acceptance, verify, verification[{command, cwd, timeout_sec?}] (timeout_sec up to 7200). Any other field (context_selectors, impact_*, skills) makes Lane Pilot reject the whole contract: put line windows in objective or interfaces as path:start-end. The writer RUNS verification and Lane Pilot re-runs it at acceptance, so every task needs real verification commands. Lane Pilot owns run state; run-init, run-validate --phase, lane-ctl, run-supervisor, the L0 rule «writer does not run tests» and lane = adoc main_write below are the terminal Lane Stack harness.

Info

If $ARGUMENTS is exactly info, print references/info.md verbatim (Russian), then stop. Do not write task YAML.

Canonical: FILE-CONTRACT.md, SOLO-ORCHESTRATION.md, docs/decisions/ADR-codex-effort.md, skill orchestrator-lanes (references/decomposition.md).


Orchestrator must

  1. run-init → fill PLAN/SPEC/tasks → run-validate --phase pre-dispatch before dispatch.
  2. Set owns_paths, never_touch, behavioral acceptance.
  3. read_first: existing project-relative files only. Line windows go in context_selectors. interfaces: signatures/types, or []. Product invariants / out_of_scope; never writer recovery. expected_outputs: artifact path, not “tests green”.
  4. One run-supervisor per run; lane-supervisor only for typed one-shots.
  5. Parallel only with disjoint owns_paths.
  6. Controller: owns → L1 verify → accept progressively.
  7. Task YAML immutable after first start.
  8. Pre-merge validate → merge main (PM only).
  9. Writers via durable controller (kimi/…); Codex write = recovery only.
  10. Separate provider vs verification pools.
  11. Decompose per orchestrator-lanes references/decomposition.md (one outcome per task; unlock ≠ feature).
  12. SPEC.md is real content when score ≥ 7 or ≥ 2 tasks (not the template stub).

Read the full file on GitHub · 176 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +3 lines b55eaed3ce3c
  2. 1mo ago Changed · -34 lines · +7 tokens per session 4ba4a562910d
  3. 2mo ago Changed · +14 lines 08df6f10d409
  4. 2mo ago Changed · +15 lines a4e601fd85fb
  5. 3mo ago First seen · 178 lines · 65 tokens per session scan A ef41b507a961

Subscribe to this mod's changes

lane-contract is a skill published in the GitHub repository VKirill/claude-lane-stack (125 stars, last pushed 3d ago), licensed MIT. It adds 72 tokens to every session and 2,503 once invoked, about $0.0003 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-08-30.

Related

lane-contract compared with skills from other repositories

lane-contract next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lane-contractVKirill/claude-lane-stackSkill1253d agoMITA72Claude 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