SkillGate
AGENTS.md2 starsChanged 5 months agoMITView on GitHub
This repository contains SkillGate, a deterministic static trust gate for AI-agent skills, instruction files, helper scripts, MCP metadata, MCP registry metadata, and MCP bundles. Keep SkillGate focused on one review question: What new agent capability would this artifact introduce? The scanner should help reviewers make pre-install, pre-merge, and CI decisions without executing the artifact being reviewed. - Do not execute scanned repository code, helper scripts, package commands, or MCP servers as part of scanning. - Do not call LLM APIs,…
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- llms.txtllms.txt
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
13 rules. About 0 are common, 8 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Keep SkillGate focused on one review question:
- Distinctive: line 18
Do not execute scanned repository code, helper scripts, package commands, or MCP servers as part of scanning.
- Distinctive: line 20
Do not call LLM APIs, add telemetry, or upload findings automatically.
- Distinctive: line 21
Keep detection deterministic, static, and reproducible.
- Distinctive: line 23
Prefer conservative extraction.
- Very specific: line 30
Read README.md, future_steps.md, and the nearest tests before changing behavior.
- Distinctive: line 32
Keep changes narrowly scoped to the requested behavior.
- Distinctive: line 33
Use existing rule, model, reporting, and fixture patterns instead of adding a new abstraction first.
- Distinctive: line 35
Add or update benchmark fixtures for scanner behavior changes.
- Very specific: line 36
Update rule documentation when rule behavior changes so skillgate rules list and skillgate explain stay complete.
- Very specific: line 38
Keep docs clear that SkillGate reports review signals and capability surfaces.
- Distinctive: line 43
Use the repository-local environment:
- Very specific: line 60
If uv cache access is unavailable in a restricted environment, use the checked out virtual environment when present:
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SkillGate Agent Guide
This repository contains SkillGate, a deterministic static trust gate for AI-agent skills, instruction files, helper scripts, MCP metadata, MCP registry metadata, and MCP bundles.
Mission
Keep SkillGate focused on one review question:
What new agent capability would this artifact introduce?
The scanner should help reviewers make pre-install, pre-merge, and CI decisions without executing the artifact being reviewed.
Hard Invariants
- Do not execute scanned repository code, helper scripts, package commands, or MCP servers as part of scanning.
- Do not call LLM APIs, add telemetry, or upload findings automatically.
- Keep detection deterministic, static, and reproducible.
- Redact secret values; report secret names such as
GITHUB_TOKEN. - Prefer conservative extraction. If a host, command, or path is uncertain, leave it unknown instead of inventing a value.
- Preserve stable CLI, JSON, SARIF, policy schema, and rule semantics unless the task explicitly asks for a breaking change.
Implementation Guidance
- Read
README.md,future_steps.md, and the nearest tests before changing behavior. - Keep changes narrowly scoped to the requested behavior.
- Use existing rule, model, reporting, and fixture patterns instead of adding a new abstraction first.
- Add or update benchmark fixtures for scanner behavior changes.
- Update rule documentation when rule behavior changes so
skillgate rules listandskillgate explainstay complete. - Keep docs clear that SkillGate reports review signals and capability surfaces; it does not prove an artifact is safe.
Verification
Use the repository-local environment:
uv sync --locked --group dev
uv run pytest
uv run python tools/update_snapshots.py --check
uv run ruff check .
uv run ruff format --check .
npm testFor focused adoption docs and workflow checks:
uv run pytest tests/test_adoption_workflow.pyIf uv cache access is unavailable in a restricted environment, use the checked
out virtual environment when present:
.venv/bin/python -m pytest tests/test_adoption_workflow.py
.venv/bin/python -m ruff check .
.venv/bin/python -m ruff format --check .Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

