context-integration

context-integration is a skill for Claude Code from Jamie-BitFlight/claude_skills. It costs 84 tokens per session (1,154 once invoked), scanned A, original, MIT.

A planning step that connects an abstract implementation plan to the actual files, patterns, and integration points in a codebase.

In plain words
What is it for?
Use it after planning to map each design element to real files, detect conflicts, and produce an actionable implementation plan.
Why use it?
It reveals when a plan assumes something the repository does not support and distinguishes new work from changes that are already complete.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the dh plugin — 53 skills, 28 agents shipped together

Good fit Use it after planning to map each design element to real files, detect conflicts, and produce an actionable implementation plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamie-bitflight/claude_skills/context-integration
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 Jamie-BitFlight/claude_skills --skill context-integration
Clone the repo
git clone --depth 1 https://github.com/Jamie-BitFlight/claude_skills

Made for: Claude Code.

Or install dh, the plugin that ships this one along with the rest of its 53 skills, 28 agents.

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 context-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamie-bitflight/claude_skills/context-integration.svg)](https://agentmods.dev/skills/jamie-bitflight/claude_skills/context-integration)
Your own site
<a href="https://agentmods.dev/skills/jamie-bitflight/claude_skills/context-integration"><img src="https://agentmods.dev/badge/skills/jamie-bitflight/claude_skills/context-integration.svg" alt="Measured on agentmods" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,154 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.00084 $0.01154
Opus 5 $0.00042 $0.00577
Sonnet 5 $0.00017 $0.00231
Haiku 4.5 $0.00008 $0.00115

Measured 4d ago against content hash 7f463b562607, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

context-integration 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 4d 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/development-harness/skills/context-integration/SKILL.md · 157 lines

How it starts

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

SAM Stage 3 — Context Integration

Role

You are the context integration agent for the SAM pipeline. You take an abstract design plan and ground it in the concrete reality of the codebase. Every design element maps to real files, patterns, and integration points.

When to Use

  • After Stage 2 Planning produces ARTIFACT:PLAN
  • Before task decomposition (Stage 4) can create executable tasks
  • When a plan needs concrete codebase references to be actionable

Process

flowchart TD
    Start([ARTIFACT:PLAN + codebase access]) --> S1[1. Scope Analysis]
    S1 --> S2[2. Conflict Detection]
    S2 --> Q{Conflicts found?}
    Q -->|Yes| Resolve[Resolve or document conflicts]
    Resolve --> S3
    Q -->|No| S3[3. Resource Mapping]
    S3 --> S4[4. Plan Update]
    S4 --> Done([Contextualized ARTIFACT:PLAN])

Step 1 — Scope Analysis

For each component in the plan, classify the implementation scope:

  • NEW — no existing code; must be created from scratch
  • MODIFY — existing code must change to support the design
  • COMPLETE — existing code already satisfies this component (no work needed)

Document the evidence for each classification (file paths, function names, line ranges).

Step 2 — Conflict Detection

Search the codebase for contradictions between the plan and existing patterns:

  • Pattern conflicts — plan proposes a pattern that contradicts established conventions
  • Naming conflicts — proposed names collide with existing identifiers
  • Structural conflicts — plan assumes a structure that does not exist or differs
  • Dependency conflicts — plan requires a dependency version incompatible with current state

For each conflict, document:

  • What the plan assumes
  • What the codebase actually contains
  • Recommended resolution (adapt plan or refactor existing code)

Step 3 — Resource Mapping

Identify existing codebase assets the plan can use:

  • Utilities — helper functions, shared modules, common patterns
  • Patterns — how similar features are implemented elsewhere
  • Configuration — build config, linting rules, CI pipelines that apply
  • Tests — existing test infrastructure, fixtures, helpers

Read the full file on GitHub · 157 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. 4d ago First seen · 157 lines · 84 tokens per session scan A 7f463b562607

Subscribe to this mod's changes

context-integration is a skill published in the GitHub repository Jamie-BitFlight/claude_skills (66 stars, last pushed today), licensed MIT. It adds 84 tokens to every session and 1,154 once invoked, about $0.0004 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-09-03.

Related

Other skills, from other repositories

recipe-create-meet-space

Create a Google Meet meeting space and share the join link.

googleworkspace/cli · 18 tokens

atmos-config

Atmos root configuration: atmos.yaml discovery, precedence, deep merging, basepath, imports, minimal bootstrap, and routing to narrower Atmos skills.

cloudposse/atmos · 31 tokens

workthreads

SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…

specstoryai/getspecstory · 126 tokens

story-readiness

Validate that a story file is implementation-ready. Checks for embedded GDD requirements, ADR references, engine notes, clear acceptance criteria, and no open design questions. Produces READY / NEEDS WORK / BLOCKED verdict with specific gaps. Use when user says 'is this story ready', 'can I start on this story', 'is…

Donchitos/Claude-Code-Game-Studios · 77 tokens

autotask-creator

Rules for automation CRUD from the group-chat commander. The commander does not call mutation tools and does not edit cloud/autotasks files directly. It emits one or more top-level ... containers in its final text; the bus parses and applies them after the turn.

Orkas-AI/Orkas · 5 tokens

monorepo-management

Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.

wshobson/agents · 54 tokens