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):
- Call
recall_tool_runs to get the prior run's requestId. Do not
fabricate one — if no run is recalled, skip feedback.
- 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.
Source: drhalto/agentmako — distributed by TomeVault.
1---2name: drhalto-agentmako-agentmako3description: Mako Neighborhoods4---56# Mako Neighborhoods78Use this skill when the user needs the surrounding context for one known table,9route, or RPC. Neighborhood tools are bounded composed bundles; they are usually10better than manually chaining primitives for common entity-centered questions.1112## Tools1314### `table_neighborhood`1516Use for table-centered questions.1718- Includes schema, RLS, readers, writers, routes, and RPC context.19- Best for "what touches this table?", "is this table protected?", and20 "what code reads/writes this table?"21- Pair with `preflight_table` before implementation when the user needs a more22 edit-oriented table preflight.2324### `route_context`2526Use for route-centered questions.2728- Includes handler, imports, database touchpoints, RPCs, and nearby policy29 context.30- Best for "what does this route do?", "what data does this endpoint touch?",31 and "what is downstream of this route?"32- Pair with `auth_path` for auth-boundary-specific questions.3334### `rpc_neighborhood`3536Use for RPC-centered questions.3738- Includes callers, touched tables, RLS context, and nearby implementation39 evidence.40- Best for "who calls this RPC?", "what tables does this function touch?", and41 "what policies matter for this RPC?"42- Pair with `trace_rpc` when the user needs a narrower evidence trace.4344## Feedback Logging4546Log `agent_feedback` when a neighborhood bundle here was notably useful,47partial, noisy, stale, wrong, or wasted the turn. Skip routine calls.4849Required procedure (see `/mako-ai:mako-guide` for full rules and50reason-code vocabulary):51521. Call `recall_tool_runs` to get the prior run's `requestId`. Do not53 fabricate one — if no run is recalled, skip feedback.542. Call `agent_feedback` with `referencedToolName`,55 `referencedRequestId`, `grade: "full" | "partial" | "no"`,56 `reasonCodes` from the starter vocabulary in `/mako-ai:mako-guide`,57 and a short `reason`.5859## See Also6061- Use `/mako-ai:mako-trace` for narrower route/table/RPC evidence traces.62- Use `/mako-ai:mako-graph` for paths between entities or blast radius.63- Use `/mako-ai:mako-database` for direct live DB schema/RLS/RPC inspection.6465---66> Source: [drhalto/agentmako](https://github.com/drhalto/agentmako) — distributed by [TomeVault](https://tomevault.io).67<!-- tomevault:4.0:skill_md:2026-06-23 -->