Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
PyGate turns Ruff, Pyright, and pytest results into one deterministic Python quality-gate result, with bounded lint repair and structured evidence when the gate cannot finish.
PyGate is an open-source reliability tool developed by Hermes Labs, built for teams that need CI results to remain inspectable and actionable.
Hermes Labs is an agentic infrastructure company building the reliability layer for autonomous systems.
Python maintainers usually meet the same problem at the worst possible time: a pull request has several tool outputs, each with its own format and failure order, and someone must decide what to fix first. PyGate gives a CI job or follow-up agent one deterministic result, preserves the underlying command evidence, and stops deterministic repair within an explicit budget.
PyGate is published as pygate-ci and installs the pygate command. It supports Python 3.10 and newer. Install PyGate and the tools used by the default gates:
python -m pip install pygate-ci ruff pyright pytest pytest-json-report
Verify the installation:
pygate --version
# pygate 0.3.2
Run a whole-project canary gate:
pygate run --mode canary
The command prints a JSON gate-result/v1 result. With no --output-dir, it does not create .pygate or other files. canary runs Ruff and Pyright; full also runs pytest. Pass --changed-files PATH when you want the result's snapshot metadata bound to a newline-delimited or JSON file list.
For a file-backed CI result, choose the output directory explicitly:
pygate run \
--mode full \
--changed-files /tmp/pygate-changed-files.txt \
--output-dir .pygate
The most useful next command after a failed run is:
pygate summarize --input .pygate/failures.json
That writes a short agent brief to .pygate/agent-brief.json and .pygate/agent-brief.md.
Don't take the pass/fail/escalated contract on faith. tests/test_fresh_repo_integration.py builds real throwaway projects from tests/action-fixture/ and runs the installed pygate binary against them for real — no mocked tool output. Clone the repo and run it yourself:
pip install -e ".[dev]"
pytest -m integration
It proves three outcomes end to end: a clean project passes, a type error fails the gate and repair correctly escalates instead of guessing, and a Ruff-fixable lint issue is auto-repaired back to a passing gate. The same fixtures back the root action's CI smoke test (.github/workflows/action-smoke.yml), which runs the packaged GitHub Action itself against a separate, isolated consumer workspace on every push.
The repository root is also a portable Agent Plugin
(plugin.json, Agent Plugins 1.0.0) that ships one skill,
skills/quick-gate-python/SKILL.md. It
teaches a coding agent to run pygate (or the pinned
uvx --from pygate-ci==0.3.2 pygate) and report the result without
overclaiming.
| Host | Install | Read back |
|---|---|---|
| Claude Code | claude plugin marketplace add hermes-labs-ai/quick-gate-pythonclaude plugin install quick-gate-python@quick-gate-python | claude plugin list |
| OpenAI Codex CLI | codex plugin marketplace add hermes-labs-ai/quick-gate-pythoncodex plugin add quick-gate-python@quick-gate-python | codex plugin list |
| Gemini CLI | gemini extensions install https://github.com/hermes-labs-ai/quick-gate-python --ref main | gemini skills list |
| Any skills.sh agent | npx skills add https://github.com/hermes-labs-ai/quick-gate-python --skill quick-gate-python | npx skills list |
Claude Code reads .claude-plugin/; Codex reads .agents/plugins/marketplace.json
(entry ./, the root) and plugin.json; Gemini CLI reads gemini-extension.json.
All of them load the same skills/ directory. Keep --ref main for Gemini:
releases up to v0.3.1 predate gemini-extension.json.
PyGate coordinates three existing tools:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub roli-lpci/quick-gate-python --plugin quick-gate-pythonPlugins from other owners that cover similar ground