Communitygithub.com

Varnan-Tech/opendirectory

给定您的SDK或库名称,搜索GitHub代码,找到公开仓库中导入或依赖该SDK的代码,将每个仓库分类为公司组织、关联开发者、个人开发者或教程噪音,并根据采用信号强度进行评分,检测新采用者,输出一个按排名排列的“谁在用您的产品”列表,并附上高信号公司的外联上下文。

opendirectory 是什么?

该技能是一个SDK采用追踪器,帮助开发者或公司了解其SDK在GitHub上的实际采用情况。用户只需提供SDK名称(如`stripe`、`@clerk/nextjs`、`requests`),该技能便会通过GitHub代码搜索API查找所有公开导入该SDK的仓库。它会根据仓库所有者类型(公司组织加分)、活跃度、是否包含教程关键词(如“example”、“tutorial”)等因素,自动对每个仓库进行评分和分类,分为“公司组织”、“关联开发者”、“个人开发者”和“教程噪音”。对于高信号的公司组织仓库,还会进一步丰富其所有者信息、贡献者数据,最终生成一个排序的采用报告,包含每个公司采用者的外联建议。支持的平台包括npm、Python和Go。该技能严格遵守API响应数据,不编造任何字段值,确保输出真实可靠。

兼容平台✓Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/Varnan-Tech/opendirectory/tree/main/skills/sdk-adoption-tracker

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

SDK采用追踪器

输入一个SDK名称。在GitHub上搜索导入该SDK的公开仓库。根据公司信号、活跃度和噪音指标对每个仓库进行评分。为高信号仓库丰富所有者和贡献者数据。输出一个排名的采用报告,并附上公司采用者的外联上下文。


关键规则: 输出中的每个仓库必须存在于GitHub代码搜索API的响应中。每个公司名称必须来自GitHub用户或组织API的company或name字段。每个贡献者用户名必须来自GitHub贡献者API响应。如果API中任何字段为空,请写“未列出”——不要推断、猜测或外推。


常见错误

agent可能会……错在哪里
在没有GITHUB_TOKEN的情况下运行代码搜索未经身份验证的代码搜索会达到3次/分钟的次要速率限制,并且任何有意义的扫描都会失败。需要GITHUB_TOKEN。如果缺少,请在步骤1停止并显示明确的错误信息。
包括SDK本身的forkfork了SDK的仓库是贡献者或镜像,而不是采用者。过滤掉fork == true且仓库名称与SDK名称匹配的仓库。
将所有500个原始搜索结果发送给AI代码搜索最多可返回500个结果,其中大部分是噪音。请先本地过滤和评分。只将前20个高信号仓库发送给AI分析步骤。
将示例和教程仓库报告为采用者名称或描述中包含“example”、“tutorial”、“demo”、“learn”、“sample”、“playground”、“starter”的仓库不是生产环境用户。标记为tutorial_noise并从线索简报中排除。
编造公司名称或联系信息每个公司名称必须来自GitHub company或组织name字段。每个贡献者用户名必须来自贡献者API响应。如果字段为空,请写“未列出”。
对所有生态系统使用相同的导入模式require('sdk')无法找到Python用户。从SDK名称自动检测生态系统并构建生态系统特定的模式。如果自动检测不明确,请询问用户。

步骤1:环境检查

if [ -z "$GITHUB_TOKEN" ]; then
  echo "错误:代码搜索需要GITHUB_TOKEN。"
  echo "在 github.com/settings/tokens 添加一个token(公开仓库无需任何作用域)。"
  echo "没有它,GitHub代码搜索会达到3次/分钟的次要速率限制并失败。"
  exit 1
fi
echo "GITHUB_TOKEN: 已设置"
curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
     -H "Accept: application/vnd.github+json" \
     "https://api.github.com/rate_limit" | python3 -c "
import json, sys
d = json.load(sys.stdin)
search = d['resources']['search']
core = d['resources']['core']
print(f'搜索速率: {search[\"remaining\"]}/{search[\"limit\"]} 剩余')
print(f'核心速率:   {core[\"remaining\"]}/{core[\"limit\"]} 剩余')
"

如果搜索剩余为0:停止。告诉用户从X-RateLimit-Reset中获取的重置时间。


步骤2:收集输入

从对话中收集:

  • SDK名称(例如@company/my-sdk、requests、github.com/org/go-sdk)
  • 可选:生态系统覆盖(npm、python、go、gem)——如果未提供则自动检测
  • 可选:要从结果中排除的组织/用户(SDK所有者的自己的仓库)
  • 可选:产品上下文字符串(用于个性化外联消息)

