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 darellchua2/opencode-config-template --skill linting-workflow-skillgit clone --depth 1 https://github.com/darellchua2/opencode-config-templateWrote 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/darellchua2/opencode-config-template/linting-workflow-skill)<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/linting-workflow-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/linting-workflow-skill.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.00021 | $0.01572 |
| Opus 5 | $0.00010 | $0.00786 |
| Sonnet 5 | $0.00004 | $0.00314 |
| Haiku 4.5 | $0.00002 | $0.00157 |
Grade C, and why
linting-workflow-skill scanned grade C 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 4d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
9. **Iteration safety**: bounded-by-default (`Iterations: 25`); safety blocks `.env`, `node_modules/`, `rm -rf`, `git push --force`. See `autoresearch-core-skill/references/iteration-safety.md`. How it starts
The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What I do
I provide a generic linting workflow for multiple languages:
- Detect project language and linter configuration
- Run linting and apply auto-fix when available
- Guide resolution of linting errors
- Verify fixes and commit changes
When to use me
Use when:
- Linting code before committing or PRs
- Building workflow skills with code quality checks
- Need consistent linting across multiple languages
This is a framework skill - provides linting logic that other skills extend.
Steps
Step 1: Detect Language and Linter
Detection:
package.json+tsconfig.json→ TypeScript (ESLint)package.json→ JavaScript (ESLint)pyproject.toml/requirements.txt→ Python (Ruff)go.mod→ Go (golint/golangci-lint)Gemfile→ Ruby (RuboCop)
Configuration files:
- ESLint:
eslint.config.ts/js/mjs,.eslintrc.json/js/yaml - Ruff:
pyproject.toml,.ruff.toml,ruff.toml
Step 2: Detect Package Manager
| Language | Manager | Lock File | Command |
|---|---|---|---|
| JS/TS | npm | package-lock.json |
npm run <script> |
| JS/TS | yarn | yarn.lock |
yarn <script> |
| JS/TS | pnpm | pnpm-lock.yaml |
pnpm run <script> |
| Python | Poetry | pyproject.toml |
poetry run <script> |
| Python | pip | requirements.txt |
Direct command |
Step 3: Run Linting
Commands:
# JavaScript/TypeScript (ESLint)
npm run lint # npm
yarn lint # yarn
pnpm run lint # pnpm
npx eslint . # direct
# Python (Ruff)
ruff check . # direct
poetry run ruff check . # poetry
Step 4: Apply Auto-Fix
Auto-fix commands:
- ESLint:
npm run lint -- --fix - Prettier:
npx prettier --write . - Ruff:
ruff check . --fix - Black:
black .
Auto-fix capabilities:
- Style violations, unused variables, simple syntax issues
- Formatting, indentation, quotes
- Unused imports, simple refactorings
Step 5: Fix Remaining Errors
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.
- 4d ago First seen · 170 lines · 21 tokens per session scan C df5567909781
linting-workflow-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 21 tokens to every session and 1,572 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
cs0618-hunter
Detects and fixes CS0618 obsolete API warnings in .NET builds. The compiler is the authoritative source for what your project actually triggers — it catches transitive obsoletions, overload-resolution surprises, and project-local [Obsolete] attributes that static inspection cannot see. Pair with the repository-pinned…
nuget-diff-analyzer
Post-processes the repository-pinned [email protected] -- diff output into a categorised report (breaking / additive / newly-obsolete) with each finding cross-referenced to the MAF obsolete-API registry.
dotnet-reverse
A guide for analyzing compiled .NET and C# programs, including managed Windows executables and libraries. Reverse engineering means studying compiled software to understand how it works, and decompiling turns it back into readable approximate source code.
dart-run-static-analysis
Execute dart analyze to identify warnings and errors, and use dart fix --apply to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committing changes.
agents-sdk-dotnet-debugging
Use when troubleshooting an agent built with the Microsoft Agents SDK (Microsoft.Agents.Hosting.AspNetCore and related packages) in C# / .NET. Trigger on any of these symptoms: build or C# compile errors, crashes on startup, 401 or auth errors on incoming requests, the bot not responding to messages, appsettings.json…
golang-error-handling
Idiomatic Golang error handling — creation, wrapping with %w, errors.Is/As, errors.Join, custom error types, sentinel errors, panic/recover, the single handling rule, structured logging with slog, HTTP request logging middleware, and samber/oops for production errors. Built to make logs usable at scale with log…