mako-discovery

mako-discovery is a skill for Claude Code from drhalto/agentmako. It costs 88 tokens per session (1,468 once invoked), scanned A, original, Apache-2.0.

A Mako guide for tracing known routes, files, database objects, RPCs, and errors through the evidence that connects them. An RPC is a callable operation exposed by a service or database.

In plain words
What is it for?
Use it to trace API routes, schema objects, files, tables, RPCs, authentication paths, and error strings before investigating or editing them.
Why use it?
It helps explain what implements a specific target, what depends on it, and which project evidence supports the answer. This makes focused debugging and change assessment less speculative.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the mako-ai plugin — 8 skills, 1 MCP server shipped together

Good fit Use it to trace API routes, schema objects, files, tables, RPCs, authentication paths, and error strings before investigating or editing them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/drhalto/agentmako/mako-discovery
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add drhalto/agentmako --skill mako-discovery
Clone the repo
git clone --depth 1 https://github.com/drhalto/agentmako

Made for: Claude Code.

Or install mako-ai, the plugin that ships this one along with the rest of its 8 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mako-discovery

README.md
[![agentmods](https://agentmods.dev/badge/skills/drhalto/agentmako/mako-discovery/github.svg)](https://agentmods.dev/skills/drhalto/agentmako/mako-discovery)
Your own site
<a href="https://agentmods.dev/skills/drhalto/agentmako/mako-discovery"><img src="https://agentmods.dev/badge/skills/drhalto/agentmako/mako-discovery/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mako-discovery

Your own site · 80×15
<a href="https://agentmods.dev/skills/drhalto/agentmako/mako-discovery"><img src="https://agentmods.dev/badge/skills/drhalto/agentmako/mako-discovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,468 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.01468
Opus 5.5 $0.00035 $0.00587
Sonnet 5.5 $0.00018 $0.00294
Haiku 4.5 $0.00009 $0.00147

Measured 3mo ago against content hash 1923d948cd68, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mako-discovery scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

mako-ai-claude-plugin/skills/mako-discovery/SKILL.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mako Discovery

Use this skill for orientation and broad discovery. Prefer it when the user has not yet named a precise file, route, table, RPC, or symbol. Default to reef_ask; load specialist tools only when Reef or tool_search identifies a concrete need.

Tools

tool_search

Use when the task intent is clear but the exact Mako tool name or schema is unknown.

  • Use it to find the right Mako tool and load its live schema.
  • Do not use it as the final answer when a domain tool should be called next.
  • Pair it with the other skills when a result points to a trace, graph, database, or workflow tool.

mako_help

Use when you know the task but not the Mako workflow order.

  • Returns a task-specific recipe such as auth-flow audit, DB/RLS audit, pre-edit file gate, review/verification, diagnostics triage, or general orientation.
  • Each step includes toolName, suggestedArgs, whenToUse, readOnly, and batchable.
  • Use the returned batchHint to batch independent read-only follow-ups after the first orientation call.

reef_ask

Use for the primary answer loop over codebase, database, findings, diagnostics, instructions, freshness, and quoted literal checks.

  • Use for open-ended repo questions, planning questions, debugging questions, where-used questions, database inventory questions, and known-finding questions.
  • Pass focus or changedFiles when known.
  • Read evidence, risks, freshness, missingEvidence, and nextQueries before choosing any follow-up.
  • Use evidenceMode: "full" only when compact evidence is insufficient.

Reef Loop Tools

Use these direct Reef adapters for the normal agent loop after reef_ask.

  • reef_status: maintained issues, changed files, stale diagnostics, schema, watcher state, and queue health.
  • reef_verify: completion gate for diagnostic freshness and unresolved open loops; read it before claiming work is verified.
  • reef_impact: changed-file impact over downstream callers, invalidated findings, and convention risks.

Read the full file on GitHub · 161 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 161 lines · 88 tokens per session scan A 1923d948cd68

Subscribe to this mod's changes

mako-discovery is a skill published in the GitHub repository drhalto/agentmako (54 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 88 tokens to every session and 1,468 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

mako-discovery compared with skills from other repositories

mako-discovery next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mako-discoverydrhalto/agentmakoSkill544mo agoApache-2.0A88Claude Code
ctxo-safe-editalperhankendi/CtxoSkill744d agoMITA28Claude Code, Codex
systematic-debuggingjnMetaCode/superpowers-zhSkill8.7k3d agoMITA24Claude Code
systemic-issue-triageGentleman-Programming/gentle-aiSkill9.8ktodayMITA57Claude Code, Codex
issue-root-resolutionGentleman-Programming/gentle-aiSkill9.8ktodayMITA45Claude Code, Codex
rdd-defect-workflowGentleman-Programming/gentle-aiSkill9.8ktodayMITA38Claude Code, Codex
diagnosing-superpowersjnMetaCode/superpowers-zhSkill8.7k3d agoMITA111Claude Code