layerkit-align-client-style

layerkit-align-client-style is a skill for Claude Code, Codex from hariharapanigrahy/layerkit. It costs 22 tokens per session (547 once invoked), scanned A, original, MIT.

A Layerkit review skill that records how existing client packages are structured and tested before source edits.

In plain words
What is it for?
Use it to inspect sibling vendor clients and create a style profile before adding or changing an integration client.
Why use it?
It helps new integration code follow the project's existing language, dependency-injection, HTTP, naming, error-handling, and test patterns.

Skill for Claude CodeCodex

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/hariharapanigrahy/layerkit/layerkit-align-client-style
Any agent
npx skills add hariharapanigrahy/layerkit --skill layerkit-align-client-style
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-align-client-style

README.md
[![agentmods](https://agentmods.dev/badge/skills/hariharapanigrahy/layerkit/layerkit-align-client-style.svg)](https://agentmods.dev/skills/hariharapanigrahy/layerkit/layerkit-align-client-style)
Your own site
<a href="https://agentmods.dev/skills/hariharapanigrahy/layerkit/layerkit-align-client-style"><img src="https://agentmods.dev/badge/skills/hariharapanigrahy/layerkit/layerkit-align-client-style.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 547 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.00022 $0.00547
Opus 5 $0.00011 $0.00273
Sonnet 5 $0.00004 $0.00109
Haiku 4.5 $0.00002 $0.00055

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

Security

Grade A, and why

layerkit-align-client-style 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 5d 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-align-client-style/SKILL.md · 58 lines

How it starts

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

layerkit-align-client-style

Before source edits, match the customer's package layout, DI, HTTP client, and test stack. Avoid orphan trees.

Protocol

  1. Scan customer repo (read-only) for existing integration clients:
    • Java/TS/Python/etc.: package roots, DI/framework style, HTTP client, test stack, naming, error handling
    • existing vendor clients, mappers, adapters, SDK wrappers, fetch/axios/WebClient/HttpClient usage
    • multi-vendor packages: sibling vendor adapters, shared registry/router, and the sibling test pattern a new vendor should clone
  2. Deny-paths: same as discover (no .env, secrets, keys, pem).
  3. Build a style profile markdown:
# client-style-profile
- language: java | typescript | python | other
- basePackageOrModule: com.example.integrations | src/integrations
- moduleLayout: single-module | multi-module path
- di: spring | guice | plain ctor
- httpClient: OkHttp | WebClient | java.net.http
- json: jackson | gson
- logging: slf4j | ...
- test: junit5 + (wiremock|mockwebserver|mockito)
- naming: *Client / *Adapter / *Mapper
- errorHandling: checked | runtime + mapping notes
- multiVendor: yes|no; siblingReference: file://…; registry: file://…; newVendorFollows: <path pattern>
- examples: file://paths to 2–3 reference classes (prefer sibling vendor adapters when present)
  1. Write profile to memory (and optional file under projectDir).

Do this by reading representative source files directly. Deterministic rails may list files, but they must not infer the style profile for you.

Optional research note:

layerkit memory append --type research --title "client style profile" --vendor general --body-file ./client-style-profile.md
  1. Next: source-edit skill edits production entrypoints directly using this profile as evidence.

Forbidden

  • Inventing a parallel package tree when an integration module already exists
  • Reading secrets or copying credentials into the profile
  • Generating production code in this skill (analysis only)

Read the full file on GitHub · 58 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. 5d ago First seen · 58 lines · 22 tokens per session scan A 73f4d13aae9c

Subscribe to this mod's changes

layerkit-align-client-style is a skill published in the GitHub repository hariharapanigrahy/layerkit (8 stars, last pushed 28d ago), licensed MIT. It adds 22 tokens to every session and 547 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

bcc-plan-spar

BCC align+lock+review PLAN.md for one slice (no product code). Slash: /bcc-plan-spar · chat: bcc:plan-spar · "lock PLAN" · spar the plan. Args: rounds=N (auto-review cap), review=self|subagent|cli|auto|off. Grill until clear enough (no default Q&A quota). Hand off to bcc-clean-cut after human APPROVE.

bo-cao/breaking-coding-chaos · 91 tokens

bcc-throughline

BCC global progress cockpit (plans.md/progress.md/findings.md). Slash: /bcc-throughline · chat: bcc:throughline · "where are we" · reprioritize · resume after /clear. Not for coding or full PLAN grill.

bo-cao/breaking-coding-chaos · 56 tokens

bcc-breaking-coding-chaos

BCC main skill: dual-loop coding workflow (throughline → plan-spar → clean-cut) or quick status+next. Slash: /bcc-breaking-coding-chaos · chat: bcc:breaking-coding-chaos · "run BCC" · "BCC status" · "what next BCC". Needs a real idea (1:1 implement). Args: goal text, or status. May pass plan-spar review budget as…

bo-cao/breaking-coding-chaos · 101 tokens

bcc-clean-cut

BCC minimal implement from locked PLAN.md (ponytail ladder + verify). Slash: /bcc-clean-cut · chat: bcc:clean-cut · "implement PLAN" after human APPROVE. Not for plan grill (use bcc-plan-spar).

bo-cao/breaking-coding-chaos · 55 tokens

the-loop

The operating model for delivering product work items end-to-end with an agent harness. Use whenever working a ticket/issue under the-loop — to write the spec chain (requirements/design/testing-plan/tasks), execute the task DAG, verify against the testing plan, self/critic-review, escalate, present evidence, and…

MadaraUchiha-314/the-loop · 78 tokens

chinese-git-workflow

适配国内 Git 平台和团队习惯的工作流规范——Gitee、Coding、极狐 GitLab 全覆盖.

Leodorareluctant259/superpowers-zh · 33 tokens