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 stephansama/packages --skill eslint-configgit clone --depth 1 https://github.com/stephansama/packagesWrote 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/stephansama/packages/eslint-config)<a href="https://agentmods.dev/skills/stephansama/packages/eslint-config"><img src="https://agentmods.dev/badge/skills/stephansama/packages/eslint-config.svg" alt="Measured on agentmods" 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.00105 | $0.01320 |
| Opus 5 | $0.00053 | $0.00660 |
| Sonnet 5 | $0.00021 | $0.00264 |
| Haiku 4.5 | $0.00011 | $0.00132 |
Grade A, and why
eslint-config 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 8d 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 — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
eslint-config
Modular ESLint flat config with 25+ composable configs and auto-detection of installed packages. All configs are additive — pass true to enable or pass an options object to configure.
Setup
// eslint.config.js
import { config, presets } from "@stephansama/eslint-config";
export default config({
...presets.base,
});
presets.base includes: baseline, command, e18e, ignore, imports, javascript, jsdoc, node, packagejson, perfectionist, pnpm, prettier, regexp, typescript, unicorn.
config() returns Promise<Config[]> — valid as an ESLint v9 async default export.
Core Patterns
Library package configuration
import { config, presets } from "@stephansama/eslint-config";
export default config({
...presets.base,
...presets.library, // packagejson with isLibrary: true
vitest: true,
});
Framework-specific config
import { config, presets } from "@stephansama/eslint-config";
export default config({
...presets.base,
astro: true, // auto-enabled if astro is installed
svelte: true, // auto-enabled if svelte is installed
vitest: true,
});
Project-specific rule overrides
import { config, presets } from "@stephansama/eslint-config";
export default config({
...presets.base,
overrides: [
{
rules: {
"unicorn/filename-case": "off",
},
},
],
overrides_prepend: [
{
ignores: ["generated/**"],
},
],
});
overrides is appended at the end. overrides_prepend is inserted at the start.
Disable auto-detection
export default config({
...presets.base,
autoEnable: false, // only activate what you explicitly set
typescript: true,
prettier: true,
});
Common Mistakes
HIGH Config function not awaited in downstream tooling
Wrong:
// Some build tools pass the export directly without awaiting
const result = config({ ...presets.base });
// result is a Promise, not Config[] — ESLint v9 handles this but other tools may not
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.
- 8d ago First seen · 192 lines · 105 tokens per session scan A 19acb7ab4832
eslint-config is a skill published in the GitHub repository stephansama/packages (5 stars, last pushed 1mo ago), licensed MIT. It adds 105 tokens to every session and 1,320 once invoked, about $0.0005 per session on Opus 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-08-31.
Other skills, from other repositories
no-bare-casts
Writing as in TypeScript or TSX production code, modifying a file that contains a bare as cast, silencing a type error with a cast, encountering as unknown as, or reviewing a cast site.
code-review-typescript
Deep TypeScript-specific code review covering type safety, ESM/CJS, async correctness, money precision, and domain modeling. Applied in addition to the generic code-review skill when TypeScript/JavaScript code is detected. Invoked when reviewing TS/JS PRs, TypeScript changes, or performing TypeScript-specific quality…
pixi-vn-getting-started
Use when setting up a new or existing project on @drincs/pixi-vn, wiring the main.ts entry point, or calling the top-level Game API (Game.init, Game.start, Game.onEnd, Game.addOnError, Game.onNavigate, Game.clear) — this is the entry point every Pixi'VN project needs before touching canvas, narration, sound, storage…
tglider-typescript
Use TGlider for TypeScript and JavaScript semantic navigation, references, diagnostics, dependency topology, impact analysis, and refactoring.
effective-typescript
Review existing TypeScript code and write new TypeScript following the 62 items from "Effective TypeScript" by Dan Vanderkam. Use when writing TypeScript, reviewing TypeScript code, working with type design, avoiding any, managing type declarations, or migrating JavaScript to TypeScript. Trigger on: "TypeScript best…
biome
Biome - Fast all-in-one toolchain for web projects (linter + formatter in Rust, 100x faster than ESLint).