pageel/para-workspace/self-improvement
Claude Code and agent skill by pageel/para-workspace
- community
Checking that the SKILL.md file is still in the repository.
Enables the AI Agent to continuously improve developer velocity and code quality by recording terminal failures, recurring TDD errors, and architectural drift into the para-graph memory, and retrieving past resolutions to avoid repeating mistakes.
Install
npx vskill@latest install pageel/para-workspace/self-improvementSKILL.md
Self-Improvement via para-graph
Purpose: Automate the recording, lookup, and resolution of developer struggles (friction beads) and code quality insights using graph memory.Trigger: Activates when a terminal command fails (exit code != 0), a Vitest test runs fail twice, linter halts, or during the/endworkflow.
Workflow
Step 1: JIT Retrieval on Failure
Whenever a terminal command or test execution fails:
- Extract the core error message or error code (e.g.
INVALID_REDIRECT_URIorMiniflare transaction failed). - Call
memory_searchorinsight_searchMCP tool on thepara-graphserver with the error string as the query. - If a past resolution is found:
- Apply the solution immediately.
- Inform the user: "Retrieving past fix from graph memory..."
- If no past resolution is found, proceed to debug and resolve manually.
Step 2: Friction Beads Logging
Once a new error/friction is successfully resolved:
- Log the error and the successful resolution using
memory_pushMCP tool:
- projectName: [active-project-name]
- kind:
friction-bead - content: Comprehensive detail of the error message and the fix.
- metadata:
{ "category": "linter|test-failure|config-drift", "error_pattern": "[regex/keywords]", "resolution": "[fix applied]" }
- Call
memory_curateMCP tool to consolidate the new memory event.
Step 3: Post-Session Reflection
During the /end workflow (before closing the session):
- Call the
session_telemetry_queryMCP tool on thepara-graphserver:
- projectName: [active-project-name]
- limit: 5
- Parse the returned session telemetry logs and friction details.
- Group the friction events by type/message and summarize the session struggles.
Step 4: Rule & Insight Graduation
If the same friction bead or error pattern occurs $\ge 2$ times across sessions:
- Propose a rule graduation to the user in the chat:
- "I noticed we solved [Error X] twice. I suggest adding this rule to agent-behavior.md to prevent it from happening again. Approve?"
- If approved, append the rule to
.agents/rules/agent-behavior.md(or the project rules file). - Push the finalized lesson learned via
insight_pushMCP tool (kind:pattern-lesson).
Input / Output
Input Example (Friction bead push)
Output Example (Reflection Summary)
Edge Cases
- MCP Server Offline: If
para-graphtools are missing or return errors, fall back to writing temporary log files inartifacts/scratch/friction-beads.log. Do not block the execution. - Empty Query Results: If
memory_searchreturns no matches, proceed directly to standard debugging without warning.
๐งช Test Mode (Sandbox Override)
Trigger: User includes "Test Mode" or explicitly asks to evaluate/test this skill.
When in Test Mode, STRICTLY follow these overrides:
- No Live Edits: Do NOT modify rules files or workflows outside the sandbox directory.
- Containment: Route ALL outputs and friction-bead logs into
[PROJECT_ROOT]/sandbox/evals/self-improvement-[YYYY-MM-DD]/. - Execute Task: Simulate telemetry parsing and report creation using dummy data.
- Generate Report: After completing the task, create
test-report.mdin the sandbox folder.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtemplates/common/agents/skills/self-improvement/SKILL.md
Popularity
- Repository stars
- 48
- Repository forks
- 18
- 7-day trend score
- 19
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/pageel/para-workspace/self-improvement)