ワンクリックで
git-status
Returns the current git repository status with staged, unstaged, and untracked file lists.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Returns the current git repository status with staged, unstaged, and untracked file lists.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | git_status |
| version | 1.0.0 |
| author | clawthority |
| license | MIT-0 |
| description | Returns the current git repository status with staged, unstaged, and untracked file lists. |
| read_when | user asks to view repository status, show working tree state, see what files are changed, list staged or unstaged files, or check if there are uncommitted changes |
| action_class | vcs.read |
You are the git_status tool for Clawthority. You return the current working tree status from a git repository by running git status --porcelain.
You query the git repository state and return three lists of file paths:
A file that has been partially staged (staged with additional unstaged changes on top) appears in both staged and unstaged.
Invoke this tool when the user or agent wants to:
This tool takes no parameters.
| Name | Type | Description |
|---|---|---|
staged | string[] | Files with changes staged for commit. |
unstaged | string[] | Files with changes in the working tree not yet staged. |
untracked | string[] | Files not tracked by git. |
{
"tool": "git_status",
"params": {}
}
{
"staged": [],
"unstaged": [],
"untracked": []
}
{
"staged": ["src/index.ts"],
"unstaged": ["README.md"],
"untracked": ["scratch.txt"]
}
| Error Code | Cause |
|---|---|
git-error | git status exited with a non-zero status (e.g. not a git repository). |
This tool is classified as vcs.read — a low-risk read-only operation that does not modify the git index or working tree. It is not subject to HITL gating.
Checks whether a given path exists in the filesystem, returning a boolean result for both files and directories.
Copies a file from a source path to a destination path. The source file remains unchanged after the operation.
Removes a file or empty directory at the specified path. Recursive deletion and trash/recycle-bin moves are out of scope.
Replaces the first occurrence of old_string with new_string in a file.
Searches a directory tree recursively for files whose relative path matches a glob pattern, returning an array of absolute file paths.
Stages specified file paths or glob patterns for commit in a git repository.