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 lint-rulegit 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/lint-rule)<a href="https://agentmods.dev/skills/langwatch/langwatch/lint-rule"><img src="https://agentmods.dev/badge/skills/langwatch/langwatch/lint-rule/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/lint-rule"><img src="https://agentmods.dev/badge/skills/langwatch/langwatch/lint-rule.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.00122 | $0.02491 |
| Opus 5.5 | $0.00049 | $0.00996 |
| Sonnet 5.5 | $0.00024 | $0.00498 |
| Haiku 4.5 | $0.00012 | $0.00249 |
Grade A, and why
lint-rule 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 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- No `fs`, `child_process`, `new Date()` or JSON parsing inside `create` or a visitor. How it starts
The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add or change a langwatch lint rule
Every rule lives in packages/oxlint-rules/src/rules/<rule>.rule.mjs, is registered once in
the rules map of packages/oxlint-rules/src/index.mjs (keyed by the name its defineRule
declaration carries), and is enabled once, at error, in
packages/architecture-enforcer/oxlint.architecture.jsonc (which .oxlintrc.plugin.jsonc extends;
pnpm lint runs it beside the native config, ARCHITECTURE.md §17). The plugin-config guard
(packages/oxlint-rules/tests/plugin-config.unit.test.mjs) refuses a rule at warn, a
registered rule no config enables, and a configured rule the registry does not hold.
dev/docs/lint-rules.md is generated from those declarations — read it before writing a new
rule, so you extend the house grammar.
1. Decide the instrument first
- A rule when the fact is per-file, syntactic, and the fix is mechanical enough to state in one sentence.
- An architecture-enforcer policy (
packages/architecture-enforcer/src/policies/, registered inpolicies/index.ts) when it needs the import graph, package manifests or the whole catalogue. It runs underpnpm lint:architecture, notpnpm lint. - A native oxlint rule or
overridesblock when a built-in already means the same thing (ADR-135: the lowest layer that can express it). Put it in the split configpnpm lintloads,.oxlintrc.native.jsoncfor stock rules (.oxlintrc.types.jsoncfor type-aware ones);.oxlintrc.jsonconly extends those for a scoped run. - A test in the owning package when only one module must hold the property.
- A doc in
dev/docs/best_practices/when the rule cannot name a fix. Do not lint taste.
2. Measure before you write
Put the rule at error in a scratch config under $TMPDIR, never in the repo:
cat > "$TMPDIR/one-rule.json" <<EOF
{
"plugins": [],
"jsPlugins": [{ "name": "langwatch", "specifier": "$PWD/packages/architecture-enforcer/oxlint-plugin.mjs" }],
"rules": { "langwatch/<rule>": "error" }
}
EOF
pnpm --silent exec oxlint --disable-nested-config -c "$TMPDIR/one-rule.json" \
apps packages modules enterprise sdks/typescript/src mcp/typescript/src | grep -c '<rule>'
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 · +5 lines ecfa7adedb56
- 1mo ago First seen · 163 lines · 122 tokens per session scan A e5aa489a6fb9
lint-rule is a skill published in the GitHub repository langwatch/langwatch (5,059 stars, last pushed today), licensed Apache-2.0. It adds 122 tokens to every session and 2,491 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-13.
lint-rule compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lint-rulelangwatch/langwatch | Skill | 5.1k | today | Apache-2.0 | A | 122 | 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 |