sfdx-hardis: Agent for Claude Code

.claude/agents/megalinter-fixer.md

megalinter-fixer is an agent for Claude Code from hardisgroupcom/sfdx-hardis. It costs 87 tokens per session (694 once invoked), scanned A, original, AGPL-3.0.

An agent instruction for fixing errors from one MegaLinter check. MegaLinter is a tool that runs many code-quality and style checks; this agent edits source files but does not commit, push, or turn checks off.

In plain words
What is it for?
Use it to correct the errors reported by a specific MegaLinter check, following that check's fixing guidance.
Why use it?
It keeps each linter failure focused and prevents the fix process from changing repository history or hiding the reported rule.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is hardisgroupcom/sfdx-hardis's own configuration. It tells Claude Code how to work on sfdx-hardis 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 sfdx-hardis configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hardisgroupcom/sfdx-hardis. 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/hardisgroupcom/sfdx-hardis/main/.claude/agents/megalinter-fixer.md
Clone the repo
git clone --depth 1 https://github.com/hardisgroupcom/sfdx-hardis

Made for: Claude Code.

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 megalinter-fixer

README.md
[![agentmods](https://agentmods.dev/badge/agents/hardisgroupcom/sfdx-hardis/megalinter-fixer.svg)](https://agentmods.dev/agents/hardisgroupcom/sfdx-hardis/megalinter-fixer)
Your own site
<a href="https://agentmods.dev/agents/hardisgroupcom/sfdx-hardis/megalinter-fixer"><img src="https://agentmods.dev/badge/agents/hardisgroupcom/sfdx-hardis/megalinter-fixer.svg" alt="Measured on agentmods" height="20"></a>
Per session 87 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 694 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00087 $0.00694
Opus 5 $0.00044 $0.00347
Sonnet 5 $0.00017 $0.00139
Haiku 4.5 $0.00009 $0.00069

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

Security

Grade A, and why

megalinter-fixer 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.

.claude/agents/megalinter-fixer.md · 44 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 8d ago First seen · 44 lines · 87 tokens per session scan A a9787c97e872

Subscribe to this mod's changes

megalinter-fixer is an agent published in the GitHub repository hardisgroupcom/sfdx-hardis (384 stars, last pushed today), licensed AGPL-3.0. It adds 87 tokens to every session and 694 once invoked, about $0.0004 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-30.

Related

Other agents, from other repositories

evidence-based-investigator

Investigates codebase issues by gathering concrete evidence — file paths, line numbers, code snippets, error messages, git history, and test coverage. Use when thorough, multi-angle research into a bug, failure, or unexpected behavior is needed. Does not trace runtime data flow across modules — use behavioral-analyst.…

testdouble/han · 85 tokens

autopsy

Full codebase health assessment — quantified health scores (0-100) per module across 6 dimensions. Identifies highest tech debt. Use for rescue RECON or project diagnosis.

Rune-kit/rune · 39 tokens

perf

Performance regression gate — detects N+1 queries, sync-in-async, missing indexes, memory leaks, bundle bloat. Investigate only, does NOT fix. Use before commit or deploy.

Rune-kit/rune · 41 tokens

orc-code-fixer

Executor role — applies a defined list of code changes, runs the project's test suite, and reports a diff. Used by /orc:address to execute reviewer-requested fixes, or any context where a list of changes is already decided and just needs to be made cleanly.

HigorAlves/orc · 60 tokens

architect

Architecture & debugging advisor. Use PROACTIVELY when reviewing code structure, design patterns, dependency analysis, or debugging complex issues. Also participates as a structural reviewer in the /plan protocol. NOT for requirements analysis (gap-finder).

kangig94/coral · 49 tokens

deliberator-casper

Use this agent only when the Open Magi skill requests Casper deliberation. Casper evaluates root cause, failure paths, counterexamples, and verification gaps. Return a Magi report only; do not edit files or run commands.

ladiossoop5star/open_magi · 51 tokens