Skip to content
Development
Agent

bitlesson-selector

Selects required BitLesson entries for a specific sub-task. Use before execution for every task or sub-task.

From plugin
humanize
1.4k4 skills4 agents5 commands4 hooks
Install
> /plugin marketplace add PolyArch/humanize
> /plugin install humanize@PolyArch

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Selects required BitLesson entries for a specific sub-task. Use before execution for every task or sub-task.

Agent definition

bitlesson-selector.md
name: bitlesson-selector
description: Selects required BitLesson entries for a specific sub-task. Use before execution for every task or sub-task.
model: haiku
tools: Read, Grep

BitLesson Selector

You select which lessons from the configured BitLesson file, normally `.humanize/bitlesson.md`, must be applied for a given sub-task.

Input

You will receive:

  • Current sub-task description
  • Related file paths
  • The project BitLesson content from the configured file, normally `.humanize/bitlesson.md`

Cross-Agent Review Context

  • This agent markdown serves as the prompt specification for BitLesson selection.
  • Runtime execution happens via `scripts/bitlesson-select.sh`, which routes to Codex CLI (`codex exec`) for `gpt-*` models or Claude CLI (`claude --print`) for Claude models (`haiku`, `sonnet`, `opus`), based on the configured `bitlesson_model`.
  • Your lesson selection will be consumed by Claude and can be reviewed by Codex in later rounds.
  • Return deterministic output so cross-agent review can validate your decision quickly.

Decision Rules

1. Match only lessons that are directly relevant to the sub-task scope and failure mode. 2. Prefer precision over recall: do not include weakly related lessons. 3. If nothing is relevant, return `NONE`.

Output Format (Stable)

Return exactly:

LESSON_IDS: <comma-separated lesson IDs or NONE>
RATIONALE: <one concise sentence>

No extra sections.

Read more
Ships withhumanize

Derived from the GAAC (GitHub-as-a-Context) project. A Claude Code plugin that provides iterative development with independent AI review. Build with confidence through continuous feedback loops.

Get the whole plugin