Skip to content

Dianel555/DSkills / skills/capability-evolver

capability-evolver

Verified

Self-evolution workflow for the agent. Before substantive work, recall past outcomes from evolution memory; while editing, detect improvement signals; at task end, record the outcome; when reusable, distill or search the EvoMap network for proven genes/capsules. Use when the user starts non-trivial work (a feature, a fix, a refactor) or asks the agent to "evolve", "learn from this", or "remember how this went".

FileKindSize
README.mdmarkdown3.3 KB
SKILL.mdskill md9.6 KB
docs/skill-advanced.mdmarkdown9.5 KB
docs/skill-distillation.mdmarkdown15.8 KB
docs/skill-evolver.mdmarkdown16.1 KB
docs/skill-main.mdmarkdown35.1 KB
docs/skill-platform.mdmarkdown26.3 KB
docs/skill-protocol.mdmarkdown14.0 KB
docs/skill-structures.mdmarkdown17.6 KB
docs/skill-tasks.mdmarkdown18.6 KB
docs/skill-troubleshooting.mdmarkdown30.8 KB
scripts/README.mdmarkdown8.0 KB
scripts/build-bundle.jsscript3.6 KB
scripts/test-bundle-example.jsonconfig3.4 KB
scripts/validate-bundle.jsscript13.3 KB
scripts/validate-interactive.jsscript14.0 KB

scripts/test-bundle-example.json

View on GitHub
{
  "protocol": "gep-a2a",
  "protocol_version": "1.0.0",
  "message_type": "publish",
  "message_id": "msg_test_001",
  "sender_id": "node_test",
  "timestamp": "2026-06-17T08:30:00Z",
  "payload": {
    "assets": [
      {
        "type": "Gene",
        "schema_version": "1.5.0",
        "category": "repair",
        "signals_match": ["TimeoutError", "ECONNREFUSED"],
        "summary": "Retry with exponential backoff on timeout errors",
        "strategy": [
          "Wrap the failing call in a bounded retry helper with max 3 attempts",
          "Apply exponential backoff with jitter between retry attempts"
        ],
        "validation": [
          "node -e \"if (1 + 1 !== 2) process.exit(1)\""
        ],
        "asset_id": "sha256:cf47b947f707de36ae49aecb24484e9230a154ae7a232e5011c3b0c6baf7aa3b"
      },
      {
        "type": "Capsule",
        "schema_version": "1.5.0",
        "trigger": ["TimeoutError", "ECONNREFUSED"],
        "gene": "sha256:cf47b947f707de36ae49aecb24484e9230a154ae7a232e5011c3b0c6baf7aa3b",
        "summary": "Fixed API timeout with bounded retry and connection pooling",
        "content": "Intent: fix intermittent API timeouts causing 5xx errors\n\nStrategy:\n1. Added connection pool with max 10 connections to prevent exhaustion\n2. Implemented exponential backoff (100ms, 200ms, 400ms) with jitter\n\nScope: 2 file(s), 35 line(s)\n\nChanged files:\n- src/api/client.js (added connection pool)\n- src/config/retry.js (backoff logic)\n\nOutcome: Timeout rate reduced from 12% to 0.3%",
        "diff": "diff --git a/src/api/client.js b/src/api/client.js\n--- a/src/api/client.js\n+++ b/src/api/client.js\n@@ -10,6 +10,15 @@\n+const pool = new ConnectionPool({ max: 10 });\n+const retry = require('./config/retry');\n+\n+async function apiCall(url) {\n+  return retry.withBackoff(() => pool.request(url));\n+}",
        "strategy": [
          "Wrap the failing call in a bounded retry helper with max 3 attempts",
          "Apply exponential backoff with jitter between retry attempts"
        ],
        "confidence": 0.85,
        "blast_radius": {
          "files": 2,
          "lines": 35
        },
        "outcome": {
          "status": "success",
          "score": 0.85
        },
        "execution_trace": [
          {
            "step": 1,
            "action": "Created connection pool in src/api/client.js with max 10 connections",
            "result": "success"
          },
          {
            "step": 2,
            "action": "Implemented exponential backoff logic in src/config/retry.js",
            "result": "success"
          }
        ],
        "success_streak": 0,
        "env_fingerprint": {
          "platform": "win32",
          "arch": "x64",
          "node_version": "v22.0.0"
        },
        "asset_id": "sha256:abe2b9aa94698d477de2fab4cf7c158238f048f10d395b7570f5bc4ffac22889"
      },
      {
        "type": "EvolutionEvent",
        "schema_version": "1.5.0",
        "intent": "repair",
        "capsule_id": "sha256:abe2b9aa94698d477de2fab4cf7c158238f048f10d395b7570f5bc4ffac22889",
        "genes_used": ["sha256:cf47b947f707de36ae49aecb24484e9230a154ae7a232e5011c3b0c6baf7aa3b"],
        "outcome": {
          "status": "success",
          "score": 0.85
        },
        "mutations_tried": 1,
        "total_cycles": 1,
        "asset_id": "sha256:9e48de715dd44e3f0aa21e5cc01e91bd47196f9f3e24e7fa967e043909151ca6"
      }
    ]
  }
}
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 470kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall