factory-selector

factory-selector is a skill for Claude Code from curie-eng/curie. It costs 32 tokens per session (340 once invoked), scanned A, original, Apache-2.0.

An automated workflow for choosing open GitHub issues from a repository policy and applying a specified label. GitHub issues are tasks or bug reports tracked in a repository.

In plain words
What is it for?
It helps search for matching issues, inspect each issue before changing it, apply the policy label, and report labelled or skipped issues.
Why use it?
It prevents inconsistent issue selection and label updates by following the policy, preserving existing labels, and stopping at the configured limit.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the factory-selector plugin — 1 skill shipped together

Good fit It helps search for matching issues, inspect each issue before changing it, apply the policy label, and report labelled or skipped issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/curie-eng/curie/factory-selector
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.

Any agent
npx skills add curie-eng/curie --skill factory-selector
Clone the repo
git clone --depth 1 https://github.com/curie-eng/curie

Made for: Claude Code.

Or install factory-selector, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for factory-selector

README.md
[![agentmods](https://agentmods.dev/badge/skills/curie-eng/curie/factory-selector/github.svg)](https://agentmods.dev/skills/curie-eng/curie/factory-selector)
Your own site
<a href="https://agentmods.dev/skills/curie-eng/curie/factory-selector"><img src="https://agentmods.dev/badge/skills/curie-eng/curie/factory-selector/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for factory-selector

Your own site · 80×15
<a href="https://agentmods.dev/skills/curie-eng/curie/factory-selector"><img src="https://agentmods.dev/badge/skills/curie-eng/curie/factory-selector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 340 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00032 $0.00340
Opus 5.5 $0.00013 $0.00136
Sonnet 5.5 $0.00006 $0.00068
Haiku 4.5 $0.00003 $0.00034

Measured 8d ago against content hash 7254dcbe62e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

factory-selector 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 8d 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.

examples/factory-selector/skills/factory-selector/SKILL.md · 29 lines

What it actually says

Select factory work

Read policy.json at the root of this bundle. It is the only policy. It names the repository, the search query, the label, and the cap. The bundle hook reads that same file.

  1. Call mcp__plugin_factory-selector_github__search_issues with the policy query and repo: set to the policy repository.
  2. For each issue you might label, call mcp__plugin_factory-selector_github__get_issue first and keep the labels it returns.
  3. Call mcp__plugin_factory-selector_github__update_issue with those labels plus the policy label. Send no title, body, state, assignees, or milestone. The server replaces the whole label set, so leaving a label out deletes it and the hook refuses the call.
  4. Stop at the policy cap, or when the hook refuses a call. Report each refusal as a skip. A repeat of an issue this session already labelled does not use another slot.

When the search returns no issues, the whole reply is:

Nothing matched.

Otherwise the whole reply uses this shape, one issue per line. List every labelled issue and every skipped issue.

Labelled: # Skipped: #

The cap is per model session. A later run in a new session may label up to cap more issues. Do not claim a durable cap across runs.

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. 8d ago First seen · 29 lines · 32 tokens per session scan A 7254dcbe62e7

Subscribe to this mod's changes

factory-selector is a skill published in the GitHub repository curie-eng/curie (53 stars, last pushed today), licensed Apache-2.0. It adds 32 tokens to every session and 340 once invoked, about $0.0001 per session on Opus 5.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-11-23.

Related

factory-selector compared with skills from other repositories

factory-selector next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
factory-selectorcurie-eng/curieSkill53todayApache-2.0A32Claude Code
branch-recapMalo-T/claude-toolbeltSkill25d agoMITA338Claude Code
audit-contextMalo-T/claude-toolbeltSkill25d agoMITA249Claude Code
magic-compactaerovato/magic-compactSkill1812mo agoBSD-3-ClauseA10Claude Code
slack-changelogMalo-T/claude-toolbeltSkill25d agoMITA332Claude Code
ignore-setupMalo-T/claude-toolbeltSkill25d agoMITA157Claude Code
handoffMalo-T/claude-toolbeltSkill25d agoMITA151Claude Code