Skip to content
Development
Skill

/mako-trace

TRIGGER when: user asks to trace a specific route, schema object, file, table, RPC, or error string through its evidence. Covers `route_trace`, `schema_usage`, `file_health`, `auth_path`, `trace_file`, `preflight_table`, `trace_edge`, `trace_error`, `trace_table`, `trace_rpc`.

From plugin
agentmako
548 skills1 MCP

Claude Code

$ npx -y skills add drhalto/agentmako --skill mako-trace --agent claude-code

SKILL.md

mako-trace.SKILL.md
description: >-
  TRIGGER when: user asks to trace a specific route, schema object, file, table,
  RPC, or error string through its evidence. Covers `route_trace`,
  `schema_usage`, `file_health`, `auth_path`, `trace_file`, `preflight_table`,
  `trace_edge`, `trace_error`, `trace_table`, `trace_rpc`.
when_to_use: >-
  Use after discovery has identified a concrete entity or when the user already
  provided a route, file, schema object, table, RPC, edge, auth surface, or
  error text.
allowed-tools: "mcp__mako-ai__*"

Mako Trace

Use this skill for focused evidence traces around a known target. The output should help the user understand what implements the target, what depends on it, and what evidence supports the answer.

Targeted Answer Tools

`route_trace`

Use to find the route handler, nearby files, and evidence for a route/API behavior.

  • Best when the user names a route, page, method/path pair, or route-like URL.
  • Pair with `auth_path` for authorization questions.
  • Pair with `route_context` when the user wants a wider route neighborhood.

`schema_usage`

Use to find where an indexed schema object, table shape, or validation type is defined and referenced.

  • Best for schema objects and type-ish entities.
  • Use before editing validation contracts or generated schema surfaces.
  • Pair with `trace_table` or `table_neighborhood` for database-backed entities.

`file_health`

Use to understand a file's role, dependents, risks, and likely blast radius.

  • Best before editing a central or unfamiliar file.
  • Pair with `imports_impact` for a deeper dependency view.
  • Do not use it for repo-wide orientation; use `repo_map`.

`auth_path`

Use to inspect likely authentication or authorization boundaries for a route, file, feature, or flow.

  • Best when the user asks what protects something or whether auth is enforced.
  • Pair with `route_trace`, `route_context`, and `tenant_leak_audit` when the

risk is tenant or data-boundary related.

  • If no exact route, file, or feature matches, `auth_path` returns

`matched: false`, `reason`, and a suggested `cross_search` fallback instead of throwing a batch-breaking error.

  • Do not overclaim; report evidence and uncertainty.

Composer Trace Tools

`trace_file`

Use for a compact file trace: symbols, imports, routes, schema touches, and notable relationships before editing.

`preflight_table`

Use before changing database-backed behavior to inspect table usage, RLS, relations, and common query paths.

`trace_edge`

Use to gather evidence for a relationship between two entities, files, routes, tables, symbols, or RPCs.

`trace_error`

Use to investigate an error string, stack, or failure mode and produce likely causes with evidence.

`trace_table`

Use to trace a table through schema, code references, routes, and related RPCs.

`trace_rpc`

Use to trace a database RPC/function through schema and app-code callers.

Feedback Logging

Log `agent_feedback` when a trace here was notably useful, partial, noisy, stale, wrong, or wasted the turn. Skip routine calls.

Required procedure (see `/mako-ai:mako-guide` for full rules and reason-code vocabulary):

1. Call `recall_tool_runs` to get the prior run's `requestId`. Do not fabricate one — if no run is recalled, skip feedback. 2. Call `agent_feedback` with `referencedToolName`, `referencedRequestId`, `grade: "full" | "partial" | "no"`, `reasonCodes` from the starter vocabulary in `/mako-ai:mako-guide`, and a short `reason`.

See Also

  • Use `/mako-ai:mako-neighborhoods` when a table, route, or RPC needs wider

bundled context.

  • Use `/mako-ai:mako-graph` when the question is dependency path, flow, impact,

or change planning.

  • Use `/mako-ai:mako-workflow` when the user wants a review bundle,

verification bundle, or pre-ship artifact after tracing.

Read more
@drhalto
Ships withagentmako

agentmako is a local-first codebase intelligence engine for AI coding tools. It gives agents like Codex, Claude Code, Cursor, and local harnesses a compact Reef-first tool surface for understanding a project before they edit it.

548 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
54
Star history of drhalto/agentmako on GitHub, a chart by star-history.com

Other skills on agentmako.

mako-code-intel

mako-code-intel

TRIGGER when: user wants structural code pattern search (ast-grep) or static lint against selected files, or wants to turn a fix…

@drhalto@drhaltoInstall Skill
mako-database

mako-database

TRIGGER when: user asks about database schema, RLS policies, foreign keys, stored procedures, or table DDL directly. Covers…

@drhalto@drhaltoInstall Skill
mako-discovery

mako-discovery

TRIGGER when: user is working in an unfamiliar repo, asks 'where is X', 'what touches Y', needs broad search across…

@drhalto@drhaltoInstall Skill
mako-graph

mako-graph

TRIGGER when: user asks about relationships, dependency paths, import hotspots or cycles, symbol impact, or blast radius of a…

@drhalto@drhaltoInstall Skill
mako-guide

mako-guide

Start here when working in a project with the mako-ai MCP server configured. Entry point that explains how mako's tool skills are…

@drhalto@drhaltoInstall Skill
mako-neighborhoods

mako-neighborhoods

TRIGGER when: user wants entity-wide context for a table, route, or RPC -- schema + RLS + readers + writers + downstream touches…

@drhalto@drhaltoInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about mako-trace.

Which coding agents can use mako-trace?
mako-trace installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.