layerkit-author-processor

A development guide for writing or updating client-side helper code that transforms data according to vendor documentation. It requires citations and tests for the documented rules.

In plain words
What is it for?
Use it when implementing a client data transformation from vendor documentation or an API description, including checking existing helpers and validating related files when needed.
Why use it?
It helps prevent undocumented assumptions in tasks such as formatting, hashing, date conversion, or reshaping data.

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-author-processor
Any agent
npx skills add hariharapanigrahy/layerkit --skill layerkit-author-processor
Clone the repo
git clone --depth 1 https://github.com/hariharapanigrahy/layerkit

Made for: Claude Code, Codex.

Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 398 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00021 $0.00398
Opus 5 $0.00010 $0.00199
Sonnet 5 $0.00004 $0.00080
Haiku 4.5 $0.00002 $0.00040

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

Security

Grade A, and why

layerkit-author-processor scanned grade A with 1 finding 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. Identify the transform requirement from vendor docs/OpenAPI/curl and existing client mapper code.
skills/layerkit-author-processor/SKILL.md · 46 lines

What it actually says

layerkit-author-processor

Use this skill when a vendor contract requires normalization, hashing, formatting, date conversion, object shaping, or other deterministic helper logic in the client package.

These helpers are client-owned source code. They are not Layerkit runtime processors.

Protocol

  1. Identify the transform requirement from vendor docs/OpenAPI/curl and existing client mapper code.
  2. Search for an existing helper before adding one.
  3. Prefer updating an existing helper or mapper method.
  4. Add a new helper only when no existing function can be changed cleanly.
  5. For any new helper, state what it replaces. If it replaces nothing, justify why it must exist.
  6. Add or update tests that prove the transform against cited examples.
  7. Validate any map/proposal artifact only if the client uses one:
layerkit proposal validate ./proposal.json
layerkit map validate ./map.json

Citation Rules

  • Cite the vendor/customer rule for every non-obvious transform.
  • Excerpts must cover the rule, such as hashing order, casing, phone format, timestamp unit, or nested object shape.
  • If docs are silent, do not invent SHA variants, phone formats, timezone assumptions, or fallback defaults.

Forbidden

  • Network, credentials, or AI calls inside transform helpers.
  • Double-hashing or re-normalizing without evidence.
  • Adding a parallel helper when an existing mapper/helper should be changed.
  • Creating Layerkit processor proposal artifacts as a substitute for editing source.

Success Criteria

  • Transform source code lives in the client package path.
  • Existing code was updated or stale code was removed before adding a helper.
  • Tests cover vendor examples or cited schema rules.
  • Any remaining datalayer gap is a precise TODO in source and handoff.
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. 2d ago First seen · 46 lines · 21 tokens per session scan A 23a8c4c53edb

Subscribe to this mod's changes

layerkit-author-processor is a skill published in the GitHub repository hariharapanigrahy/layerkit (8 stars, last pushed 25d ago), licensed MIT. It adds 21 tokens to every session and 398 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

chinese-git-workflow

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

Leodorareluctant259/superpowers-zh · 33 tokens

chinese-commit-conventions

中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化.

Leodorareluctant259/superpowers-zh · 28 tokens

systematic-debugging

Skill "systematic-debugging" from Leodorareluctant259/superpowers-zh, covering 系统化调试, 概述, 铁律, 何时使用 and 四个阶段.

Leodorareluctant259/superpowers-zh · 24 tokens