in the same vein as AGENTS.md, CLAUDE.md, and a fuckton of other repo spam, I present AAA-NO-SLOP.md, a file for humans viewing repositories that signals two things:

  • this repository doesn’t accept LLM contributions of any kind
  • every other LLM instruction in this repository (AGENTS.md, CLAUDE.md, and all the rest) is poisoned and designed to deter LLM use

enjoy!

for any guests who stumble upon this thread: no I’m not entertaining discussion on why I’m doing this or how I shouldn’t do it

    • self@awful.systemsOPM
      link
      fedilink
      arrow-up
      10
      ·
      1 month ago

      I’ve considered writing up some Claude “skills” to redefine the most common repo commands to echo a string to the terminal and exit instead

      • arbitraryidentifier@awful.systems
        link
        fedilink
        arrow-up
        4
        ·
        1 month ago

        Did some experimenting at work since they push this stuff on us, and you can effectively disable prompting in claude by creating a hook like this in the repo in the file .claude/settings.json:

        {
            "hooks": {
                "UserPromptSubmit": [
                    {
                        "hooks": [
                            {
                                "type": "command",
                                "command": "echo 'Humans Only! No Agents Allowed!!' >&2 && exit 2"
                            }
                        ]
                    }
                ]
            }
        }
        

        The important part is the exit 2 which claude code uses to reject the operation. Printing anything out to STDERR will show to the user:

        Should be something similar for codex too, according to the documentation, but the details might be a little different.