pageel/para-workspace/self-improvement

Claude Code and agent skill by pageel/para-workspace

Trust tier 2
  • community
LLM review pending
Source check pending

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-improvement

SKILL.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 /end workflow.

Workflow

Step 1: JIT Retrieval on Failure

Whenever a terminal command or test execution fails:

  1. Extract the core error message or error code (e.g. INVALID_REDIRECT_URI or Miniflare transaction failed).
  2. Call memory_search or insight_search MCP tool on the para-graph server with the error string as the query.
  3. If a past resolution is found:
  • Apply the solution immediately.
  • Inform the user: "Retrieving past fix from graph memory..."
  1. 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:

  1. Log the error and the successful resolution using memory_push MCP 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]" }
  1. Call memory_curate MCP tool to consolidate the new memory event.
Step 3: Post-Session Reflection

During the /end workflow (before closing the session):

  1. Call the session_telemetry_query MCP tool on the para-graph server:
  • projectName: [active-project-name]
  • limit: 5
  1. Parse the returned session telemetry logs and friction details.
  2. 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:

  1. 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?"
  1. If approved, append the rule to .agents/rules/agent-behavior.md (or the project rules file).
  2. Push the finalized lesson learned via insight_push MCP tool (kind: pattern-lesson).

Input / Output

Input Example (Friction bead push)
json
{
"kind": "friction-bead",
"sessionId": "2026-07-02-session-auth",
"content": "Miniflare failed to resolve local D1 mock because seed data was missing in worker directory",
"metadata": {
"category": "test-failure",
"error_pattern": "D1_DATABASE.prepare is not a function",
"resolution": "Run wrangler d1 migrations apply --local before running vitest"
}
}
Output Example (Reflection Summary)
markdown
### ๐Ÿ”„ AI Self-Improvement & Friction Report
-**Telemetry Errors detected:** 3 (Vitest runner exited with code 1)
-**Resolved via Memory:** 1 (Matched pattern: 'wrangler d1 migrations')
-**New Friction Bead recorded:** 1 ('Miniflare transaction timeout')
-**Proposals for User:**
-Add rule to `agent-behavior.md` to run local migrations in Phase 0.

Edge Cases

  • MCP Server Offline: If para-graph tools are missing or return errors, fall back to writing temporary log files in artifacts/scratch/friction-beads.log. Do not block the execution.
  • Empty Query Results: If memory_search returns 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:

  1. No Live Edits: Do NOT modify rules files or workflows outside the sandbox directory.
  2. Containment: Route ALL outputs and friction-bead logs into [PROJECT_ROOT]/sandbox/evals/self-improvement-[YYYY-MM-DD]/.
  3. Execute Task: Simulate telemetry parsing and report creation using dummy data.
  4. Generate Report: After completing the task, create test-report.md in 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/pageel/para-workspace/self-improvement/badge)](https://verified-skill.com/skills/pageel/para-workspace/self-improvement)

Something wrong with this skill or its page? Tell us.