Agent skill

Sn Search Code

by OpenSenseNova in OpenSenseNova/SenseNova-Skills

用于查找代码示例、开源项目、GitHub Issue、技术问答、开发者讨论、HuggingFace 模型/数据集/Space。

MITAuto-check: notesAI & LLM Engineering

Install Sn Search Code

skills CLI
$ npx skills add OpenSenseNova/SenseNova-Skills --skill sn-search-code -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OpenSenseNova/SenseNova-Skills sn-search-code --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OpenSenseNova/SenseNova-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/sn-search-code .claude/skills/sn-search-code && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sn-search-code
GitHub stars
5.7k
Token cost
~905 tokens
SKILL.md length
180 words
Files
7 (incl. scripts)
Skills in repo
36
Repo updated
First seen
Licence
MIT

At a glance

用于查找代码示例、开源项目、GitHub Issue、技术问答、开发者讨论、HuggingFace 模型/数据集/Space。

  • Tasks that involve Model hubs and datasets
  • SKILL.md covers 凭证配置, 可用脚本, 依赖 and 参数说明, plus 1 more section
  • Runs Python scripts from its folder; calls python3; needs HF_TOKEN and GITHUB_TOKEN

What it does

Sn Search Code is an agent skill from OpenSenseNova/SenseNova-Skills. 用于查找代码示例、开源项目、GitHub Issue、技术问答、开发者讨论、HuggingFace 模型/数据集/Space。

Its SKILL.md is about 910 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts (for example `scripts/github_search.py`, `scripts/hackernews_search.py` and `scripts/huggingface_search.py`).

It sits in AI & LLM Engineering, covering Model hubs and datasets. It works with GitHub and Hugging Face. The repository describes itself as: Modular SenseNova skills for building AI-powered office assistants and productivity workflows. The licence is MIT.

When your agent uses it

  • Tasks that involve Model hubs and datasets

Example prompts

  • “/sn-search-code”

Requirements

  • Python 3
  • A credential in GITHUB_TOKEN
  • A credential in SO_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 5abde96. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 5 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • HF_TOKEN
    • GITHUB_TOKEN
    • SO_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sn Search Code loads about 905 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 180 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~905

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:10
    API key、token 与 cookie 统一建议写在仓库根目录 `.env`(参考 `.env.example`),并由 runtime 或用户在执行前加载为同名环境变量。脚本仍只从环境变量或显式 CLI 参数读取凭证;不要把真实密钥

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from OpenSenseNova/SenseNova-Skills at commit 5abde96, republished under its MIT licence (© OpenSenseNova). 180 words, ~905 tokens.

Download SKILL.mdSave it as .claude/skills/sn-search-code/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
sn-search-code
description
用于查找代码示例、开源项目、GitHub Issue、技术问答、开发者讨论、HuggingFace 模型/数据集/Space。

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.pyGitHub仓库、代码、Issue 搜索code 类型必须;其他类型可选(提高限额)
stackoverflow_search.pyStack Overflow技术问答搜索无需
hackernews_search.pyHacker News技术新闻和讨论无需
huggingface_search.pyHuggingFace模型、数据集、Space 搜索可选 HF_TOKEN(提高限额)

依赖

首次运行或脚本提示缺库时,使用本技能的依赖清单安装到当前 Python 环境:

bash
python3 -m pip install -r requirements.txt

不要在脚本内部自动安装依赖。若安装失败、网络不可用或包不可用,停止使用对应脚本并改用网页搜索,说明缺少依赖。

参数说明

github_search.py
bash
python3 scripts/github_search.py <query> [选项]
参数说明默认值
query搜索关键词(必填)—
--limit, -n返回结果数量10
--type, -t搜索类型:repositories, code, issues, repo, issuerepositories
--tokenGitHub Token(也可通过 GITHUB_TOKEN 环境变量设置)—

注意:--type code 必须提供 token。
GitHub API 对代码搜索接口强制要求认证,未提供 token 会返回 401。
repositories 和 issues 类型无需 token,但有 token 可提高速率限制(未认证 10 次/分钟 → 认证 30 次/分钟)。

