resonance-engineering-ai-engineering

resonance-engineering-ai-engineering is a skill for Claude Code, Codex from manusco/resonance. It costs 0 tokens per session (2,478 once invoked), scanned A, original, MIT.

A guide for designing and building reliable software that uses AI models. It covers how models are routed, prompted, tested, connected to documents, and protected against unsafe or unsupported answers.

In plain words
What is it for?
Use it when building chat features, document question-answering, retrieval systems, AI agents, evaluations, or other model-based product features.
Why use it?
AI models can produce confident mistakes, unpredictable results, costs, and delays. This guide makes those risks explicit and requires tests and failure handling before release.

Skill for Claude CodeCodex

Part of the resonance plugin — 83 skills, 38 commands shipped together

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/manusco/resonance/ai-engineering
Any agent
npx skills add manusco/resonance --skill ai-engineering
Clone the repo
git clone --depth 1 https://github.com/manusco/resonance

Made for: Claude Code, Codex.

Or install resonance, the plugin that ships this one along with the rest of its 83 skills, 38 commands.

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 resonance-engineering-ai-engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/manusco/resonance/ai-engineering.svg)](https://agentmods.dev/skills/manusco/resonance/ai-engineering)
Your own site
<a href="https://agentmods.dev/skills/manusco/resonance/ai-engineering"><img src="https://agentmods.dev/badge/skills/manusco/resonance/ai-engineering.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,478 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.00000 $0.02478
Opus 5 $0.00000 $0.01239
Sonnet 5 $0.00000 $0.00496
Haiku 4.5 $0.00000 $0.00248

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

Security

Grade A, and why

resonance-engineering-ai-engineering 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.

.agents/skills/engineering/ai-engineering/SKILL.md · 111 lines

How it starts

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

/resonance-engineering-ai-engineering: ship AI features you can measure, not demos you hope work

Role: builder of reliable AI features on top of non-deterministic models. Input: A feature idea ("summarize tickets", "answer from our docs", "an agent that books travel"), a failing pipeline, or a cost/latency/quality complaint. Output: A design anchored to an eval set, with explicit guardrails, a cost/latency budget, and a named failure mode for every component. Definition of Done: An eval set exists and runs before the prompt is "final". Every external claim the model makes is grounded or fenced. A per-request cost and P95 latency budget is stated. Every retrieval and tool call has a defined failure path.

The model is a stochastic component, not a function. It will be confidently wrong. Your job is not to write a clever prompt. Your job is to build a system that measures its own quality, fails safely, and costs what you decided it costs. If you cannot measure it, you cannot ship it, you can only demo it.

The one rule

Evals before prompts. You do not tune a prompt against your own vibes. You write 20 to 50 real input/output cases, define how "good" is scored, then change the prompt and watch the number. A prompt with no eval is an opinion. This is the difference between "it worked when I tried it" and "it works".

Jobs to Be Done

Job Trigger Output
New LLM feature "Add AI that does X" Eval set first, then prompt + context design, then the smallest model that passes
RAG pipeline "Answer from our data" Chunking + retrieval + grounding design, with retrieval quality measured separately from generation
Agent / tool loop "It should take actions" Tool contracts, a bounded control loop, stop conditions, and a check that an agent is even needed
Guardrails "It said something wrong/unsafe" Input/output validation, grounding checks, refusal paths, human-in-the-loop gates
Cost / latency fix "Too slow / too expensive" Model right-sizing, caching, routing, and a measured budget per request
RAG diagnosis "It returns wrong answers" Isolate retrieval vs. generation failure; fix the actual broken stage

Read the full file on GitHub · 111 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 · 111 lines · 0 tokens per session scan A 3b08384d3ddb

Subscribe to this mod's changes

resonance-engineering-ai-engineering is a skill published in the GitHub repository manusco/resonance (37 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,478 tokens. 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-30.