1Password CLIの導入と認証を確認し、保存したパスワードやAPIキーをコマンドや設定へ渡します。デスクトップ連携やサービスアカウントにも対応します。
- 1Password CLIを導入したいとき
- APIキーをコマンドに渡したいとき
- CIでサービスアカウント認証を使う
OpenClawのPRやIssueの重複を根拠付きで判断し、関連する作業をprtagsで一つのグループに整理して判断理由と確信度を記録するスキルです。
原文Use gitcrawl to search duplicate OpenClaw PRs/issues, group related work in prtags, and sync duplicate state to GitHub.
インストール方法を見るOpenClawのPR(変更提案)やIssue(課題)が既存の作業と重複しているかを調べ、判断の根拠を整理します。gitcrawlで候補や過去の経緯を探し、ghで最新の本文・コメント・変更ファイルなどを確認します。結果は重複確定、判断が必要、重複ではないに分け、prtagsにグループ、確信度、理由を記録します。
似た報告や修正提案が増え、管理者が整理したい場面に向いています。タイトルや変更ファイルの一致だけで決めず、同じ問題や修正方針を示す複数の根拠を確認します。既存のグループを調べ、一つの対象を複数の重複グループに入れないよう扱います。
gitcrawl、gh、prtagsを使う管理者向けの手順です。書き込みには指定版のprtagsと管理者本人のGitHubアカウントでのログインが必要です。GitHubへのグループコメント同期は連携設定がある場合に行われます。実装品質のレビューは対象外で、根拠が曖昧な場合は管理者の判断に回します。
この紹介文は、公開されている SKILL.md をもとに AI(Claude Haiku)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this skill when a maintainer needs to decide whether a pull request or issue is a duplicate of existing work.
This skill is for maintainer triage and grouping. It is not for reviewing the implementation quality of a PR.
Do not write duplicate groups or annotations until this setup is complete.
Read-only discovery can still proceed with gitcrawl and live gh.
Use $gitcrawl first for local candidate discovery.
Use the prtags skill from the prtags repo at skills/prtags/SKILL.md when it is available.
Install prtags from the pinned release below.
Do not rely on an old local build unless the maintainer explicitly wants to test unreleased behavior.
prtags CLI install path:
GOBIN="$HOME/.local/bin" go install github.com/dutifuldev/prtags/cmd/prtags@v0.1.2
prtags lives outside the OpenClaw organization, so this install stays pinned to a reviewed
version that the Go module proxy resolves and the public checksum database verifies. GOBIN keeps
the installed executable in the same user-local directory as the previous installer, so an existing
$HOME/.local/bin PATH continues to resolve the newly installed version.
Do not install it by piping a remote script into a shell, and do not point the install at a branch:
either one executes whatever that third party serves at run time, with the maintainer's own
privileges. Moving to a newer prtags release is a reviewed change to this file, not a mid-task step.
prtags should be logged in with the maintainer's own GitHub account through OAuth device flow.
Do not use a shared maintainer token for interactive triage.
prtags auth login
prtags auth status
The expected outcome is that prtags stores the logged-in maintainer identity locally and uses that account for authenticated writes.
Do not require an up-front preflight before starting the workflow. Proceed with the normal steps until you actually need a tool or account state.
As soon as you discover that prtags is missing or not logged in at the write step, stop immediately.
Do not continue in a partial write mode after that point.
If prtags is missing, ask the user to run the pinned install command from
Install the CLIs.
Keep that section as the single source of the installed version; do not improvise another install path.
If prtags auth status shows that the user is not logged in, ask the user to run:
prtags auth login
Resume only after the missing tool or login state has been fixed.
For candidate discovery in this workflow, use gitcrawl first.
Treat it as the local history and clustering layer for related issues, duplicate attempts, and closed threads.
Use live gh or gh api for the target thread and for any candidate before making an actionable judgment.
Use live GitHub when gitcrawl is missing or stale for a concrete reason, such as:
gitcrawl errors, times out, or lacks the needed neighbor/search dataWhen you fall back to live GitHub search, note that you did so and why.
If a later prtags target-level write fails because its own mirror has not caught up, stop and report that the curation backend is missing the target object instead of forcing a fallback write.
For each target PR or issue:
prtags group for that duplicate clusterprtagsprtags group writes to drive GitHub comment sync when that integration is configuredUse the tools with these boundaries:
gitcrawl is candidate generation and historical context
gh is live GitHub truth
gh search only when gitcrawl is stale, missing data, or cannot express the needed queryprtags is the maintainer curation layer
Treat duplicate groups as exclusive. A PR or issue should belong to at most one duplicate group at a time.
That means:
This rule matters more than speed. The skill should keep one coherent duplicate cluster per problem, not many near-duplicate clusters.
A duplicate group should describe the underlying problem and the intended fix direction. Do not group items only because they share a keyword.
Good group shape:
Bad group shape:
The group title should name the real problem. The group description should summarize the intent and the code surface.
Examples:
gateway: startup regression from channel status bootstrapwhatsapp: QR preflight timeout handlingrelease: cross-OS validation handoff gapsBefore declaring a duplicate, gather evidence from at least two categories.
gitcrawl neighbors, search hits, and cluster membership count as candidate generation, not as enough proof by themselves.
For PRs:
For issues:
If you only have wording similarity, that is not enough.
Start by reading the target itself. Use live GitHub for current target state.
For a PR:
gh pr view <number> --json number,title,state,mergedAt,body,closingIssuesReferences,files,comments,reviews,statusCheckRollup
For an issue:
gh issue view <number> --json number,title,state,body,comments,closedAt
Record:
Use gitcrawl first because it is the local OpenClaw history and clustering source.
Do not switch to broad live GitHub search unless gitcrawl is missing data, stale, or failing.
Start with the target and nearby threads:
gitcrawl threads openclaw/openclaw --numbers <issue-or-pr-number> --include-closed --json
gitcrawl neighbors openclaw/openclaw --number <issue-or-pr-number> --limit 20 --json
Then search key phrases and subsystem terms:
gitcrawl search openclaw/openclaw --query "<key phrase from title or body>" --mode hybrid --limit 20 --json
gitcrawl search openclaw/openclaw --query "<subsystem or error phrase>" --mode hybrid --limit 20 --json
Inspect likely clusters:
gitcrawl cluster-detail openclaw/openclaw --id <cluster-id> --member-limit 20 --body-chars 280 --json
For PRs, verify likely code overlap with live file data:
gh pr view <candidate-pr> --json number,title,state,mergedAt,files,body,comments,reviews
For issues, verify likely duplicate issue state and comments live:
gh issue view <candidate-issue> --json number,title,state,body,comments,closedAt
Use targeted live GitHub search after gitcrawl when:
gh search prs --repo openclaw/openclaw --match title,body --limit 50 -- "<key phrase>"
gh search issues --repo openclaw/openclaw --match title,body --limit 50 -- "<key phrase>"
gh search issues --repo openclaw/openclaw --match comments --limit 50 -- "<error or maintainer phrase>"
Choose one of these outcomes:
not_duplicateduplicate_needs_judgmentduplicate_confirmedUse duplicate_confirmed only when the evidence is strong enough that the maintainer could safely close or retag the duplicate item.
Use duplicate_needs_judgment when:
Before creating a group, search prtags for an existing one.
Start with text search over groups:
prtags search text -R openclaw/openclaw "<problem phrase>" --types group --limit 10
prtags search similar -R openclaw/openclaw "<problem summary>" --types group --limit 10
prtags group list -R openclaw/openclaw
Inspect likely groups:
prtags group get <group-id>
prtags group get <group-id> --include-metadata
Reuse an existing group when:
Do not widen an existing group just because gitcrawl placed several PRs or issues near each other.
Confirm that the actual implementation path and maintainer intent still match before adding the new member.
Create a new group only when no existing group clearly fits.
Create the group with a problem-based title and an intent-based description:
prtags group create -R openclaw/openclaw \
--kind mixed \
--title "<problem-centered title>" \
--description "<same intent, subsystem, and duplicate-resolution path>" \
--status open
Then attach the target and any known duplicate members:
prtags group add-pr <group-id> <pr-number>
prtags group add-issue <group-id> <issue-number>
If a target appears to already belong to another duplicate group and you cannot safely reuse that group, stop. Do not create a second group.
Use field ensure so the skill is idempotent.
Recommended target-level fields:
prtags field ensure -R openclaw/openclaw --name duplicate_status --scope pull_request --type enum --enum-values not_duplicate,candidate,confirmed --filterable
prtags field ensure -R openclaw/openclaw --name duplicate_status --scope issue --type enum --enum-values not_duplicate,candidate,confirmed --filterable
prtags field ensure -R openclaw/openclaw --name duplicate_confidence --scope pull_request --type enum --enum-values low,medium,high --filterable
prtags field ensure -R openclaw/openclaw --name duplicate_confidence --scope issue --type enum --enum-values low,medium,high --filterable
prtags field ensure -R openclaw/openclaw --name duplicate_rationale --scope pull_request --type text --searchable
prtags field ensure -R openclaw/openclaw --name duplicate_rationale --scope issue --type text --searchable
Recommended group-level fields:
prtags field ensure -R openclaw/openclaw --name duplicate_confidence --scope group --type enum --enum-values low,medium,high --filterable
prtags field ensure -R openclaw/openclaw --name duplicate_rationale --scope group --type text --searchable
prtags field ensure -R openclaw/openclaw --name cluster_summary --scope group --type text --searchable
For a PR:
prtags annotation pr set -R openclaw/openclaw <pr-number> \
duplicate_status=confirmed \
duplicate_confidence=high \
duplicate_rationale="<same problem, same fix direction, overlapping files and comments>"
For an issue:
prtags annotation issue set -R openclaw/openclaw <issue-number> \
duplicate_status=confirmed \
duplicate_confidence=high \
duplicate_rationale="<same user-visible problem and same intended fix path>"
For the group:
prtags annotation group set <group-id> \
duplicate_confidence=high \
cluster_summary="<one-sentence problem summary>" \
duplicate_rationale="<why these items belong in one duplicate cluster>"
When the evidence is incomplete, set duplicate_status=candidate and lower the confidence.
If a per-PR or per-issue annotation write fails because prtags cannot resolve the target, do not force a fallback write path.
Keep the group state you were able to write, report that the curation backend is still missing the target object, and defer the target-level annotation until prtags catches up.
Do not tell the agent to create a GitHub comment directly.
prtags owns the outbound GitHub comment as a derived projection of group state.
In the normal case, do not manually trigger comment sync. When comment sync is configured, group writes already enqueue the derived comment projection automatically.
Use manual sync only as a repair or retry path:
prtags group sync-comments <group-id>
If the maintainer needs to see which groups still need attention, use:
prtags group list-comment-sync-targets -R openclaw/openclaw
The skill should treat the GitHub comment as a consequence of correct prtags group state.
It should not treat manual comment authoring as part of the normal duplicate workflow.
It should also not treat sync-comments as a required step for every duplicate decision.
Return a short maintainer report with these sections:
Decision: duplicate_confirmed | duplicate_needs_judgment | not_duplicate
Target: PR #<n> | Issue #<n>
Confidence: high | medium | low
Evidence:
- ...
- ...
- ...
prtags actions:
- reused group <group-id> | created group <group-id>
- added members: ...
- annotations written: ...
- comment sync: automatic if configured | manual repair triggered for <group-id>
Stop and escalate instead of forcing a duplicate decision when:
The maintainer should get one clean duplicate judgment or an explicit “needs judgment” result. Do not blur the line.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
1Password CLIの導入と認証を確認し、保存したパスワードやAPIキーをコマンドや設定へ渡します。デスクトップ連携やサービスアカウントにも対応します。
OpenClawへの自然な言葉の依頼をClaude Codeなどの外部コーディングエージェントへ振り分け、作業の開始や継続、スレッド内の会話をつなぐスキルです。
Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.
日本語の概要は準備中です。原文の説明を表示しています。
Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.
日本語の概要は準備中です。原文の説明を表示しています。
macOSのApple Notesをエージェントから作成・検索・編集・削除し、フォルダ間の移動やHTML・Markdownへの書き出しを行うスキル。
Apple Remindersの予定付きToDoをMacから確認・追加・編集するスキル。リストの管理や完了・削除にも対応し、iPhoneやiPadで見るタスクを整理できます。