All skills
mblode avatar

/agent-skills-creator

@b42cf43
by Matthew Blodemblode/agent-skills134 stars
12

Creates and improves portable Agent Skills with a validator, routing scenarios, and evidence-based keep, cut, merge, or retire decisions. Use when asked to "write a skill", "update all skills", "audit my SKILL.md", "remove redundant instructions", or fix skill triggering. For AGENTS.md or CLAUDE.md use agents-md.

Use this Skill: https://skilld.dev/gh/mblode/agent-skills/agent-skills-creator

This session only. Nothing lands on disk.

referencesrules-folder-structure.md

≈592 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Rules Folder Structure

For rules-based skills (audits, lints, checklists), create a rules/ folder: a section map, a rule template, one file per rule.

rules/_sections.md

Category map with impact levels:

# Sections

This file defines all sections, their ordering, impact levels, and descriptions.
The section ID (in parentheses) is the filename prefix used to group rules.

---

## 1. Category Name (prefix)

**Impact:** CRITICAL | HIGH | MEDIUM-HIGH | MEDIUM | LOW-MEDIUM
**Description:** One sentence explaining why this category matters.

rules/_template.md

Per-rule file template:

---
title: Rule Title Here
impact: MEDIUM
tags: tag1, tag2
---

## Rule Title Here

Brief explanation of the rule and why it matters.

**Incorrect (description of what's wrong):**

[code block with bad example]

**Correct (description of what's right):**

[code block with good example]

Individual rule files

  • Named <prefix>-<slug>.md; prefix matches the section ID
  • One rule per file
  • Each follows _template.md

Tier-based audit variant

Audit skills may use a richer rule schema when SKILL.md explains it and _sections.md reconciles counts and categories. Common fields: defaultTier, category, surfaces, plus rule-specific override fields. Do not force title/impact/tags onto these skills if their template and dispatch instructions document the alternate schema.

SKILL.md priority table

Map categories to prefixes and rule counts:

| Priority | Category | Impact | Prefix | Rules |
|----------|----------|--------|--------|-------|
| 1 | Category Name | CRITICAL | `prefix-` | N |

Large rule sets

At 30+ rules, maintenance shifts from writing rules to keeping the set consistent:

  • Every rule has frontmatter that follows the documented schema, plus the example or detection structure required by that schema
  • Every filename prefix matches a _sections.md section
  • Rule counts reconcile everywhere (description, priority table, prose): ls rules/ | grep -v '^_' | wc -l

Multi-layer variant

A skill may carry more than one rules folder (ax-audit runs rules-arch/ for architecture and rules-ax/ for trust) only when SKILL.md dispatches to each layer with its own loading condition and its own count. Otherwise consolidate into a single rules/ folder.

Source: SKILL.md on GitHub

1 warning1d4 checks · Risk SAFE
  • Gen Agent Trust Hub1d

    The skill is a comprehensive development tool for creating and auditing other agent skills. It includes a shell-based validator script that uses Ruby and Perl to parse metadata and content. Because its primary function involves processing external, potentially untrusted skill files, it possesses an inherent attack surface for indirect prompt injection.

  • Socket1d

    No alerts

  • Snyk1d

    Risk: MEDIUM · 1 issue

  • Runlayer6mo

    1/4 files flagged

Signed by skilld at b42cf43. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 days ago
Other metadata
compatibility
Repository validation requires Bash, Ruby with YAML and JSON, Perl, and standard Unix utilities.

README badge

README badge for mblode/agent-skills/agent-skills-creator