miru

Look up library/package documentation using the miru CLI. Use this skill whenever you need to find a package's README content, documentation URL, repository URL, registry URL, or homepage URL. Triggers on: looking up package docs, checking library README, finding repository URL, getting package info, researching a library. Also use when the user mentions miru, asks about a package's documentation source, or needs to quickly understand what a library does by reading its README.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "miru" with this command: npx skills add ka2n/miru/ka2n-miru-miru

miru - Package Documentation Lookup

miru is a CLI tool that fetches package documentation, README content, and related URLs (repository, registry, homepage, docs) from multiple language registries.

Supported Languages

LanguageAliasesRegistry
Gogo, golangpkg.go.dev
JavaScript/TypeScriptnpm, js, ts, typescript, node, nodejsnpmjs.com
Rustrust, rs, cratescrates.io
Rubyruby, rb, gemrubygems.org
Pythonpython, py, pip, pypipypi.org
PHPphp, composer, packagistpackagist.org
Deno/JSRjsrjsr.io
(fallback)github.com, gitlab.com

Usage Patterns

Get README content (markdown)

Pipe miru output to get the README rendered as markdown. When stdout is not a terminal, miru outputs the README text directly.

miru [package]              # Auto-detect language from package path
miru [lang] [package]       # Specify language explicitly
miru [package] --lang [lang]  # Specify language with flag

Examples:

miru github.com/spf13/cobra     # Go package (auto-detected from path)
miru npm express                 # npm package
miru python requests             # Python package
miru rust serde                  # Rust crate
miru ruby rails                  # Ruby gem
miru php laravel/framework       # PHP package

Get package metadata as JSON

Use -o json to get structured metadata including all related URLs:

miru [package] -o json

The JSON output contains:

  • type: Registry type (e.g., "npmjs.com", "pkg.go.dev")
  • url: Primary documentation URL
  • homepage: Package homepage URL (if available)
  • repository: Source code repository URL (if available)
  • registry: Package registry page URL (if available)
  • document: Documentation page URL (if available)
  • urls: Array of all discovered URLs with their types

Example output:

{
  "type": "npmjs.com",
  "url": "https://www.npmjs.com/package/express",
  "homepage": "https://expressjs.com/",
  "repository": "https://github.com/expressjs/express",
  "registry": "https://www.npmjs.com/package/express",
  "urls": [
    {"Type": "npmjs.com", "URL": "https://www.npmjs.com/package/express"},
    {"Type": "homepage", "URL": "https://expressjs.com/"},
    {"Type": "github.com", "URL": "https://github.com/expressjs/express"}
  ]
}

Open documentation in browser

miru [package] -b                # Open default documentation page
miru [package] -b=registry       # Open registry page (alias: r)
miru [package] -b=repository     # Open repository page (alias: g)
miru [package] -b=homepage       # Open homepage (alias: h)

How to Use This Skill

  1. To understand what a library does: Run miru [lang] [package] to read the README content in markdown.
  2. To get URLs for a package: Run miru [package] -o json and parse the JSON to extract the specific URL you need.
  3. To find the source code: Look at the repository field from the JSON output.
  4. To find official docs: Look at the document or homepage field from the JSON output.

When the user asks about a library and you need to quickly understand it, use miru to fetch the README — it's faster than cloning the repo or fetching web pages manually.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

CodeAlive Context Engine

Semantic code search and AI-powered codebase Q&A across indexed repositories. Use when understanding code beyond local files, exploring dependencies, discove...

Registry SourceRecently Updated
Coding

Wip Release

One-command release pipeline. Bumps version, updates changelog + SKILL.md, publishes to npm + GitHub.

Registry SourceRecently Updated
Coding

Wip File Guard

Hook that blocks destructive edits to protected identity files. For Claude Code CLI and OpenClaw.

Registry SourceRecently Updated
Coding

Filed — US Business Entity Search

Search and retrieve US business entity data (LLCs, corporations, partnerships) from official Secretary of State records via the Filed.dev API. Use when looki...

Registry SourceRecently Updated