Comment by alex000kim

2 months ago

technically you're correct, but look at the prompt https://github.com/alex000kim/claude-code/blob/main/src/util...

it's written to _actively_ avoid any signs of AI generated code when "in a PUBLIC/OPEN-SOURCE repository".

Also, it's not about you. Undercover mode only activates for Anthropic employees (it's gated on USER_TYPE === 'ant', which is a build-time flag baked into internal builds).

I don’t know what you mean. It just informs to not use internal code names.

  • It also says don't announce that you are AI in any way including asking it to not say "Co-authored by Claude". I read the file myself.

    I'm still inclined to think people might be overreacting to that bit since it seems to be for anthropic-only to prevent leaking internal info.

    But I did read the prompt and it did say hide the fact that you are AI.