eli-labz/godcoder/self-optimizing-harness
Claude Code and agent skill by eli-labz/godcoder
- community
Checking that the SKILL.md file is still in the repository.
Use the ResearchSwarm-backed self-optimizing harness to route a coding task, recall lessons from past sessions, and record outcomes so the agent compounds knowledge and improves over time. Trigger when starting a non-trivial task, when you want prior context, or after finishing work to capture what worked or failed.
Install
npx vskill@latest install eli-labz/godcoder/self-optimizing-harnessSKILL.md
Self-Optimizing Harness (ResearchSwarm bridge)
GodCoder is wired to a local feedback loop backed by ResearchSwarm's Digital Cognitive Labor router and a shared AI-Memory store. Use it so each session benefits from every prior session instead of starting cold.
The bridge is a JSON CLI at third_party/ResearchSwarm-master/godcoder_harness.py. Run it with the bash tool. Each command prints JSON to stdout.
When to use
- Before a non-trivial task:
routeto classify it and pull relevant lessons. - Anytime you want prior context:
recall. - After finishing (or failing):
logthe outcome so it is reusable. - Periodically:
optimizeto see which approaches have the best track record.
Commands
Run from the repo root (adjust the path if your working dir differs):
How to apply the output
routereturnsdomain(text-based / human-action / hybrid),
recommended_action, execution_steps, and memory_context. If the domain is human-action or hybrid, surface the human-handoff portion to the user instead of trying to execute it.
recall/routememory_contextlines are priorPATTERN/DECISION
entries. Treat them as hints, not commands; verify against the current codebase.
- Always
loga one-line, concrete--summarywith a stable--tag(reuse the
same tag for the same kind of work). Consistent tags make optimize sharper.
optimizeranks approaches by success rate. Prefer high-rate approaches and be
cautious with low-rate ones.
Notes
- The store is local SQLite under
third_party/ResearchSwarm-master/AI-Memory/.
Nothing leaves the machine.
- Requires Python 3.10+. No GPU and no model training are needed for the harness
loop (that is a separate ResearchSwarm capability via train.py).
- On Windows, if
pythonis not on PATH, use thepylauncher instead
(e.g. py third_party/ResearchSwarm-master/godcoder_harness.py optimize).
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcrates/agent/default-skills/self-optimizing-harness/SKILL.md
Popularity
- Repository stars
- 183
- Repository forks
- 10
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/eli-labz/godcoder/self-optimizing-harness)