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 diff into a rule-pack draft.…
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`.
$ npx -y skills add drhalto/agentmako --skill mako-trace --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/mako-traceContext preview
The summary Claude sees to decide when to auto-load this skill.
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`.
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__*"
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.
Use to find the route handler, nearby files, and evidence for a route/API behavior.
Use to find where an indexed schema object, table shape, or validation type is defined and referenced.
Use to understand a file's role, dependents, risks, and likely blast radius.
Use to inspect likely authentication or authorization boundaries for a route, file, feature, or flow.
risk is tenant or data-boundary related.
`matched: false`, `reason`, and a suggested `cross_search` fallback instead of throwing a batch-breaking error.
Use for a compact file trace: symbols, imports, routes, schema touches, and notable relationships before editing.
Use before changing database-backed behavior to inspect table usage, RLS, relations, and common query paths.
Use to gather evidence for a relationship between two entities, files, routes, tables, symbols, or RPCs.
Use to investigate an error string, stack, or failure mode and produce likely causes with evidence.
Use to trace a table through schema, code references, routes, and related RPCs.
Use to trace a database RPC/function through schema and app-code callers.
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`.
bundled context.
or change planning.
verification bundle, or pre-ship artifact after tracing.
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.
Repo: drhalto/agentmako
TRIGGER when: user wants structural code pattern search (ast-grep) or static lint against selected files, or wants to turn a fix diff into a rule-pack draft.…
TRIGGER when: user asks about database schema, RLS policies, foreign keys, stored procedures, or table DDL directly. Covers `db_ping`, `db_columns`, `db_fk`,…
TRIGGER when: user is working in an unfamiliar repo, asks 'where is X', 'what touches Y', needs broad search across code/schema/routes, or is unsure which mako…
TRIGGER when: user asks about relationships, dependency paths, import hotspots or cycles, symbol impact, or blast radius of a proposed change. Covers…
Start here when working in a project with the mako-ai MCP server configured. Entry point that explains how mako's tool skills are organized and carries the…
TRIGGER when: user wants entity-wide context for a table, route, or RPC -- schema + RLS + readers + writers + downstream touches all at once. Covers…