Official agent skill

Update Docs From Commits

by NVIDIA in NVIDIA/OpenShell

Scan recent git commits for changes that affect user-facing behavior, then draft or update the corresponding documentation pages.

OfficialApache-2.0Auto-check passedDevelopment

Install Update Docs From Commits

skills CLI
$ npx skills add NVIDIA/OpenShell --skill update-docs-from-commits -a claude-code

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

GitHub CLI
$ gh skill install NVIDIA/OpenShell update-docs-from-commits --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/NVIDIA/OpenShell.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/update-docs .claude/skills/update-docs-from-commits && 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
update-docs-from-commits
GitHub stars
15k
Token cost
~2.4k tokens
SKILL.md length
1,084 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
Apache-2.0

At a glance

Scan recent git commits for changes that affect user-facing behavior, then draft or update the corresponding documentation pages.

  • Works in 7 steps: Identify Relevant Commits → Map Commits to Doc Pages → Read the Commit Details → …
  • Docs have fallen behind code changes
  • SKILL.md covers Prerequisites, When to Use, Step 1: Identify Relevant… and Step 2: Map Commits to Doc Pages, plus 7 more sections
  • Calls git and mise

What it does

Update Docs From Commits is an agent skill from NVIDIA/OpenShell, published by the product's own GitHub organization. Scan recent git commits for changes that affect user-facing behavior, then draft or update the corresponding documentation pages. Use when docs have fallen behind code changes, after a batch of features lands, or when preparing a release. Trigger keywords - update docs, draft docs, docs from commits, sync docs, catch up docs, doc debt, docs behind, docs drift.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Commit messages. The repository describes itself as: OpenShell is the safe, private runtime for autonomous AI agents. The licence is Apache-2.0.

When your agent uses it

  • Docs have fallen behind code changes
  • After a batch of features lands
  • Preparing a release
  • Keywords - update docs

Example prompts

  • “/update-docs-from-commits”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Identify Relevant Commits
  2. Map Commits to Doc Pages
  3. Read the Commit Details
  4. Read the Current Doc Page
  5. Draft the Update
  6. Present the Results
  7. Build and Verify

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • mise

    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

Update Docs From Commits loads about 2.4k tokens when it runs. Until then it costs about 97 tokens; SKILL.md has 1,084 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from NVIDIA/OpenShell at commit 834b79a, republished under its Apache-2.0 licence (© NVIDIA). 1,084 words, ~2,396 tokens.

