quality-gate-local

quality-gate-local is a skill for Claude Code, Codex from pmikutel/directed-memory-bank. It costs 32 tokens per session (185 once invoked), scanned A, original, MIT.

A pre-commit checklist that runs the project's documented formatting, linting, type-checking, and test commands.

In plain words
What is it for?
Use it before committing changes or opening a pull request when the project has quality commands documented in its memory-bank files.
Why use it?
It helps catch quality problems before code is committed or shared in a pull request. It also reports the actual result of each check.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before committing changes or opening a pull request when the project has quality commands documented in its memory-bank files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pmikutel/directed-memory-bank/quality-gate-local
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pmikutel/directed-memory-bank --skill quality-gate-local
Clone the repo
git clone --depth 1 https://github.com/pmikutel/directed-memory-bank

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for quality-gate-local

README.md
[![agentmods](https://agentmods.dev/badge/skills/pmikutel/directed-memory-bank/quality-gate-local/github.svg)](https://agentmods.dev/skills/pmikutel/directed-memory-bank/quality-gate-local)
Your own site
<a href="https://agentmods.dev/skills/pmikutel/directed-memory-bank/quality-gate-local"><img src="https://agentmods.dev/badge/skills/pmikutel/directed-memory-bank/quality-gate-local/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for quality-gate-local

Your own site · 80×15
<a href="https://agentmods.dev/skills/pmikutel/directed-memory-bank/quality-gate-local"><img src="https://agentmods.dev/badge/skills/pmikutel/directed-memory-bank/quality-gate-local.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 185 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00185
Opus 5 $0.00016 $0.00093
Sonnet 5 $0.00006 $0.00037
Haiku 4.5 $0.00003 $0.00018

Measured 9d ago against content hash 55bd208c3379, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

quality-gate-local scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

template/integrations/claude/skills/quality-gate-local/SKILL.md · 19 lines

What it actually says

quality-gate-local

Routing skill for the local quality gate (format, lint, type, test). Loads the memory-bank files that document the project's quality commands.

Load:

  • memory-bank/technical/quality.md (if present)
  • memory-bank/technical/testing-strategy.md (if present)
  • memory-bank/technical/stack.md (for tool configuration)

Run the project's quality commands as documented in the loaded files. Report each step's exit status; do not claim "passes" without showing the output. Evidence before assertions.

No knowledge in this file — the listed files are the source. memory-bank/_index.md is the inventory if you need to discover what else exists.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 19 lines · 32 tokens per session scan A 55bd208c3379

Subscribe to this mod's changes

quality-gate-local is a skill published in the GitHub repository pmikutel/directed-memory-bank (5 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 185 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

verify-before-complete

Block completion claims until verification evidence has been produced in the current message. Use before marking a task/slice/milestone complete, before creating a commit or PR, before saying "it works" or "tests pass", and any time you are about to claim work is done. The rule is: evidence before claims, always …

open-gsd/gsd-pi · 92 tokens

11-browser-qa

Run post-review browser QA and produce short named videos for a locked happy path and sourced browser edge cases. Use when the user wants concise reviewer evidence for a web journey. Not for API, CLI, automated tests, diff review, or application fixes.

ai-driven-dev/framework · 55 tokens

08-three-amigos

Assesses an Epic or Story through one product, delivery, or quality lens, then reconciles three caller-supplied reports. Use when the user wants to refine one before a backlog change. Not for spawning or writing.

ai-driven-dev/framework · 50 tokens

05-review

Review a diff read-only on three axes, code, behavior versus the plan, and relevancy, into one verdict report. Use before shipping a change. Not for fixing findings or auditing a codebase.

ai-driven-dev/framework · 44 tokens

09-for-sure

Run an iterative agent loop that retries until a runnable success condition passes. Use when the user says "for sure", "keep trying until", or wants guaranteed completion against a success command. Not for one-shot tasks or uncheckable goals.

ai-driven-dev/framework · 53 tokens

01-commit

Create an atomic git commit with a conventional message, optionally pushing. Use when the user wants to commit changes, optionally pushing the branch. Not for amending, rebasing, opening a pull request, or tagging a release.

ai-driven-dev/framework · 49 tokens