Xpersona
S

skills-eval

CLAWHUB · Unverified

Evaluate Claude skill quality through auditing Skill: skills-eval Owner: athola Summary: Evaluate Claude skill quality through auditing Tags: latest:1.9.19 Version history: v1.9.19 | 2026-08-26T13:04:40.229Z | user Release v1.9.19 v1.9.18 | 2026-08-15T21:28:44.260Z | user Release v1.9.18 v1.9.17 | 2026-07-30T05:28:35.917Z | user Release v1.9.17 v1.9.16 | 2026-07-14T19:45:41.641Z | user Release v1.9.16 v1.9.15 | 2026-07-04T21:19:59.745Z | user Release v1.9.15 v1.9

62
Rank
84
Safety
1.7k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17emme0e2m3cpf7k2jvp3a84984b8z9:nm-abstract-skills-eval
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-athola-nm-abstract-skills-eval/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

148,105 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: skills-eval
description: Evaluate Claude skill quality through auditing
version: 1.9.8
triggers:
  - evaluation
  - improvement
  - skills
  - optimization
  - quality-assurance
  - tool-use
  - performance-metrics
  - reviewing or auditing skills
metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/abstract", "emoji": "\ud83e\udd9e", "requires": {"config": ["night-market.modular-skills", "night-market.performance-optimization"]}}}
source: claude-night-market
source_plugin: abstract
---

