[BUG] Subsequent skill calls duplicate content in model context

Resolved 💬 6 comments Opened Jan 9, 2026 by marcospgp Closed Mar 18, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Subsequent calls of the same skill in a claude code session should not duplicate the skill content into the context

Instead, the skill content should be moved to the end of the context, with the previous instance removed

I'm seeing claude report that calling the same skill multiple times will duplicate the skill's content in its context window

What Should Happen?

see above

Error Messages/Logs

Steps to Reproduce

see above

Claude Model

Not sure / Multiple models

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.2

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