Agent skill

Commit Assisted By

by fluxcd in fluxcd/agent-skills

Add an Assisted-by: <agent-name/<model-id git trailer to commits made during an AI-assisted coding session.

Apache-2.0Auto-check passedDevelopment

Install Commit Assisted By

skills CLI
$ npx skills add fluxcd/agent-skills --skill commit-assisted-by -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install fluxcd/agent-skills commit-assisted-by --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/fluxcd/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/internal/skills/commit-assisted-by .claude/skills/commit-assisted-by && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
commit-assisted-by
GitHub stars
230
Token cost
~1.3k tokens
SKILL.md length
669 words
Files
2 (incl. scripts)
Skills in repo
6
Repo updated
First seen
Licence
Apache-2.0

At a glance

Add an Assisted-by: <agent-name/<model-id git trailer to commits made during an AI-assisted coding session.

  • Works in 3 steps: git log --oneline ..HEAD so the user can… → If is anything other than @{u}, run git… → If the range contains merge commits,…
  • Any git commit activity visible in the session — either commits you make yourself
  • SKILL.md covers Mode 1 — commits you create…, Mode 2 — commits that appear…, Mode 3 — explicit "tag the… and Anti-patterns
  • Runs Shell scripts from its folder; calls git

What it does

Commit Assisted By is an agent skill from fluxcd/agent-skills. Add an Assisted-by: <agent-name/<model-id git trailer to commits made during an AI-assisted coding session. Trigger on any git commit activity visible in the session — either commits you make yourself, or commits the user makes outside your tool calls that surface in the conversation — even without an explicit request. Also trigger when the user explicitly asks to tag existing commits in a branch (e.g. "add assisted-by to commits in this branch").

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/safety-check.sh`).

It sits in Development, covering Commit messages. It works with Git. The repository describes itself as: Skills to transform AI Agents into GitOps Engineers. The licence is Apache-2.0.

When your agent uses it

  • Any git commit activity visible in the session — either commits you make yourself
  • Commits the user makes outside your tool calls that surface in the conversation — even without an explicit request
  • The user explicitly asks to tag existing commits in a branch (e.g

Example prompts

  • “add assisted-by to commits in this branch”
  • “/commit-assisted-by”

Requirements

  • A Bash shell
  • Pre-approved tools (allowed-tools): Bash(*/safety-check.sh), Bash(git commit:*), Bash(git log:*)

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. git log --oneline ..HEAD so the user can see the commits that will be rewritten.
  2. If is anything other than @{u}, run git rev-list ..@{u} 2>/dev/null`. If non-empty, those
  3. If the range contains merge commits, stop and ask how to handle them. Default rebase linearizes merges

What it can do on your machine

