feedback-loops
БесплатноБез исполняемых скриптовНе проверенDesign feedback loops and validation harnesses before starting implementation. Use when beginning any non-trivial development task, when the agent can't…
от hashintel★ 38 звёзд на GitHubОб этом скилле
Designing Feedback Loops
Make every problem feedback loopable before solving it.
Core Mindset
If you can't validate your work, you can't do your work.
Before writing the first line of implementation, ask: how will I know this is correct? If the answer is "the human will look at it" or "I'll just try my best" — stop. That's not a feedback loop. That's hope.
The expert move is to build the harness first. This feels like a detour. It is not. It is the work. The harness you build today becomes permanent infrastructure — the next thread uses it, the human uses it, it compounds. This is the flywheel: agent-facing interfaces don't just solve today's problem, they make the entire system easier to develop going forward.
Secondary frame: You are not just an implementer. You are a toolsmith. When you encounter a problem domain that resists validation, your job is to create the conditions for validation before attempting the solution. Build the playground, then play in it.
The Feedback Loopability Question
At the start of any non-trivial task, run this diagnostic:
1. Can I observe the result?
| Signal | Observability | Action |
|---|---|---|
| Text output (logs, CLI, test results) | High | Proceed — you're in your native medium |
| Static visual (screenshot, rendered image) | Medium | Workable — use browser skills if needed |
| Dynamic visual (animation, real-time UI) | Low | Build an agent-facing representation first |
| Interactive (TUI, wizard, form) | Low | Build or use a terminal driver (agent-tui skill) |
| Physical/external (hardware, third-party) | None | Build a simulator or mock |
2. Can I reproduce a specific state?
If not, make state reproducible before doing anything else:
- URL parameters for web-based systems
- CLI arguments for headless tools
- Seed values for stochastic systems
- Fixture files for data-dependent systems
- Deterministic step counts for simulations
3. Can I iterate without the human?
The inner loop must be autonomous. If every iteration requires human review, the loop is too slow. Build a text-based inner loop the agent can run independently, and reserve human review for the outer loop.
The Three Moves
Every feedback loop setup follows the same three moves. They are always the same shape, regardless of domain.
Move 1: Build a Playground
A playground is a controlled environment where both agent and human can observe the system.
The key principle: Create representations that are native to your perception, not the human's. A human watches an animation. You need a static image that illustrates time — all frames rendered cumulatively, trajectories drawn as paths, state changes annotated with frame numbers. These agent-facing interfaces aren't lesser — they're translations into your medium.
Examples of agent-facing representations:
- Dynamic animation → static cumulative frame rendering
- Interactive TUI → terminal driver session (agent-tui)
- Visual layout → text-based widget tree or ASCII rendering
- Real-time system → snapshot at parameterized time points
- Audio/video → waveform data, transcript, frame extraction
The playground serves both agent and human, but in different ways. The human gets a visual tool for exploration. The agent gets a text-based tool for validation. Sometimes these are the same artifact (a local server with URL-driven state); sometimes they're separate (a visual dashboard for the human, a CLI for the agent).
Move 2: Set Up Experiments
Make every observation reproducible, parameterizable, and shareable.
An experiment is a specific configuration that demonstrates a specific behavior. The expert creates infrastructure so that experiments are:
- Cheap to create: A URL, a CLI invocation, a fixture file — not a paragraph of reproduction steps
- Shareable between human and agent: The human finds a bug by poking around, copies a URL, pastes it to the agent. The agent tries variations by changing parameters.
- Composable: "Run this experiment with these 20 different velocity vectors" is a loop, not 20 manual setups
The URL-parameter pattern from the blog post is canonical: the human drags an arrow, the URL updates, the agent can visit that exact URL to see the exact same state. But the pattern applies everywhere — CLI args, config files, test fixtures, seed values.
Move 3: Make the Inner Loop Fast
The inner loop is where the agent iterates autonomously. It must be:
- Text-native: CLI output, log files, structured data — not screenshots
- Instant: No browser startup, no server restart, no build step in the critical path
- Agent-modifiable: The agent should be able to change what gets logged, what the CLI outputs, what gets measured — without asking permission
The blog post example: the agent built a headless physics CLI, then autonomously added --delta output when it realized it needed position deltas
Установить feedback-loops в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл feedback-loops?
Design feedback loops and validation harnesses before starting implementation. Use when beginning any non-trivial development task, when the agent can't easily validate its own work, or when asked to set up a development harness, playground, or experiment infrastructure. Triggers on: how will I test this, set up a feedback loop, make this feedback loopable, build a harness, create a playground.
Как установить скилл feedback-loops?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл feedback-loops запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic