/agent-loop:author-skillfrom agent-loop
AI-first authoring of a NEW agent skill, autonomously (no human review). Used by self-evolve when a manual step recurs across loop cycles — writes a correctly-structured SKILL.md with frozen, checkable, AI-first instructions, places it in the skills dir, validates it, and wires it into the flow so the loop invokes it next time. Use when the loop identifies a proven recurring pattern worth turning into a reusable capability.
Ships in agent-loop. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Grow the loop's OWN capabilities: turn a recurring manual pattern into a reusable skill — autonomously, no human review. (This is the AI-first counterpart to human "write-a-skill" tools that stop to interview you.)
This is the loop writing its own tools — the sharpest expression of the loop-tick Prime directive (the driver
acts, it doesn't wait for capabilities to be handed to it). When a step recurs, the loop manufactures the skill and
wires it in, so next time it's one call. That self-extension is what lets one loop scale into many.
Invoked by /self-evolve (or directly) once a step has recurred across several ticks and is stable enough to
freeze. Never author for a one-off — that's premature abstraction.
description ending with explicit "Use when …" triggers
(that's how the runtime matches it). One skill = one capability.SKILL.md in the project skills dir (.claude/skills/<name>/SKILL.md):
name + description (with triggers);state.config.skills) so the loop actually invokes it. A brand-new SKILL.md registers as an invocable
/command on the next session; mid-session, invoke it by reading + following the file directly.self-evolve graduates notable ones to memory./self-evolve pass notices the loop has hand-written the same recorder-tally one-liner for 3
ticks running — SSH the box, read trades_*_shadow.jsonl, count variant fires by netSh sign. Stable, repeated,
not a one-off → freeze it.recorder-shadow-tally; description: "Tally shadow-variant fires/net by netSh sign on the recorder. Use when a tick needs the current standing of a shadow variant." Body = the frozen procedure: the
exact box id, file path, variant filter, and python aggregation, with the output shape it returns.state.config.skills)./recorder-shadow-tally contra. A later /self-evolve GCs it if it stops being used.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub andonmitev/agent-loop --plugin agent-loop11 skills in this plugin
/code-standardsEngineering standards every code-writing tick must follow so the loop produces GOOD code, not just working code. Invoked by build/maintenance ticks before and while editing code. Composes with (never overrides) the host project's CLAUDE.md / AGENTS.md./debugging-and-error-recoveryGuides systematic root-cause debugging. Use when tests fail, builds break, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need a systematic approach to finding and fixing the root cause rather than guessing./deep-researchAI-first investigative research using the orchestrator-worker pattern — decompose a question, fan out parallel subagent searches across multiple source angles, triangulate across independent sources, adversarially refute, synthesize a CITED answer with confidence, and loop until saturation. Use for open questions needing a well-supported answer. (For validating a hypothesis against data, use the experiment profile instead.)