Download SKILL.mdSave it as .claude/skills/update-docs-from-commits/SKILL.md (or your agent's skills folder).
name
update-docs-from-commits
description
Scan recent git commits for changes that affect user-facing behavior, then draft or update the corresponding documentation pages. Use when docs have fallen behind code changes, after a batch of features lands, or when preparing a release. Trigger keywords - update docs, draft docs, docs from commits, sync docs, catch up docs, doc debt, docs behind, docs drift.
metadata.internal
true

Update Docs from Commits

Scan recent git history for commits that affect user-facing behavior and draft documentation updates for each.

Prerequisites

  • You must be in the OpenShell git repository.
  • The published docs tree must exist under docs/.
  • Read docs/CONTRIBUTING.mdx before writing any content. It contains the current style guide and formatting rules.

When to Use

  • After a batch of features or fixes has landed and docs may be stale.
  • Before a release, to catch any doc gaps.
  • When a contributor asks "what docs need updating?"

Step 1: Identify Relevant Commits

Determine the commit range. The user may provide one explicitly (e.g., "since v0.2.0" or "last 30 commits"). If not, default to commits since the head of the main branch.

bash
# Commits since a tag
git log v0.2.0..HEAD --oneline --no-merges

# Or last 50 commits
git log -50 --oneline --no-merges

Filter to commits that are likely to affect docs. Look for these signals:

  1. Commit type: feat, fix, refactor, perf commits often change behavior. docs commits are already doc changes. chore, ci, test commits rarely need doc updates.
  2. Files changed: Changes to crates/openshell-cli/, python/, proto/, deploy/, gateway config parsing, driver config structs, or policy-related code are high-signal.
  3. Ignore: Changes limited to tests/, e2e/, .github/, tasks/, or internal-only modules.
bash
# Show files changed per commit to assess impact
git log v0.2.0..HEAD --oneline --no-merges --name-only

Step 2: Map Commits to Doc Pages

For each relevant commit, determine which doc page(s) it affects. Use this mapping as a starting point:

Code areaLikely doc page(s)
crates/openshell-cli/ (gateway commands)docs/how-it-works/gateways/overview.mdx
crates/openshell-cli/ (sandbox commands)docs/how-it-works/sandboxes/overview.mdx
crates/openshell-cli/ (provider commands)docs/how-it-works/providers/overview.mdx
crates/openshell-cli/ (new top-level command)May need a new page or docs/reference/ entry
crates/openshell-server/src/config_file.rs or gateway TOML parsingdocs/how-it-works/gateways/configuration.mdx
crates/openshell-server/src/cli.rs gateway config merge/default behaviordocs/how-it-works/gateways/configuration.mdx
crates/openshell-driver-*/ config structs or driver defaultsdocs/how-it-works/gateways/configuration.mdx, docs/how-it-works/sandboxes/runtimes.mdx
deploy/helm/openshell/templates/gateway-config.yamldocs/how-it-works/gateways/configuration.mdx, docs/how-it-works/sandboxes/runtimes.mdx, Helm docs if values change
Proxy or policy codedocs/how-it-works/policies/overview.mdx, docs/how-it-works/policies/schema.mdx
Inference codedocs/inference/configure.mdx
python/ (SDK changes)docs/reference/ or docs/get-started/quickstart.mdx
proto/ (API changes)docs/reference/
deploy/ (Dockerfile, Helm)docs/how-it-works/gateways/overview.mdx, docs/about/architecture.mdx
Sandbox image behaviordocs/how-it-works/sandboxes/overview.mdx

If a commit does not map to any existing page but introduces a user-visible concept, flag it as needing a new page.

Step 3: Read the Commit Details

For each commit that needs a doc update, read the full diff to understand the change:

bash
git show <commit-hash> --stat
git show <commit-hash>

Extract:

  • What changed (new flag, renamed command, changed default, new feature).
  • Why it changed (from the commit message body, linked issue, or PR description).
  • Any breaking changes or migration steps.

Step 4: Read the Current Doc Page

Before editing, read the full target doc page to understand its current content and structure:

bash
# Read the file

Identify where the new content should go. Follow the page's existing structure.

Step 5: Draft the Update

Write the smallest update that tells users exactly what changed and what they need to do. Prefer updating one authoritative page and linking to it over repeating explanations across pages. Omit exhaustive internal details unless they directly affect a user decision or workflow. Follow docs/CONTRIBUTING.mdx. Key reminders:

  • Active voice, present tense, second person.
  • No unnecessary bold. Reserve bold for UI labels and parameter names.
  • No em dashes unless used sparingly. Prefer commas or separate sentences.
  • Start sections with an introductory sentence that orients the reader.
  • No superlatives. Say what the feature does, not how great it is.
  • Code examples use shell language for copyable commands, with no $ prompt prefix.
  • Use text fences for transcripts, logs, or shell sessions that should not be copied verbatim.
  • Include the SPDX header as YAML comments in frontmatter if creating a new page.
  • Match existing Fern frontmatter format if creating a new page, including sidebar-title, keywords, and position when they are relevant. Use frontmatter slug only for folder-discovered pages or absolute URL overrides.
  • Use sidebar-title for short nav labels. For explicit navigation entries, keep relative slug values in docs/index.yml instead of page frontmatter.
  • Keep explicit page: entries in docs/index.yml. Fern still requires them. If the page defines sidebar-title, set page: to that value. Otherwise set page: to the page frontmatter title.
  • Use skip-slug: true in docs/index.yml when a child page should live at the parent section path.
  • Keep each page URL equal to its file path under docs/. Rename the file when you rename a page, add a fern/docs.yml redirect for the old URL, and set a relative slug: when the nav label does not produce the file name. mise run docs runs docs:nav, which fails otherwise.
  • Use keywords as a comma-separated string.
  • Do not add a duplicate H1. Fern renders the page title from frontmatter.
  • Always write NVIDIA in all caps. Wrong: Nvidia, nvidia.
  • Always capitalize OpenShell correctly. Wrong: openshell, Openshell, openShell.
  • Do not number section titles. Wrong: "Section 1: Deploy a Gateway" or "Step 3: Verify." Use plain descriptive titles.
  • No colons in titles. Wrong: "Gateways: Deploy and Manage." Write "Deploy and Manage Gateways" instead.
  • Use colons only to introduce a list. Do not use colons as general-purpose punctuation between clauses.
Show full SKILL.md (305 more words)Show less

When updating an existing page:

  • Add content in the logical place within the existing structure.
  • Do not reorganize sections unless the change requires it.
  • Update any cross-references or "Next Steps" links if relevant.
  • When moving published URLs, update fern/docs.yml redirects and run mise run test:docs-website. Redirects reach production through the owning channel's snapshot sync; changing source configuration alone does not republish existing snapshots. See fern/README.md for channel ownership and repair instructions.

When creating a new page:

  • Follow the frontmatter template from docs/CONTRIBUTING.mdx.
  • Add the page to the appropriate section in docs/index.yml.

Step 6: Present the Results

After drafting all updates, present a summary to the user:

## Doc Updates from Commits

### Updated pages
- `docs/how-it-works/gateways/overview.mdx`: Added `--gpu` flag documentation (from commit abc1234).
- `docs/how-it-works/policies/schema.mdx`: Updated network policy schema for new `tls_inspect` field (from commit def5678).

### New pages needed
- None (or list any new pages created).

### Commits with no doc impact
- `chore(deps): bump tokio` (abc1234) — internal dependency, no user-facing change.
- `test(e2e): add gateway timeout test` (def5678) — test-only change.

Step 7: Build and Verify

After making changes, validate the Fern docs locally:

bash
mise run docs

If a human needs to inspect rendering while iterating, they can also run:

bash
mise run docs:serve

Check for:

  • Validation warnings or errors.
  • Broken cross-references.
  • Correct rendering of new content in the PR preview when available.

Tips

  • When in doubt about whether a commit needs a doc update, check if the commit message references a CLI flag, config option, or user-visible behavior.
  • Group related commits that touch the same doc page into a single update rather than making multiple small edits.
  • If a commit is a breaking change, add a note at the top of the relevant section using a Fern <Warning> callout.
  • PRs that are purely internal refactors with no behavior change do not need doc updates, even if they touch high-signal directories.

Example Usage

User says: "Catch up the docs for everything merged since v0.2.0."

  1. Run git log v0.2.0..HEAD --oneline --no-merges --name-only.
  2. Filter to feat, fix, refactor, perf commits touching user-facing code.
  3. Map each to a doc page.
  4. Read the commit diffs and current doc pages.
  5. Draft updates following the style guide.
  6. Present the summary.
  7. Run mise run docs to verify.

© NVIDIA, 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

Just SKILL.md in .agents/skills/update-docs of NVIDIA/OpenShell.

Open the folder on GitHubat commit 834b79a

Compare with similar skills

Update Docs From Commits 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.

Update Docs From Commits compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Update Docs From Commits this skillNVIDIA/OpenShell15k—~2.4kAutomated safety check: PassApache-2.0
Contextual Commit Messagesyamadashy/repomix29k1 repos~2.7kAutomated safety check: PassMIT
React Router Release Notes Prepremix-run/react-router57k—~1.1kAutomated safety check: PassMIT
PR Finalize Reviewmicrosoft/garnet12k—~3.1kAutomated safety check: PassMIT
Caveman Commitvishiri/fantasia-archive40913 repos~642Automated safety check: PassGPL-3.0
ToolJet Multi-Repo CommitToolJet/ToolJet41k—~1.3kAutomated safety check: PassAGPL-3.0

Similar skills

  • Writes Conventional Commits whose bodies carry action lines recording the intent, decisions and constraints behind a change, not only what changed.

    29k GitHub starsUsed in 1 repo~2.7k tokens
    DevelopmentAuto-check passed
  • 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
  • PR Finalize Review

    microsoft/garnet

    Official

    Checks that a pull request's title and description match its implementation and reviews the code for Garnet best practices, reporting findings without posting them.

    12k GitHub stars~3.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Caveman Commit

    vishiri/fantasia-archive

    Ultra-compressed commit message generator. An agent skill from vishiri/fantasia-archive.

    409 GitHub starsUsed in 13 repos~642 tokens
    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

More from NVIDIA/OpenShell

All 23 skills in this repo
  • Official

    Maintain and validate OpenShell's build-only Windows MSVC lane for x64 and ARM64.

    15k GitHub stars~4.9k tokensUpdated today
    Auto-check passed
  • Create GitHub Issue

    NVIDIA/OpenShell

    Official

    Create GitHub issues using the gh CLI. An agent skill from NVIDIA/OpenShell.

    15k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Create GitHub PR

    NVIDIA/OpenShell

    Official

    Create GitHub pull requests using the gh CLI. An agent skill from NVIDIA/OpenShell.

    15k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Debug Inference

    NVIDIA/OpenShell

    Official

    Debug inference clients that use an attached provider and its native endpoint, including hosted APIs and host-local Ollama, vLLM, SGLang, TRT-LLM, LM Studio, or NIM.

    15k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Debug Openshell Cluster

    NVIDIA/OpenShell

    Official

    Debug why an OpenShell gateway deployment is unhealthy, unreachable, or unable to create sandboxes.

    15k GitHub stars~19k tokensUpdated today
    Auto-check: notes
  • Gator Gate

    NVIDIA/OpenShell

    Official

    Validate and monitor OpenShell GitHub issues and PRs using the gator: state machine.

    15k GitHub stars~19k tokensUpdated today
    Auto-check passed

Categories

Questions about Update Docs From Commits

What does Update Docs From Commits do?

Scan recent git commits for changes that affect user-facing behavior, then draft or update the corresponding documentation pages. Update Docs From Commits is an agent skill from NVIDIA/OpenShell, published by the product's own GitHub organization. Scan recent git commits for changes that affect user-facing behavior, then draft or update the corresponding documentation pages.

When should I use Update Docs From Commits?

Update Docs From Commits fits situations like: docs have fallen behind code changes; after a batch of features lands; preparing a release; keywords - update docs.

How do I install Update Docs From Commits in Claude Code?

Run `npx skills add NVIDIA/OpenShell --skill update-docs-from-commits -a claude-code`. Or copy the skill folder (.agents/skills/update-docs in NVIDIA/OpenShell) into .claude/skills/update-docs-from-commits in your project. Claude Code loads it when a task matches its description.

How do I install Update Docs From Commits in Codex?

Run `npx skills add NVIDIA/OpenShell --skill update-docs-from-commits -a codex`. Or copy the skill folder (.agents/skills/update-docs in NVIDIA/OpenShell) into .agents/skills/update-docs-from-commits in your project. Codex loads it when a task matches its description.

Can I use Update Docs From Commits 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 NVIDIA/OpenShell --skill update-docs-from-commits -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/update-docs-from-commits, .gemini/skills/update-docs-from-commits, .github/skills/update-docs-from-commits and .opencode/skills/update-docs-from-commits in your project.

What does Update Docs From Commits need to run?

Going by SKILL.md and its folder, Update Docs From Commits needs the command-line tools its instructions call (git and mise).

Does Update Docs From Commits 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 Update Docs From Commits 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. Review the folder before installing.

What licence does Update Docs From Commits use?

Update Docs From Commits is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Update Docs From Commits use?

About 2.4k tokens (SKILL.md is roughly 9.6k 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 Update Docs From Commits?

Skills that share tags, products or a category with Update Docs From Commits: Contextual Commit Messages (yamadashy/repomix, 29k stars), React Router Release Notes Prep (remix-run/react-router, 57k stars), PR Finalize Review (microsoft/garnet, 12k stars) and Caveman Commit (vishiri/fantasia-archive, 409 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Update Docs From Commits?

NVIDIA (a GitHub organization, an official publisher) maintains it in NVIDIA/OpenShell, which has 15,188 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 7, 2026.

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