跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Decode Minified Js Gates

技能 已验证 活跃

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.

目的

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

功能

  • 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

使用场景

  • 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.

非目标

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

安装

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

质量评分

已验证
99 /100
about 23 hours ago 分析

信任信号

最近提交2 days ago
星标14
许可证MIT
状态
查看源代码

类似扩展

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.

技能
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.

技能
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".

技能
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.

技能
pjt222

OraClaw Bandit

99

A/B 测试和功能优化,适用于 AI 代理。使用多臂老虎机和上下文老虎机(LinUCB)自动选择最佳选项。无需数据仓库——直接从请求运行

技能
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.

技能
rampstackco