Why Agent Workflows Are Hard to Customize Through Chat
Chat is strong at expressing intent but weak at locking in constraints. This article explains why coding agents fail on multi-file, multi-repo work when they rely on conversation memory, and how reusable skills—with contracts, permissions, staged orchestration, and verification—make agent workflows reproducible.
Where the problem starts: conversation is strong, process is weak
Many teams first treat a coding agent as a wish machine: describe a goal in natural language and expect the system to fill in the environment, pick tools, write code, run tests, and ship a result. In the short term the interaction cost is low. In the medium term, once a task spans files, repositories, and release cadence, failure rates climb quickly.
The reason is not mysterious. A chat UI is good at expressing intent and poor at freezing constraints. A successful run often depends on the current context window, tool availability, repository state, and live user corrections. Those factors almost never replay identically in the next conversation. The typical experience follows: the same class of request finished yesterday, then a different phrasing today sends the agent off track. The more users treat the system as a wish machine, the farther it can wander down the wrong path.
Industry practice has converged on a consensus: to make agents productive, you cannot rely on session memory alone. Reusable capability must become a skill—an executable unit with clear inputs and outputs, steps, permission boundaries, and acceptance criteria. Chat triggers and fine-tunes; skills keep the run stable.
Skills vs. conversation memory: two different ways of “getting work done”
Agent capability sits in two layers.
The first is session state. It includes the current dialogue, temporary files, and output from a command that just failed. It is flexible, but volatile, hard to audit, and hard to migrate. Expecting the agent to “remember how we did it last time and do it automatically” is betting an engineering process on probabilistic context compression.
The second is skill state. A skill is a prewritten, versioned process description: which directories to read and when, how to run tests, rollback on failure, which operations need human confirmation. It is closer to a mix of script and spec than a summary of chat history.
The relationship should be: skills define the correct path; conversation only supplies business meaning at forks. If you reverse that—growing a process out of chat—the agent searches in a space with few constraints. The larger the search space, the higher the chance of disruption. That is not the model being “not smart enough”; the task is modeled wrongly.
A direct comparison:
| Dimension | Chat-only customization | Skill-driven |
|---|---|---|
| Reproducibility | Low; depends on in-the-moment context | High; versionable and regressable |
| Permission boundary | Fuzzy; easy to overwrite files out of scope | Declared read-only / writable ranges |
| Acceptance | Subjective “looks right” | Tests, static checks, checklists |
| Collaboration | Hard to hand off | Reviewable and reusable |
| Failure handling | Keep guessing | Explicit rollback and alerts |
Why “use an agent without programming skill” often falls through
Marketing often frames agents as a way to lower the programming bar. For single-file drafts, explaining errors, and sample snippets, that is largely true. Once you enter real engineering—dependency locks, migration scripts, release checks, multi-module coupling—if nobody writes constraints as skills, the agent can only improvise inside the repo.
Improvisation creates three systemic risks:
- Goal drift. The user says “optimize the build”; the model may change the build script or “optimize” business code along the way. Without a scope declaration in a skill, the system cannot tell the boundary.
- Tool misuse. The agent may repeatedly run expensive commands, overwrite uncommitted local changes, or commit on the wrong branch. Chat is a poor channel for stable “do not do this” rules.
- False completion. It reports “fixed” without running tests, or changes only one call site. Without acceptance steps, the definition of done is invented by the model.
So “you can use agents well without writing code” is more accurately: people who do not write code can use skills someone else already wrote. The skill itself is still an engineering artifact. Someone must define steps, exceptions, and checkpoints in a programmable way. Conversation is the usage interface, not the source of production capability.
Structured pieces a reliable process needs
A run that actually finishes work usually includes the following modules. Missing any one of them collapses back into wishing.
1. Task contract. Describe the goal with structured fields, not a paragraph of prose. Examples: target repo path, allowed path prefixes, configs that must not be touched, expected test command, maximum runtime. Clearer contracts mean a smaller search space.
2. Tool allowlist and side-effect tiers. Read-only search, local compile, writing files, and pushing remote have very different side effects. Skills should default to least privilege: read before write, diff before write, confirmation for high-side-effect steps.
3. Staged orchestration. Typical stages: understand repo structure → locate the change surface → small-step edits → run checks → iterate from failure logs → emit a change summary. Stages connect with an explicit state machine, not “figure it out.”
4. Observable intermediate artifacts. Plan lists, file-level diffs, and test-log summaries should be first-class and persisted. That supports human review and reuse in later skill runs, instead of burying everything in chat bubbles.
5. Failure semantics. Timeouts, red tests, and missing dependencies should map to fixed policies: retry, shrink scope, ask a human, abort. Do not let the model rewrite the goal after failure just to “close the ticket.”
A skill description can be plain; what matters is that it is executable and checkable:
skill: repo-safe-refactorinputs:- goal: string- allow_paths: glob[]- test_cmd: stringsteps:- scan: read only files under allow_paths; output impact surface- plan: list a modification plan for at most N files- patch: apply minimal diffs per the plan- verify: run test_cmd; on failure, roll back or patch only already-changed files- report: output changed files, test results, residual riskguards:- do not modify outside allow_paths- do not delete lock files or secrets- on single-run timeout, abort and keep the workspace
This kind of description need not bind to one vendor. Object storage can hold artifacts, logging can collect traces, containers can isolate runtime, and monitoring can alert on timeout or test failure. The categories are generic; the value is orchestration, not slogans.
What memory should store—and what it should not
“Let the agent remember so we can customize the process” sounds appealing, but memory types must be split.
- Preference memory: code style, commit-message format, language version. Suitable for long-term storage, and it should be editable and deletable.
- Project facts: module boundaries, build entry points, test commands. These belong in in-repo specs or skills, not only in one session.
- Process memory: detours from a particular debug session. At most a case study; it must not automatically become the default flow, or a lucky success becomes a bad habit.
Treating process memory as a skill writes noise into production config. The right path is: notice a stable pattern in chat → extract a skill draft (manually or semi-automatically) → regress on real tasks → merge into version control. Skip extraction and regression, and richer memory makes behavior less predictable.
The gap versus general coding assistants is an engineering gap
People notice that interactive coding assistants can occasionally ship a small tool under “vibe coding,” while an agent without a skill layer collapses on the same wish. That is not mysticism. The former usually writes code in a smaller context with the user watching the output. The latter is given a longer tool chain and more filesystem privilege, so errors get amplified by tools.
If an open-source or homegrown agent framework spends energy on chat UX, plugin marketplaces, and UI motion, but does not make the skill lifecycle (author, test, permission, publish, roll back) solid, it will struggle to keep up with systems that treat executable specs as first-class. The agent loop looks ordinary—plan, call tools, observe, replan. The technical substance is how each step is constrained, reproducible, and accountable. Without that, the process is nested prompts.
Practice: treat the agent as a pipeline, not a chat partner
For developers and enterprise rollout, build in this order instead of chasing full autonomy first.
Write acceptance before the agent. Without a test command and a definition of done, do not open write permission.
Read-only skills before mutating skills. Let the system explain the repo and locate issues before it may change code.
Put skills in the repo. Review them with the code; avoid private magic in personal sessions.
Human gates by default. Merge, release, secrets, and production config must be confirmed.
Record traces. Plans, diffs, and test logs from each run should be searchable for incident review.
Slice small tasks. One skill, one class of work (fix tests, bump dependencies, generate release notes). Avoid super-wishes.
For business users who do not write programs, the product shape should be pick a published skill and fill a few business parameters, not unbounded chat. Chat can explain what a skill is doing; it should not invent the process on the fly.
Conclusion
An agent is not a wish translator; it is a program with tools. Conversation lowers startup cost but does not replace skill definitions, permission models, and acceptance criteria. Once that is clear, “can you use agents well without programming skill?” has a clean answer: you can use skills others packaged; without skills and constraints, the system will almost always fail at the job. Write the process as versioned skills, and agents move from demo to engineering.
