disabling-ai-attribution

Disables AI attribution in Claude Code, Amp, and Codex contributor settings.

2.0k|679|Updated Jun 13, 2024
One-click install
npx skills add https://github.com/Comfy-Org/ComfyUI_frontend --skill disabling-ai-attribution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: disabling-ai-attribution
Source: https://github.com/Comfy-Org/ComfyUI_frontend/tree/main/.agents/skills/disabling-ai-attribution
Command: npx skills add https://github.com/Comfy-Org/ComfyUI_frontend --skill disabling-ai-attribution

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Contributors using AI coding assistants often end up with unwanted AI attribution in commit messages, pull requests, and session history, polluting repository history. This Skill configures local AI coding tools to stop adding that attribution.

Core Features & Use Cases

  • Settings Helper Execution: Runs a repository-provided TypeScript helper that updates Claude Code and Amp attribution keys while preserving other values and JSONC comments.
  • Codex Policy Handling: Detects when Codex requires workspace-level configuration and instructs the contributor to disable attribution in Codex workspace settings instead of editing local config.
  • Idempotent Verification: Re-runs the helper to confirm Claude Code and Amp report "already configured" without ever reading settings files directly.
  • Use Case: A contributor notices AI co-author lines appearing in their commits and wants them removed from future commits, pull requests, and sessions across Claude Code, Amp, and Codex.

Quick Start

Disable AI attribution in my Claude Code, Amp, and Codex settings so it stops appearing in my commits and pull requests.

Frequently Asked Questions about disabling-ai-attribution

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I disable AI attribution in Claude Code commits?

Run the repository's settings helper with pnpm exec tsx scripts/skills/update-ai-attribution.ts. It updates the Claude Code attribution keys in your user-level settings while preserving all other values and JSONC comments.

How do I remove AI attribution from pull requests and sessions?

The same settings helper disables attribution for commits, pull requests, and sessions in both Claude Code and Amp. Run it once to apply the changes, then run it again to verify both tools report already configured.

Can I disable Codex commit attribution in local config?

No. Current Codex versions removed local attribution controls, so the helper reports workspace setting required. A contributor or workspace administrator must disable commit attribution in the Codex workspace settings instead.

Why does the helper report an error when updating settings?

If the helper reports an error, relay the error message and stop. Do not open or inspect the settings files to diagnose it, since the workflow forbids reading or printing configuration files directly.

Does the settings helper overwrite my other configuration values?

No. The helper updates only the Claude Code and Amp attribution keys. It preserves all other settings values and JSONC comments, and its output contains status labels only, never configuration values.