Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Fly.io 5 min read How-to mediumAdept

Context Engineering Is Just Writing Things Down

Agent output quality depends more on project and environment context than on model capability, and that context can be built from plain files on disk. OpenClaw's memory design (append-only daily logs, a curated MEMORY.md, hybrid BM25/vector recall weighted 70/30 with diversity re-ranking on SQLite) illustrates the idea. In a Fly.io Sprite, four mechanisms supply that context: CLAUDE.md for conventions, Skills for repeatable workflows like a preflight check, hooks that inject live service and git state, and checkpoints that persist the whole environment. A sample Bun + Hono + Postgres project shows Claude fixing a bug while following the test, logging and error conventions without being told.

Assumes: Claude Code basicscoding agents

Related posts

  • Our Claude Code Cheatsheet

    Neon mediumAdept

    A Neon engineer's working cheatsheet for Claude Code covers Plan Mode, parallel task agents for multi-lens code review, and context management with /clear, /compact, /context and @file references. It also covers MCP servers (Serena for symbol-level navigation, Context7 for docs, Playwright for UI checks), CLAUDE.md memory files, sub-agents with clean context, custom slash commands in .claude/commands, headless piping (e.g. npm audit into claude -p), session resume/rewind, and cost tracking. The recurring advice is to plan first, define types or schemas before implementation, and keep context lean and explicit.

  • Beyond the Hype: How to Use AI to Actually Increase Your Productivity as a Dev

    Docker mediumAdept

    Effective AI-assisted coding comes from applying classic engineering discipline in a four-phase loop: prompting, planning, producing and refining. Strict context management matters most. That means clearing the agent's context between tasks, decomposing work into small prompts, chaining prompts through a separate LLM, and saving good prompts as reusable slash commands. Review the agent's plan before it writes code and treat its output like a teammate's code. Over time, keep refining steering files such as CLAUDE.md as compact indexes that link to more detailed docs.

  • Agent experience and agent-led growth: a chat with Caelean Barnes

    Mux easyNovice

    Coding agents like Claude Code and Codex increasingly choose which developer tools get adopted, and Gauge measures that choice by running agents in sandboxes, checkpointing sessions, and testing variants of prompts, docs, skills and CLIs against success criteria over many trials. Technical documentation, especially framework-specific setup guides that match the agent's codebase, drives tool selection more than marketing content. Small wording changes have large effects: turning Clerk's "claim your key" prompt into an error roughly tripled CLI account creation, and rephrasing a skill-install suggestion as "verify you have the skill installed" stopped agents from treating it as prompt injection. Detailed, actionable error messages and CLIs with well-defined commands tend to work better for agents than static skill files, which are hard to update.

  • Agents hate friction: early thoughts on building for agents

    ClickHouse easyNovice

    Tools designed with good human developer experience (CLIs, SDKs) work with agents but often only adequately, because agents use them differently and abandon products when they hit friction. In ClickHouse's testing with model/harness combinations given varying context, agents have given up after around 30 failed attempts and switched to another database. The author proposes dimensions for measuring agent experience: steps to completion, error messages that enable self-correction, run-to-run consistency, context and token efficiency, and reusing familiar CLI patterns like gh or kubectl. Adding actionable hints to errors is called the lowest-hanging fruit, with the caveat that these lessons may shift as models improve.

  • Scaling Managed Agents with stable interfaces

    Anthropic Engineering mediumAdept

    Claude Managed Agents splits a long-running agent into three virtualized interfaces: an append-only session log, a stateless harness that calls Claude and routes tool calls, and sandboxes reached through a generic `execute(name, input) → string` tool call. Moving off a single coupled container turned sandboxes and harnesses into replaceable cattle. A crashed harness resumes from the durable log via `wake(sessionId)`, and credentials sit in vaults or MCP proxies the sandbox can't reach, which blocks prompt-injection token theft. The session also serves as a queryable context store outside Claude's context window. Provisioning containers lazily, only when a tool needs one, cut p50 time-to-first-token by about 60% and p95 by over 90%.

The quest for software engineering knowledge.

Look:
Layout: