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.
curl -O https://raw.githubusercontent.com/smithersai/smithers/main/.agents/skills/smithers-maintenance/SKILL.mdgit clone --depth 1 https://github.com/smithersai/smithersWrote 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/smithersai/smithers/smithers-maintenance)<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.
<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>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.00029 | $0.09131 |
| Opus 5.5 | $0.00012 | $0.03652 |
| Sonnet 5.5 | $0.00006 | $0.01826 |
| Haiku 4.5 | $0.00003 | $0.00913 |
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 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.tsdeclares targets; generated companions and the whole declaration-set index have explicit checks. Usepnpm run target-indexwhen that contract calls for regeneration. The tree splits intoapps/andpackages/, never by language: a Rust crate lives underpackages/beside its consumer (for examplepackages/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
/accache differs from engine step-cache/artifacts; hosted and self-hosted cache implementations need matching route, bound, and credential behavior. - Type checking: every
Typechecktarget, packagecheckscript, andMarkdown.CodeBlockstarget runsvibelang, VibeLang's compiler: TypeScript 7's checker, which also reads the.vibesource of the workspace packages a package imports, each.vibefile with its own package's VibeLang settings (VibeLang D278). TypeScript 7 rejects some code TypeScript 5.9 accepted; fix the code, not the gate.typescript5.9 stays installed for typescript-eslint and editors. TypeScript 7 ignores tsconfigplugins, so@effect/language-servicereports only in a TypeScript 5 editor;tscnever ran it either, because it is not patched in. In.vibefiles VibeLang's EK4801-EK4825 cover its rules. - VibeLang sources in builds and bundles: a workspace package's exports name its source, so a
.vibemodule reaches every dependent, and tsc and plain bundlers cannot read it.packages/repo-targets/scripts/build-library.mjspicks the compiler per package (packageCompiler): vibelang when the package'ssrc, or a linked dependency'ssrc, holds.vibe; tsc otherwise.buildLibrary, the four hand-written build scripts, andcheck-api-baseline.mjsuse that choice, and a package with its own.vibesources 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.vibemodule compiles with its own package's tsconfig:vibelang-vitein Vite configs (apps/mvp, apps/app, apps/site),vibelang-unplugin/esbuildin esbuild scripts (browser-check, build-tui, build-views, model-host, the coding host, the design mock),vibelang-unplugin/bunin Bun.build (TUI binaries). An Alchemy Worker evaluates its own props, so itsbuildtakesvibelang-unplugin/deferredthroughapps/mvp/infra/WorkerBuild.ts; a static plugin import there would bundle the compiler into the Worker. Packing requires.vibemodules' ESM, declarations and CommonJS, and a package that shipssrc/**/*.tsalso listssrc/**/*.vibeinfiles. - 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>.jschanges the published.d.ts: keep it. A.vibeimporter of a converted module writes./<file>.vibe, which declaration emit prints in its TypeScript spelling;./<file>.tsthere fails with TS2307. - Tests that load VibeLang (
.vibe) source: a workspace package exports its source, so a suite that imports a migrated package loads.vibemodules. Everyvitest.config.tsrunsvibelang-vitewith the package's test tsconfig, collects*.test.vibebeside*.test.ts, and counts.vibefiles in its coverage globs; a.vibemodule 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 asnode -e, setsregister: trueon the plugin, which putsvibelang/registerin theNODE_OPTIONSits processes inherit; a child spawned withNODE_OPTIONScleared needs--import vibelang/registeritself. A package that imports@effect/vitestmust resolve the same vitest copy as its runner (oneviteversion), ordescribefails readingconfig.node --teston source needs--import vibelang/register. Bun loads.vibethrough thevibelang/bunpreload in thebunfig.tomlof the directory Bun starts in, a package or the repository root (top level forbun run,[test]forbun test);bun testnever discovers*.test.vibe, so a Bun suite imports.vibemodules from.test.tsfiles.BuildAndCheckTypeScriptPackage's default source and test globs name.{ts,vibe}, so its targets are keyed on.vibefiles. - 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 withsql.unsafe(text, params)underEffect.provideService(Statement.CurrentTransformer, undefined)to count rows, then returnself. Example:packages/smithers/control/test/SqlControlRuntime.test.ts, "global watch bounds SQL inventory". - Source scanners and VibeLang: a tool that reads sources treats
.vibeas it treats.ts: VibeLang's imports, exports, type arguments and calls are TypeScript syntax, sopackages/repo-targets/src/ImportAnalysis.tsparses a.vibefile 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'scirculartarget runs the one guard,packages/repo-targets/scripts/circular.mjs(CircularImports), which reads the module graph the VibeLang compiler resolves, so a cycle through.vibemodules fails; see the repo-targets README. A script that imports CLI source in-process callsinstallEffectResolutionfirst, which installsvibelang/register. - Documentation: Author library documentation in each package's
docs/directory; it ships with the npm package. Runpnpm docs:checkto verify tarball contents. Main-site projections usepnpm --filter @smithers/site run sync:docs. - Docs gates in a fresh clone: after
pnpm install --frozen-lockfile, build thesmithers-jj-exporthelper (command under Bun host below) beforepnpm docs:sync, which otherwise fails with "smithers-jj-export is missing". A single-filevitest 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.tsorflow.vibe(mvp.md M-49) default-exports a taggedFlow.makefrom@smthrs/flow. Export its action implementations as the optional namedlayer(Declared.toLayer,AgentAction.layer, orLayer.mergeAll); the registry composes it against the local host platform and agent services. Export implementations directly; the host ownsAction.Implementations. Acquire extra dependencies during layer construction so missing services are refused at load. Use stableNode.capturecallbacks for canonical persisted composition and matchingimplementationVersiondeclarations/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 throughClassifier.makeand the hostEvaluator, 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_jsonand 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.buildexecutes 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/flowdeclares 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
Consensusstrategy (SqlConsensusoverflows_consensus_leasesby default,Consensus.layerLocalin-process); fenced durable emissions join itsguard, so the run must be claimed and activated through it, and the journal and run store must share one strategy instance.RunStoremirrors the outcome onflows_runs, so a fixture that forges ownership in SQL writes both.emitDurableUnfencedis only for genuinely ownerless admission or repair, never a bypass forfence_lost. An expired lease alone does not authorize takeover;LivenessEvidencemust 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_changedrequires rebuilding the projection. The native gateway serves branch presence atPOST /branchwhen its authenticated runtime bridge is configured; branch commands and share-link bootstrap remain unserved on that mount, andBranch.WatchRosterreturnsunsupported. - 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-exporthelper (build withcargo build --locked --release -p smithers-ffi --bin smithers-jj-exportor set an absoluteSMITHERS_WORKSPACE_JJ_EXPORT_BINARY);PATHis 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 throughvibelang/register. Every Node process that runs source must install it before the first.vibeimport:installEffectResolutioninstalls it (sopackages/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'simports: ["vibelang/register"]in.smithers/WORKSPACE.tspreloads it for everyNodeTestandNodeBinarytarget, and a script runs asnode --import vibelang/register file.ts. Keeppackages/smithers/src/bin.ts's static imports out of migrated packages: they load beforeinstallEffectResolutionruns. Action children receive noNODE_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=1to 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-exporthelper built with the Rust toolchainrust-toolchain.tomlpins; a missing helper refuses them.ProcessLedger.layerMemorycannot recover escaped children after a host crash, and permission checks belong around the host service bundle.
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.
- 10d ago Changed 4a212fe64ff7
- 16d ago Changed · +79 lines 681c5b391353
- 21d ago Changed bda86e0262b3
- 23d ago Changed 5e3cb0c46c09
- 29d ago Changed · +14 lines 7d93b12a2a39
- 1mo ago Changed · +9 lines 17aa99a68b88
- 1mo ago Changed · +32 lines ae408f5a9f55
- 1mo ago Changed · +66 lines 09d4fa843b4c
- 1mo ago Changed fffea0114d2a
- 1mo ago First seen · 37 lines · 29 tokens per session scan A 505e18aa2400
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.
smithers-maintenance compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| smithers-maintenancesmithersai/smithers | Skill | 455 | 4d ago | MIT | A | 29 | Claude Code, Codex |
| Verification & Quality Assuranceruvnet/ruflo | Skill | 83k | yesterday | MIT | A | 36 | Claude Code |
| agent-workflow-automationruvnet/ruflo | Skill | 83k | yesterday | MIT | A | 21 | Claude Code |
| agent-github-modesruvnet/ruflo | Skill | 83k | yesterday | MIT | A | 21 | Claude Code |
| agent-ops-cicd-githubruvnet/ruflo | Skill | 83k | yesterday | MIT | A | 30 | Claude Code |
| workflow-automationruvnet/ruflo | Skill | 83k | yesterday | MIT | A | 53 | Claude Code |
| ci-maintenancepingdotgg/t3code | Skill | 90k | today | MIT | A | 36 | Claude Code, Codex |