bash
python3 scripts/github_search.py "machine learning framework" --type repositories --limit 5
python3 scripts/github_search.py "import asyncio" --type code --token ghp_xxx --limit 5
# 或通过环境变量:
GITHUB_TOKEN=ghp_xxx python3 scripts/github_search.py "import asyncio" --type code --limit 5
stackoverflow_search.py
bash
python3 scripts/stackoverflow_search.py <query> [选项]
参数说明默认值
query搜索关键词(必填)—
--limit, -n返回结果数量10
--sort排序方式:relevance, votes, creation, activityrelevance
--tagged按标签过滤,多个用分号分隔(如 python;asyncio)—
--api-keyStack Exchange API 密钥(也可通过 SO_API_KEY 环境变量设置,可选,提高限额)—
bash
python3 scripts/stackoverflow_search.py "python async await" --limit 5
python3 scripts/stackoverflow_search.py "rust lifetime" --sort votes --tagged rust --limit 10
huggingface_search.py
bash
python3 scripts/huggingface_search.py <query> [选项]
参数说明默认值
query搜索关键词(必填)—
--limit, -n返回结果数量10
--type, -t搜索类型:models, datasets, spaces(及别名 model, dataset, space)models
--tokenHuggingFace Token(也可通过 HF_TOKEN 环境变量设置,可选,提高限额)—
bash
python3 scripts/huggingface_search.py "bert" --type models --limit 5
python3 scripts/huggingface_search.py "text classification" --type datasets --limit 5
python3 scripts/huggingface_search.py "stable diffusion" --type spaces --limit 5
hackernews_search.py
bash
python3 scripts/hackernews_search.py <query> [选项]
参数说明默认值
query搜索关键词(必填)—
--limit, -n返回结果数量10
--sort排序方式:relevance, daterelevance
--tagsHN 标签过滤:story, comment, ask_hn, show_hn—
bash
python3 scripts/hackernews_search.py "LLM agents" --limit 10
python3 scripts/hackernews_search.py "GPT-5" --sort date --tags story --limit 5

输出格式

所有脚本输出标准 JSON:

json
{
  "success": true,
  "query": "...",
  "provider": "github|stackoverflow|hackernews",
  "items": [
    {"title": "...", "url": "...", "snippet": "...", ...}
  ],
  "error": null
}

© OpenSenseNova, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts) in skills/sn-search-code of OpenSenseNova/SenseNova-Skills.

  • SKILL.md
  • requirements.txt
  • scripts/github_search.py
  • scripts/hackernews_search.py
  • scripts/huggingface_search.py
  • scripts/search_utils.py
  • scripts/stackoverflow_search.py

Open the folder on GitHubat commit 5abde96

Compare with similar skills

