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 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`.
$ npx -y skills add drhalto/agentmako --skill mako-database --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/mako-databaseContext preview
The summary Claude sees to decide when to auto-load this skill.
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`.
description: >- 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`. when_to_use: >- Use for focused live database introspection when the question is about schema, policies, relationships, or stored procedures rather than app-code usage. allowed-tools: "mcp__mako-ai__*"
Use this skill for direct database introspection. These tools require the project to have a live DB binding configured. If the user asks how app code uses database objects, use trace or neighborhood tools instead.
Use to verify database connectivity and project wiring.
connected.
Use to inspect columns and primary-key details for one or more tables.
shape matter.
Use to inspect foreign keys and relationships.
Use to inspect row-level security status and policies.
Use to inspect database RPC/function definitions, signatures, args, return shape, language, and security.
Use to inspect the full table shape, including columns, indexes, constraints, foreign keys, RLS, and triggers.
Log `agent_feedback` when a DB introspection 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:mako-guide`, and a short `reason`.
with app-code usage.
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 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…
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`,…