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 agentmods add skills/antdigital-ai/agentic-ui/gh-create-prnpx skills add antdigital-ai/agentic-ui --skill gh-create-prgit clone --depth 1 https://github.com/antdigital-ai/agentic-uiWrote 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/antdigital-ai/agentic-ui/gh-create-pr)<a href="https://agentmods.dev/skills/antdigital-ai/agentic-ui/gh-create-pr"><img src="https://agentmods.dev/badge/skills/antdigital-ai/agentic-ui/gh-create-pr.svg" alt="Measured on agentmods" 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 | $0.00047 | $0.00691 |
| Opus 5 | $0.00023 | $0.00345 |
| Sonnet 5 | $0.00009 | $0.00138 |
| Haiku 4.5 | $0.00005 | $0.00069 |
Grade A, and why
gh-create-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 5d 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
使用 gh 创建 / 更新 PR
何时使用
- 用户说:提 PR、新建 PR、用 gh 建 PR、submit PR、create pull request、开 PR
- 当前分支有未推送提交,需要推送到 origin 并创建或更新 PR
流程
1. 确认状态
git status -sb
git log -1 --oneline
- 若有未提交变更,先按项目规范提交(见下方「提交信息规范」)。
- 若
[ahead N],需要先 push。
2. 推送当前分支
若当前分支领先 origin:
git push -u origin <当前分支名>
或简写(当前分支已跟踪 origin 时):
git push origin
3. 创建 PR
gh pr create --base main --head <当前分支名> --title "<标题>" --body "<正文>"
- --base:目标分支,一般为
main或master,可与仓库默认分支一致。 - --head:当前分支;不写时 gh 会使用当前检出分支。
- 若该分支已有开放中的 PR,gh 会提示已存在并给出链接,不会重复创建。
4. 标题与正文
- 标题:简短说明变更,可与最近一次 commit 的 summary 一致或稍作归纳。
- 正文:可选;可包含「变更说明」「测试说明」「关联 Issue」等。若用户未指定,可用简洁模板,例如:
## 变更说明
- (根据 commit 或改动简要列出)
> Submitted by Cursor
提交信息规范(本仓库)
提交时遵循既有规范:
- 格式:
Component: Emoji 描述或type(scope): description - Props、组件名用反引号;中英文之间加空格
- 多类变更按组件/类型分条写
示例:MarkdownEditor: 优化 Jinja 模板(可访问性、错误处理、样式与单测)
命令速查
| 步骤 | 命令 |
|---|---|
| 看状态 | git status -sb |
| 推送 | git push -u origin $(git branch --show-current) |
| 建 PR | gh pr create --base main --title "标题" --body "正文" |
| 查看已有 PR | gh pr list --head $(git branch --show-current) |
注意
- 执行
gh前需已登录:gh auth login。 - 若遇 TLS / 证书错误,可带
required_permissions: ["all"]再试。 - 创建 PR 需要网络权限。
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.
- 5d ago First seen · 86 lines · 47 tokens per session scan A ed45abc4c876
gh-create-pr is a skill published in the GitHub repository antdigital-ai/agentic-ui (224 stars, last pushed 24d ago), licensed MIT. It adds 47 tokens to every session and 691 once invoked, about $0.0002 per session on Opus 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…