decode-minified-js-gates SKILL.md skillA
decode-minified-js-gates from pjt222/agent-almanac is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add pjt222/agent-almanac/decode-minified-js-gates@v1.0Pins v1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- pjt222/agent-almanac
- Path
i18n/caveman-lite/skills/decode-minified-js-gates/SKILL.md- Versions recorded
- 3
- Latest version
- v1.0, committed Aug 17, 2026
- First version recorded
- May 4, 2026
- Size
- 15,201 bytes
- Repository stars
- 43
- License
- MIT
Classify gate call variants in a minified JavaScript bundle. Covers context-window extraction around a flag occurrence, identification of 4–6 reader variants (sync boolean, sync config-object, bootstrap-aware TTL, truthy-only, async bootstrap, async bridge), default-value extraction (boolean / null / numeric / config-object literal), conjunction detection across `&&` predicates, kill-switch inversion detection, and production of a gate-mechanics record that feeds probe- feature-flag-state. Use…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Decode Minified JS Gates
Read the call-site context around a flag string in a minified JavaScript bundle and produce a gate-mechanics record: which reader variant, what default, what conjunction, what role. Where `probe-feature-flag-state` answers "is this gate on or off?", this skill answers the prerequisite question — "what does this gate actually do?"
## When to Use
- A flag surfaced by `sweep-flag-namespace` cannot be classified from its name alone.
- The binary uses more than one gate-reader function and you need to know which one a flag invokes.
- A gate's "default" appears non-boolean (`{}`, `null`, a numeric literal) and you need to decode the actual reader variant.
- You suspect a kill-switch (inverted gate) but cannot confirm from the flag name.
- A predicate combines multiple gates with `&&` and you need to enumerate the co-gates before probing any of them.
## Inputs
- **Required**: a minified JavaScript bundle file (`.js`, `.mjs`, `.bun`).
- **Required**: a target flag string to decode, in literal form.
- **Optional**: a list of known reader function names from a prior decode pass — speeds Step 2.
…Read the whole file at its exact version.
How to install
mdr add pjt222/agent-almanac/decode-minified-js-gates@sha256:304b4b62e1bef99dThe line at the top of this page pins the label v1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_co264syesh2ftfh6)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between May 4, 2026 and Aug 17, 2026, about one every 52 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0 latest | 2026-08-17 | a784899 | 15,201 B | A | view · diff |
| v1.0 | 2026-08-07 | 9f18739 | 15,170 B | A | view · diff |
| v1.0 | 2026-05-04 | adcb320 | 15,162 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (15201 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
pjt222/agent-almanac · 43 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_co264syesh2ftfh6 GET https://markdownregistry.com/api/v1/resolve?ref=pjt222/agent-almanac/decode-minified-js-gates GET https://markdownregistry.com/api/v1/blob/304b4b62e1bef99d7aabb631128cabc277224573623edd40d44b07b79a30ab7e
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.