/ai-disclosure:ai-disclosurefrom AI Disclosure
Adds an AI disclosure line to GitHub posts (PRs, issues, comments, reviews) indicating the level of human judgment behind the content. Activates when posting to GitHub or when the disclosure hook blocks a post.
Ships in AI Disclosure. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Every post on the user's behalf (PR body, issue, comment, review, review comment, thread reply) carries an AI disclosure line: how much human judgment stands behind it. Commit messages carry no disclosure line; a co-author trailer the harness adds stays.
Versions. Checked against gh 2.105.0 on 2026-11-21.
Copy it, fill it, never write it from memory:
_<sub>🤖 Agent Decided: <TOOL> · <MODEL> (<EFFORT>)</sub>_
_<sub>📋 Human Planned: <TOOL> · <MODEL> (<EFFORT>)</sub>_
_<sub>🤝 Human Guided: <TOOL> · <MODEL> (<EFFORT>)</sub>_
<TOOL>: your harness, e.g. Claude Code, Codex, Cursor.<MODEL>: your model's friendly name, e.g. Opus 5.5.<EFFORT>: the reasoning effort, when the harness exposes it (Claude Code: $CLAUDE_EFFORT).
Unknown: drop (<EFFORT>).Judge the decisions the post carries, not the request behind it.
Understate. Torn between two tiers, take the lower. Claimed judgment that never happened is the failure that matters.
Still 🤖: a task, however specific; a standing rule (a skill, AGENTS.md, memory); delegation
or a bare sign-off; someone else's direction (a reviewer, another agent); an unattended run.
Direction reaches only what the user saw. A part they never saw, or a change that departs from their plan, is 🤖. One tier per post.
AI_DISCLOSURE=off <command>.
A block is not a reason: fix the body.PR body, issue, top-level comment, review summary: a chip in the top-right corner, first.
Keep the blank lines inside the cell, or GitHub prints the _.
<table align="right"><tr><td>
_<sub>🤖 Agent Decided: <TOOL> · <MODEL> (<EFFORT>)</sub>_
</td></tr></table>
The post starts here.
Review comment, thread reply: a footer right under the last line. After a list or a code block, leave one blank line first.
Fixed in a1b2c3d.
<sub> ╰</sub> _<sub>🤖 Agent Decided: <TOOL> · <MODEL> (<EFFORT>)</sub>_
Where installed, it blocks a shell command that posts to GitHub (a gh command or gh api write
with a body) when a body has no line. It checks that the line is there, not its tier or place.
Every reply in a GraphQL batch needs its own line.
When it cannot read the body, pass the body one of these ways. It runs before the whole command line, so write a body file in an earlier command.
gh pr create --title "<title>" --body-file /tmp/pr-body.md
gh pr comment <n> --body-file - <<'EOF'
<body>
EOF
gh api repos/<owner>/<repo>/issues/<n>/comments -F body=@/tmp/reply.md
gh api graphql -F query=@/tmp/round.graphql
Assume everything below is present; do not probe for it.
Needs: gh; python3 3.9 or newer for the hook.
Hosts: Claude Code, Codex, Cursor on macOS and Linux: yes, with the hook. Other agents that post
through a shell: the skill works, nothing enforces it. Windows: no hook.
When a block says the hook needs python3 or its guard failed: tell the user, with the install step or the error the block names.
README.md (opens in a new tab)hooks/claude-codex.json (opens in a new tab)hooks/cursor.json (opens in a new tab)hooks/guard/__main__.py (opens in a new tab)hooks/guard/disclosure.py (opens in a new tab)hooks/guard/files.py (opens in a new tab)hooks/guard/github.py (opens in a new tab)hooks/guard/harness.py (opens in a new tab)hooks/guard/shell.py (opens in a new tab)hooks/run.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub sherifabdlnaby/skills --plugin ai-disclosure2 plugins in one repository ship this exact skill · first indexed Nov 29, 2026