Skip to content

docs: skill-library Path A init recipes still omit --model / --base-url that plan requires #1289

Done

Description

@Birfy

What happens

On tip f0b1c34 (after #1288), the first-run init ./my-skill blocks in README, docs/start.md, and docs/plugin-quickstart.md, plus the default demo footer, name --model <model> [--base-url <url>] so a copied init can plan. Two Path A skill-library recipes that go straight into plan --probe were not in that set:

  • docs/quickstart-skill.md — init my-skills --kind skill_library --algorithm archive_selection
  • docs/algorithm-decision-tree.md — init ./my-skills --kind skill_library --algorithm archive_selection

Both still look like:

agentdescent init … --kind skill_library \
  --data cases.jsonl --algorithm archive_selection --out spec.json
agentdescent plan spec.json --probe

init never guesses the model or endpoint. Following either block writes <your-model> / <your-endpoint-url> placeholders and exits 0; the next command both pages name, plan --probe, exits 2 and never reaches a probe. docs/quickstart-skill.md still says "pin reflect/agent, then", which is the pre-#1288 path the other first-run pages no longer teach.

tests/test_first_run_caps.py pins --model / --base-url on the init ./my-skill fences (#1288) but does not yet pin these skill_library + archive_selection blocks.

This is the same leftover-surface class as #1287, now for the skill-library Path A recipes.

Expected

Both fenced init lines that are followed by plan --probe should name --model <model> [--base-url <url>], the same shape #1288 already uses. init should still not guess a model name.

Suggested fix

  • Add the flags to the two fences. In docs/quickstart-skill.md, drop the "pin reflect/agent" comment so the copied block is enough to plan once cases.jsonl is filled.
  • Extend tests/test_first_run_caps.py to require --model and --base-url on those init lines.
  • changelog.d/<n>-skill-library-init-model-flags.md.

No change to the placeholder-refusal behaviour of init / plan. No model name is guessed.

Acceptance

  • The Path A skill-library init fences in docs/quickstart-skill.md and docs/algorithm-decision-tree.md include --model <model> [--base-url <url>] and still name plan --probe.
  • pytest -q -o addopts='' tests/test_first_run_caps.py passes, including the new pins.
  • A bare init without the flags still writes placeholders and plan still refuses them.

Activity

  1. added
    bug
    area:docs
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:docsbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions