layerkit-source-edit-client

layerkit-source-edit-client is a skill for Claude Code, Codex from hariharapanigrahy/layerkit. It costs 28 tokens per session (1,195 once invoked), scanned A, original, MIT.

A workflow for adding or changing vendor integrations by editing the existing production code directly. A vendor integration connects a customer's application to an outside service.

In plain words
What is it for?
Use it to inspect interfaces and mappings, update adapters and tests across language surfaces, record what changed, and run the client's verification command.
Why use it?
It keeps the change in the real data-handling code, covers every supported language, removes stale code, and verifies the package before handoff.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect interfaces and mappings, update adapters and tests across language surfaces, record what changed, and run the client's verification command.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hariharapanigrahy/layerkit/layerkit-source-edit-client
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 hariharapanigrahy/layerkit --skill layerkit-source-edit-client
Clone the repo
git clone --depth 1 https://github.com/hariharapanigrahy/layerkit

Made for: Claude Code, Codex.

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 layerkit-source-edit-client

README.md
[![agentmods](https://agentmods.dev/badge/skills/hariharapanigrahy/layerkit/layerkit-source-edit-client/github.svg)](https://agentmods.dev/skills/hariharapanigrahy/layerkit/layerkit-source-edit-client)
Your own site
<a href="https://agentmods.dev/skills/hariharapanigrahy/layerkit/layerkit-source-edit-client"><img src="https://agentmods.dev/badge/skills/hariharapanigrahy/layerkit/layerkit-source-edit-client/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 layerkit-source-edit-client

Your own site · 80×15
<a href="https://agentmods.dev/skills/hariharapanigrahy/layerkit/layerkit-source-edit-client"><img src="https://agentmods.dev/badge/skills/hariharapanigrahy/layerkit/layerkit-source-edit-client.svg" alt="Reviewed on agentmods" width="80" 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 1,195 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.00028 $0.01195
Opus 5.5 $0.00011 $0.00478
Sonnet 5.5 $0.00006 $0.00239
Haiku 4.5 $0.00003 $0.00120

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

Security

Grade A, and why

layerkit-source-edit-client 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.

skills/layerkit-source-edit-client/SKILL.md · 79 lines

How it starts

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

layerkit-source-edit-client

Modify the existing production datalayer and production source files (adapters, registry, router, tests) directly from evidence. Do not ask the CLI for plan files or source patches.

Optional project.json source-edit hints:

{
  "sourceEdit": {
    "moduleRoot": "apps/platform/integrations",
    "denyEdit": ["**/legacy/**"]
  }
}

Protocol

  1. Read memory/runbooks/surface-inventory.json (from surfaces step). Every language must end as updated (with paths) or residual (with reason) before mark-done — Layerkit enforces this.
  2. Read existing production integration code, interfaces, mappers, tests, and package style.
  3. Run layerkit-deletion-first: remove/update stale code/docs/tests before adding files.
  4. Inspect the existing interface/datalayer and implement in production paths for each inventory language (or mark residual).
  5. For every new file/function/export, list what it replaces; if it replaces nothing, justify why it must exist.
  6. Update surface-inventory.json statuses after each language is done; re-run source-edit iteration until no language is pending.
  7. Run the client package verification command, such as the package's build/test/coverage CI target; then:
    layerkit doctor
    
  8. For any strategic redirect or broad rewrite, define what must pass, the proof artifact, and the fallback before edits start; run a small proof step first: an eval, end-to-end QA check, contract-heal case, release checklist item, package-level fixture, or before/after acceptance test.
  9. Strengthen executable tests relative to implementation size. Source-edit work that changes behavior must cover the client-package edit path, mapping semantics, deletion-first behavior, and the relevant CI/eval gate.

Mapping Rules

  • Generic rename pattern (email is only an example): if the vendor renames any field (e.g. email → email_id) and the client still exposes the same domain value (getEmail()), update the existing vendor setter from the existing client getter: payload.setEmailId(event.getEmail()). Same rule for any evidence-backed rename. Do not guess renames from names alone — require docs/OpenAPI/changelog evidence.
  • If the vendor removes a field, remove the stale mapping and update tests. Do not keep a wrapper for removed vendor behavior.
  • If the vendor adds a field and the client interface/datalayer already has equivalent data, map the existing client field into the new vendor shape.
  • If no client source represents the required data, treat it as an unsupported datalayer gap: leave a localized TODO and handoff note with the missing interface/datalayer gap.
  • If research proved zero production field drift, do not invent edits: attest residual-no-field-edit with residual justification. Do not bump apiVersion or SDK alone as a substitute for real source work.

Read the full file on GitHub · 79 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. 1mo ago First seen · 79 lines · 28 tokens per session scan A c12d0c56c49b

Subscribe to this mod's changes

layerkit-source-edit-client is a skill published in the GitHub repository hariharapanigrahy/layerkit (8 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 1,195 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

cto-advisor

Technical leadership guidance for engineering teams, architecture decisions, and technology strategy. Use when assessing technical debt, scaling engineering teams, evaluating technologies, or making architecture decisions.

borghei/Claude-Skills · 36 tokens

mcp-server-builder

Build MCP (Model Context Protocol) servers with tool definitions, resource providers, prompt templates, and transports. Use when exposing APIs to AI agents, building tool servers, converting OpenAPI to MCP, or creating MCP integrations.

borghei/Claude-Skills · 49 tokens

agent-protocol

Design AI agent communication protocols: MCP tool schemas, A2A, function calling, and inter- agent messaging. Use when building multi-agent systems, defining tool interfaces, or implementing agent-to-agent communication.

borghei/Claude-Skills · 45 tokens

api-design-reviewer

Review REST API designs for quality, consistency, and breaking changes. Lints OpenAPI specs, generates scorecards, and detects breaking changes between versions. Use when designing APIs, reviewing contracts, or managing API versioning.

borghei/Claude-Skills · 49 tokens

api-test-suite-builder

Generate API test suites from route definitions across frameworks: auth, input validation, contract, k6 load testing, mocking, and OpenAPI-driven generation. Use when adding new APIs, auditing test coverage, or building regression suites.

borghei/Claude-Skills · 50 tokens

aws-solution-architect

Design AWS serverless architectures for startups with IaC. Use when designing serverless architecture, writing CloudFormation, optimizing AWS costs, setting up CI/CD, or migrating to AWS across Lambda, API Gateway, and DynamoDB.

borghei/Claude-Skills · 51 tokens