Sn Search Code next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sn Search Code compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sn Search Code this skillOpenSenseNova/SenseNova-Skills5.7k—~905Automated safety check: NotesMIT
Esmfold2JimLiu/science-skills2274 repos~2.5kAutomated safety check: PassApache-2.0
Publish Tracelab Huggingfaceuw-syfi/TraceLab138—~1.4kAutomated safety check: PassApache-2.0
Discovertaishi-i/awesome-japanese-nlp-resources1k—~6.5kAutomated safety check: NotesCC0-1.0
News Aggregator Skilldracohu2025-cloud/draco-skills-collection227—~596Automated safety check: PassMIT
Onboard Marinmarin-community/marin3.9k—~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Esmfold2

    JimLiu/science-skills

    Biohub ESMFold2 / ESMFold2-Fast all-atom co-folding (Candido et al.

    227 GitHub starsUsed in 4 repos~2.5k tokens
    AI & LLM EngineeringAuto-check passed
  • Prepare, publish, refresh, or validate the TraceLab public dataset on Hugging Face under UW-SyFI/TraceLab.

    138 GitHub stars~1.4k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Discover

    taishi-i/awesome-japanese-nlp-resources

    Given a Japanese NLP GitHub repo/model/dataset (URL / owner/repo / tool name) OR a topic, find what's already in awesome-japanese-nlp-resources and discover related resources NOT yet listed…

    1k GitHub stars~6.5k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • News Aggregator Skill

    dracohu2025-cloud/draco-skills-collection

    A skill your agent uses when collecting public news candidates from Hacker News, GitHub Trending, Hugging Face papers, and other web sources for briefings and daily reports.

    227 GitHub stars~596 tokensUpdated 19 days ago
    AI & LLM EngineeringAuto-check passed
  • Onboard Marin

    marin-community/marin

    Verify or complete a new internal Marin developer's local setup and access to GitHub, GCP, Iris, Weights & Biases, Hugging Face, and optional CoreWeave storage.

    3.9k GitHub stars~1.1k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Hugging Face Papers

    sickn33/agentic-awesome-skills

    Look up and read Hugging Face paper pages in markdown, and use the papers API for structured metadata such as authors, linked models/datasets/spaces, Github repo and project page.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    AI & LLM EngineeringAuto-check passed

More from OpenSenseNova/SenseNova-Skills

All 36 skills in this repo
  • SN Motion HTML

    OpenSenseNova/SenseNova-Skills

    Builds HTML stories where one continuous camera journey advances with page progress, using researched structure, AI stills, Seedance video clips and browser QA.

    5.7k GitHub stars~2.2k tokensUpdated 19 days ago
    Auto-check: notes
  • SenseNova PPT Fallback Tools

    OpenSenseNova/SenseNova-Skills

    Fallback scripts for web search, image search and download, and image generation that PPT skills use only when the host agent lacks or fails its own tools.

    5.7k GitHub stars~575 tokensUpdated 19 days ago
    Auto-check: notes
  • SenseNova PPT Workbench

    OpenSenseNova/SenseNova-Skills

    Opens the PPT Workbench web editor for an existing SenseNova HTML slide deck so you can preview, inspect and visually edit it without regenerating.

    5.7k GitHub stars~2.5k tokensUpdated 19 days ago
    Auto-check: notes
  • SenseNova PPT Creative Renderer

    OpenSenseNova/SenseNova-Skills

    Turns an approved slide outline into a full-page image for every slide, one 16:9 PNG per page, and optionally packages the set into a PPTX.

    5.7k GitHub stars~1.2k tokensUpdated 19 days ago
    Auto-check passed
  • SenseNova PPT Entry

    OpenSenseNova/SenseNova-Skills

    Entry point for SenseNova presentation generation: creates a task folder, picks depth, output format and design richness, and routes to the right PPT skill.

    5.7k GitHub stars~2.7k tokensUpdated 19 days ago
    Auto-check: notes
  • China Market Open Data Search

    OpenSenseNova/SenseNova-Skills

    Researches Chinese market, macro, trade, procurement, listed-company and regulatory information from free official sources that need no sign-up or API key.

    5.7k GitHub stars~954 tokensUpdated 19 days ago
    Auto-check: notes

Questions about Sn Search Code

What does Sn Search Code do?

用于查找代码示例、开源项目、GitHub Issue、技术问答、开发者讨论、HuggingFace 模型/数据集/Space。. Sn Search Code is an agent skill from OpenSenseNova/SenseNova-Skills.

When should I use Sn Search Code?

Sn Search Code fits situations like: tasks that involve Model hubs and datasets.

How do I install Sn Search Code in Claude Code?

Run `npx skills add OpenSenseNova/SenseNova-Skills --skill sn-search-code -a claude-code`. Or copy the skill folder (skills/sn-search-code in OpenSenseNova/SenseNova-Skills) into .claude/skills/sn-search-code in your project. Claude Code loads it when a task matches its description.

How do I install Sn Search Code in Codex?

Run `npx skills add OpenSenseNova/SenseNova-Skills --skill sn-search-code -a codex`. Or copy the skill folder (skills/sn-search-code in OpenSenseNova/SenseNova-Skills) into .agents/skills/sn-search-code in your project. Codex loads it when a task matches its description.

Can I use Sn Search Code in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenSenseNova/SenseNova-Skills --skill sn-search-code -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sn-search-code, .gemini/skills/sn-search-code, .github/skills/sn-search-code and .opencode/skills/sn-search-code in your project.

What does Sn Search Code need to run?

Going by SKILL.md and its folder, Sn Search Code needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named HF_TOKEN, GITHUB_TOKEN and SO_API_KEY. Our summary lists: Python 3; A credential in GITHUB_TOKEN; A credential in SO_API_KEY.

Does Sn Search Code access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Sn Search Code safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Sn Search Code use?

Sn Search Code is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sn Search Code use?

About 905 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Sn Search Code?

Skills that share tags, products or a category with Sn Search Code: Esmfold2 (JimLiu/science-skills, 227 stars), Publish Tracelab Huggingface (uw-syfi/TraceLab, 138 stars), Discover (taishi-i/awesome-japanese-nlp-resources, 1k stars) and News Aggregator Skill (dracohu2025-cloud/draco-skills-collection, 227 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sn Search Code?

OpenSenseNova (a GitHub organization) maintains it in OpenSenseNova/SenseNova-Skills, which has 5,743 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on September 18, 2026.

Source: OpenSenseNova/SenseNova-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.