git-query-tools

git-query-tools is a skill for Claude Code, Codex from rcarmo/piclaw-addons. It costs 21 tokens per session (211 once invoked), scanned A, original, MIT.

Two workspace tools for structured searches of Git history and JSON data, returning results in a checked format.

In plain words
What is it for?
Use them to inspect recent commits, find messages or historical code, identify who changed a line, or extract values from JSON files and input.
Why use it?
They make it easier to search commits, code changes, file ownership, and JSON without manually parsing command output.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use them to inspect recent commits, find messages or historical code, identify who changed a line, or extract values from JSON files and input.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rcarmo/piclaw-addons/git-query-tools
Install

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.

Any agent
npx skills add rcarmo/piclaw-addons --skill git-query-tools
Clone the repo
git clone --depth 1 https://github.com/rcarmo/piclaw-addons

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for git-query-tools

README.md
[![agentmods](https://agentmods.dev/badge/skills/rcarmo/piclaw-addons/git-query-tools/github.svg)](https://agentmods.dev/skills/rcarmo/piclaw-addons/git-query-tools)
Your own site
<a href="https://agentmods.dev/skills/rcarmo/piclaw-addons/git-query-tools"><img src="https://agentmods.dev/badge/skills/rcarmo/piclaw-addons/git-query-tools/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.

agentmods 80×15 button for git-query-tools

Your own site · 80×15
<a href="https://agentmods.dev/skills/rcarmo/piclaw-addons/git-query-tools"><img src="https://agentmods.dev/badge/skills/rcarmo/piclaw-addons/git-query-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 211 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00211
Opus 5.5 $0.00008 $0.00084
Sonnet 5.5 $0.00004 $0.00042
Haiku 4.5 $0.00002 $0.00021

Measured 2mo ago against content hash 04b9ebdfe376, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-query-tools scanned grade A with 0 findings 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 2mo ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

addons/git-query-tools/skills/git-query-tools/SKILL.md · 30 lines

What it actually says

Git Query Tools

Two workspace tools for structured data queries.

git_history

Prefer over raw git log commands. Returns structured JSON with truncation.

git_history({ mode: "log", max_count: 10 })                  # recent commits
git_history({ mode: "message_search", query: "fix bug" })    # search commit messages
git_history({ mode: "content_search", query: "TODO" })       # search code history
git_history({ mode: "blame", file: "path/to/file" })         # file blame

json_query

Prefer over shell jq piping. Validates expressions and returns structured output.

json_query({ file: "data.json", expression: ".items[] | .name" })
json_query({ input: '{"a":1}', expression: ".a" })
Changes

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.

  1. 2mo ago First seen · 30 lines · 21 tokens per session scan A 04b9ebdfe376

Subscribe to this mod's changes

git-query-tools is a skill published in the GitHub repository rcarmo/piclaw-addons (23 stars, last pushed yesterday), licensed MIT. It adds 21 tokens to every session and 211 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

release

Cut a Memoria release. Version bump, CHANGELOG, CI workflows, Docker image. Use when publishing a new version.

matrixorigin/memoria · 27 tokens

dolt-database-version-control

Use automatically when evaluating or applying Dolt, the Git-like version-controlled SQL database, for database branching, merging, diffs, audit history, rollback, data collaboration, DoltHub, or versioned MySQL replica workflows.

Firstp1ck/pi-coding-agent-forge · 53 tokens

doris-repo-review

Review an Apache Doris PR from a local clone with the same multi-agent, shared-ledger convergence workflow as the CI Code Review Runner. Use when the user supplies a PR to /doris-repo-review, asks to review a Doris PR locally, or asks for the CI-style review flow. Safely align only the current worktree to the exact PR…

apache/doris-skills · 180 tokens

doris-debug-import

Use for Doris Stream/Broker/Routine Load issues and Group Commit asyncmode WAL pile-up. Tunables: table groupcommitintervalms / groupcommitdatabytes; BE groupcommitinsertthreads, groupcommitwalpath, groupcommitwalmaxdisklimit.

apache/doris-skills · 58 tokens

open-code-review

Performs AI-powered code review on Git changes using the ocr CLI from alibaba/open-code-review. Use when the user asks to review code, review a pull request, review staged/unstaged changes, review a commit, or compare branches for code quality issues. Produces line-level review comments and can automatically apply…

alibaba/open-code-review · 98 tokens

contrib-pr

Open a high-quality external contributor PR against prisma/orm. Use when the user is an outside contributor (not a Prisma maintainer) and wants to submit a change as a pull request from a fork. Encodes the contribution flow from CONTRIBUTING.md so the resulting PR passes review on the first round.

prisma/orm · 65 tokens