/agent-starter:reflectfrom agent-starter
Reads the .harness ledger and feedback memories to propose gated rule, threshold, or ADR changes that stop project mistakes from repeating.
Ships in agent-starter. 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.
You are performing a reflection - turning the signal this project has captured into durable improvements. Nothing is applied without the developer's approval.
~/.claude/hooks/harness-ledger-stats.sh --ledger .harness/ledger.jsonl --min-recurr 3
If that path doesn't exist, the hooks aren't installed at ~/.claude/hooks/ - run the
copy from wherever this project keeps them. If the script prints all zeros there is no
ledger yet (no signal captured) - stop; there is nothing to reflect on.CLAUDE.md so you improve them rather than duplicate.feedback-type memory files - these are the developer's explicit
corrections and are the highest-value signal. Locate the memory directory first
(it sits next to MEMORY.md; find . -name MEMORY.md if unsure), then
grep -l 'type: feedback' <memory-dir>/*.md..harness/reflections/*.md report (if any) to recall the last
metric snapshot and what was already changed.From the stats output and feedback memories, identify recurring problems:
recurring <rule> <prefix> <count> line is a friction cluster - the same check
keeps firing in the same area.For each cluster, draft exactly one proposed change, choosing the fitting type:
| Type | When | Where it lands |
|---|---|---|
| Project rule | a convention would stop the repeat | append to CLAUDE.md project-specific section |
| Threshold change | a guardrail is too strict/loose | a diff to .claude/settings.json or the hook - shown, never auto-applied |
| Lint rule | the mistake is mechanically catchable | a diff to eslint.config.mjs / biome.jsonc |
| ADR / knowledge | durable "why" worth keeping | a new memory file or docs/adr/ note |
Present all proposals together as a numbered list with the concrete change for each.
/remember)./commit)..harness/reflections/ if needed (mkdir -p .harness/reflections), then write a
reflection report to .harness/reflections/YYYY-MM-DD.md containing:
The report is committed; the raw .harness/ledger.jsonl stays gitignored. Signal is
private; wisdom is shared.
The headline metric is recurring_events from the stats output. Compare it to the value
in the previous reflection report. If a rule you promoted last time worked, the cluster it
targeted should have shrunk. Note the trend explicitly in the new report.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
reflect, self-improvement, project-rules, feedback, adr, harness-ledger
npx claudepluginhub sneg55/agent-starter --plugin agent-starter10 skills in this plugin
/adopt-projectApply agent-starter patterns to an EXISTING project - audits the codebase, proposes components by invasiveness tier (hooks, skills, CLAUDE.md, lint configs, patterns), and applies only what the developer approves. Use when the user says adopt, retrofit, "apply agent-starter to this project", or wants starter patterns in an existing codebase./commitCreate a single well-crafted git commit from current changes. Analyzes diff, follows repo's commit style, and writes a concise "why not what" message./commit-push-prFull git workflow - creates branch, commits, pushes, and creates or updates a PR with summary and test plan./dep-vuln-updateUse when dependencies in a repo have known vulnerabilities and need updating, including when the dep-vuln hook reports advisories at commit or merge request time, when the user asks to fix vulns, patch CVEs or GHSAs, run an audit fix, or bump vulnerable packages. Covers scanning tracked lockfiles with osv-scanner, choosing the smallest version that clears each advisory, overrides for transitive deps, verifying with the repo's own tests, and committing per repo./dreamMemory consolidation - review, merge, prune, and index memory files. Run periodically to keep memories organized and up-to-date./new-projectFull project bootstrap - interviews the developer (name, description, stack, components), then scaffolds directory structure, CLAUDE.md, config files, hooks, skills, and first commit.Other plugins' skills for the same job