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 urmzd/dotfiles --skill prgit clone --depth 1 https://github.com/urmzd/dotfilesWrote 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/urmzd/dotfiles/pr)<a href="https://agentmods.dev/skills/urmzd/dotfiles/pr"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/pr/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/urmzd/dotfiles/pr"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/pr.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.00107 | $0.00657 |
| Opus 5.5 | $0.00043 | $0.00263 |
| Sonnet 5.5 | $0.00021 | $0.00131 |
| Haiku 4.5 | $0.00011 | $0.00066 |
Grade A, and why
pr 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 1mo 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.
What it actually says
PR
Create a pull request with a well-structured summary.
Steps
-
Gather context:
- Detect the default branch:
gh repo view --json defaultBranchRef -q .defaultBranchRef.name - Get all commits since divergence:
git log <default>..HEAD --oneline - Get the full diff:
git diff <default>...HEAD --stat - Check if the branch is pushed:
git rev-list @{u}..HEAD --count 2>/dev/null
- Detect the default branch:
-
Push if needed: If there are unpushed commits, run
git push -u origin HEAD. -
Generate PR content:
- Title (if not provided): Derive from commits. If single commit, use its message. If multiple, summarize the theme (under 70 chars).
- Body: Use this format:
## Summary - <bullet points derived from commits, grouped by type> ## Test plan - [ ] <derived from what changed, e.g., "CI passes", "manual test of X">
-
Create PR: Run
gh pr create --title "<title>" --body "<body>"using a HEREDOC for the body. -
Report: Show the PR URL.
Rules
- Never create a PR if there are no commits ahead of the default branch.
- If a PR already exists for this branch, show its URL instead of creating a duplicate.
- Keep the title under 70 characters.
- Group commits by type (feat, fix, chore, etc.) in the summary.
Gotchas
- Refuse when
HEADis the default branch: a PR needs a non-default source branch. Detect the default withgh repo view --json defaultBranchRef -q .defaultBranchRef.name, compare togit branch --show-current, and if they match, stop and tell the user to create a feature branch first. - For a fork-based PR, the head ref must be qualified as
owner:branch. Pass it withgh pr create --head <owner>:<branch>(the owner is the fork's GitHub login), so the PR targets the upstream repo from your fork.
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.
- 1mo ago First seen · 58 lines · 107 tokens per session scan A d7b6a5f11e94
pr is a skill published in the GitHub repository urmzd/dotfiles (5 stars, last pushed 6d ago), licensed Apache-2.0. It adds 107 tokens to every session and 657 once invoked, about $0.0004 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-31.
Other skills, from other repositories
scan-commit
Automatically scan the repository for unstaged/untracked changes, group them into logical commits using hunk-level analysis, stage and commit them following Conventional Commits.
smart-commit
Analyze staged changes and split them into multiple logical commits following Conventional Commits.
create-pr
Rebase from the latest origin/main, squash the commits from it, and then create a PR on github with intelligent commit messages based on staged changes.
pr-review
Intelligent PR code review with dynamic agent allocation based on change types. Analyzes PR changes and generates targeted review tasks.
analyze-pr
Analyze a GitHub/GitLab Pull Request by fetching its diff, reading its web description, and generating a comprehensive document. Use when the user provides a PR link and wants to understand what changes the PR introduces, or asks to review/analyze/summarize a pull request.
gen-commit-msg
Generate intelligent commit messages based on staged changes following Conventional Commits format.