Individual skill
sn-search-code
用于查找代码示例、开源项目、GitHub Issue、技术问答、开发者讨论、HuggingFace 模型/数据集/Space。
skills/sn-search-code/SKILL.md
Source commit 004a2426fa092097d65ac9233ca0bcb2be793f57
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 6,068
- Repository last updated
- Nov 3, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent Repository topic
- agent-skills Repository topic
- ai-agents Repository topic
- ai-assistant Repository topic
- data-analysis Repository topic
- document-processing Repository topic
- office-automation Repository topic
- presentation-slides Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 4,828 bytesSKILL.mdcore · 4,828 bytesSKILL.mdcore · 4,828 bytesSKILL.mdcore · 4,828 bytesSKILL.mdcore · 4,828 bytesSKILL.mdcore · 4,828 bytesSKILL.mdcore · 4,828 bytesSKILL.mdcore · 4,828 bytesSKILL.mdcore · 4,828 bytesSKILL.mdcore · 4,828 bytesSKILL.mdcore · 4,828 bytesrequirements.txtdoc · 12 bytesscripts/github_search.pyruns · 3,206 bytesscripts/hackernews_search.pyruns · 2,908 bytesscripts/huggingface_search.pyruns · 4,365 bytesscripts/search_utils.pyruns · 4,407 bytesscripts/stackoverflow_search.pyruns · 2,756 bytes
Read excerpt
# sn-search-code - 开发者搜索
## 凭证配置
API key、token 与 cookie 统一建议写在仓库根目录 `.env`(参考 `.env.example`),并由 runtime 或用户在执行前加载为同名环境变量。脚本仍只从环境变量或显式 CLI 参数读取凭证;不要把真实密钥写入 skill payload、报告、日志或提交。
搜索 GitHub、Stack Overflow、Hacker News、HuggingFace 四个开发者核心平台。所有脚本无需 API 密钥 即可使用,但 GitHub `--type code` 搜索是例外(见下方说明)。
## 可用脚本
| 脚本 | 平台 | 用途 | API 密钥 |
|------|------|------|---------|
| `github_search.py` | GitHub | 仓库、代码、Issue 搜索 | `code` 类型**必须**;其他类型可选(提高限额) |
| `stackoverflow_search.py` | Stack Overflow | 技术问答搜索 | 无需 |