add-selector
Skill by simstudioai
Adds or updates a Sim dynamic selector, the option list behind a block, trigger, or connector field. It is for developers working in the Sim codebase who need provider-backed, internal, or local selectors.
Install add-selector
Built from the published package, never by AI.
git clone --depth 1 https://github.com/simstudioai/sim /tmp/sim && mkdir -p ~/.claude/skills && cp -r /tmp/sim/.agents/skills/add-selector ~/.claude/skills/add-selectorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/simstudioai/sim /tmp/sim && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sim/.agents/skills/add-selector ~/.gemini/antigravity-cli/skills/add-selectorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides a developer through adding or updating a dynamic selector in the Sim codebase. It starts by reading the shared selector boundary files, then has the developer classify the selector as provider-server, internal-server, or local. Every key goes into a browser-safe manifest, and remote selectors run through the authorized selectors.execute operation, so the browser never resolves credentials or calls a provider directly.
The skill also covers building context from active field values, adding the server attachment and registry entry, and wiring the selectorKey and dependsOn fields in the UI. It ends with a focused validation list of Vitest tests, type-checking, and boundary checks. It is written for engineers maintaining Sim.
Written from the project's SKILL.md and checked against it.
What it can do
- Shared boundary reviewLists the selector type, manifest, context, server registry, and query hook files to read before editing.
- Selector classificationSorts a selector into provider-server, internal-server, or local, each with its own registry path.
- Manifest entry setupAdds each selector key to the browser-safe manifest with context, readiness, scope, and stale time.
- Context building rulesExplains how only declared, active dependencies are sent, and how exact references stay unresolved in the browser.
- Server attachment guidanceDescribes credential policy, destination policy, and list/detail projection for provider attachments.
- UI declaration wiringShows how to point a block, trigger, or connector field at selectorKey and declare its dependsOn fields.
- Validation checklistLists focused Vitest runs, type-check, fork coverage, client boundary, and diff checks to run.
What you need
- Access to the Sim repository (apps/sim)
- Bun to run the test and check commands
- Familiarity with Vitest
Try asking
- Add a provider-backed selector for a new connector field in Sim
- Update an existing selectorKey so it depends on a new field
- Wire a local static selector list into a Sim block's dropdown
Good to know
- Remote selectors must run through selectors.execute; browsers may not call providers directly
- Embedded environment interpolation such as https://{{HOST}}/path is unsupported
- Selector code must not add context, token, or result caches, apart from one security-owner-approved exception
- Provider routes are allowed only when a non-selector caller exists
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/add-selector/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
agents/openai.yaml243 B
Alternatives to add-selector
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
add-selector: common questions
What is a dynamic selector in Sim?
The source describes dynamic selectors as option metadata shown while a workflow or connector is being configured. Remote ones execute through the authorized selectors.execute operation.
Can a selector call a provider API from the browser?
No. The source says the browser never resolves credentials or calls a provider directly, and client provider fetchers should not be added.
When should a selector be marked local?
A selector is local when it is pure browser-safe data with no protected data, credentials, references, or network I/O. Local keys use the browser-safe registry and never enter the server registry.
How do I install add-selector?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is add-selector free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is add-selector safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to add-selector?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
