PixelPilot uiux-forms-extras.instructions.md

Instructions for building advanced web-form controls such as search bars, searchable dropdowns, range sliders, color pickers, and autocomplete fields. Autocomplete suggests matching values while someone types, and the guide includes API-connected examples.

In plain words
What is it for?
Use it to add debounced search, clear buttons, searchable selections, sliders, color inputs, and typeahead fields connected to an API.
Why use it?
It provides patterns for handling interactive inputs without designing each control from scratch.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/dev-lou/pixelpilot/uiux-forms-extras
Clone the repo
git clone --depth 1 https://github.com/dev-lou/PixelPilot

Made for: GitHub Copilot.

Per session 1,608 This file is loaded in full into every session.
When invoked 1,608 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01608 $0.01608
Opus 5 $0.00804 $0.00804
Sonnet 5 $0.00322 $0.00322
Haiku 4.5 $0.00161 $0.00161

Measured 2d ago against content hash a140d959aec1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

PixelPilot uiux-forms-extras.instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

vscode/.github/instructions/uiux-forms-extras.instructions.md · 238 lines

How it starts

The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UI/UX Forms Extras 2026

Search bars, searchable dropdowns, range sliders, color pickers, and autocomplete/typeahead with API integration.


1. SEARCH BAR (Debounced Input & Clear Button)

<div class="search-bar">
  <i data-lucide="search" class="search-bar__icon"></i>
  <input type="text" placeholder="Search..." class="search-bar__input" id="search-input">
  <button class="search-bar__clear" id="search-clear" hidden><i data-lucide="x"></i></button>
  <div class="search-bar__results" id="search-results" hidden>
    <ul class="search-bar__list">
      <li class="search-bar__item">Result 1</li>
      <li class="search-bar__item">Result 2</li>
    </ul>
  </div>
</div>
.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  transition: border-color var(--transition-micro), box-shadow var(--transition-micro);
}

.search-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.search-bar__input {
  width: 100%;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-base);
  border: none;
  outline: none;
  background: transparent;
}

.search-bar__clear {
  color: var(--muted);
  cursor: pointer;
  padding: var(--space-1);
  border-radius: 50%;
  transition: background var(--transition-micro);
}

.search-bar__clear:hover { background: var(--surface-up); }

2. SEARCHABLE DROPDOWN (Real-Time Filtering)

<div class="dropdown dropdown--searchable">
  <button class="dropdown__trigger" aria-haspopup="listbox" aria-expanded="false">
    Select an option...
    <i data-lucide="chevron-down"></i>
  </button>
  <div class="dropdown__menu" hidden>
    <div class="dropdown__search">
      <input type="text" placeholder="Filter options..." class="dropdown__search-input">
    </div>
    <ul role="listbox" class="dropdown__list">
      <li role="option" class="dropdown__item">Option 1</li>
      <li role="option" class="dropdown__item">Option 2</li>
    </ul>
  </div>
</div>

Read the full file on GitHub · 238 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 238 lines · 1,608 tokens per session scan A a140d959aec1

Subscribe to this mod's changes

PixelPilot uiux-forms-extras.instructions.md is an instructions file published in the GitHub repository dev-lou/PixelPilot (2 stars, last pushed 4mo ago), licensed MIT. It adds 1,608 tokens to every session, about $0.0080 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.