HVE Core is a collection of agents, prompts, coding instructions, and skills for building repeatable software-development workflows with GitHub Copilot. It is intended for individuals and teams that want structured AI-assisted research, planning, implementation, and review, while the catalogue entries provide many of its reusable workflow components.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add microsoft/hve-core --skill git-commitgit clone --depth 1 https://github.com/microsoft/hve-coreWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/microsoft/hve-core/git-commit)<a href="https://agentmods.dev/skills/microsoft/hve-core/git-commit"><img src="https://agentmods.dev/badge/skills/microsoft/hve-core/git-commit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/microsoft/hve-core/git-commit"><img src="https://agentmods.dev/badge/skills/microsoft/hve-core/git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00048 | $0.01762 |
| Opus 5.5 | $0.00019 | $0.00705 |
| Sonnet 5.5 | $0.00010 | $0.00352 |
| Haiku 4.5 | $0.00005 | $0.00176 |
Grade C, and why
git-commit scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
<!-- cspell:ignore pathspecs unstages --> How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git Commit
Goal
Create one local Conventional Commit from whole paths the user selects and confirms, or generate a message for the currently staged changes without touching the index.
Inputs
mode(optional):commit(default) runs the select, stage, confirm, and commit protocol.message-onlygenerates a message for the staged changes and never stages, unstages, or commits.
Message Rules
Generate every message by following references/commit-message.md. It owns types, scopes, description and body limits, and the footer line. Once generated, the message is authoritative for the commit.
Message-Only Mode
- Read the staged changes with
git --no-pager diff --staged. Use the host's staged-changes tool instead when the user asks to avoid the terminal or no terminal is available. - When nothing is staged, output
No changes to commit.and stop. - Generate the message from the complete staged diff.
- Output the message in a fenced code block and tell the user to copy it as-is or edit it before committing.
Commit Protocol
- Inventory candidate paths. Before changing the index, run
git status --porcelain=v1 -z --untracked-files=allandgit rev-parse --verify HEADin the target repository.- Record tracked, untracked, deleted, renamed, copied, and initially staged paths. Treat only an
RorCstatus record that supplies both old and new paths as one logical selection. Present a separate deletion and untracked addition as independent candidates without inferring a rename. - If
HEADcannot be verified, stop, because this workflow cannot restore a rejected staging change safely. - If any path has both staged and unstaged changes, stop and ask the user to resolve its hunk-level intent outside this workflow. Do not restage a partially staged path.
- If there are no candidate changes, output
No changes to commit.and stop.
- Record tracked, untracked, deleted, renamed, copied, and initially staged paths. Treat only an
- Confirm whole-path intent. Present the candidate paths and their states without file contents, then ask the user to select the whole paths intended for this commit.
- Every initially staged path must be selected. If the user excludes one, stop before changing the index; never unstage prior user work.
- A status-reported rename or copy is selected only as its complete old-and-new path pair.
- If the selection is empty, ambiguous, unsafe to represent as shell arguments, or absent, stop without staging or committing.
- Stage only the selection with
git --literal-pathspecs add -- <safely quoted selected paths>. Never use an unscopedgit add -Aorgit add -upath.- Quote each path for the active shell and keep
--before path arguments. If a path cannot be represented safely, stop. - Record only the selected paths that were not initially staged as this invocation's staging delta.
- If staging fails, report a concise error and stop without retrying.
- Quote each path for the active shell and keep
- Inspect and confirm the staged set. Use the host's staged-changes tool, such as
get_changed_fileswithsourceControlStateset tostagedandrepositoryPathset to the full project path.- Verify that the exact staged path set contains every selected path, contains every initially staged path, and contains no unselected path. If it differs, restore this invocation's staging delta and stop.
- Present the exact staged paths without file contents or suspected sensitive values. Ask the user to confirm that these paths and their staged content are intended for the local commit.
- If the user rejects, does not respond, or gives an ambiguous answer, restore this invocation's staging delta and stop without committing.
- If no staged changes remain, output
No changes to commit.and stop without creating an empty commit.
- Generate the message from the staged changes and commit once, without showing the message first.
- Pipe the exact message, including body and footer line, through STDIN, for example
echo "<full message>" | git commit -F -. Preserve newlines exactly and end with the footer line followed by a newline. - Run no other Git command at this step (no push, pull, fetch, diff, show, status, log, branch, switch, merge, rebase, or tag).
- Pipe the exact message, including body and footer line, through STDIN, for example
- After the commit succeeds, print
Commit created successfully with the following message:, a blank line, and the full message in a fencedmarkdowncode block. - If the commit fails, for example because a hook rejects it, report a concise error with a suggested fix and stop without retrying.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday Changed c1fcbbb90d6c
- 1mo ago First seen · 107 lines · 48 tokens per session scan C 30bcb4638b00
git-commit is a skill published in the GitHub repository microsoft/hve-core (1,606 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 1,762 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.
git-commit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| git-commitmicrosoft/hve-core | Skill | 1.6k | today | MIT | C | 48 | Claude Code |
| create-prprisma/orm | Skill | 48k | yesterday | Apache-2.0 | A | 48 | Claude Code, Codex |
| git-commitThinkInAIXYZ/deepchat | Skill | 6.4k | today | Apache-2.0 | A | 15 | Claude Code, Codex |
| repo-syncdavidondrej/skills | Skill | 4.3k | today | MIT | A | 25 | Claude Code, Codex |
| engineer-bot-opsmakecindy/cindy | Skill | 9.5k | today | Apache-2.0 | A | 57 | Claude Code, Codex |
| mcore-split-prNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 25 | Claude Code |
| contributingHugoRCD/evlog | Skill | 1.9k | yesterday | MIT | A | 68 | Claude Code, Codex |