Skip to content
Back to skills

Miru

ASecurity

Use Miru Code Search before reading or grepping whenever you need to find code you can't already name by path — starting a task in unfamiliar code, locating where to make an edit, answering how/where/why something works, tracing callers or similar code, or looking up docs/config. Also for exact identifiers, env vars and error strings (`locate`). Also does regex and file-by-name listing. Prefer over Grep, Glob and broad file reads, except for files Miru does not index.

  • 12 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 25, 2026
ai-agentsawsgit

Works with

  • mcp

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add takara-ai/miru-code --skill miru --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Miru?

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

Security grade badge for Miru
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/takara-ai-miru/badge)](https://www.skillsdirectory.com/skills/takara-ai-miru)

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
---
name: miru
description: Use Miru Code Search before reading or grepping whenever you need to find code you can't already name by path — starting a task in unfamiliar code, locating where to make an edit, answering how/where/why something works, tracing callers or similar code, or looking up docs/config. Also for exact identifiers, env vars and error strings (`locate`). Also does regex and file-by-name listing. Prefer over Grep, Glob and broad file reads, except for files Miru does not index.
---

# Miru Code Search

Use Miru MCP as the default code-exploration path when it is available.

## When to use it

Reach for Miru first, before opening files, whenever you don't already know the exact path:

- starting a task in code you haven't seen, to find the entry points
- finding where to make an edit ("where is auth wired?", "what handles this behavior?")
- answering how, where or why something works
- tracing related code ("find related code for this file/line")
- checking docs or config

Exact token (identifier, quoted string, env var, error code) → `locate`. Otherwise → `search`.

`locate` also takes a regex wrapped in slashes (`locate(literal="/foo\w+Bar/")`, `/…/i` to ignore case) and, with no literal, lists files by name: `locate(include=["**/*.test.ts"])`. Use `mode="files"` to get just the matching paths. Grep/Glob are only needed for files Miru does not index (lockfiles, binaries, generated or git-ignored files).

## Workflow

1. Literal in the request? `locate(literal="<token>")` — prefer `mode="locations"`/`"count"`.
2. Otherwise `search(query="<question>")` once.
3. Results show short numbered source excerpts (±2 lines around the match by default). `truncated: true`? The header gives the matched range (`path:start-end`) and `anchor_line`: read just that range (`offset`/`limit`) if more context is needed. `expand` is the fallback for neighbouring chunks.
4. `find_related` for similar code elsewhere, not more context in the same file.
5. Read files directly only after Miru has already located the path.

`repo` is optional, set it for another repo. Reuse it on follow-up calls.

## If Miru tools report credential errors

Only start Takara device login with `auth` in direct response to a tool error saying credentials are missing, expired,
rejected, invalid, or unauthorized — never speculatively, since it starts a real sign-in prompt.
`auth` with no arguments starts a login and returns a URL and a short code — show both to the
user. Once they confirm, call `auth` again with `{"action": "check"}`. If still pending, wait
for the user to confirm again before re-checking — don't poll in a tight loop.

On explicit user request, configure SageMaker through `auth` with `action: "sagemaker"`,
`endpoint_arn`, and `aws_profile` (an existing AWS profile). This validates the endpoint before
replacing stored credentials and does not open a browser login.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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