LangWatch is a platform for testing, evaluating, and monitoring LLM-powered agents before release and in production. Teams use it to run agent simulations, trace and evaluate behavior, improve prompts and models, review failures, and manage provider costs and governance.
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.
npx skills add langwatch/langwatch --skill architecture-guidegit clone --depth 1 https://github.com/langwatch/langwatchWrote 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.
[](https://agentmods.dev/skills/langwatch/langwatch/architecture-guide)<a href="https://agentmods.dev/skills/langwatch/langwatch/architecture-guide"><img src="https://agentmods.dev/badge/skills/langwatch/langwatch/architecture-guide/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.
<a href="https://agentmods.dev/skills/langwatch/langwatch/architecture-guide"><img src="https://agentmods.dev/badge/skills/langwatch/langwatch/architecture-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00124 | $0.03107 |
| Opus 5.5 | $0.00050 | $0.01243 |
| Sonnet 5.5 | $0.00025 | $0.00621 |
| Haiku 4.5 | $0.00012 | $0.00311 |
Grade A, and why
architecture-guide 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.
How it starts
The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
The architecture guide
One record: dev/docs/ARCHITECTURE.md. Every other architecture document
is deleted or points there. This skill does not restate it. It tells you which
section answers your question, what outranks the record, and what to do when
the record and the tree disagree.
Truth order
- The linters (
pnpm lint,pnpm lint:architecture). Highest. Thelintingskill reads a finding. dev/docs/ARCHITECTURE.md. On conflict between sections, the more specific wins.specs/andmodules/<name>/specs/. Feature files are requirements.
When a lower one disagrees with a higher one, the lower one is the defect (record intro and §17).
Question to section
| You are asking | Read | Then skill | Backed by (langwatch/* rule; enforcer policy) |
|---|---|---|---|
| What runs where; what an app is | §1 | repo-tree |
policy application-boundaries |
| Which package; where code lives; Chakra, colour | §2 | repo-tree, design-system |
package-boundaries, environment-boundaries; policies workspace-seams, manifests, cycles |
| Module anatomy; dependency direction | §3 | module |
module-layers, module-classes, feature-source-filename, feature-source-layout, feature-source-subject; policies feature-layout, feature-shape, source-folder-shape |
*Api token, schemas, errors, verbs |
§3.1, §12 | contract |
schema-outside-contract, handled-error-outside-contract, refusal-is-a-handled-error, banned-verb-prefix, fallible-result-naming |
| Services, repositories, channels, rules, file grammar | §3.2 | process-module |
service-does-not-open-a-channel, service-loads-its-own-config, store-containment, pass-through-class; policies prisma-table-ownership, clickhouse-table-ownership, memory-twin-drift, service-ceilings |
| What a module may demand; peers, supply, capabilities | §3.3, §3.5, §6, §11 | module-dependencies |
package-boundaries, store-containment, module-classes, environment-boundaries, service-loads-its-own-config, no-hand-rolled-plan-gate, plan-literals, enterprise-license-header; policies peer-cycles, cycles, feature-configuration; boot config_collision, secret_sealed |
| Browser half; no kits; closed packages | §3.4, §10 | browser-module |
web-imports-server-shaped-value, environment-boundaries; policies browser-package-closure, browser-package-exports, browser-node-leak |
| Reading another module's data in the browser | §3.4, §10.1 | module-client |
policies browser-package-exports, framework-module-contracts |
main.ts, boot(), config, stores |
§4, §5, §6, §7 | process-composition |
no-boot-hook-outside-guard, environment-boundaries, package-boundaries, store-containment, service-loads-its-own-config; policies application-boundaries, feature-configuration, peer-cycles, prisma-migration-access, eventing-table-access; enforcer tests generated-module-lists, redis-cache-ttl, system-migrations-start-order |
Schema change, backfill, tenant step, upgrade, event rename |
§7, §9 | migration (routes to postgres-migration, clickhouse-migration, migration-data-step, eventing-and-worker) |
policies prisma-migration-access, migration-owners; scanners migration-safety |
REST routes, tRPC procedures, /api/<x> |
§8 | api-transports |
transport-declares, rest-route; policy platform-operator-calls |
| Projections, subscribers, process managers, purge, cross-module facts | §9, §9.1, ADR-179 | eventing-and-worker |
eventing-role-purity, idempotency-key-is-stable; policies eventing-table-access, service-projection-boundaries |
| Browser state tiers, one global store | §10.2, ADR-169 | browser-module |
browser-store-containment, query-data-in-state, no-redux |
| Enterprise, entitlement, licences | §11 | module-dependencies |
no-hand-rolled-plan-gate, enterprise-license-header, package-boundaries (coreImportsEnterprise) |
| Throwing, error codes, REST error bodies | §12 | contract |
handled-error-outside-contract, refusal-is-a-handled-error |
| Tests, memory tier, spec binding | §13, §14 | testing |
test-description-is-an-action, unit-test-does-not-render, stand-in-cast, no-logger-spy, no-tautological-assertion; policy default-test-lane; check:feature-parity |
| Is this spelling dead? | §15 | none: do not write it | none (some spellings are caught by the rules above) |
| Does the target name exist yet? | §16 | none | none |
| What a finding means; baselines; disables | §17 | linting |
suppression-states-why, comment-block-size, id-generation-origin; every policy (pnpm lint:architecture --list-policies) |
| Is this diff or bind ready to commit? | §3.1, §5, §8, §12, §13, §15 | architecture-review, spec-binding-review |
every policy; check:feature-parity |
Nx, test:affected, caches; how the drive runs |
§18 | .claude/skills/core/testing-rules.md |
none |
The local stack, haven, the sims, apps/server |
§19 | haven, sims, dev-runtime, server-cli |
none |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago Changed · -6 lines e4ecf22de93f
- 1mo ago First seen · 146 lines · 124 tokens per session scan A e14f5a5915fd
architecture-guide is a skill published in the GitHub repository langwatch/langwatch (5,059 stars, last pushed today), licensed Apache-2.0. It adds 124 tokens to every session and 3,107 once invoked, about $0.0005 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-10-13.
architecture-guide compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| architecture-guidelangwatch/langwatch | Skill | 5.1k | today | Apache-2.0 | A | 124 | Claude Code |
| trulens-evaluation-setuptruera/trulens | Skill | 3.7k | 2d ago | MIT | A | 17 | Claude Code, Codex |
| trulens-diagnosistruera/trulens | Skill | 3.7k | 2d ago | MIT | A | 17 | Claude Code, Codex |
| evalscopemodelscope/evalscope | Skill | 3.7k | 2d ago | Apache-2.0 | A | 195 | Claude Code, Codex |
| trulens-evaluation-workflowtruera/trulens | Skill | 3.7k | 2d ago | MIT | A | 18 | Claude Code, Codex |
| trulens-dataset-curationtruera/trulens | Skill | 3.7k | 2d ago | MIT | A | 19 | Claude Code, Codex |
| qaSkyvern-AI/skyvern | Skill | 24k | today | AGPL-3.0 | A | 33 | Claude Code, Codex |