smithers: Skill for Claude Code

.agents/skills/smithers-maintenance/SKILL.md

smithers-maintenance is a skill for Claude Code, Codex from smithersai/smithers. It costs 29 tokens per session (9,131 once invoked), scanned A, original, MIT.

Repository maintenance guidance for the Smithers workspace, covering its command-line tools, generated files, documentation, benchmarks, evaluations, and durable workflows.

In plain words
What is it for?
Use it when changing Smithers targets, builds, tests, linting, documentation, caching, benchmarks, evaluations, or durable flows.
Why use it?
It helps contributors use the current source and command syntax instead of relying on outdated examples, and prevents changes that leave generated files or workflow records inconsistent.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md; mentions Codex.

This is smithersai/smithers's own configuration. It tells Claude Code and Codex how to work on smithers itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything smithers configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node .smithers/flows/land/review.mjs --rev @ --prompt-file <what to check>.

Reuse

Borrowing it

Nothing to install: this file belongs to smithersai/smithers. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/smithersai/smithers/main/.agents/skills/smithers-maintenance/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/smithersai/smithers

Made for: Claude Code, Codex.

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 smithers-maintenance

README.md
[![agentmods](https://agentmods.dev/badge/skills/smithersai/smithers/smithers-maintenance/github.svg)](https://agentmods.dev/skills/smithersai/smithers/smithers-maintenance)
Your own site
<a href="https://agentmods.dev/skills/smithersai/smithers/smithers-maintenance"><img src="https://agentmods.dev/badge/skills/smithersai/smithers/smithers-maintenance/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.

agentmods 80×15 button for smithers-maintenance

Your own site · 80×15
<a href="https://agentmods.dev/skills/smithersai/smithers/smithers-maintenance"><img src="https://agentmods.dev/badge/skills/smithersai/smithers/smithers-maintenance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,131 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00029 $0.09131
Opus 5.5 $0.00012 $0.03652
Sonnet 5.5 $0.00006 $0.01826
Haiku 4.5 $0.00003 $0.00913

Measured 10d ago against content hash 4a212fe64ff7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

smithers-maintenance 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 10d 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.

- `child_process.spawn` throws synchronously for an `ENOTDIR` cwd (Bun and Node), while a missing cwd is an async `ENOENT` indistinguishable from a missing executable. Check the cwd first and route both through one typed
.agents/skills/smithers-maintenance/SKILL.md · 237 lines

How it starts

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

Smithers maintenance

Use the owning source and current docs on the revision being changed. The source CLI (makeCli() in packages/smithers/src/Cli.ts) is the CLI syntax contract; the installed release can be stale. The 1.0 CLI separates target graph commands (smthrs targets, show target, build|test|lint|docs|review|ci) from durable flow commands (smthrs flow list|plan|start, smthrs runs ...). A flow start receipt does not prove completion; inspect its run and action receipts.

  • Graph or root files: read CONTRIBUTING.md, especially root-file and target-index generation. PACKAGE.ts declares targets; generated companions and the whole declaration-set index have explicit checks. Use pnpm run target-index when that contract calls for regeneration. The tree splits into apps/ and packages/, never by language: a Rust crate lives under packages/ beside its consumer (for example packages/smithers/flows/jj-wasm), so never add a top-level folder per language, such as a crates folder.
  • Build/install/cache: read build, workspace remote caching, and cache trust. The install flow currently supports pnpm only; Bun can still run target tools. Install actions use expected filesystem boundaries and do not enter the shared engine cache. The target /ac cache differs from engine step-cache/artifacts; hosted and self-hosted cache implementations need matching route, bound, and credential behavior.
  • Type checking: every Typecheck target, package check script, and Markdown.CodeBlocks target runs vibelang, VibeLang's compiler: TypeScript 7's checker, which also reads the .vibe source of the workspace packages a package imports, each .vibe file with its own package's VibeLang settings (VibeLang D278). TypeScript 7 rejects some code TypeScript 5.9 accepted; fix the code, not the gate. typescript 5.9 stays installed for typescript-eslint and editors. TypeScript 7 ignores tsconfig plugins, so @effect/language-service reports only in a TypeScript 5 editor; tsc never ran it either, because it is not patched in. In .vibe files VibeLang's EK4801-EK4825 cover its rules.
  • VibeLang sources in builds and bundles: a workspace package's exports name its source, so a .vibe module reaches every dependent, and tsc and plain bundlers cannot read it. packages/repo-targets/scripts/build-library.mjs picks the compiler per package (packageCompiler): vibelang when the package's src, or a linked dependency's src, holds .vibe; tsc otherwise. buildLibrary, the four hand-written build scripts, and check-api-baseline.mjs use that choice, and a package with its own .vibe sources takes its CommonJS from vibelang's ESM. Every bundler that bundles workspace sources takes the VibeLang plugin, rooted at the bundled app or package so each .vibe module compiles with its own package's tsconfig: vibelang-vite in Vite configs (apps/mvp, apps/app, apps/site), vibelang-unplugin/esbuild in esbuild scripts (browser-check, build-tui, build-views, model-host, the coding host, the design mock), vibelang-unplugin/bun in Bun.build (TUI binaries). An Alchemy Worker evaluates its own props, so its build takes vibelang-unplugin/deferred through apps/mvp/infra/WorkerBuild.ts; a static plugin import there would bundle the compiler into the Worker. Packing requires .vibe modules' ESM, declarations and CommonJS, and a package that ships src/**/*.ts also lists src/**/*.vibe in files.
  • Relative specifiers when converting to .vibe: TypeScript's declaration emit copies a relative specifier as written and VibeLang does the same (VIP-27), so rewriting a written ./<file>.js changes the published .d.ts: keep it. A .vibe importer of a converted module writes ./<file>.vibe, which declaration emit prints in its TypeScript spelling; ./<file>.ts there fails with TS2307.
  • Tests that load VibeLang (.vibe) source: a workspace package exports its source, so a suite that imports a migrated package loads .vibe modules. Every vitest.config.ts runs vibelang-vite with the package's test tsconfig, collects *.test.vibe beside *.test.ts, and counts .vibe files in its coverage globs; a .vibe module of another workspace package compiles with that package's own tsconfig. The CLI loads its own loader (see VibeLang source in Node below). A suite whose tests start Node on other source, such as node -e, sets register: true on the plugin, which puts vibelang/register in the NODE_OPTIONS its processes inherit; a child spawned with NODE_OPTIONS cleared needs --import vibelang/register itself. A package that imports @effect/vitest must resolve the same vitest copy as its runner (one vite version), or describe fails reading config. node --test on source needs --import vibelang/register. Bun loads .vibe through the vibelang/bun preload in the bunfig.toml of the directory Bun starts in, a package or the repository root (top level for bun run, [test] for bun test); bun test never discovers *.test.vibe, so a Bun suite imports .vibe modules from .test.ts files. BuildAndCheckTypeScriptPackage's default source and test globs name .{ts,vibe}, so its targets are keyed on .vibe files.
  • Counting SQL statements and rows in a test: provide Statement.CurrentTransformer (effect/unstable/sql/Statement) around the effect under test; self.compile() gives [text, params]. Re-run only SELECT/WITH text with sql.unsafe(text, params) under Effect.provideService(Statement.CurrentTransformer, undefined) to count rows, then return self. Example: packages/smithers/control/test/SqlControlRuntime.test.ts, "global watch bounds SQL inventory".
  • Source scanners and VibeLang: a tool that reads sources treats .vibe as it treats .ts: VibeLang's imports, exports, type arguments and calls are TypeScript syntax, so packages/repo-targets/src/ImportAnalysis.ts parses a .vibe file as TypeScript, and every extension list in a scanner names .vibe (ImportRules, the dependency-boundary, test-pin, egress and fault-skip gates, LLM review batching, ReviewJsdocAgainstCode, SdkRules' Jev globs, the import-closure resolver, the CLI's implementation fingerprint, the public export audit, the site's published-links gate). Every package's circular target runs the one guard, packages/repo-targets/scripts/circular.mjs (CircularImports), which reads the module graph the VibeLang compiler resolves, so a cycle through .vibe modules fails; see the repo-targets README. A script that imports CLI source in-process calls installEffectResolution first, which installs vibelang/register.
  • Documentation: Author library documentation in each package's docs/ directory; it ships with the npm package. Run pnpm docs:check to verify tarball contents. Main-site projections use pnpm --filter @smithers/site run sync:docs.
  • Docs gates in a fresh clone: after pnpm install --frozen-lockfile, build the smithers-jj-export helper (command under Bun host below) before pnpm docs:sync, which otherwise fails with "smithers-jj-export is missing". A single-file vitest run <file> exits 1 on the package's 100% coverage threshold even when every test passes; the full package suite is the gate.
  • Benchmarks or performance claims: read .smithers/flows/bench/README.md. Distinguish the deterministic PR gate from scheduled observed timings, review candidate baselines, and retain methods and limitations with any claim.
  • Evals: read the owning suite's README, including agent and seeded review. Keep offline deterministic gates and deliberate baseline updates separate from live model measurements and spending.
  • Flows: read @smthrs/flow and CLI reference. A file flow at .smithers/flows/<name>/flow.ts or flow.vibe (mvp.md M-49) default-exports a tagged Flow.make from @smthrs/flow. Export its action implementations as the optional named layer (Declared.toLayer, AgentAction.layer, or Layer.mergeAll); the registry composes it against the local host platform and agent services. Export implementations directly; the host owns Action.Implementations. Acquire extra dependencies during layer construction so missing services are refused at load. Use stable Node.capture callbacks for canonical persisted composition and matching implementationVersion declarations/registrations for sealed idempotent actions. New authoring uses Effect Schema, not retired JSX/Zod task examples. A decision inside a flow (classify, filter, rank, route, yes/no over items) asks Jev through Classifier.make and the host Evaluator, as one request with one question per item, never through an LLM seat; see jev-check.
  • Plans: read plan and plan-store. Node payloads are persisted as plaintext in node_json and approval cards without redaction; keep credentials out and resolve them at dispatch. Persisted plans are verified on write and read, and append uses an immutable-history compare-and-swap over the approved base and running prefix.
  • Generated or untrusted flow declarations: read core planning rules. Graph.build executes bodies and planning callbacks with the caller's process authority; capability/effect metadata does not sandbox that code. Translate validated data into nodes with trusted code, or plan untrusted code in an externally isolated process.
  • Runtime or persistence: read flows runtime, engine, and engine-store. @smthrs/flow declares behavior, the engine makes decisions, and the storage seam changes where state lives. Node and Bun use distinct native host/SQL adapters over the same SQLite migrations, journal, stores, cache, and recovery. Run migrations before SQL-backed services and use one writer for journal/state transitions; demonstrate cross-runtime recovery and cancellation. Browser bundling alone does not establish durable browser execution.
  • Journal and ownership fencing: read journal and run-store. Ownership is arbitrated by the journal's injectable Consensus strategy (SqlConsensus over flows_consensus_leases by default, Consensus.layerLocal in-process); fenced durable emissions join its guard, so the run must be claimed and activated through it, and the journal and run store must share one strategy instance. RunStore mirrors the outcome on flows_runs, so a fixture that forges ownership in SQL writes both. emitDurableUnfenced is only for genuinely ownerless admission or repair, never a bypass for fence_lost. An expired lease alone does not authorize takeover; LivenessEvidence must be current, and an unknown probe counts as alive.
  • Step cache migrations: read step-cache. The earlier 1.0 RC migration 2002 identity is accepted explicitly; preserve its ledger and cached results during upgrade. An unknown migration identity remains a failure, not a reason to delete a runtime database.
  • Time travel: read time-travel before changing fork, rewind, or their receipts. A durable fork reuses completed prefix attempts by their original action identities and gives new work child-scoped keys; rewind archives future waits and refuses crossed irreversible effects or live descendants. Test recovery after an interrupted mutation.
  • Sync: read sync before changing cursors, subscriptions, or gateway mounts. Persist applied cursor progress with consumer state; change feeds are hints and a re-list is authoritative. Preserve rewind generation handling: lineage_changed requires rebuilding the projection. The native gateway serves branch presence at POST /branch when its authenticated runtime bridge is configured; branch commands and share-link bootstrap remain unserved on that mount, and Branch.WatchRoster returns unsupported.
  • Artifacts: read artifact storage. Its filesystem backend needs trusted host filesystem semantics; kernel-guarded filesystem access cannot substitute for them. Treat deletion as explicit and keep engine-store responsible for liveness/reachability.
  • Browser host: read platform-browser. Its bash, filesystem, and jj views must share one volume, and a mounted filesystem is durable across a reload only after the mount's sync(). The durable flow engine runs in one dedicated worker per origin, the leader tab's, chosen with a Web Lock, and keeps its step record in SQLite on OPFS (BrowserRuntime, BrowserEngine); apps/mvp's agent runs on it. Do not infer browser durability from a successful build or import.
  • Bun host: read platform-bun before changing its filesystem or process adapters. Its trusted filesystem boundary runs the native smithers-jj-export helper (build with cargo build --locked --release -p smithers-ffi --bin smithers-jj-export or set an absolute SMITHERS_WORKSPACE_JJ_EXPORT_BINARY); PATH is never searched. Bun's host bundle is not the browser adapter.
  • VibeLang source in Node: a workspace package's exports name its source, and a migrated package's source is .vibe, which Node loads only through vibelang/register. Every Node process that runs source must install it before the first .vibe import: installEffectResolution installs it (so packages/smithers/bin/smithers.mjs, node src/bin.ts, smithers-build, flows, declaration graphs, and scripts that import CLI source in-process get it), the workspace runtime's imports: ["vibelang/register"] in .smithers/WORKSPACE.ts preloads it for every NodeTest and NodeBinary target, and a script runs as node --import vibelang/register file.ts. Keep packages/smithers/src/bin.ts's static imports out of migrated packages: they load before installEffectResolution runs. Action children receive no NODE_OPTIONS, so an action's argv must carry the flag. Compiles are cached on disk (VIBELANG_CACHE_DIR, VIBELANG_DISABLE_CACHE=1, VIBELANG_REGISTER_DEBUG=1 to see hits); a type error stops the import with the diagnostics, which the CLI prints.
  • Node host: read platform-node before changing containment or process recovery. Confined operations require the smithers-jj-export helper built with the Rust toolchain rust-toolchain.toml pins; a missing helper refuses them. ProcessLedger.layerMemory cannot recover escaped children after a host crash, and permission checks belong around the host service bundle.

Read the full file on GitHub · 237 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. 10d ago Changed 4a212fe64ff7
  2. 16d ago Changed · +79 lines 681c5b391353
  3. 21d ago Changed bda86e0262b3
  4. 23d ago Changed 5e3cb0c46c09
  5. 29d ago Changed · +14 lines 7d93b12a2a39
  6. 1mo ago Changed · +9 lines 17aa99a68b88
  7. 1mo ago Changed · +32 lines ae408f5a9f55
  8. 1mo ago Changed · +66 lines 09d4fa843b4c
  9. 1mo ago Changed fffea0114d2a
  10. 1mo ago First seen · 37 lines · 29 tokens per session scan A 505e18aa2400

Subscribe to this mod's changes

smithers-maintenance is a skill published in the GitHub repository smithersai/smithers (455 stars, last pushed 4d ago), licensed MIT. It adds 29 tokens to every session and 9,131 once invoked, about $0.0001 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-09-25.

Related

smithers-maintenance compared with skills from other repositories

smithers-maintenance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
smithers-maintenancesmithersai/smithersSkill4554d agoMITA29Claude Code, Codex
Verification & Quality Assuranceruvnet/rufloSkill83kyesterdayMITA36Claude Code
agent-workflow-automationruvnet/rufloSkill83kyesterdayMITA21Claude Code
agent-github-modesruvnet/rufloSkill83kyesterdayMITA21Claude Code
agent-ops-cicd-githubruvnet/rufloSkill83kyesterdayMITA30Claude Code
workflow-automationruvnet/rufloSkill83kyesterdayMITA53Claude Code
ci-maintenancepingdotgg/t3codeSkill90ktodayMITA36Claude Code, Codex