integrate

integrate is a skill for Claude Code, Codex from scolladon/craft. It costs 28 tokens per session (884 once invoked), scanned A, original, MIT.

A final workflow phase that watches continuous integration (automated build and test checks), handles fixes, and integrates a change after the required decision. It can also clean up branches and temporary work areas.

In plain words
What is it for?
Use it to monitor CI, repair failed checks, merge or refuse to merge according to policy, delete the merged branch when configured, and run cleanup steps.
Why use it?
It gives the change a defined path from passing checks to integration and follows the repository's policy on whether user confirmation is required.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the craft plugin — 20 skills, 4 commands, 18 agents, 1 hook shipped together

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.

agentmods
npx agentmods add skills/scolladon/craft/integrate
Any agent
npx skills add scolladon/craft --skill integrate
Clone the repo
git clone --depth 1 https://github.com/scolladon/craft

Made for: Claude Code, Codex.

Or install craft, the plugin that ships this one along with the rest of its 20 skills, 4 commands, 18 agents, 1 hook.

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 integrate

README.md
[![agentmods](https://agentmods.dev/badge/skills/scolladon/craft/integrate.svg)](https://agentmods.dev/skills/scolladon/craft/integrate)
Your own site
<a href="https://agentmods.dev/skills/scolladon/craft/integrate"><img src="https://agentmods.dev/badge/skills/scolladon/craft/integrate.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 884 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00028 $0.00884
Opus 5 $0.00014 $0.00442
Sonnet 5 $0.00006 $0.00177
Haiku 4.5 $0.00003 $0.00088

Measured 3d ago against content hash d719c2e6f6d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

integrate 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 3d 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.

skills/integrate/SKILL.md · 57 lines

How it starts

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

craft:integrate

Preamble (always runs — non-overridable)

  1. Manifest read (lint if standalone). Policy: merge-flags, non-blocking-jobs, scripts.pre-teardown from the manifest.

Procedure (default body — a manifest override: replaces everything below)

  1. Monitor CI → fix to green, ignoring jobs listed in non-blocking-jobs. Fixes land as conventional commits through the same gates as review fixes.

  2. Consult integrate action (see docs/contributing/specs/policy.md for surface semantics). Obey the returned surface:

    • ask (default, ADR-127) — ask the user to confirm the merge, exactly as today; on approval proceed, on decline record POLICY(ask:integrate→declined) and block.
    • never — refuse; record POLICY(never:integrate); phase no-ops.
    • always — proceed with no confirmation; record POLICY(always:integrate); supersedes the former hardcoded merge confirmation (ADR-128 — Supersede).

    Then invoke the VCS port integrate(prUrl) (see docs/contributing/specs/vcs.md); the adapter owns the host CLI. --squash / --delete-branch / merge-flags semantics live in the adapter binding. Always delete-branch: no merged branch lingers on the remote.

  3. Derive the Done-bound memory delta, then consult teardown. First, read this run's run-id lines from the on-disk ledger (docs/contributing/specs/run-record.md) into the in-session delta and hold it — the teardown below removes the worktree and the ledger inside it, so this is the last point at which it can be read. A MEMORY-RETRACT(<concern>): <merge-key> line derives to { concern, payload, retract: true } rather than to a plain observation; for the findings concern the <merge-key> is the payload split on the first run of whitespace, first field file, remainder pattern (see docs/contributing/specs/run-record.md Token vocabulary). The single-writer rule (R4) is untouched — the phase emits the ledger line, the orchestrator appends it and derives the delta from it here. save itself still runs once, atomically, at Done. Then consult the teardown action separately before worktree teardown (per-verb granularity, ADR-126; see docs/contributing/specs/policy.md) and:

    "${CRAFT_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/worktree-teardown.sh" <main-repo-dir> <worktree-path> \
      [--pre-teardown <manifest scripts.pre-teardown>]
    

    The script refuses while the validation run-lock is alive (dead-PID locks auto-clear; a live lock needs --force, which is recorded in the run record). The pre-teardown script is the matched pair of workspace-phase tooling activation — every activation gets its prune.

  4. Drift-baseline refresh offer: when the merged change touched skills/ or agents/ (the prompt surface whose economics the drift signal watches), offer the user a baseline refresh per skills/metrics/SKILL.md § Refreshing the committed baseline — the per-phase economics shifted on purpose, so the pre-change docs/contributing/metrics-baseline.report.json would flag the intended shift as drift forever. Declining is fine (the offer is advisory, like the signal itself); never refresh silently.

  5. Close the run record; deliver the final summary (PR URL, what shipped, record).

Read the full file on GitHub · 57 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. 3d ago First seen · 57 lines · 28 tokens per session scan A d719c2e6f6d1

Subscribe to this mod's changes

integrate is a skill published in the GitHub repository scolladon/craft (2 stars, last pushed 15d ago), licensed MIT. It adds 28 tokens to every session and 884 once invoked, about $0.0001 per session on Opus 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-31.

Related

Other skills, from other repositories

shipwrights-loop

Drive multiple Jira tickets sequentially through the /shipwrights-epic pipeline. Auto-picks the next ticket, watches the PR until merged, transitions Jira to shipped, repeats. Resumable across Claude Code sessions via .shipwrights/loop-state.json. Invoked as /shipwrights-loop [N] | --status | --abort.

shipwrights/core · 77 tokens

fable-ship

Use when finishing a task — writing the final report or status, shipping a change, or handing off — to produce a calibrated done-claim and the docs that make the work reproducible by someone else.

debabsah/fable-method · 46 tokens

release

Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every version-bearing text file (README badges, docs site metadata), write the CHANGELOG entry, validate, then commit, push, tag, and publish the GitHub release. Triggers when the maintainer asks to "release"…

hyhmrright/brooks-lint · 135 tokens

new

Use when user asks to create a release, cut a release, or publish a version. Auto-detects GitHub vs GitLab vs Gitea, calculates semantic version, generates release notes from PRs/MRs or commits, shows preview for confirmation before publishing.

umputun/cc-thingz · 56 tokens

create-manifest

Create a Trellis migration manifest and matching docs-site changelogs for a target release by analyzing commits since the previous release. Use when preparing a patch, beta, rc, or minor release manifest.

mindfold-ai/Trellis · 44 tokens

check-pr

Read-only inspection of a single GitHub PR lifecycle — checks CI, review threads, description sync, and mergeability, and returns PASS or FAIL with per-gate findings. Never invokes the merge button. Use when verifying a PR is ready to merge, polling lifecycle progress, checking mergeability, or babysitting a GitHub PR…

doodledood/manifest-dev · 74 tokens