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 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 tool fits the task. Covers `reef_ask`, `reef_status`, `reef_verify`, `reef_impact`, `mako_help`, `tool_search`,
$ npx -y skills add drhalto/agentmako --skill mako-discovery --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/mako-discoveryContext preview
The summary Claude sees to decide when to auto-load this skill.
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 tool fits the task. Covers `reef_ask`, `reef_status`, `reef_verify`, `reef_impact`, `mako_help`, `tool_search`,
description: >- 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 tool fits the task. Covers `reef_ask`, `reef_status`, `reef_verify`, `reef_impact`, `mako_help`, `tool_search`, `context_packet`, `live_text_search`, `lint_files`, and `tool_batch`. when_to_use: >- Use before targeted tracing when the implementation location, entity type, or best Mako tool is not yet clear. allowed-tools: "mcp__mako-ai__*"
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.
Use when the task intent is clear but the exact Mako tool name or schema is unknown.
database, or workflow tool.
Use when you know the task but not the Mako workflow order.
pre-edit file gate, review/verification, diagnostics triage, or general orientation.
`batchable`.
the first orientation call.
Use for the primary answer loop over codebase, database, findings, diagnostics, instructions, freshness, and quoted literal checks.
where-used questions, database inventory questions, and known-finding questions.
before choosing any follow-up.
Use these direct Reef adapters for the normal agent loop after `reef_ask`.
watcher state, and queue health.
loops; read it before claiming work is verified.
findings, and convention risks.
Use when `reef_ask` needs raw ranked context expansion before reading or editing.
implementation work, `"implement"` before editing code, and `"review"` for verification or change review.
emphasized.
`expandableTools` before choosing the next call.
Use when exact current disk text matters more than indexed/project knowledge.
inventories.
Use `tool_search` for specialist tools such as `repo_map`, `cross_search`, `ast_find_pattern`, `reef_scout`, route/table/RPC neighborhoods, graph tools, DB inspection, or finding/ack workflows.
already known.
Use to learn project-specific habits before changing risky surfaces.
project profile, indexed auth-like symbols, routes, generated files, schema usage, and rules.
`route_pattern`, and `schema_pattern`.
local conventions are unclear.
Use before editing a known risky file.
runs, watcher diagnostic state, applicable conventions, and finding acknowledgement history in one packet.
file-scoped checks, only project-wide runs or runs whose `requestedFiles` include the file count as covering it.
`project_conventions`, and ack-history calls when the question is "what should I know before changing this file?"
evidence.
Use mid-edit or before review when changed files may affect callers.
need re-checking, and applicable convention risks.
missing, call `working_tree_overlay` or wait for the watcher first.
calculation.
Log `agent_feedback` when a result 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:mak
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 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…
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`,…