source-finder

Locate Python package source repositories by analyzing PyPI metadata and project URLs.

36|76|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/opendatahub-io/ai-helpers --skill source-finder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: source-finder
Source: https://github.com/opendatahub-io/ai-helpers/tree/main/claude-plugins/python-packaging/skills/source-finder
Command: npx skills add https://github.com/opendatahub-io/ai-helpers --skill source-finder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Finding the authoritative source code repository for a Python package can be tricky, especially with multiple links or outdated information. This Skill automates the search, providing a direct link with a confidence score, saving you manual searching time.

Core Features & Use Cases

  • PyPI Metadata Analysis: Automatically queries PyPI to extract project URLs and homepage links, prioritizing known repository keys like "Source" or "Repository".
  • Repository URL Validation: Intelligently identifies common code hosting platforms (GitHub, GitLab, Bitbucket) within URLs to confirm repository authenticity.
  • Confidence Scoring: Assigns a high, medium, or low confidence level to the found URL based on the reliability of the metadata source.
  • Fallback Mechanism: If PyPI metadata is insufficient, it suggests using web search for broader discovery, ensuring you always have a path forward.
  • Use Case: You need to contribute to an open-source Python library or inspect its code. Instead of manually searching, you can ask Claude, "Find the source code repository for the 'requests' package."

Quick Start

Find the source code repository for the 'pandas' Python package.

Frequently Asked Questions about source-finder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the source code repository for a Python package?

This Skill locates source repositories for Python packages by analyzing PyPI metadata and project URLs, prioritizing GitHub, GitLab, Bitbucket, and Codeberg. It returns the repository URL with a confidence score based on metadata reliability, eliminating manual searching.

Can I identify which repository host a Python package uses?

Yes. The Skill intelligently identifies common code hosting platforms within package URLs and confirms repository authenticity. It prioritizes known repository keys from PyPI metadata to determine the authoritative source.

What does a confidence score mean when finding a package repository?

The Skill assigns high, medium, or low confidence levels based on how reliable the metadata source is. High confidence indicates the repository URL came from authoritative PyPI fields; lower scores reflect fallback discovery methods or ambiguous metadata.

How does PyPI metadata help locate package source code?

PyPI metadata contains project URLs, homepage links, and repository keys that the Skill automatically queries and extracts. It prioritizes structured fields like 'Source' or 'Repository' to find authoritative links quickly.

What happens if PyPI metadata doesn't contain the repository URL?

The Skill includes a fallback mechanism that suggests using web search for broader discovery when PyPI metadata is insufficient, ensuring you always have a path forward to find the source code.

Does this work with packages from GitHub, GitLab, and other platforms?

Yes. The Skill supports multiple repository hosts including GitHub, GitLab, Bitbucket, and Codeberg. It intelligently identifies which platform hosts each package's source code and returns deterministic, structured results.