sherlock
它能做什么
这项技能帮助你的 AI 检查某个用户名在社交媒体上的使用情况。适合有明确理由进行查询的研究人员和开源调查人员。
适用场景
- ✓你询问某个用户名在哪些社交媒体上有账户的时候。
- ✓你想检查某个用户名在许多平台上是否仍然可用的时候。
- ✓你正在进行需要用户名查询的开源研究任务的时候。
技能链接
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/security/sherlock/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请查找哪些社交网络上有名为 johndoe123 的账户。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能运行 Sherlock 命令行工具,它会在一系列平台上检查该用户名,并报告出现该用户名的平台。使用前需要先安装 Sherlock。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Sherlock OSINT Username Search
Hunt down social media accounts by username across 400+ social networks using the Sherlock Project.
When to Use
- User asks to find accounts associated with a username
- User wants to check username availability across platforms
- User is conducting OSINT or reconnaissance research
- User asks "where is this username registered?" or similar
Requirements
- Sherlock CLI installed:
pipx install sherlock-projectorpip install sherlock-project - Alternatively: Docker available (
docker run -it --rm sherlock/sherlock) - Network access to query social platforms
Procedure
1. Check if Sherlock is Installed
Before doing anything else, verify sherlock is available:
sherlock --version
If the command fails:
- Offer to install:
pipx install sherlock-project(recommended) orpip install sherlock-project - Do NOT try multiple installation methods — pick one and proceed
- If installation fails, inform the user and stop
2. Extract Username
Extract the username directly from the user's message if clearly stated.
Examples where you should NOT use clarify:
- "Find accounts for nasa" → username is
nasa - "Search for johndoe123" → username is
johndoe123 - "Check if alice exists on social media" → username is
alice - "Look up user bob on social networks" → username is
bob
Only use clarify if:
- Multiple potential usernames mentioned ("search for alice or bob")
- Ambiguous phrasing ("search for my username" without specifying)
- No username mentioned at all ("do an OSINT search")
When extracting, take the exact username as stated — preserve case, numbers, underscores, etc.
3. Build Command
Default command (use this unless user specifically requests otherwise):
sherlock --print-found --no-color "<username>" --timeout 90
Optional flags (only add if user explicitly requests):
--nsfw— Include NSFW sites (only if user asks)--tor— Route through Tor (only if user asks for anonymity)
Do NOT ask about options via clarify — just run the default search. Users can request specific options if needed.
4. Execute Search
Run via the terminal tool. The command typically takes 30-120 seconds depending on network conditions and site count.
Example terminal call:
{
"command": "sherlock --print-found --no-color \"target_username\"",
"timeout": 180
}
5. Parse and Present Results
Sherlock outputs found accounts in a simple format. Parse the output and present:
- Summary line: "Found X accounts for username 'Y'"
- Categorized links: Group by platform type if helpful (social, professional, forums, etc.)
- Output file location: Sherlock saves results to
<username>.txtby default
Example output parsing:
[+] Instagram: https://instagram.com/username
[+] Twitter: https://twitter.com/username
[+] GitHub: https://github.com/username
Present findings as clickable links when possible.
Pitfalls
No Results Found
If Sherlock finds no accounts, this is often correct — the username may not be registered on checked platforms. Suggest:
- Checking spelling/variation
- Trying similar usernames with
?wildcard:sherlock "user?name" - The user may have privacy settings or deleted accounts
Timeout Issues
Some sites are slow or block automated requests. Use --timeout 120 to increase wait time, or --site to limit scope.
Tor Configuration
--tor requires Tor daemon running. If user wants anonymity but Tor isn't available, suggest:
- Installing Tor service
- Using
--proxywith an alternative proxy
False Positives
Some sites always return "found" due to their response structure. Cross-reference unexpected results with manual checks.
Rate Limiting
Aggressive searches may trigger rate limits. For bulk username searches, add delays between calls or use --local with cached data.
Installation
pipx (recommended)
pipx install sherlock-project
pip
pip install sherlock-project
Docker
docker pull sherlock/sherlock
docker run -it --rm sherlock/sherlock <username>
Linux packages
Available on Debian 13+, Ubuntu 22.10+, Homebrew, Kali, BlackArch.
Ethical Use
This tool is for legitimate OSINT and research purposes only. Remind users:
- Only search usernames they own or have permission to investigate
- Respect platform terms of s
常见问题
如何安装?
技能建议使用 pipx install sherlock-project 或 pip install sherlock-project,二者选其一即可。
它会替我核实账户吗?
它只报告哪些平台存在匹配的用户名。技能不会判断这些账户是否属于同一个人。
可以用 Docker 运行吗?
可以。如果可用,技能将 Docker 列为替代方式。
详情
热度
- GitHub 星标
- 260k
- 排名
- #564
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-merge-conflict-arbiter
260k以中立第三方的身份,解决两个智能体分支之间的 git 合并冲突,为代码仓库生成一个合并结果。
antigravity-cli
260k指导你安装、更新和排查 Antigravity 命令行工具,包括其插件、登录和沙盒。
blackbox
260k让你的智能体把编程任务交给 Blackbox AI 命令行工具,它会运行多个 AI 模型并挑选最佳结果。
dynamic-workflow
260k教你的智能体把大量相似的工作保存为脚本批量运行,使只有经过验证的结果才返回主对话。