自动检测生态系统:

  • 以@开头或包含-:npm
  • snake_case且不包含/或-:python
  • 包含github.com/:go
  • 其他:询问用户

如果未提供SDK名称: 询问:“您想追踪哪个SDK或库?请提供导入语句中使用的包名称(例如stripe、@clerk/nextjs、requests)。”

python3 << 'PYEOF'
import json, sys, re

sdk_name = "SDK_NAME_HERE"
ecosystem_override = ""  # 留空以便自动检测
exclude_owner = ""       # 可选:要排除的所有者名称(通常是SDK发布者)
product_context = ""     # 可选:您的产品是做什么的

# 自动检测生态系统
if ecosystem_override:
    ecosystem = ecosystem_override
elif sdk_name.startswith("@") or "-" in sdk_name:
    ecosystem = "npm"
elif re.match(r'^[a-z][a-z0-9_]*$', sdk_name):
    ecosystem = "python"
elif "github.com/" in sdk_name:
    ecosystem = "go"
else:
    ecosystem = "generic"

print(f"SDK: {sdk_name}")
print(f"生态系统: {ecosystem}")
print(f"排除的所有者: {exclude_owner or '(无)'}")

with open("/tmp/sat-input.json", "w") as f:
    json.dump({
        "sdk_name": sdk_name,
        "ecosystem": ecosystem,
        "exclude_owner": exclude_owner,
        "product_context": product_context
    }, f)
PYEOF

步骤3:搜索GitHub代码

首先检查独立脚本——它会在一次调用中处理步骤3-5。

ls scripts/fetch.py 2>/dev/null && echo "脚本可用" || echo "脚本未找到"

如果脚本可用,运行它并跳转到步骤6:

python3 scripts/fetch.py "$(python3 -c "import json; d=json.load(open('/tmp/sat-input.json')); print(d['sdk_name'])"" \
  --ecosystem "$(python3 -c "import json; d=json.load(open('/tmp/sat-input.json')); print(d['ecosystem'])"" \
  --exclude "$(python3 -c "import json; d=json.load(open('/tmp/sat-input.json')); print(d.get('exclude_owner',''))"

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Varnan-Tech/opendirectory

Use when the user asks to generate a blog cover image, thumbnail, or article header. Automatically uses modern typography, brand logos, and Google Search grounding to create beautiful 16:9 images with Gemini 3.1 Flash Image Preview.

Varnan-Tech/opendirectory

World-class brand strategist and naming expert. Uses an interrogation-led discovery phase to extract your brand's DNA, then applies scientific naming frameworks (Phonosemantics) and automated multi-TLD domain checking.

Varnan-Tech/opendirectory

Use when the user asks to generate or update a project's CLAUDE or AGENTS context file from a codebase scan. Writes a focused file under 100 lines containing only the non-obvious build commands, conventions, and gotchas Claude Code needs.

Varnan-Tech/opendirectory

Use when the user wants to verify cold emails, enrich a lead list, or autonomously guess email addresses from a CSV using ValidEmail.co or the open-source Reacher engine.

Varnan-Tech/opendirectory

Competitive intelligence orchestrator tracking companies across 8+ platforms (GitHub, Twitter, Reddit, HN, PH, YC Jobs) with heat scores and AI briefings.

Varnan-Tech/opendirectory

Give it your product URL or description. It finds your top 5 competitors, runs three-track PR research across all of them (editorial, podcasts, communities), identifies which channels appear most frequently, looks up the journalist or host for each, and returns a tiered outreach list with story angles and ready-to-send cold pitch drafts tailored to your product. Use when asked to find PR opportunities, discover where competitors got featured, build a media outreach list, find which journalists cover my space, or get pitch templates for press coverage.

Varnan-Tech/opendirectory

Generate high-converting, deep-dive growth case studies in MDX format. Use this skill when asked to write a case study or blog post about a company's growth, tech stack, or product-led strategy. It handles the full pipeline (researching the company via Tavily, generating a 16:9 cover image, quality checking the draft, uploading assets to cloud storage, and pushing directly to the target repository).

Varnan-Tech/opendirectory

