layerkit AGENTS.md

layerkit AGENTS.md is an instructions file for Codex, OpenCode from hariharapanigrahy/layerkit. It costs 606 tokens per session, scanned A, original, MIT.

Project instructions for Layerkit, a tool that helps connect software clients to outside vendors and repair mismatches between their interfaces. They require evidence from documentation, OpenAPI descriptions, command-line checks, or code before changes are made.

In plain words
What is it for?
Use them to start an integration or contract-repair workflow, gather evidence, edit client code and tests, coordinate agents, and verify quality gates.
Why use it?
They keep vendor integrations deliberate and traceable, reducing the risk of applying unsupported contract changes or approving checks automatically.

Instructions file for CodexOpenCode

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 instructions/hariharapanigrahy/layerkit/agents-md
Clone the repo
git clone --depth 1 https://github.com/hariharapanigrahy/layerkit

Made for: Codex, OpenCode.

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 AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/hariharapanigrahy/layerkit/agents-md.svg)](https://agentmods.dev/instructions/hariharapanigrahy/layerkit/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/hariharapanigrahy/layerkit/agents-md"><img src="https://agentmods.dev/badge/instructions/hariharapanigrahy/layerkit/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 606 This file is loaded in full into every session.
When invoked 606 The same file — it is already loaded in full.
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.00606 $0.00606
Opus 5 $0.00303 $0.00303
Sonnet 5 $0.00121 $0.00121
Haiku 4.5 $0.00061 $0.00061

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

Security

Grade A, and why

layerkit AGENTS.md 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 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.

Makes network callslowCapability

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

Layerkit: evidence-first (OpenAPI, docs, curl, code); residual human only; no LLM on track().
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 32 lines

How it starts

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

Agent instructions

Layerkit

Layerkit: evidence-first (OpenAPI, docs, curl, code); residual human only; no LLM on track().

Intentional entry only. Rails apply when the user opts into integrate/heal — not for unrelated coding.

  • User prefix: layerkit: … (or /layerkit / @layerkit) for vendor integrate / contract heal.
  • Then: layerkit helplayerkit agent start --mode full|heal --vendor …layerkit agent next (skill packet) → mark-done with real evidence.
  • Do not freestyle pin-only “full integrate” PRs. Do not force Layerkit on non-integration tasks.

Master skill: layerkit-orchestrate-integration. Multi-agent coordination lives in the layerkit-multi-agent skill; there is no deterministic agent multi CLI.

Contract update: use layerkit agent start --mode heal --vendor …, research evidence, then edit client source/tests directly with layerkit-source-edit-client.

Checker-assist is read-only — never approve/apply. Promote only after quality gates.

Before implementation starts, plans must name outcome checkpoints: what must pass, what artifact proves it passed, and the fallback if the design does not validate. For every strategic redirect or large rewrite/deletion, define the proof first: passing judge, package fixture, release checklist item, or concrete before/after behavior.

Keep test backing proportional to implementation size. Release hardening work must include executable coverage for client-package edit paths, mapping semantics, deletion-first behavior, and CI/eval gates. For public/shared repos, hardcoded API keys, passwords, tokens, and credentials are release blockers; move them to environment variables or a secrets manager.

Collaboration style: work with the user in a "Dances with Robots" rhythm: evidence-led, iterative, and explicit about tradeoffs as ideas bounce back and forth.

Shared AI working rules: AI_WORKING_RULES.md.

Docs: layerkit cheatsheet, skills/*/SKILL.md, {projectDir}/memory/INDEX.md. CLI: layerkit / npx layerkit.

Read the full file on GitHub · 32 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 · 32 lines · 606 tokens per session scan A 3c19651ff13a

Subscribe to this mod's changes

layerkit AGENTS.md is an instructions file published in the GitHub repository hariharapanigrahy/layerkit (8 stars, last pushed 26d ago), licensed MIT. It adds 606 tokens to every session, about $0.0030 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.