Skip to content
Back to skills

Github

ASecurity

> Source: self-written, plan `autosearch-0418-channels-and-skills.md` § F002c. --- name: github description: Use for code-level, issue-level, and repository discovery when query involves a library, framework, or implementation detail. version: 1 languages: [en] methods: - id: search_public_repos impl: methods/search_public_repos.py requires: [] rate_limit: {per_min: 10, per_hour: 60} fallback_chain: [search_public_repos] when_to_use: query_languages: [en, mixed] query_types: [code, library, i...

  • 44 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 28, 2026
ai-agentsdebugginggitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned May 28, 2026

npx -y skills add 0xmariowu/Autosearch --skill github --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Github
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/0xmariowu-github/badge)](https://www.skillsdirectory.com/skills/0xmariowu-github)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Skill Attribution
> Source: self-written, plan `autosearch-0418-channels-and-skills.md` § F002c.

---
name: github
description: Use for code-level, issue-level, and repository discovery when query involves a library, framework, or implementation detail.
version: 1
languages: [en]
methods:
  - id: search_public_repos
    impl: methods/search_public_repos.py
    requires: []
    rate_limit: {per_min: 10, per_hour: 60}
fallback_chain: [search_public_repos]
when_to_use:
  query_languages: [en, mixed]
  query_types: [code, library, implementation, debugging, tooling]
  avoid_for: [news, product-review, people]
quality_hint:
  typical_yield: high
  chinese_native: false
layer: leaf
domains: [code-package]
scenarios: [repo-search, code-reference, issue-research]
model_tier: Fast
experience_digest: experience.md
---

## Overview

GitHub is the primary channel for repository discovery, issue triage, and code search across open source software. It is the right surface when the user is asking how something is implemented, which repo is authoritative, or whether a bug already exists upstream.

For autosearch, this channel anchors developer intent to concrete artifacts instead of commentary. It matters because many technical queries are better answered by repositories, issue threads, and source snippets than by generic web summaries.

## When to Choose It

- Choose it when the query names a package, framework, SDK, CLI, or implementation pattern.
- Choose it for debugging signals such as open issues, regressions, workarounds, or maintainer discussion.
- Choose it when repository health, stars, forks, recent activity, and code examples are relevant.
- Prefer it over forum channels when the user wants source-of-truth implementation detail.
- Avoid it for general news, consumer reviews, or person-focused lookups.

## How To Search (Planned)

- `search_repositories` - Call the GitHub Search Repositories API with keyword and language qualifiers, then rank likely primary repos by relevance and activity.
- `search_issues` - Call the GitHub Search Issues API to find bug reports, feature requests, and maintainer responses tied to the query.
- `search_code` - Call the GitHub Search Code API for symbol names, config fragments, or error strings when implementation detail matters more than repo discovery.
- `search_code` - Normalize output around repository, path, snippet context, and canonical GitHub URLs for downstream evidence ranking.

## Known Quirks

- The richer search methods still require `GITHUB_TOKEN`; `search_public_repos` is the anonymous fallback when no token is present.
- `search_public_repos` is capped at roughly 10 requests/minute per IP anonymously, compared with about 30 requests/minute when a token is available.
- Code search is usually the tightest rate-limited method, so it belongs later in the fallback chain.
- Repository popularity can overwhelm niche but relevant results if ranking is not intent-aware.
- Issue search returns mixed issue and PR style records, so later impls should normalize thread type carefully.

# Quality Bar

- Evidence items have non-empty title and url.
- No crash on empty or malformed API response.
- Source channel field matches the channel name.

Files in this skill

  • SKILL.md3.2 KB
  • experience.md219 B
  • methods/search_public_repos.py3.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.