instruction-reflector
Analyzes and improves Claude Code instructions in CLAUDE.md. Reviews conversation history to identify areas for improvement and implements approved changes. Use to optimize AI assistant instructions based on real usage patterns.
Tools
default tool set
Model & source
default
feiskyer/claude-code-settings
Install
Paste this once. It creates ~/.claude/agents/, adds Claude Code if it is missing, and writes the file at the reviewed commit.
{ command -v claude >/dev/null || curl -fsSL https://claude.ai/install.sh | bash; } && mkdir -p ~/.claude/agents && curl -fsSL "https://raw.githubusercontent.com/feiskyer/claude-code-settings/0443b11c669076c92a89687e15d4d74be8171f34/agents/instruction-reflector.md" -o ~/.claude/agents/instruction-reflector.md && echo "agent installed: instruction-reflector"Windows (PowerShell):
New-Item -ItemType Directory -Force "$env:USERPROFILE\.claude\agents" | Out-Null; iwr "https://raw.githubusercontent.com/feiskyer/claude-code-settings/0443b11c669076c92a89687e15d4d74be8171f34/agents/instruction-reflector.md" -OutFile "$env:USERPROFILE\.claude\agents\instruction-reflector.md"
Then run claude and ask for the task — the agent is picked by its description.
Source
agents/instruction-reflector.md in feiskyer/claude-code-settings, pinned at 0443b11c6690, license MIT.
Checked for hidden characters, outbound commands and self-installing shells — not a security audit. The agent runs with the tools listed above.