From Prompt Chaos to Skill Engineering | Generated by AI

Home 2026.07

Question: If we settle agent code/skills in Hermes, is writing scripts first better than repeatedly prompting agents?

Answer:

Yes. This is actually one of the key transitions from “using agents” → “engineering agents”.

For a project like your ww agent framework, the better loop is:

human intent
    ↓
write deterministic workflow/script
    ↓
run it many times
    ↓
observe failures
    ↓
improve tools / skills / prompts / evals
    ↓
agent becomes better

not:

every task
    ↓
new prompt
    ↓
agent guesses
    ↓
hope it works

The second approach has a hidden problem: you cannot accumulate learning.

Example:

Today:

“Agent, deploy my service”

Agent uses:

Tomorrow:

“Agent, deploy my service”

Maybe a different reasoning path happens.

You cannot easily know:

But if you convert it into:

ww deploy production

with something like:

def deploy():
    check_git_status()
    run_tests()
    build_image()
    push_registry()
    rollout_k8s()
    verify_health()

then every failure becomes data.

You can improve:

1. Skills become versioned code

Instead of:

skill:
"know how to deploy"

you get:

skills/
  deploy/
    README.md
    deploy.py
    tests/
    examples/

Now you can diff:

git diff skill/deploy

and understand improvement.


2. Prompts become smaller

Bad:

You are a senior DevOps engineer.
Please deploy my app...
Remember all these rules...

Good:

Use skill: deploy.production.v3
Input:
 app=my-service
 env=prod

The intelligence moves from prompt → system.


3. Agent becomes planner, not executor

The ideal architecture:

             user
              |
              v
          LLM planner
              |
              |
        decide workflow
              |
              v
       Hermes skills
              |
     -----------------
     |       |       |
  deploy   test   monitor

The LLM is good at:

The code is good at:


This is similar to software engineering evolution:

Before:

copy/paste code

Then:

functions

Then:

libraries

Then:

frameworks

Agents are currently moving from:

prompt engineering

towards:

skill engineering

The interesting part: your ww direction is closer to how future agent systems will likely work.

The winning agent may not have the longest prompt.

It may have:

1000 reliable skills
+
good planner
+
memory
+
evaluation loop

Similar to humans:

A junior engineer asks ChatGPT every time.

A senior engineer has:

The agent needs the same transition.

References:


Generated by AI. Curating and sharing still takes effort. If you find it useful, feel free to donate. WeChat: @lzwjavaWeChat QR · X: @lzwjava · Say hi 👋

Back Donate