Scans your project for outdated npm, pip, Cargo, Go, or Ruby packages. Runs a CVE security audit. Fetches changelogs, summarizes breaking changes with Gemini, and opens one PR per risk group (patch, minor, major). Includes Diagnosis Mode for install conflicts. Use when asked to update dependencies, check for outdated packages, open dependency PRs, scan for package updates, audit for CVEs, or flag breaking changes in upgrades. Trigger when a user says "check for outdated packages", "update my dependencies", "open PRs for dependency updates", "scan for CVEs", or "which packages need upgrading".

Varnan-Tech/opendirectory

Generates and updates README.md and API reference docs by reading your codebase's functions, routes, types, schemas, and architecture. Uses graphify to build a knowledge graph first, then writes accurate docs from it. Use when asked to write docs, generate a README, document an API, update stale docs, create an API reference from code, add an architecture section, or document a project in any language. Trigger when a user says their docs are missing, outdated, or wants to document their codebase without writing it manually.

Varnan-Tech/opendirectory

Evaluates expired domain candidates against a target niche, scores them by topical relevance, historical activity level, and history cleanliness, then outputs a ranked shortlist with explainable reasoning and risk flags.

Varnan-Tech/opendirectory

Brutally honest developer-experience audit for a GitHub repo. Scores 10 DX dimensions (time-to-first-success, README clarity, visual proof, install, quick-start, docs, examples, community, trust, marketing), writes a shareable roast in the requested tone (brutal/honest/kind), produces a prioritized action plan ranked by impact × effort, and sketches an ideal README. Trigger when user says "roast my repo", "audit my README", "dx audit", "developer experience review", "score my GitHub project", "before launch checklist", or "make my repo shareable".

Varnan-Tech/opendirectory

Drafts and designs a complete HTML email newsletter from a topic or content brief. Outputs paste-ready HTML for Loops, Mailchimp, Beehiiv, Resend, or any standard email platform. Includes subject line options and plain-text fallback. Trigger when a user says "write a newsletter", "draft an email newsletter", "create an HTML email", "design an email for my subscribers", or "write a newsletter about [topic]".

Varnan-Tech/opendirectory

Takes a GitHub PR URL or the current branch and writes a plain-English explanation of what it does and why, then posts it as a PR comment. Use when asked to explain a PR, summarize a pull request, write a plain-English description of a PR, add a summary comment to a PR, or understand what a PR changes. Trigger when a user says "explain this PR", "summarize this pull request", "what does this PR do", "add a comment explaining the PR", or shares a GitHub PR URL and asks what it does.

Varnan-Tech/opendirectory

Audit how often LLMs recommend your brand vs competitors and generate a GEO action plan.

Varnan-Tech/opendirectory

Takes a competitor's public GitHub repo URL, fetches their open issues via the GitHub REST API, filters noise locally, clusters issues into 6 demand categories, computes a demand score per issue and per cluster, and outputs a ranked demand gap report with a GTM messaging brief. Use when asked to scan a competitor's GitHub issues, find what their users are begging for, turn GitHub complaints into product positioning, identify competitor feature gaps, or generate messaging from real user demand. Trigger when a user says "scan competitor issues", "what are users asking for on X repo", "find demand gaps in Y", "turn GitHub issues into messaging", or "what should I build based on competitor complaints".

Varnan-Tech/opendirectory

Find recurring confusion in your repo's GitHub Discussions, rank it by urgency, and draft the actual docs fixes and content angles — with verbatim community quotes and source links as evidence.

Varnan-Tech/opendirectory

SEO keyword research workflow for blog generation using Google Trends data. Use when writing blog posts, planning content calendars, or optimizing articles for search engines. Finds breakout keywords, builds content structure, and generates SEO-optimized blog outlines targeting tech and developer audiences.

Varnan-Tech/opendirectory

Generates a professionally designed case study PDF for B2B SaaS sales and marketing. Supports 7 page layouts, 9 style presets, 1-4 page output. Trigger when user says "create a case study", "write a customer story", "make a case study PDF", "design a success story", "turn this customer win into a PDF".

Varnan-Tech/opendirectory

Generates data visualization charts (bar, line, area, pie, doughnut, scatter, radar, treemap) as PNG using Apache ECharts v6. 1080×1080px default, 5 style presets, highlight annotations. Trigger when user says "create a chart", "visualize data", "make a bar chart", "line graph", "pie chart", "data visualization", "chart this data", "plot", "graph", or "visualize these numbers".

Varnan-Tech/opendirectory

Fetches low-star App Store and Google Play reviews, clusters them into broken-promise patterns, and generates a ranked copy brief with positioning opportunities.

相关技能