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`,…
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`.
$ npx -y skills add drhalto/agentmako --skill mako-code-intel --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/mako-code-intelContext preview
The summary Claude sees to decide when to auto-load this skill.
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`.
description: >- 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`. when_to_use: >- Use when text search is too weak for a syntax pattern, when the user wants focused diagnostics/static findings for known files, or after fixing a bug shape that should become project knowledge. allowed-tools: "mcp__mako-ai__*"
Use this skill for static code queries that are best answered by syntax-aware search or diagnostics. It is not the general repo-orientation skill; use `repo_map` through `/mako-ai:mako-discovery` for that.
Use for structural code pattern search over indexed TypeScript, TSX, JavaScript, and JSX files.
imports, conditionals, or unsafe constructs.
context, so callers usually do not need to wrap lone object or JSX patterns. Check `patternAttempts` and match `patternVariant` when you need to know whether the original or auto-anchored form matched.
from `/mako-ai:mako-workflow` with the returned `ackableFingerprint`.
Use for focused lint/static diagnostics against selected files.
broad diagnostics are actually needed.
helper `symbol` and optional `path`; matching files that already reference the helper are suppressed, while bypasses emit producer/consumer context.
diagnostics.
Use after a fix lands and the removed shape should become future project knowledge.
`ruleIdPrefix`.
before placing it under `.mako/rules`.
on the new rule.
Log `agent_feedback` when a tool run 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`.
For individual false-positive or reviewed-accepted static findings from `ast_find_pattern` or `lint_files`, use `finding_ack` with the returned `ackableFingerprint` (ast) or `identity.matchBasedId` (lint) — never `agent_feedback` to suppress static findings. Rate the tool run's usefulness with `agent_feedback`; mark individual findings with `finding_ack`. See `/mako-ai:mako-workflow` for `finding_ack` usage.
search.
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 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…
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`,…