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.…
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 policy for logging `agent_feedback` vs acknowledging static findings with `finding_ack`.
$ npx -y skills add drhalto/agentmako --skill mako-guide --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/mako-guideContext preview
The summary Claude sees to decide when to auto-load this skill.
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 policy for logging `agent_feedback` vs acknowledging static findings with `finding_ack`.
description: >- 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 policy for logging `agent_feedback` vs acknowledging static findings with `finding_ack`. when_to_use: >- Use when starting a Mako-backed investigation, deciding which Mako skill to invoke, deciding whether to log tool feedback, or deciding whether a static finding should be acknowledged. allowed-tools: "mcp__mako-ai__*"
Mako is a project-intelligence MCP server. Use it when the user asks structural, cross-surface, or evidence-backed engineering questions that are better answered from indexed code, schemas, routes, graph edges, prior sessions, or telemetry than from ad hoc file reads.
Do not use this skill as a schema reference. For current tool schemas, use MCP ToolSearch or the live tool definition loaded by Claude Code.
"which tool should I use?" questions.
auth, or error tracing.
bundles.
symbol impact, flow mapping, and change planning.
RPC introspection.
lint diagnostics.
telemetry inspection, feedback, and finding acknowledgements.
are generated from the actual returned result and may override the generic workflow expectation.
findings, diagnostics, instructions, freshness, and quoted literal checks.
of reading docs or guessing which specialist tool to load.
tools as specialist follow-ups after `reef_ask`, `mako_help`, or `tool_search` points at a concrete need.
not literal text.
you have a route, table, RPC, file, or symbol.
telemetry events.
Log `agent_feedback` selectively when a Mako result is notably useful, partially useful, noisy, stale, incomplete, wrong, or wasted the turn. Do not emit routine feedback after every tool call.
Before calling `agent_feedback`:
1. Call `recall_tool_runs`. 2. Filter by `toolName` and a recent ISO time window when possible. 3. Use a small `limit` first. 4. Copy the recalled `requestId` into `referencedRequestId`. 5. Set `referencedToolName` to the tool being rated. 6. Use `grade: "full" | "partial" | "no"`. 7. Include concise `reasonCodes` and a short human-readable `reason`.
If no `requestId` is available, do not fabricate one. Refine `recall_tool_runs` or skip feedback.
Use these starter reason codes exactly when they fit:
`trust_matches`
`missing_known_caller`, `top_not_useful`
`schema_missing`
The reason-code vocabulary is guidance, not a hard enum. New snake_case codes are acceptable when none of the starter codes fit.
Use `finding_ack` for reviewed static findings, not for tool usefulness.
reviewed, accepted-risk, false-positive, or otherwise handled.
Use `agent_feedback_report` and `runtime_telemetry_report` for inspection:
Do not use telemetry reports as an automatic ranking system for tool selection unless Mako explicitly implements that behavior.
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…
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`,…