Skip to main content

Decode Minified Js Gates

Skill Verified Active

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 when a flag's behavior cannot be inferred from its name alone, when the binary uses multiple reader libraries, or when config-object gates carry structured schemas distinct from boolean gates.

Purpose

To classify unknown feature flag behaviors in minified JavaScript by analyzing their code-level mechanics, enabling precise state probing and understanding.

Features

  • Extract context window around flag occurrences
  • Identify 4–6 reader variants (sync boolean, config-object, TTL, truthy-only, async)
  • Extract default values (boolean, null, numeric, config-object)
  • Detect conjunctions (`&&`) and kill-switch inversions (`!`)
  • Produce a structured gate-mechanics record for downstream analysis

Use Cases

  • When a flag's behavior cannot be inferred from its name alone.
  • When a binary uses multiple gate-reader libraries.
  • When config-object gates carry structured schemas distinct from boolean gates.
  • When suspecting a kill-switch but cannot confirm from the flag name.

Non-Goals

  • Executing the JavaScript code directly.
  • Determining the runtime state of a flag (use `probe-feature-flag-state` for that).
  • Handling non-minified JavaScript bundles.

Installation

/plugin install agent-almanac@pjt222-agent-almanac

Quality Score

Verified
99 /100
Analyzed about 19 hours ago

Trust Signals

Last commit1 day ago
Stars14
LicenseMIT
Status
View Source

Similar Extensions

Sweep Flag Namespace

99

Bulk-extract every candidate flag from a binary namespace, build an extraction inventory with occurrence counts and call-type tags, cross- reference against a documented set, and track completeness across probe campaigns until the undocumented remainder reaches zero. Covers namespace prefix harvesting, gate-vs-telemetry disambiguation at the call-site level, completeness metrics, DEFAULT-TRUE population reporting, and a final completion confirmation scan. Use upstream of probe-feature-flag- state when you need a complete catalog rather than a sample, or when a prior wave-based campaign needs a verifiable end condition.

Skill
pjt222

Probe Feature Flag State

95

Probe the runtime state of a named feature flag in a CLI binary. Covers the four-pronged evidence protocol (binary strings, live invocation, on-disk state, platform cache), the four-state classification (LIVE / DARK / INDETERMINATE / UNKNOWN), gate-vs-event disambiguation, conjunction-gate handling, and skill-substitution scenarios where a flag appears DARK but the capability is delivered by other means. Use when verifying whether a documented or inferred capability has rolled out, when auditing dark-launched features, or when a prior probe's conclusions need refreshing against a new binary version.

Skill
pjt222

Azure App Configuration SDK for Python

100

Azure App Configuration SDK for Python. Use for centralized configuration management, feature flags, and dynamic settings. Triggers: "azure-appconfiguration", "AzureAppConfigurationClient", "feature flags", "configuration", "key-value settings".

Skill
microsoft

Shift Camouflage

99

Implement cuttlefish-inspired adaptive interfaces — polymorphic APIs, context-aware behavior, feature flags, and attack surface reduction. Covers environmental assessment, chromatophore mapping, dynamic interface generation, behavioral polymorphism, and pattern disruption for systems that must present different faces to different observers. Use when a system must present different interfaces to different consumers, when reducing attack surface by exposing only what each observer needs, when implementing feature flags or progressive rollouts at the interface level, or when adapting behavior to environmental context without core changes.

Skill
pjt222

OraClaw Bandit

99

A/B testing and feature optimization for AI agents. Pick the best option automatically using Multi-Armed Bandits and Contextual Bandits (LinUCB). No data warehouse needed — works from request

Skill
Whatsonyourmind

Feature Flagging

99

Operational discipline for feature flags as production infrastructure. Flag types, naming, targeting rules, rollout strategy, lifecycle, governance, stale flag management, and the technical debt patterns that bite teams who weren't deliberate about it.

Skill
rampstackco

© 2025 SkillRepo · Find the right skill, skip the noise.