find-crate-source

Locate and retrieve Rust crate source code using the cargo agents tool.

2|1|Updated Apr 27, 2026
One-click install
npx skills add https://github.com/nikomatsakis/sage-dev --skill find-crate-source
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: find-crate-source
Source: https://github.com/nikomatsakis/sage-dev/tree/main/.agents/skills/find-crate-source
Command: npx skills add https://github.com/nikomatsakis/sage-dev --skill find-crate-source

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manually finding the source code for a Rust crate can be time-consuming. This Skill automates the process to save developers time and streamline their workflow.

Core Features & Use Cases

  • Source Location: Retrieve the source path for any Rust crate directly.
  • Version Specificity: Fetch the source for a specific version of a crate.
  • CLI Integration: Utilizes the cargo agents CLI for efficiency.

Quick Start

Find the source of the 'tokio' crate by using the find-crate-source skill and running 'get source for tokio'.

Frequently Asked Questions about find-crate-source

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

FAQPage Schema
How do I find the source code for a Rust crate dependency?

To find Rust crate source code, you can automate source location and retrieval using the cargo agents CLI tool to fetch the exact local path for any dependency.

Can I retrieve the source code for a specific version of a Rust crate?

Yes, you can retrieve source code for a specific version of a Rust crate by specifying the version during the cargo agents retrieval process to ensure accuracy.

What do I need to locate Rust crate sources using this automation?

Locating Rust crate sources requires the cargo command-line tool installed and network access to crates.io to download and resolve dependency paths.

How does automating Rust crate source retrieval improve development workflow?

Automating Rust crate source retrieval improves workflow by eliminating manual searching, saving developers time when they need to quickly access dependency code.

What is the best way to get the local source path for a crate like tokio?

The best way to get the local source path for a crate like tokio is using the cargo agents CLI, which directly outputs the file system location of the dependency.