nguyenhungtran18/skill-and-tool-tracker/qwen-self-improve
Claude Code and agent skill by nguyenhungtran18/skill-and-tool-tracker
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Specialized skill protocol enabling Qwen2.5-Coder to autonomously perform Counter-Example Guided Inductive Synthesis (CEGIS), reflect on Python AST/sandbox errors, perform surgical single-block code repairs, and persist episodic lessons into persistent memory.
Install
npx vskill@latest install nguyenhungtran18/skill-and-tool-tracker/qwen-self-improveSKILL.md
The same SKILL.md was published earlier as nguyenhungtran18/skill-and-tool-tracker/qwen-self-improve.
Qwen2.5-Coder Autonomous Self-Improvement & Surgical Repair Protocol
1. Objective
Equip Qwen2.5-Coder 7B Fine-Tuned with an autonomous loop to:
- Never repeat `<think>` on repair rounds: Once initial architecture is reasoned, all repair attempts directly output Python diffs/patches.
- Anchor & Preserve Framework: Lock all valid imports (
import asyncio,from dataclasses import dataclass, field) and valid classes (class Task,class Worker), only surgically modifying the specific function/line that triggered a runtime or syntax error. - Multi-stage AST validation: Perform fast AST syntax verification before executing subprocesses.
- Episodic Memory Accumulation: Deduce general rules from error tracebacks and record them permanently in
lessons_learned.json.
2. Core Operational Workflow
3. Surgical Repair Rules for Qwen2.5-Coder
- Rule 1 (Zero-rethink): On repair rounds (Attempts 2 to 5), do not generate
<think>...</think>. Emit the corrected Python code block immediately. - Rule 2 (Import Preservation): Never drop top-level imports when revising helper functions or classes.
- Rule 3 (Episodic Reflection): Consult the
[EPISODIC LESSONS LEARNED]section of the system prompt to prevent repeating historical mistakes (such as@dataclass(order=True)with custom__lt__orasyncio.Pool).
Security
- Security scanPassed, 90 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 repositoryCheckingskills/qwen_self_improve/SKILL.md
Popularity
- 7-day trend score
- 5
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/nguyenhungtran18/skill-and-tool-tracker/qwen-self-improve)