Read from SKILL.md and the folder at commit 0d1fa6c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(*/safety-check.sh)
    • Bash(git commit:*)
    • Bash(git log:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Commit Assisted By loads about 1.3k tokens when it runs. Until then it costs about 119 tokens; SKILL.md has 669 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~119
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from fluxcd/agent-skills at commit 0d1fa6c, republished under its Apache-2.0 licence (© fluxcd). 669 words, ~1,329 tokens.

Download SKILL.mdSave it as .claude/skills/commit-assisted-by/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
commit-assisted-by
description
Add an `Assisted-by: <agent-name>/<model-id>` git trailer to commits made during an AI-assisted coding session. Trigger on any `git commit` activity visible in the session — either commits you make yourself, or commits the user makes outside your tool calls that surface in the conversation — even without an explicit request. Also trigger when the user explicitly asks to tag existing commits in a branch (e.g. "add assisted-by to commits in this branch").
allowed-tools
Bash(*/safety-check.sh), Bash(git commit:*), Bash(git log:*)
license
Apache-2.0

Commit Assisted-by trailer

Record the assisting agent's involvement in a commit by adding an Assisted-by: <agent-name>/<model-id> git trailer. The <agent-name> identify the specific AI assistant (CLI/harness) and <model-id> is the LLM version that contributed to the commit. This disclosure provides transparency about AI involvement in code changes.

In the command examples below, substitute <agent-name>/<model-id> with your own values before running anything.

Mode 1 — commits you create yourself

When you create a commit in a session, limit the commit subject to 50 characters. Use the imperative mood in the subject line (e.g., "Add support for X" instead of "Added support for X").

If the commit message body is needed to explain what and why, wrap it at 72 characters. Avoid verbose explanations in the body, be as concise as possible while still conveying the necessary information.

Pass --trailer directly on the commit command. This is the clean path and avoids amend noise:

git commit -s -m "Add support for X" --trailer "Assisted-by: <agent-name>/<model-id>"

Note that all commits must be signed off with a real human name and email to meet the DCO requirement. Never use your agent's name or a pseudonym in the sign-off or co-author fields.

Mode 2 — commits that appear outside your own git commit invocations

Sometimes a commit lands on HEAD that you did not run yourself — the user invoked git via a shell escape (e.g. Claude Code's ! git commit ...) or a separate terminal. Your only window is after the fact.

Run the bundled safety-check script before amending. It prints safe, or skip:<reason> if HEAD is already pushed, already trailered, a merge, or has a rebase/cherry-pick/revert/bisect in progress.

Invoke it with the script's full path — resolve scripts/safety-check.sh against the directory this SKILL.md was loaded from, not the current working directory (the two are almost never the same):

<skill-dir>/scripts/safety-check.sh

Only when the output is exactly safe, amend:

git commit --amend --no-edit --trailer "Assisted-by: <agent-name>/<model-id>"

Follow up with one short line so the user knows the hash moved, e.g. "Amended HEAD to add Assisted-by trailer." If the output starts with skip:, tell the user why the commit was skipped.

Mode 3 — explicit "tag the whole branch" request

Triggered by phrases like "add assisted-by to commits in this branch", "tag the commits on this branch", or "backfill the trailer". This is the only mode that rewrites more than HEAD, and only because the explicit request authorizes it. Never enter this mode on autopilot.

Show full SKILL.md (286 more words)Show less
Pick the base

Default to @{u} — it guarantees the range is only unpushed commits, which removes the force-push question entirely. If the branch has no upstream, ask the user for an explicit base ref rather than guessing. If the user names a base themselves ("from the last release tag"), honor it.

Show the plan, then confirm
  1. git log --oneline <base>..HEAD so the user can see the commits that will be rewritten.
  2. If <base> is anything other than @{u}, run git rev-list <base>..@{u} 2>/dev/null. If non-empty, those commits are already on the remote — warn the user that after the rebase they will need to force-push to publish the rewrite, and confirm before proceeding.
  3. If the range contains merge commits, stop and ask how to handle them. Default rebase linearizes merges (destructive), and --rebase-merges with --exec on merges is fragile — not worth the risk without the user's judgment.
Run it

The exec short-circuits on commits that already carry the trailer, so the pass is idempotent:

git rebase <base> --exec 'git log -1 --format=%B | git interpret-trailers --parse | grep -qi "^Assisted-by:" || git commit --amend --no-edit --trailer "Assisted-by: <agent-name>/<model-id>"'

Afterwards, report how many commits were tagged vs skipped. If the branch was already pushed, tell the user they will need to run git push --force-with-lease themselves to publish the rewrite.

If the rebase hits a conflict, do not try to resolve it. Surface the conflict to the user and let them choose --continue vs --abort.

Anti-patterns

  • Never run git push yourself in any mode, even after a rebase. Publishing rewritten history is the user's call — surface the state and let them decide.
  • Don't use Co-authored-by: — AI assistants are not GitHub users and the co-author convention is reserved for human collaborators. Assisted-by: is the correct semantic.
  • Don't fabricate or prettify either token. Use the actual agent/CLI/harness name and model ID/version.

© fluxcd, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in internal/skills/commit-assisted-by of fluxcd/agent-skills.

  • SKILL.md
  • scripts/safety-check.sh

Open the folder on GitHubat commit 0d1fa6c

Compare with similar skills

Commit Assisted By next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Commit Assisted By compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit Assisted By this skillfluxcd/agent-skills230—~1.3kAutomated safety check: PassApache-2.0
React Router Release Notes Prepremix-run/react-router57k—~1.1kAutomated safety check: PassMIT
ToolJet Multi-Repo CommitToolJet/ToolJet41k—~1.3kAutomated safety check: PassAGPL-3.0
Git Workflow and Versioningaddyosmani/agent-skills102k2 repos~3.5kAutomated safety check: NotesMIT
React Router Pull Request Creatorremix-run/react-router57k—~2.5kAutomated safety check: PassMIT
Verdaccio Pull Request Workflowverdaccio/verdaccio18k—~1.9kAutomated safety check: PassMIT

Similar skills

  • React Router Release Notes Prep

    remix-run/react-router

    Polishes pending React Router change files before the versioning scripts run, and decides whether a long-form What's Changed section is warranted.

    57k GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Commits changes across ToolJet's root repo and its server/ee and frontend/ee submodules, writing messages from the diffs and updating submodule pointers in order.

    41k GitHub stars~1.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Git Workflow and Versioning

    addyosmani/agent-skills

    Sets git habits for every change: short-lived branches, atomic commits with descriptive messages, clean pull requests, plus versioning, tagging and changelogs for releases.

    102k GitHub starsUsed in 2 repos~3.5k tokens
    DevelopmentAuto-check: notes
  • React Router Pull Request Creator

    remix-run/react-router

    Packages finished React Router work into a draft pull request: branch, commit, push, a written PR body and the right GitHub labels.

    57k GitHub stars~2.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Takes a change through a verdaccio pull request: branch, local checks, changeset, title and body, labels, CI and review rounds, and ports to other release lines.

    18k GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Commits changes in the Saleor codebase and works through pre-commit hook failures from ruff, mypy, the GraphQL schema check and the migrations check.

    23k GitHub stars~575 tokensUpdated yesterday
    DevelopmentAuto-check passed

More from fluxcd/agent-skills

  • Gitops Repo Audit

    fluxcd/agent-skills

    Audit and validate Flux CD GitOps repositories by scanning local repo files (not live clusters) — runs Kubernetes schema validation, detects deprecated Flux APIs, reviews RBAC/multi-tenancy/secrets…

    230 GitHub stars~3.8k tokensUpdated 5 days ago
    Auto-check passed
  • Gitops Knowledge

    fluxcd/agent-skills

    Flux CD and Flux Operator expert — answers questions and generates schema-validated YAML for all Flux CRDs (not repo auditing or live cluster debugging).

    230 GitHub stars~3.8k tokensUpdated 5 days ago
    Auto-check passed
  • Run the upstream Flux controller minor release procedure for helm-controller, image-automation-controller, image-reflector-controller, kustomize-controller, notification-controller…

    230 GitHub stars~3.9k tokensUpdated 5 days ago
    Auto-check passed
  • Run the upstream Flux controller patch release procedure for helm-controller, image-automation-controller, image-reflector-controller, kustomize-controller, notification-controller…

    230 GitHub stars~4.7k tokensUpdated 5 days ago
    Auto-check passed
  • Gitops Cluster Debug

    fluxcd/agent-skills

    Debug and troubleshoot Flux CD on live Kubernetes clusters (not local repo files) via the Flux MCP server — inspects Flux resource status, reads controller logs, traces dependency chains, and…

    230 GitHub stars~4.2k tokensUpdated 5 days ago
    Auto-check passed

Works with

Categories

Questions about Commit Assisted By

What does Commit Assisted By do?

Add an Assisted-by: <agent-name/<model-id git trailer to commits made during an AI-assisted coding session. Commit Assisted By is an agent skill from fluxcd/agent-skills. Add an Assisted-by: <agent-name/<model-id git trailer to commits made during an AI-assisted coding session.

When should I use Commit Assisted By?

Commit Assisted By fits situations like: any git commit activity visible in the session — either commits you make yourself; commits the user makes outside your tool calls that surface in the conversation — even without an explicit request; the user explicitly asks to tag existing commits in a branch (e.g.

How do I install Commit Assisted By in Claude Code?

Run `npx skills add fluxcd/agent-skills --skill commit-assisted-by -a claude-code`. Or copy the skill folder (internal/skills/commit-assisted-by in fluxcd/agent-skills) into .claude/skills/commit-assisted-by in your project. Claude Code loads it when a task matches its description.

How do I install Commit Assisted By in Codex?

Run `npx skills add fluxcd/agent-skills --skill commit-assisted-by -a codex`. Or copy the skill folder (internal/skills/commit-assisted-by in fluxcd/agent-skills) into .agents/skills/commit-assisted-by in your project. Codex loads it when a task matches its description.

Can I use Commit Assisted By in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fluxcd/agent-skills --skill commit-assisted-by -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commit-assisted-by, .gemini/skills/commit-assisted-by, .github/skills/commit-assisted-by and .opencode/skills/commit-assisted-by in your project.

What does Commit Assisted By need to run?

Going by SKILL.md and its folder, Commit Assisted By needs a shell for the scripts in its folder and the command-line tools its instructions call (git). Our summary lists: A Bash shell. Its frontmatter pre-approves these tools: Bash(*/safety-check.sh), Bash(git commit:*), Bash(git log:*).

Does Commit Assisted By access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Commit Assisted By safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Commit Assisted By use?

Commit Assisted By is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Commit Assisted By use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Commit Assisted By?

Skills that share tags, products or a category with Commit Assisted By: React Router Release Notes Prep (remix-run/react-router, 57k stars), ToolJet Multi-Repo Commit (ToolJet/ToolJet, 41k stars), Git Workflow and Versioning (addyosmani/agent-skills, 102k stars) and React Router Pull Request Creator (remix-run/react-router, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit Assisted By?

fluxcd (a GitHub organization) maintains it in fluxcd/agent-skills, which has 230 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 2, 2026.

Source: fluxcd/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.