gh-shoulders

gh-shoulders is a skill for Claude Code, Codex from nickolaslin33/agent-skills. It costs 246 tokens per session (3,041 once invoked), scanned A, original, MIT.

A research process for checking how open-source projects solve a general technical problem before designing a solution. It compares candidates, studies promising projects, and checks their licenses.

In plain words
What is it for?
It is for planning features, choosing technologies, comparing prior art, deciding whether to build something, and finding similar open-source projects.
Why use it?
It helps avoid rebuilding an existing solution and exposes design choices or problems that the project may already have encountered.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is git clone --depth 1 <url> ./.prior-art-tmp/<repo-name>.

Good fit It is for planning features, choosing technologies, comparing prior art, deciding whether to build something, and finding similar open-source projects.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/nickolaslin33/agent-skills
agentmods
npx agentmods add skills/nickolaslin33/agent-skills/gh-shoulders

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 gh-shoulders

README.md
[![agentmods](https://agentmods.dev/badge/skills/nickolaslin33/agent-skills/gh-shoulders/github.svg)](https://agentmods.dev/skills/nickolaslin33/agent-skills/gh-shoulders)
Your own site
<a href="https://agentmods.dev/skills/nickolaslin33/agent-skills/gh-shoulders"><img src="https://agentmods.dev/badge/skills/nickolaslin33/agent-skills/gh-shoulders/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 gh-shoulders

Your own site · 80×15
<a href="https://agentmods.dev/skills/nickolaslin33/agent-skills/gh-shoulders"><img src="https://agentmods.dev/badge/skills/nickolaslin33/agent-skills/gh-shoulders.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 246 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,041 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00246 $0.03041
Opus 5 $0.00123 $0.01520
Sonnet 5 $0.00049 $0.00608
Haiku 4.5 $0.00025 $0.00304

Measured 9d ago against content hash f780b86fa3c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

gh-shoulders scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| 2 | GitHub REST API(未認證) | `curl` 可用(搜尋 API 限每分鐘 10 次,加延遲) |
skills/gh-shoulders/SKILL.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

gh-shoulders — 站在開源巨hub的肩上

總覽

設計系統之前,先看開源世界怎麼解這個問題。 憑既有知識直接設計會錯過兩種東西:別人已經驗證可行的做法,以及別人已經遇過、你還沒遇到的問題。

這個 skill 只負責找到類似的開源作法、讀懂它們,然後產出一份調查報告。規劃與實作仍然走你原本的流程。

Step 0:適用性判斷

先做這一步,但不要在這裡卡住。判斷不出來就當成適用,繼續往下走——多查一輪的成本遠低於漏掉一個現成方案。

從需求裡抽出通用成分:把公司或專案專屬的部分剝掉之後,剩下的問題是不是開源世界也會遇到的?

  • 「會員積分排行榜」→ 剝掉業務規則之後是「排行榜 + 定時結算」→ 通用,要調查
  • 「在後台設定檔新增一筆分店資料」→ 純內部設定資料 → 不適用
  • 「串接公司內部 ERP 的簽核 API」→ 專有協定 → 不適用。但如果需求裡含「token 快取與刷新」這類通用子問題,就只調查那個子問題

不適用時回報一句「此需求為內部領域邏輯,跳過先例調查」,直接回到原本的規劃流程。

不要為了省事把通用問題判成內部邏輯。 判斷依據是「開源世界可能有沒有」,不是「這是不是公司需求」。

Step 1:環境偵測

依序偵測可用的搜尋管道,以第一個可用的為主力,其餘當補充

順位 管道 偵測方式
1 gh CLI(已登入) gh auth status 成功
2 GitHub REST API(未認證) curl 可用(搜尋 API 限每分鐘 10 次,加延遲)
3 網頁搜尋 你的環境有 web search 能力

不要只用一個管道。不同管道搜出來的結果重疊度比想像中低——GitHub 搜尋看得到 topic 與程式碼,網頁搜尋看得到部落格與比較文章,只靠一邊會整類漏掉。

用順位 2 之前先查剩餘額度(curl -s https://api.github.com/rate_limit)。額度不多時把呼叫留給 repo 搜尋,因為那一次就能拿回整批 metadata;其餘改用 git clone 加本地 grep,那條路不吃額度。

Step 2:關鍵字展開

先把搜尋詞彙列出來,再開始搜。邊搜邊想關鍵字會有兩個後果:你一直用自己的用詞打轉,搜不到社群實際在用的說法;而且搜過哪些詞沒有紀錄,最後分不出來是「沒有人做過」還是「你沒搜到」。

  1. 分四類列詞,每類中英文都要:
    • 領域詞(如:遊戲、即時)
    • 能力詞(如:排行榜 / leaderboard / ranking)
    • 技術詞(如:redis sorted set / zset)
    • 生態系錨點(你已知的相關函式庫名,如 redis-py)
  2. 詞彙探測:先搜 awesome <領域> 清單、看 2–3 個明顯相關 repo 的 topic tags,學社群的行話再回頭補詞。你說「限時排行榜」,社群說 "leaderboard"、"tournament ranking",用你的詞搜不到他們的專案。
  3. 負面詞:對有歧義的詞列出排除詞,GitHub 語法用 -term(如 ranking -seo),不支援 NOT

Step 3:廣搜(列 5–10 個候選)

先廣後窄,多個管道並用。star 數只用來排序,不用來排除——小而精準的 repo 常比大專案更值得參考。

同一個專案的 fork 與 mirror 算一個發現,不要重複計數,否則會誤判成「很多人都這樣做」。

# gh CLI(首選)
gh search repos "leaderboard redis" --language python --sort stars \
  --limit 20 --json fullName,description,stargazersCount,updatedAt,license
gh search code "zadd leaderboard" --language python --limit 20

# curl fallback(未認證,注意速率)
curl -s "https://api.github.com/search/repositories?q=leaderboard+redis+language:python&sort=stars&per_page=20"

管道至少涵蓋:GitHub repo 搜尋、GitHub code 搜尋(僅順位 1 可用;未登入就 clone 候選後本地 grep)、awesome 清單、以及可用時用網頁搜尋補「<主題> open source alternatives」。

Read the full file on GitHub · 147 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 147 lines · 246 tokens per session scan A f780b86fa3c8

Subscribe to this mod's changes

gh-shoulders is a skill published in the GitHub repository nickolaslin33/agent-skills (2 stars, last pushed 21d ago), licensed MIT. It adds 246 tokens to every session and 3,041 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

specification-writing

A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

regulatory-research-fallback

Fallback workflow for regulatory research when web extraction tools fail on government PDFs.

HKUDS/OpenSpace · 20 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens

nda-review

Use when the user uploads or pastes a non-disclosure agreement and asks for review, redline, risk assessment, or a recommendation on whether to sign. Identifies missing standard protections, one-sided or unusual provisions, and operational issues; produces a structured report with severity ratings and citations to…

LegalQuants/lq-ai · 79 tokens