> **Night Market Skill** — ported from [claude-night-market/abstract](https://github.com/athola/claude-night-market/tree/master/plugins/abstract). For the full experience with agents, hooks, and commands, install the Claude Code plugin.


# Skills Evaluation and Improvement

## Table of Contents

1. [Overview](#overview)
2. [Quick Start](#quick-start)
3. [Evaluation Workflow](#evaluation-workflow)
4. [Evaluation and Optimization](#evaluation-and-optimization)
5. [Resources](#resources)

## Overview

This framework audits Claude skills against quality standards to improve performance and reduce token consumption. Automated tools analyze skill structure, measure context usage, and identify specific technical improvements. Run verification commands after each audit to confirm fixes work correctly.

The `skills-auditor` provides structural analysis, while the `improvement-suggester` ranks fixes by impact. Compliance is verified through the `compliance-checker`. Runtime efficiency is monitored by `tool-performance-analyzer` and `token-usage-tracker`.

## Quick Start

### Basic Audit
Run a full audit of all skills or target a specific file to identify structural issues.
```bash
# Audit all skills
make audit-all

# Audit specific skill
make audit-skill TARGET=path/to/skill/SKILL.md
```

### Analysis and Optimization
Use `skill_analyzer.py` for complexity checks and `token_estimator.py` to verify the context budget.
```bash
make analyze-skill TARGET=path/to/skill/SKILL.md
make estimate-tokens TARGET=path/to/skill/SKILL.md
```

### Improvements
Generate a prioritized plan and verify standards compliance using `improvement_suggester.py` and `compliance_checker.py`.
```bash
make improve-skill TARGET=path/to/skill/SKILL.md
make check-compliance TARGET=path/to/skill/SKILL.md
```

## Evaluation Workflow

Start with `make audit-all` to inventory skills and identify high-priority targets. For each skill requiring attention, run analysis with `analyze-skill` to map complexity. Generate an improvement plan, apply fixes, and run `check-compliance` to verify the skill meets project standards. Finalize by checking the token budget for efficiency.

## Evaluation and Optimization

Quality assessments use the `skills-auditor` and `improvement-suggester` to generate detailed reports. Performance analysis focuses on token efficiency through the `token-usage-tracker` and tool performance via `tool-performance-analyzer`. For standa

_meta.json

{
  "ownerId": "kn7d107jg9jv602h9ytsegydq184a42s",
  "slug": "nm-abstract-skills-eval",
  "version": "1.9.19",
  "publishedAt": 1787749480229
}

modules/advanced-tool-use-analysis.md

# Advanced Tool Use Analysis

## Dynamic Discovery Evaluation

### Tool Discovery Patterns
```bash
# Analyze tool discovery patterns and efficiency
skills/skills-eval/scripts/tool-performance-analyzer --skill-path skill.md --focus discovery

# Benchmark against optimal loading patterns
skills/skills-eval/scripts/discovery-optimizer --skill-path skill.md --benchmark mcp-standards
```

### Discovery Optimization Targets
- **Loading Efficiency**: Minimize tool discovery latency
- **Pattern Recognition**: Optimize keyword matching and categorization
- **Contextual Loading**: Load tools based on relevance to current context
- **Memory Management**: Efficient tool caching and retrieval

## Programmatic Calling Assessment

### Multi-Step Workflow Analysis
```bash
# Evaluate multi-step workflow optimization opportunities
skills/skills-eval/scripts/tool-performance-analyzer --skill-path skill.md --focus programmatic-calling

# Identify parallel execution opportunities
skills/skills-eval/scripts/tool-performance-analyzer --skill-path skill.md --parallel-analysis
```

### Calling Optimization Metrics
- **Sequential Efficiency**: Optimize ordered tool execution
- **Parallel Processing**: Identify concurrent tool opportunities
- **Context Preservation**: Minimize context loss between calls
- **Error Recovery**: production-grade error handling and retry mechanisms

## Context Preservation Analysis

### Context Window Utilization
```bash
# Measure context window utilization efficiency
skills/skills-eval/scripts/token-usage-tracker --skill-path skill.md --context-analysis

# Identify pollution reduction opportunities
skills/skills-eval/scripts/token-usage-tracker --skill-path skill.md --pollution-analysis
```

### Optimization Strategies
- **Efficient Token Usage**: Maximize information density
- **Pollution Reduction**: Minimize irrelevant context accumulation
- **Window Management**: Strategic context window allocation
- **Compression Techniques**: Intelligent content summarization

## Performance Benchmarking

### Evaluation Criteria
- **MCP Compliance**: Validation against Model Context Protocol standards
- **Accuracy Metrics**: Tool discovery and execution accuracy improvements
- **Token Efficiency**: Usage patterns and optimization opportunities
- **Latency Analysis**: Multi-step workflow performance bottlenecks

### Target Improvements
- **Token Usage Reduction**: Aim for 37% reduction through programmatic calling optimization
- **Accuracy Improvements**: Target 25% improvement in tool discovery and execution
- **Context Optimization**: Maintain 95% context window preservation
- **Latency Reduction**: Eliminate multiple inference passes in complex workflows

## Advanced Analysis Techniques

### Comparative Analysis
```bash
# Benchmark against best-in-class examples
skills/skills-eval/scripts/performance-comparator --skill-path skill.md --baseline industry-standards

# Trend tracking over time
skills/skills-eval/scripts/performance-tracker --skill-path ski

modules/authoring-checklist.md

# Skill Authoring Checklist

Quick-reference validation checklist for skill authors.

## Pre-Development

- [ ] Identified repeated task (done 5+ times, will do 10+ more)
- [ ] Confirmed no existing skill covers this
- [ ] Defined skill type (Technique, Pattern, or Reference)
- [ ] Chosen descriptive gerund-form name

## Frontmatter Validation

- [ ] `name`: ≤64 characters
- [ ] `name`: lowercase letters, numbers, hyphens only
- [ ] `name`: no reserved words (anthropic, claude)
- [ ] `description`: non-empty
- [ ] `description`: ≤1024 characters
- [ ] `description`: third person voice
- [ ] `description`: includes WHAT and WHEN

## Content Quality

- [ ] SKILL.md body under 500 lines
- [ ] Only context Claude doesn't already have
- [ ] Consistent terminology throughout
- [ ] No time-sensitive information
- [ ] Concrete examples, not abstract
- [ ] Clear distinction between skill types

## Structure

- [ ] File references one level deep
- [ ] Long files (>100 lines) have TOC
- [ ] Progressive disclosure pattern used
- [ ] Appropriate freedom level for task type

## TDD Compliance

- [ ] Created 3+ pressure scenarios
- [ ] Ran baseline without skill
- [ ] Documented baseline failures verbatim
- [ ] Tested with skill present
- [ ] Identified rationalizations
- [ ] Added explicit counters

## Anti-Rationalization

- [ ] Listed specific exceptions
- [ ] Created rationalization table
- [ ] Added red flags list
- [ ] Addressed "spirit vs letter" arguments

## Scripts (if applicable)

- [ ] Scripts solve problems, don't punt to Claude
- [ ] Error handling is explicit
- [ ] No "voodoo constants"
- [ ] Required packages listed
- [ ] Clear execute vs read distinction
- [ ] MCP tools use fully qualified names

## Testing

- [ ] Tested with Haiku
- [ ] Tested with Sonnet
- [ ] Tested with Opus
- [ ] Tested real usage scenarios
- [ ] Team feedback incorporated

## Deployment

- [ ] Committed to git
- [ ] Pushed to fork
- [ ] Validated structure passes
- [ ] No narrative storytelling
- [ ] Supporting files justified

## Common Mistakes

Avoid these anti-patterns when authoring skills:

| Do NOT | Do Instead |
|--------|------------|
| Mix multiple concerns in one skill | Single responsibility per skill |
| Use vague language ("usually", "try to") | Explicit, mandatory language |
| Embed large code blocks inline | Reference external tools/scripts |
| Skip testing before deployment | Test with subagents across models |
| Keep core skill over 300 lines | Extract complexity to modules/tools |
| Skip trigger activation testing | Validate with `/skills-eval` |

modules/evaluation-criteria.md

# Skill Evaluation Criteria

Detailed scoring rubric and quality gates for skill evaluation.

## Mathematical Foundation

This evaluation framework follows Multi-Criteria Decision Analysis
(MCDA) best practices:

- **Normalization**: Vector normalization for scale invariance
- **Weighting**: AHP-derived weights with expert validation
- **Aggregation**: Weighted sum with Pareto analysis for trade-offs
- **Validation**: Sensitivity analysis on all weights

Core metrics are weighted as: compliance (30%), effectiveness (30%),
maintainability (20%), performance (20%).

## Scoring System (100 points total)

### Structure Compliance (20 points)

| Aspect | Max Points | Requirements |
|--------|------------|--------------|
| YAML frontmatter | 5 | Complete, valid metadata within limits |
| Progressive disclosure | 5 | SKILL.md <500 lines, links to modules |
| Section organization | 5 | Logical flow, clear hierarchy |
| File naming | 3 | Gerund form, descriptive names |
| Reference depth | 2 | One-level deep references only |

**Frontmatter Validation:**

```yaml
name:
  max_length: 64
  pattern: "^[a-z0-9-]+$"
  forbidden: ["XML tags", "reserved words"]

description:
  max_length: 1024
  forbidden: ["XML tags"]
  required: ["WHAT it does", "WHEN to use it"]
```

**Official Frontmatter Fields** (per Claude Code docs):

| Field | Type | Validation |
|-------|------|------------|
| `name` | string | Required, kebab-case, max 64 chars |
| `description` | string | Recommended, front-load use case |
| `disable-model-invocation` | boolean | `true` or `false` |
| `user-invocable` | boolean | `true` or `false` |
| `allowed-tools` | string | Comma-separated tool names |
| `model` | string | Valid model name |
| `effort` | string | `low`, `medium`, `high`, `xhigh` (Opus 4.7), `max` (Opus 4.7) |
| `context` | string | Only `fork` supported |
| `agent` | string | Subagent type (with `context: fork`) |
| `argument-hint` | string | Shown in autocomplete |
| `paths` | string/array | Glob patterns for activation |
| `shell` | string | `bash` or `powershell` |
| `hooks` | object | Hooks scoped to skill lifecycle |

Extension fields (`version`, `category`, `tags`, etc.)
are permitted but not validated.

### Content Quality (25 points)

| Aspect | Max Points | Requirements |
|--------|------------|--------------|
| Quick Start concreteness | 8 | Actual commands, not abstract descriptions |
| Clarity and completeness | 6 | Clear explanations, no ambiguity |
| Practical examples | 6 | Input/output pairs, real patterns |
| Voice consistency | 5 | Third person, no "your"/"you" language |

**Cargo Cult Anti-Pattern Detection:**

Skills must avoid cargo cult patterns - rituals that "look right" but lack verification:

- ❌ **Abstract Quick Start**: "Configure pytest" vs ✅ "Run `pytest --cov=src` to generate coverage"
- ❌ **Testing Theater**: Tests that always pass (`assert True`) vs ✅ Behavior-driven tests that fail when mutated
- ❌ **Implementation Testing**: Testing HOW not WHAT

Sponsored

Ads related to skills-eval and adjacent AI workflows.