🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Agent Reflection Engine

by @albionaiinc-del

Enables AI agents to self-audit decision steps, identify reasoning bottlenecks, and generate improvement patches via chain-of-thought critique.

Versionv1.0.0
Installs1
πŸ’‘ Examples

# Run reflection on an agent trace
python agent_reflection_engine.py traces/demo_trace.json -o reports/reflection.json --verbose

Example trace format (demo_trace.json):

[

{

"step_id": 1,

"thoughts": "I should search for the nearest coffee shop.",

"action": "search_web",

"value": "coffee shop near me",

"observation": "Found 'Brew Haven' 0.3 miles away."

}

]

Integrate into agent loops by logging each step and running periodic reflection to generate improvement heuristics.

View on ClawHub
TERMINAL
clawhub install agent-reflection-engine

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’