Update Megatron Golden Values
NVIDIA/Megatron-LM
Refreshes stored golden values from a GitHub Actions run, reports signed percentage changes per model, and writes a summary ready for a pull request description.
A skill your agent uses when asked to set up, install, or refine an agent quality framework in a repository (rules with gates, architecture contracts, proven-red tests, ratchets, playbooks), or when…
$ npx skills add pliablepixels/gap-trap --skill gap-trap -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install pliablepixels/gap-trap gap-trap --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/pliablepixels/gap-trap.git skills-src && mkdir -p .claude/skills && cp -r skills-src/gap-trap .claude/skills/gap-trap && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "gap-trap" agent skill from https://github.com/pliablepixels/gap-trap/tree/main/gap-trap into .claude/skills/gap-trap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gap-trap", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/pliablepixels/gap-trap/tree/main/gap-trapType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add pliablepixels/gap-trap --skill gap-trap -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install pliablepixels/gap-trap gap-trap --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pliablepixels/gap-trap.git skills-src && mkdir -p .agents/skills && cp -r skills-src/gap-trap .agents/skills/gap-trap && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gap-trap" agent skill from https://github.com/pliablepixels/gap-trap/tree/main/gap-trap into .agents/skills/gap-trap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gap-trap", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pliablepixels/gap-trap --skill gap-trap -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install pliablepixels/gap-trap gap-trap --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pliablepixels/gap-trap.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/gap-trap .cursor/skills/gap-trap && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "gap-trap" agent skill from https://github.com/pliablepixels/gap-trap/tree/main/gap-trap into .cursor/skills/gap-trap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gap-trap", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/pliablepixels/gap-trap.git --path gap-trap--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add pliablepixels/gap-trap --skill gap-trap -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install pliablepixels/gap-trap gap-trap --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pliablepixels/gap-trap.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/gap-trap .gemini/skills/gap-trap && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "gap-trap" agent skill from https://github.com/pliablepixels/gap-trap/tree/main/gap-trap into .gemini/skills/gap-trap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gap-trap", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install pliablepixels/gap-trap gap-trapInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add pliablepixels/gap-trap --skill gap-trap -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/pliablepixels/gap-trap.git skills-src && mkdir -p .github/skills && cp -r skills-src/gap-trap .github/skills/gap-trap && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "gap-trap" agent skill from https://github.com/pliablepixels/gap-trap/tree/main/gap-trap into .github/skills/gap-trap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gap-trap", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pliablepixels/gap-trap --skill gap-trap -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install pliablepixels/gap-trap gap-trap --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pliablepixels/gap-trap.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/gap-trap .opencode/skills/gap-trap && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "gap-trap" agent skill from https://github.com/pliablepixels/gap-trap/tree/main/gap-trap into .opencode/skills/gap-trap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gap-trap", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
gap-trapA skill your agent uses when asked to set up, install, or refine an agent quality framework in a repository (rules with gates, architecture contracts, proven-red tests, ratchets, playbooks), or when…
Gap Trap is an agent skill from pliablepixels/gap-trap. Use when asked to set up, install, or refine an agent quality framework in a repository (rules with gates, architecture contracts, proven-red tests, ratchets, playbooks), or when the user says "gap-trap", "gap-trap setup", "gap-trap refine", "gate the rules", or "make the agents' code match the rules".
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 29 other files (for example `reference/discovery.md`, `reference/framework.md` and `reference/gates.md`).
It sits in Testing & QA, covering CI/CD. It works with GitHub Actions. The repository describes itself as: Turns vibe coding into high quality code. Sets up rules and gates in your repo so AI-written code stays correct without you reviewing every line. The licence is MIT.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 119403d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Gap Trap loads about 2.3k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 1,409 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
er the module under test, not a missing `.env`;Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from pliablepixels/gap-trap at commit 119403d, republished under its MIT licence (© pliablepixels). 1,409 words, ~2,305 tokens.
.claude/skills/gap-trap/SKILL.md (or your agent's skills folder). This skill also uses 23 other files; get the full folder from GitHub.Sets up a quality framework for repositories where agents write most of
the code. Every rule the agents follow has a gate that fails a commit, a
push, or a CI run when the rule breaks. A rule a script could check but
that names no gate is a defect. The framework is the one described in
reference/framework.md; read it before either mode.
Two modes: setup builds the framework in a repo that has none.
refine audits a repo that has it and proposes the next rules and gates
from what broke. Bare gap-trap with no keyword means setup when the
repo has no AGENTS.project.md, otherwise refine. A hand-written
AGENTS.md or CLAUDE.md on its own is input to setup, not a sign the
framework exists.
This skill runs on the top coding model of your harness: in Claude Code, Opus or a more capable model (Opus 4.8 or newer, Opus 5, Fable, Mythos); in Codex, the frontier coding model at high or xhigh reasoning effort. Discovery decides which parts of a codebase get a contract, and a wrong contract costs every later session. Your system prompt names your model.
If it is a cheaper or faster tier (Sonnet, Haiku, a mini model, or low reasoning effort), stop. Read nothing, write nothing. Say exactly this and end the turn:
gap-trap runs on the top coding model of this harness. You are on
<model name>. Switch with/model, then run gap-trap again.
Do not dispatch stronger subagents from a weaker orchestrator, start "the easy parts", or offer a lighter version.
reference/discovery.md. It produces a plan
file in your scratch directory: stack, commands, CI provider,
contract candidates with real symbol names, the first domain facts
from history (the revert probe runs at any commit count), and one
row per rule found in an existing instruction file with where it
goes and what gates it.Environment variable not found: DATABASE_URL were a
Prisma mock loaded after the module under test, not a missing .env;
recording that as an environment gap would have buried the bug and
the contract that prevents it. Ask one round of questions, only about
what discovery could not settle. Then proceed.git clone https://github.com/pliablepixels/slop-mop.git
into your scratch directory and copy slop-mop/slop-mop to the skills
directory of the harness you are running in (Claude Code:
~/.claude/skills/; Codex: ~/.agents/skills/), skipping it if
present. It is not vendored into
the repo; the project rule in AGENTS.project.md requires it.
A harness loads its skill list when the session starts, so a skill
installed here is not available to the run that installed it: write
this run's prose from P10 in AGENTS.md, and tell the user in the
report that slop-mop applies from their next session.templates/. AGENTS.md and
agents/generic/agent-workflows.md are copied unchanged, with one
exception: a rule whose gate cannot exist in this repo (I3's
accessibility lint and C3's locales in a repo with no UI) gets its
Gate: clause replaced by Gate: n/a, no <thing> in this repo.
Nothing else in AGENTS.md changes. AGENTS.project.md,
CLAUDE.md, and agents/project/ are filled from the plan; drop the
UI and end-to-end lines and {{E2E_CMD}} when the repo has no UI, and
delete every placeholder you cannot fill with a verified value.
Contracts name real symbols only. Existing instruction files
(AGENTS.md, CLAUDE.md, .cursorrules,
.github/copilot-instructions.md, CONTRIBUTING.md) are migrated
from the plan's migrated-rules table, one row at a time: a contract
row becomes a contract block, a rule row becomes a project rule with
its gate name or Gate: review, a playbook row goes verbatim into
the named agents/project/ file, a command row fills the
verification block, and a duplicate or dropped row is left out. No
rule is dropped silently; the confirm step showed the table. A file
whose name a template owns (AGENTS.md, CLAUDE.md) is replaced by
that template. Any other instruction file (.cursorrules,
.github/copilot-instructions.md) becomes a one-line pointer to
AGENTS.md, so the agent that reads it lands on the rules instead of
a stale copy. CONTRIBUTING.md stays where it is. The user sees the
diff.reference/gates.md, in the repo's own test
runner and CI provider: the instruction gate, proven red, the PR body
check, the ratchet (always, seeded with the counters the repo
supports: files over the C2 length, lint problems per rule when a
linter runs, each contract Never clause that has violations today),
and the mutation smoke when discovery named a risky module (auth, a
parser, the API client); otherwise refine adds it after the first
fix chain. The stack table there picks the reference: native ports
for Node and Python, shell references that need only git, grep, and
awk for every other language. Set the instruction gate's word budget
at the current count plus half, rounded up to the next 500.Gate: review and why, whether this run
installed slop-mop and so it applies from the next session, any
always-loaded file outside the repo whose prose style conflicts with
the repo's (~/.codex/AGENTS.md, ~/.claude/CLAUDE.md, a terse or
compressed house style): name the file, and say that the repo's rule
governs repo prose. End with the one next step: run gap-trap refine
after the first incident or in a month.Gate: review contract: read the code its Path: and
Never: lines cover and list suspected violations with file and
line, marked unverified because no gate checks them;--update.Instruction files are read by agents. Write them as terse statements
with IDs and gate names. Human-voice prose belongs in the repo's docs,
not in AGENTS*.md or agents/.
Follow reference/refine.md. It audits rules without gates, contract
names that no longer exist, and the commit history since the last
refine, and it proposes edits through the self-improvement protocol as
one PR. It removes rules with no incident behind them as readily as it
adds gates.
| Mistake | Fix |
|---|---|
| A contract with a guessed symbol name | Every name in a Path: line is greppable in the tree; the instruction gate fails otherwise |
| Writing ten contracts on day one | Start with the places that have one sanctioned path and a violation today; add the rest through refine |
| A gate that passed on first run | Prove it red with a scratch violation first; a gate that never failed proves nothing |
| Vendoring slop-mop into the repo | It installs per agent from its repo; the project rule requires it |
| Instruction prose polished for people | Agents read it. Statement, one-clause why, gate name |
| Skipping the model gate because the repo is small | Discovery quality is the deliverable; the gate is first for a reason |
© pliablepixels, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 23 other files in gap-trap of pliablepixels/gap-trap.
Open the folder on GitHubat commit 119403d
Gap Trap next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Gap Trap this skillpliablepixels/gap-trap | 181 | — | ~2.3k | Automated safety check: Notes | MIT | |
| Update Megatron Golden ValuesNVIDIA/Megatron-LM | 18k | — | ~2.8k | Automated safety check: Pass | Custom licence | |
| GreptimeDB Fuzz CI Failure InvestigationGreptimeTeam/greptimedb | 6.7k | — | ~4.4k | Automated safety check: Pass | Apache-2.0 | |
| Bats Shell Testing Patternswshobson/agents | 40k | 12 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Local CImodule-federation/core | 2.7k | — | ~914 | Automated safety check: Pass | MIT | |
| Simple Modern Uvjlevy/simple-modern-uv | 301 | — | ~1.9k | Automated safety check: Pass | MIT |
NVIDIA/Megatron-LM
Refreshes stored golden values from a GitHub Actions run, reports signed percentage changes per model, and writes a summary ready for a pull request description.
GreptimeTeam/greptimedb
Diagnoses a failed GreptimeDB fuzz CI job by pulling its GitHub Actions logs and fuzz artifacts, then matching the evidence to the local source code.
wshobson/agents
Writes unit tests for shell scripts with Bats: error-condition tests, fixtures and mocks, cross-shell checks, parallel runs, helper files and CI integration.
module-federation/core
Run this repository's local CI parity commands and pnpm run ci:local jobs.
jlevy/simple-modern-uv
Start, selectively modernize, fully migrate, or update Python projects using simple-modern-uv practices: uv, ruff, BasedPyright, pytest, GitHub Actions CI, and tag-driven PyPI publishing.
canton-network/splice
Triage a failed splice GitHub Actions job (cn-test-failures ref) into a reproducible evidence packet - fetch job log and artifact, isolate the flagged lines, check the known flake families for…
Works with
Categories
A skill your agent uses when asked to set up, install, or refine an agent quality framework in a repository (rules with gates, architecture contracts, proven-red tests, ratchets, playbooks), or when…. Gap Trap is an agent skill from pliablepixels/gap-trap. Use when asked to set up, install, or refine an agent quality framework in a repository (rules with gates, architecture contracts, proven-red tests, ratchets, playbooks), or when the user says "gap-trap", "gap-trap setup", "gap-trap refine", "gate the rules", or "make the agents' code match the rules".
Gap Trap fits situations like: asked to set up; refine an agent quality framework in a repository (rules with gates; architecture contracts; proven-red tests.
Run `npx skills add pliablepixels/gap-trap --skill gap-trap -a claude-code`. Or copy the skill folder (gap-trap in pliablepixels/gap-trap) into .claude/skills/gap-trap in your project. Claude Code loads it when a task matches its description.
Run `npx skills add pliablepixels/gap-trap --skill gap-trap -a codex`. Or copy the skill folder (gap-trap in pliablepixels/gap-trap) into .agents/skills/gap-trap in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pliablepixels/gap-trap --skill gap-trap -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gap-trap, .gemini/skills/gap-trap, .github/skills/gap-trap and .opencode/skills/gap-trap in your project.
Going by SKILL.md and its folder, Gap Trap needs the command-line tools its instructions call (git).
SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Gap Trap is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Gap Trap: Update Megatron Golden Values (NVIDIA/Megatron-LM, 18k stars), GreptimeDB Fuzz CI Failure Investigation (GreptimeTeam/greptimedb, 6.7k stars), Bats Shell Testing Patterns (wshobson/agents, 40k stars) and Local CI (module-federation/core, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
pliablepixels (a GitHub user) maintains it in pliablepixels/gap-trap, which has 181 GitHub stars. The repository was last updated on October 2, 2026.
Source: pliablepixels/gap-trap on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.