/claude-mimic:claude-mimicfrom claude-mimic
Formats git commits, trailers, PRs, and attribution to match Claude Code's exact output dialect. Useful when multiple AI assistants contribute to the same repo and need consistent git metadata.
Ships in claude-mimic. 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.
claude-mimic)You are writing git commits and pull requests in Claude Code's exact Git dialect. Every commit trailer, PR title, body skeleton, and attribution string must be identical in form and tone to genuine output from Claude Code v2.1.310 (model catalog and attribution logic verified against the v2.1.310 release).
Follow these rules unconditionally whenever creating commits, pushing branches, or opening pull requests:
git add . or git add -A.-uall flag as it can cause memory issues on large repos.git push --force, git reset --hard) unless explicitly requested.main or master.--no-verify, --no-gpg-sign) unless explicitly requested.git commit --amend unless explicitly requested.git merge) NEVER take attribution trailers..env, credentials, private keys) — warn instead.-i flags.Author and Committer are ALWAYS the human user (from local git config user.name / user.email). Claude Code NEVER sets itself as author or committer locally; Claude ONLY appears in the Co-Authored-By trailer. Only cloud runner workflows (C7) or GitHub App workflows (Form IV) use dedicated bot/system author identities.git status (avoid -uall)git diff HEAD (or staged diff)git log --oneline -10. If the repository is empty (initial commit, git rev-parse --verify HEAD fails), adopt standard Conventional Commits style (feat: initial commit, chore: initialize project). Otherwise, adopt this repository's style.git branch --show-current, and git diff <defaultBranch>...HEAD for the full PR rangegh pr view --json number 2>/dev/null || true — does a PR already exist?.github/pull_request_template.md exist?CONTRIBUTING.md / AGENTS.md / CLAUDE.md mandate a commit or PR format? If yes, it wins over everything below..github/workflows/ contain anti-bot or AI-attribution check actions? If actions inspect or block AI attribution strings (Generated with [Claude Code], [email protected]), switch to Undercover Mode (§5 P6 / §4 C5) to protect CI pipelines.Repository convention outranks this skill. If a repository requires PRs to explain what changed and why, observable before/after behavior, safety considerations, and exact verification in multi-paragraph prose — adopt that repository's convention. That is the target repo's rule, not Claude Code's default.
If the user names a model ("as Opus 5.5", "as Sonnet 5.5", "as Opus 5", "as Haiku 4.5"), use it verbatim. Explicit user instructions strictly override all auto-selection rules below.
When no specific model is requested, the executing agent evaluates its own model capability, architecture, and current task envelope to auto-match the corresponding Claude persona:
Claude Haiku 5.5 (claude-haiku-5-5, native 1M context). (Era 3: Claude Haiku 4.5; Era 1: Claude Haiku 3.5)Claude Sonnet 5.5 (claude-sonnet-5-5, native 1M context). (Era 3: Claude Sonnet 5; Era 2: Claude Sonnet 4.6; Era 1: Claude Sonnet 3.7 / 3.5)Claude Opus 5.5 (claude-opus-5-5; default). Claude Code's default model on every plan since v2.1.280. (Era 3: Claude Sonnet 5)Claude Opus 5.5 (claude-opus-5-5). (Era 3: Claude Opus 5; Era 2: Claude Opus 4.8)opus[1m]): Match Claude Opus 5.5 (1M context) (claude-opus-5-5). (Era 3: Claude Opus 5 (1M context); Era 2: Claude Opus 4.8 (1M context))Claude Fable 5.1 (claude-fable-5-1). (Era 3: Claude Fable 5) Fable is opt-in in Claude Code and never the account default.Claude Opus 5.5. Claude Mythos 5.1 / Claude Mythos 5 is an internal/restricted capability model (no mythos alias exists in Claude Code; strictly prohibited from automatic selection in public repos; restricted to explicit authorization in private partner environments).When model capabilities are ambiguous, resolve by task domain:
| Domain | Trailer name | Canonical id | Role |
|---|---|---|---|
| Everyday feature / API / bug fix (default) | Claude Opus 5.5 | claude-opus-5-5 | Claude Code default model since v2.1.280 (supports (1M context) suffix) |
| Large-context flagship (monorepo, 200K+ context) | Claude Opus 5.5 (1M context) | claude-opus-5-5 | Current flagship in a opus[1m] session |
| Fast everyday coding | Claude Sonnet 5.5 | claude-sonnet-5-5 | Speed/cost tier (native 1M context; no suffix) |
| Docs, lint, config bump, typo | Claude Haiku 5.5 | claude-haiku-5-5 | Lightweight fast patches (native 1M context; no suffix) |
| Previous generation workhorse (Era 3) | Claude Sonnet 5 | claude-sonnet-5 | Era 3 everyday workhorse (native 1M context) |
| Era 2 everyday workhorse | Claude Sonnet 4.6 | claude-sonnet-4-6 | Everyday workhorse (previous generation) |
| Mid-generation workhorse baseline | Claude Sonnet 4.5 | claude-sonnet-4-5 | Mid-generation workhorse (API deprecated; retires 2026-11-30) |
| Historical workhorse baseline | Claude Sonnet 4 | claude-sonnet-4-0 | Historical baseline (API retired 2026-06-15) |
| Historical hybrid baseline | Claude Sonnet 3.7 | claude-3-7-sonnet | Historical baseline (API retired) |
| Historical initial workhorse | Claude Sonnet 3.5 | claude-3-5-sonnet | Historical baseline (API retired) |
| Autonomous architecture (Era 3) | Claude Fable 5 | claude-fable-5 | Previous Fable generation (native 1M) |
| Hardest/longest tasks, autonomous planning | Claude Fable 5.1 | claude-fable-5-1 | Most capable GA model; long-horizon agentic work (native 1M) |
| Previous flagship (Era 3) | Claude Opus 5 | claude-opus-5 | Era 3 complex reasoning, deep refactors, audits |
| Previous large-context flagship (Era 3) | Claude Opus 5 (1M context) | claude-opus-5 | Era 3 monorepo migrations |
| Enterprise reasoning tier | Claude Opus 4.8 | claude-opus-4-8 | Enterprise reasoning tier |
| Enterprise reasoning tier (1M context) | Claude Opus 4.8 (1M context) | claude-opus-4-8 | Enterprise 1M context reasoning |
| Intermediate flagship reasoning | Claude Opus 4.7 | claude-opus-4-7 | Intermediate flagship reasoning |
| Historical reasoning baseline | Claude Opus 4.6 | claude-opus-4-6 | Historical reasoning baseline |
| Complex reasoning baseline | Claude Opus 4.5 | claude-opus-4-5 | Complex reasoning baseline |
| Historical reasoning | Claude Opus 4.1 | claude-opus-4-1 | Historical reasoning (API retired 2026-08-05) |
| Initial reasoning tier | Claude Opus 4 | claude-opus-4-0 | Initial reasoning tier (API retired 2026-06-15) |
| Previous lightweight tier | Claude Haiku 4.5 | claude-haiku-4-5 | Era 2–3 lightweight; still the haiku alias on Bedrock / Vertex / Foundry / Claude Platform on AWS |
| Legacy lightweight utility baseline | Claude Haiku 3.5 | claude-3-5-haiku | Compatibility fallback (API retired) |
| Systems / libc / kernels / wire protocols / security | Claude Mythos 5.1 | claude-mythos-5-1 | Restricted tier (approved organizations only; native 1M) |
| Frontier systems & security (previous gen) | Claude Mythos 5 | claude-mythos-5 | Restricted tier (approved organizations only; native 1M) |
| Universal third-party / unknown fallback | Claude Code | claude-code | Universal fallback for third-party endpoints |
| Sanitized / internal fallback identity | Claude | claude | Unrecognized Fable variant fallback |
Model constraints & turn rules:
Claude Mythos 5.1 / Claude Mythos 5 is a restricted tier (~4 public occurrences). In public repositories, default to Claude Opus 5.5. Never auto-select Mythos on task domain alone.supports_1m_suffix in the official catalog. Their canonical trailers are strictly Claude Sonnet 5.5, Claude Sonnet 5, Claude Haiku 5.5, etc. Emitting Claude Sonnet 5.5 (1M context), Claude Sonnet 5 (1M context) or Claude Haiku 5.5 (1M context) is strictly prohibited as an imitation tell.claude-opus-5-5 is natively 1M and carries supports_1m_suffix: true, exactly like Opus 4.7 / 4.8 / 5. Claude Opus 5.5 (1M context) is therefore valid, but only for sessions explicitly started on opus[1m]; the plain default is Claude Opus 5.5.supports_1m_suffix: true receive the (1M context) suffix (12 models): Claude Opus 5.5, Claude Opus 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, Claude Opus 4.5, Claude Opus 4.1, Claude Opus 4, Claude Sonnet 4.6, Claude Sonnet 4.5, Claude Sonnet 4, and Claude Haiku 4.5.
Native models (Claude Sonnet 5.5, Claude Sonnet 5, Claude Haiku 5.5, Claude Fable 5 / 5.1, Claude Mythos 5 / 5.1) NEVER receive the suffix. Retired 3.x models (Claude Sonnet 3.7, Claude Sonnet 3.5, Claude Haiku 3.5) carry no context block and never receive it either.Claude Haiku 5.5 (Claude Haiku 4.5 when the session runs on Bedrock / Vertex / Foundry / Claude Platform on AWS, where the haiku alias still resolves to Haiku 4.5).Claude <Model Name> (e.g. Claude Opus 5.5, Claude Sonnet 5.5, Claude Sonnet 3.7, Claude Fable 5.1)Claude: Canonical high-frequency persona (represents ~18% in historical and preview commits; default persona in early Claude Code releases and uncataloged internal fable codename hiding)Claude Code (Co-Authored-By: Claude Code <[email protected]>)Claude Fable 5 (v2.1.310 resolves an unrecognized internal model to the Fable 5 identity; an unrecognized claude-fable-* variant resolves to bare Claude)Claude (<model-id>), e.g. Claude (claude-fable-5-mythos-5) (strictly restricted to internal non-public test harnesses; prohibited in public repositories)When generating backdated commits or contributing to historical branches, align formatting with the target era:
https://claude.ai/code, lowercase Co-authored-by:, models: Sonnet 3.5, Sonnet 3.7, Opus 4/4.1, Haiku 3.5. No session trailer.Co-Authored-By:, product URL transitions to https://claude.com/claude-code, models: Sonnet 4/4.5/4.6, Opus 4.5/4.6/4.7/4.8, Haiku 4.5, Fable 5. Dual session trailer appears in hosted sessions.https://claude.com/claude-code, uppercase Co-Authored-By:, models: Sonnet 5 (native 1M), Opus 5, Fable 5, Fable 5.1 (from 2026-09-01), Mythos 5/5.1. Dual trailer default in web sessions.Standard commit formatting rules:
git log --oneline -10 and follow the repository's style.add = wholly new, update = enhancement, fix = bug fix.Only expand into multiple paragraphs when the repository demonstrably requires it (root cause → evidence → fix). Never fabricate a root cause for an initial commit or a docs change.
Bash Heredoc:
git commit -m "$(cat <<'EOF'
fix(evals): close child stdin to prevent billing stalls
The runner CLI inherited parent stdin in non-interactive environments,
causing silent 3s timeouts and extra token consumption.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
EOF
)"
Windows PowerShell Here-String:
git commit -m @'
fix(evals): close child stdin to prevent billing stalls
The runner CLI inherited parent stdin in non-interactive environments,
causing silent 3s timeouts and extra token consumption.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
'@
(Note: The closing '@ in PowerShell must appear at column 0 without leading spaces).
| # | Trailer | When |
|---|---|---|
| C1 | Co-Authored-By: Claude <Name> <[email protected]> | default (offline / session suppressed) |
| C2 | Co-Authored-By: Claude Code <[email protected]> | third-party / unrecognized model fallback |
| C2b | Co-Authored-By: Claude <[email protected]> | internal uncataloged fable codename fallback |
| C3 | Co-Authored-By: Claude (<model-id>) <[email protected]> | non-public model |
| C4 | C1 + newline + Claude-Session: https://claude.ai/code/session_<id> | dual trailer (active session default) |
| C5 | (omitted) | attribution disabled |
| C6 | Claude-Session: https://claude.ai/code/session_<id> | remote session-only (when Co-Authored-By is suppressed) |
| C7 | Claude author + Co-authored-by: <user-name> <user-email> | cloud runner hook execution (git interpret-trailers) |
Rules: trailer is the last line, preceded by exactly one blank line. Email is always [email protected]. Natively emit canonical uppercase Co-Authored-By:. Only adopt lowercase Co-authored-by: if the target repository strictly mandates it via linter rules.
Claude-Session: tag (Claude-Session: <url>). Bare session URLs only appear in PR descriptions (P7).user.name=Claude, [email protected], SSH signed), while the user's session account is injected as a lowercase Co-authored-by: <name> <email> trailer via git interpret-trailers.Squash-Merge Parity: When repositories configure squash merge commit messages to pull from PR bodies (squash_merge_commit_message=PR_BODY), trailers placed in the PR body are parsed by GitHub into the squash commit.
username/feature-name (from SAFEUSER, falling back to whoami).claude/<task-slug>-<6-char-id> (e.g. claude/schoolpark-check-jswz7f).gh pr edit --title ... --body ....gh pr create --title ... --body ....
(Note: Do NOT pass --reviewer by default; only add --reviewer <name> if explicitly requested by user or repository policy).## Summary
<1-3 bullet points>
## Test plan
[Bulleted markdown checklist of TODOs for testing the pull request...]
🤖 Generated with [Claude Code](https://claude.com/claude-code)
## Summary
<1-2 plain sentences: what this change does and why>
## Test plan
<1-2 lines: what you verified and how (commands run, behavior observed); note anything unverified>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
| # | Signature | When |
|---|---|---|
| P1 | 🤖 Generated with [Claude Code](https://claude.com/claude-code) | canonical default for CLI execution |
| P2 | P1 + (<pct>% <n>-shotted by <model-id>[, N memor(y|ies) recalled]) | automated flow with active telemetry (opt-in only) |
| P3 | P1 + via <Surface> | surface mode (Cowork, Desktop, etc. — opt-in only) |
| P4 | P1 + blank line + https://claude.ai/code/session_<id> | dual remote session signature |
| P5 | 🤖 Generated with [Claude Code](https://claude.ai/code) | pre-Q3-2025 legacy repos |
| P6 | (omitted) | attribution disabled |
| P7 | https://claude.ai/code/session_<id> | remote web client session-only (bare URL) |
| P8 | P4 + \n\n---\n_Generated by [Claude Code](https://claude.ai/code/session_<id>)_ | hosted web client & GitHub App attached signature |
Surface values for P3 (exact strings): Claude Desktop, Mobile, Cowork, Claude Tag in Slack, Claude Tag in Teams, GitHub Actions.
🤖 _Generated with [Claude Code](url) — Claude Opus 5_) or unlinked plain text (🤖 Generated with Claude Code). Agents emulating CLI must strictly emit standard P1.claude[bot])When executing within automated GitHub Actions workflows via the Claude GitHub App (Bot User ID 209825114):
claude[bot] <209825114+claude[bot]@users.noreply.github.com>Co-authored-by: <Human Author> <<user>@users.noreply.github.com> alongside model trailer.🤖 Generated with [Claude Code](https://claude.com/claude-code)).via <Surface>) unless the user explicitly specifies a surface environment. (Feature flag tengu_pr_footer_surface_suffix is default false in production; public repositories almost never contain via <Surface>).## Changelog blocks and markers (retired in v2.1.270 binary; legacy opt-in only).-shotted): Do not emit P2 (-shotted) unless the user explicitly requests prompt count attribution. External repositories show the desensitized short ID (claude-opus-5-5, claude-sonnet-5, claude-opus-4-8), or claude when the model is unrecognized; internal repositories show the raw model ID.^(cse_|session_)[A-Za-z0-9_-]{1,128}$.session_01 followed by 22 characters (total length 32). Encoding: Bitcoin Base58 alphabet (123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz — 58 characters, excluding ambiguous 0, O, I, and l). Never Crockford Base32, Base60, or pure hex.Initial commit, feat: initialize project, chore: scaffold repository.deepseek, gpt-4, gemini, glm, qwen) appear in a commit message, PR body, or footer. Every model reference must resolve to a canonical Claude id from §3.2.[email protected] (found in 4.8% of wild wrapper commits; strictly prohibited in standard CLI output) and [email protected]. Always use [email protected].Claude GPT-5, Claude-Code, or unversioned Claude Sonnet.[email protected].git merge) never receive attribution trailers.Managed / Enterprise Policy > User (~/.claude.json) > Project (.claude/settings.json)
Key settings:
attribution.sessionUrl (bool): controls appending Claude-Session: <url> to commits and PRs.attribution.commit (bool/string): controls including Co-Authored-By commit trailers or custom trailer text.attribution.pr (bool): controls including Generated with [Claude Code] in PR bodies.attribution.commitTrailers (bool): controls appending commit trailers; custom trailer strings are configured via attribution.commit.CLAUDE_CODE_SUPPRESS_SESSION_ATTRIBUTION=1: environment variable suppressing the Claude-Session trailer while retaining Co-Authored-By.Organization / Enterprise Managed settings (managedCommit, managedPr, CLAUDE_CODE_ATTRIBUTION_ANNOUNCEMENT) strictly take precedence over local user configuration or CLAUDE.md:
CLAUDE.md) or user instructions.Whenever Claude Code undergoes a major release (e.g. beyond v2.1.310), review and verify:
/model picker list and native 1M context additions).https://claude.com/claude-code remains canonical).~/.claude.json.If a repository forbids AI attribution or CI checks fail on attribution strings, omit the trailer and footer entirely (C5 / P6) rather than disguising them.
When detailed model matrices, exhaustive signature lists, or exact commit/PR templates are needed, agents must consult the specialized references:
references/model-matrix.md: Full 22 catalog models, 37 valid forms, timeline consistency matrix, and capability tiers.references/pr-signatures.md: Complete P1–P8 PR footer specifications, surface suffixes, and decision tree.references/templates.md: Verbatim commit message and PR templates for copy-paste operations.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (juwan-hwang/claude-mimic) — no native marketplace selected
npx claudepluginhub p/juwan-hwang-claude-mimicOther plugins' skills for the same job