/mako-neighborhoods
TRIGGER when: user wants entity-wide context for a table, route, or RPC -- schema + RLS + readers + writers + downstream touches all at once. Covers `table_neighborhood`, `route_context`, `rpc_neighborhood`.
$ npx -y skills add drhalto/agentmako --skill mako-neighborhoods --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/mako-neighborhoods
Context preview
The summary Claude sees to decide when to auto-load this skill.
TRIGGER when: user wants entity-wide context for a table, route, or RPC -- schema + RLS + readers + writers + downstream touches all at once. Covers `table_neighborhood`, `route_context`, `rpc_neighborhood`.
SKILL.md
mako-neighborhoods.SKILL.mddescription: >-
TRIGGER when: user wants entity-wide context for a table, route, or RPC --
schema + RLS + readers + writers + downstream touches all at once. Covers
`table_neighborhood`, `route_context`, `rpc_neighborhood`.
when_to_use: >-
Use when a single table, route, or RPC is the center of the investigation and
one composed context bundle is better than several primitive calls.
allowed-tools: "mcp__mako-ai__*"
Mako Neighborhoods
Use this skill when the user needs the surrounding context for one known table, route, or RPC. Neighborhood tools are bounded composed bundles; they are usually better than manually chaining primitives for common entity-centered questions.
Tools
`table_neighborhood`
Use for table-centered questions.
- Includes schema, RLS, readers, writers, routes, and RPC context.
- Best for "what touches this table?", "is this table protected?", and
"what code reads/writes this table?"
- Pair with `preflight_table` before implementation when the user needs a more
edit-oriented table preflight.
`route_context`
Use for route-centered questions.
- Includes handler, imports, database touchpoints, RPCs, and nearby policy
context.
- Best for "what does this route do?", "what data does this endpoint touch?",
and "what is downstream of this route?"
- Pair with `auth_path` for auth-boundary-specific questions.
`rpc_neighborhood`
Use for RPC-centered questions.
- Includes callers, touched tables, RLS context, and nearby implementation
evidence.
- Best for "who calls this RPC?", "what tables does this function touch?", and
"what policies matter for this RPC?"
- Pair with `trace_rpc` when the user needs a narrower evidence trace.
Feedback Logging
Log `agent_feedback` when a neighborhood bundle 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-trace` for narrower route/table/RPC evidence traces.
- Use `/mako-ai:mako-graph` for paths between entities or blast radius.
- Use `/mako-ai:mako-database` for direct live DB schema/RLS/RPC inspection.
Read more
description: >- TRIGGER when: user wants entity-wide context for a table, route, or RPC -- schema + RLS + readers + writers + downstream touches all at once. Covers `table_neighborhood`, `route_context`, `rpc_neighborhood`. when_to_use: >- Use when a single table, route, or RPC is the center of the investigation and one composed context bundle is better than several primitive calls. allowed-tools: "mcp__mako-ai__*"
Mako Neighborhoods
Use this skill when the user needs the surrounding context for one known table, route, or RPC. Neighborhood tools are bounded composed bundles; they are usually better than manually chaining primitives for common entity-centered questions.
Tools
`table_neighborhood`
Use for table-centered questions.
- Includes schema, RLS, readers, writers, routes, and RPC context.
- Best for "what touches this table?", "is this table protected?", and
"what code reads/writes this table?"
- Pair with `preflight_table` before implementation when the user needs a more
edit-oriented table preflight.
`route_context`
Use for route-centered questions.
- Includes handler, imports, database touchpoints, RPCs, and nearby policy
context.
- Best for "what does this route do?", "what data does this endpoint touch?",
and "what is downstream of this route?"
- Pair with `auth_path` for auth-boundary-specific questions.
`rpc_neighborhood`
Use for RPC-centered questions.
- Includes callers, touched tables, RLS context, and nearby implementation
evidence.
- Best for "who calls this RPC?", "what tables does this function touch?", and
"what policies matter for this RPC?"
- Pair with `trace_rpc` when the user needs a narrower evidence trace.
Feedback Logging
Log `agent_feedback` when a neighborhood bundle 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-trace` for narrower route/table/RPC evidence traces.
- Use `/mako-ai:mako-graph` for paths between entities or blast radius.
- Use `/mako-ai:mako-database` for direct live DB schema/RLS/RPC inspection.
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
Other skills on agentmako.
- /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. Covers `ast_find_pattern`, `lint_files`, `extract_rule_template`.
Open skill - /mako-database
TRIGGER when: user asks about database schema, RLS policies, foreign keys, stored procedures, or table DDL directly. Covers `db_ping`, `db_columns`, `db_fk`, `db_rls`, `db_rpc`, `db_table_schema`.
Open skill - /mako-discovery
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`,
Open skill - /mako-graph
TRIGGER when: user asks about relationships, dependency paths, import hotspots or cycles, symbol impact, or blast radius of a proposed change. Covers `graph_neighbors`, `graph_path`, `flow_map`, `change_plan`, `imports_deps`, `imports_impact`, `imports_hotspots`,
Open skill - /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 organized and carries the policy for logging `agent_feedback` vs acknowledging static findings with `finding_ack`.
Open 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`.
Open skill

