Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By agent-shv0.6.0MITIn 3 marketplaces
Persist user-defined banned agent behaviors into CLAUDE.md or AGENTS.md
You run one by typing its /name in Claude Code.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
3 marketplaces, most starred first
negative-memory, agent-memory, agent-config, codex, claude-code, opencode
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Persist "banned behaviors" into CLAUDE.md / AGENTS.md so AI coding agents remember never to repeat annoying patterns across sessions.
When an agent does something frustrating repeatedly (hedging language, over-explaining, editing migration files directly, etc.), banthis turns it into a standing rule that later sessions read. The agent proposes the title, the rule and its scope, and writes it after you confirm the wording.
npm install -g github:agent-sh/banthis
Or use via npx:
npx --yes github:agent-sh/banthis add "No hedging" "Do not start responses with 'To be honest' or 'I think': it undermines confidence."
The repo is also a Claude Code plugin marketplace that ships the /banthis command and the skill:
/plugin marketplace add agent-sh/banthis
/plugin install banthis@banthis
banthis <title> <rule>: Quick add (shortcut for add)banthis add <title> <rule>: Add or update a banned behaviorbanthis list: List current bansbanthis show: Print the managed section verbatimbanthis remove <title>: Remove a ban (title match is case-insensitive)banthis init: Install the meta-rule so agents know to propose a rule and save it with banthis once you confirmbanthis path: Print the file banthis would writebanthis install-command: Drop the /banthis slash command into .claude/commands/-g, --global: Target ~/.claude/CLAUDE.md (user-wide)--file <NAME>: Target specific filename (default: CLAUDE.md, or AGENTS.md when only that file exists)--dir <PATH>: Target specific directorybanthis maintains a managed section in CLAUDE.md or AGENTS.md (between <!-- banthis:start --> and <!-- banthis:end -->).
The section opens with a short preamble: these are standing rules from past sessions, and the user's own words in the current conversation come first. When a rule conflicts with what you ask now, the agent does what you asked and mentions the conflict. Sections written by older versions get the new preamble on the next add, remove or init.
If the end marker goes missing (a hand edit or a bad merge), the next add, remove or init restores it after the last rule of the existing block instead of writing a second block.
banthis has no dependencies on other plugins. A config linter such as agnix can validate the result if you use one.
A short rule with its reason is one of the cheapest instructions you can give an agent, and it survives long context windows well. banthis makes it quick to capture one at the moment of frustration, in your own wording, scoped to the project unless it applies everywhere.
Optional, not required by banthis:
agnix: linter and validator for agent configurationsskill-curator, system-prompt-curator: help writing SKILL.md files and system promptsMIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub agent-sh/banthis --plugin banthisPlugins from other owners that cover similar ground