Agents Correct logo

Agents Correct

Community
jpoehnelt
agents-correct

Find the mistakes agents keep repeating in a repo and make each one impossible, trying architecture first, then types, lint, tests, and docs last. Use when the operator keeps correcting the same mistake, or for /agents-correct.

Overview

Publisherjpoehnelt
Repositoryskills
Skill nameagents-correct
Stars
23
Forks
1
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by jpoehnelt on GitHub. Read the source before you install it.

Installation

Install the Agents Correct AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jpoehnelt/skills/tree/main/agents-correct
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jpoehnelt/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/agents-correct .claude/skills/agents-correct
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Agents Correct in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Agents Correct on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Agents Correct is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Correct

The operator keeps correcting agents for the same mistakes. Change the repo so the next agent cannot make them.

Assume every contributor is an agent that sees only the files it opened, copies the nearest example, and takes the shortest path that compiles. Design the repo so a change that looks right from one file is right for the whole repo.

Repo facts (from AGENTS.md or CLAUDE.md): the lint and check systems and where their rules and rule tests live, the suppression syntax, the test policy, and where invariants versus skill checklists belong.

Find the mistake classes

Read recent commits, reverts, review comments, agent instruction files, and comments that explain workarounds. Group the mistakes into classes. A class counts once it has happened twice.

Fix each class at the highest level that works

The ladder, in order: architecture, types, lint, tests, docs.

  1. Eliminate it with architecture. Give each piece of state one owner and each task one supported way. Hide internals so the wrong import fails. Replace hand-synced lists with one source of truth. Delete old ways and dead code an agent would copy.
  2. Enforce it with types (schemas, branded IDs, tagged unions) so the bad state cannot be written. If bad code still compiles, add a rule to the repo's existing lint or CI check system, with a test case if that system has rule tests, whose error names the file, type, or function to use instead. If the pattern is already common, fail only when a change adds more.
  3. Test the behavior, following the repo's test policy. Where it prefers fewer tests, decompose uncertain code or flag it for review instead. Fix or delete any test that still passes when the behavior it checks breaks, or that fails when only internals change.
  4. Write docs or agent rules last, and only for judgment calls. Nothing fails when an agent skips them.

Fix and prove

Fix the existing occurrences of the most frequent classes now, one commit each when the user has asked for commits. Prove each new check fails on a real past mistake and accepts valid use. Run the same command locally and in CI. Exceptions go on the offending line using the check's suppression syntax, with a reason and a human approval; never add a permanent blanket exception for existing violations.

Place the rule

Each rule lives in exactly one place: a durable invariant in AGENTS.md, a syntactic check in the lint system, and a design or context check in the owning skill's review checklist. When a check enforces an AGENTS.md rule, name the check on that line instead of adding prose. When the operator corrects you, fix the mistake and place the rule. If the rule already existed and nothing enforced it, that is a repeat, so fix it at the highest level in the same change. Drop a rule once its mistake cannot happen.

Review checklist

  • Each class has evidence: at least two past occurrences.
  • Each fix sits at the highest level that works, with a stated reason why a higher level did not.
  • Each new check failed on a real past mistake before it was accepted.
  • Each rule sits in one place, and each enforced AGENTS.md rule names its enforcer.
  • Reply lists each class, its evidence, the level chosen, and why.

Frequently asked questions

What does the Agents Correct AI skill do?

Find the mistakes agents keep repeating in a repo and make each one impossible, trying architecture first, then types, lint, tests, and docs last. Use when the operator keeps correcting the same mistake, or for /agents-correct.

Why use Agents Correct on TypingMind?

Because you install it once and use it with any model. Agents Correct is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Agents Correct in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jpoehnelt/skills/tree/main/agents-correct. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Agents Correct?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Agents Correct?

As many as you like. As long as a model supports skills, you can use Agents Correct with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Agents Correct AI skill free?

Yes. It is published on GitHub by jpoehnelt under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