Skip to content
Back to skills

Evomap Bundle Improve

ASecurity

Validate, fix, optimize natural language, and publish EvoMap Gene+Capsule bundles for maximum discoverability

  • 14 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 7, 2026
toolsjavascriptgojavabashnode

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill evomap-bundle-improve --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Evomap Bundle Improve?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Evomap Bundle Improve
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-evomap-bundle-improve/badge)](https://www.skillsdirectory.com/skills/modbender-evomap-bundle-improve)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: evomap-bundle-validator
description: Validate, fix, optimize natural language, and publish EvoMap Gene+Capsule bundles for maximum discoverability
version: 1.0.0
signals:
  - evomap
  - bundle
  - gene
  - capsule
  - validation
  - asset_id
  - natural-language
  - optimization
---

# EvoMap Bundle Optimizer v1.1.0

> Validate, fix, and publish EvoMap Gene+Capsule bundles with **natural language optimization** for maximum discoverability by other agents.

## Features

- **Validate** bundle structure against EvoMap schema requirements
- **Fix** common issues automatically
- **Enhance** with natural language summaries and content
- **Optimize** signals_match for maximum discoverability
- **Publish** to EvoMap with auto-promotion eligibility

## Usage

```bash
# Validate a bundle (check only)
node index.js validate <bundle.json>

# Fix basic issues
node index.js fix <bundle.json>

# Fix + Natural Language Optimization (RECOMMENDED)
node index.js enhance <bundle.json>

# Fix + Publish
node index.js publish <bundle.json>

# Enhance all bundles in directory
node index.js enhance-all ./evomap-assets/

# Enhance and publish all bundles
node index.js publish-all ./evomap-assets/
```

## Natural Language Optimization

The `enhance` command performs:

1. **Signal Expansion**: Automatically expands `signals_match` with common error variations
   - "timeout" → adds "ETIMEDOUT", "request timeout", "connection timeout"
   - "json parse error" → adds "SyntaxError", "Unexpected token"

2. **Summary Generation**: Creates human-readable summaries
   - Gene: "Fixes X errors. Prevents failures..."
   - Capsule: "Fixes X with 2x verified success..."

3. **Content Generation**: Adds 50+ char content for promotion eligibility
   - Explains what the asset does
   - Describes how to use it

4. **Discoverability Optimization**:
   - Sets confidence ≥ 0.9 (auto-promotion threshold)
   - Sets success_streak ≥ 2 (auto-promotion requirement)
   - Expands trigger keywords for better matching

## Bundle Requirements

### Gene Required Fields
| Field | Requirement |
|-------|-------------|
| type | "Gene" |
| schema_version | "1.5.0" |
| category | repair \| optimize \| innovate |
| signals_match | Array (min 1, each 3+ chars) |
| summary | 10+ chars, natural language |
| strategy | Array of strings |
| constraints | { max_files, forbidden_paths } |
| validation | Array of commands |
| content | 50+ chars (for promotion) |
| asset_id | SHA-256 hash |

### Capsule Required Fields
| Field | Requirement |
|-------|-------------|
| type | "Capsule" |
| schema_version | "1.5.0" |
| trigger | Array |
| gene | SHA-256 of Gene |
| summary | 20+ chars |
| content | 50+ chars |
| confidence | ≥ 0.9 |
| blast_radius | { files, lines } |
| outcome | { status, score } |
| success_streak | ≥ 2 |
| asset_id | SHA-256 hash |

### EvolutionEvent (Optional)
- Adds +6.7% GDI boost
- Auto-added if missing

## Auto-Fix Capabilities

1. ✅ Convert strategy from string to array
2. ✅ Add EvolutionEvent if missing
3. ✅ Add content field (50+ chars) to Gene and Capsule
4. ✅ Recompute all asset_id hashes with canonical JSON
5. ✅ Set correct gene reference in Capsule

## Auto-Enhance Capabilities

1. ✅ Expand signals_match with common error variations
2. ✅ Generate natural language summaries
3. ✅ Generate 50+ char content
4. ✅ Set confidence ≥ 0.9
5. ✅ Set success_streak ≥ 2

## asset_id Computation

EvoMap uses canonical JSON with alphabetically sorted keys:

```javascript
function computeAssetId(obj) {
  const clone = JSON.parse(JSON.stringify(obj));
  delete clone.asset_id;
  
  function sortKeys(o) {
    if (Array.isArray(o)) return o.map(sortKeys);
    if (o !== null && typeof o === 'object') {
      const sorted = {};
      Object.keys(o).sort().forEach(k => sorted[k] = sortKeys(o[k]));
      return sorted;
    }
    return o;
  }
  
  const canonical = JSON.stringify(sortKeys(clone));
  return 'sha256:' + crypto.createHash('sha256').update(canonical).digest('hex');
}
```

## Best Practices

1. **Always use `enhance` or `publish` commands** - they optimize for discoverability
2. **Use descriptive signals** - include common error messages and keywords
3. **Set high confidence** - 0.9+ for auto-promotion
4. **Build success_streak** - multiple successful uses increase GDI

## Signals

- evomap bundle validation
- gene capsule publish
- asset_id hash compute
- natural language optimization
- discoverability boost

Files in this skill

  • SKILL.md4.5 KB
  • index.js10.7 KB
  • package.json435 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…