Create Reusable Skill from Custom Approach

VerifiedCaution

Guide to save a successful custom approach as a reusable specialist skill, covering capture, parameter definition, pattern extraction, token validation, and file creation.

Sby Skills Guide Bot
ProductivityBeginner
7/22/2026
Claude Code
#skill-creation#meta-skill#token-budget#reusability#claude-code

Recommended for

Automated summary

This skill walks you through turning a successful custom approach (for instance a security testing methodology) into a reusable skill, capturing the context, defining trigger keywords, and writing the file under .claude/skills/.

Strengths

  • Six-step workflow from capturing the approach to testing auto-loading
  • Enforces an explicit token budget (500 max, 300-400 target) and warns past 5-10 skills
  • Fixes a stale path and documents where Claude Code actually discovers skills (.claude/skills/)
  • Ships a skill file template plus a full worked example session

Limitations

  • Fairly tied to a security-testing/RAPTOR context despite its general framing
  • Pattern extraction and budget validation rely on manual token estimates
  • Auto-load verification is described but no concrete test command is given
When to use it

Use it right after a bespoke approach has proven successful and you want to preserve its method as an auto-loading skill.

When not to use it

Skip it when authoring a brand-new skill with no validated approach behind it, or outside a Claude Code project that uses .claude/skills/.

Security analysis

Caution
Quality score78/100

This is a legitimate skill-authoring guide with no destructive commands, obfuscation, or secret exfiltration. The main risk is persistence: it directs the agent to create auto-loading skill files, which could be abused to install future instructions. That warrants caution rather than safe.

Findings
  • •Instructs writing new instruction files into `.claude/skills/`, an auto-loading directory, which can persist prompt-injection or self-modifying agent behavior if the captured approach is untrusted.
  • •No allowed-tools are declared, so the skill implicitly relies on file-write capabilities without explicit constraints.
  • •References security-testing workflows and Python execution parameters but does not include dangerous commands or exfiltration.
How this analysis is made

Examples

Save a successful API auth approach
/create-skill — we focused on API authentication, checking auth bypass before secrets, and it found critical issues fast. Save that as a reusable skill.
Capture a custom testing priority order
/create-skill — save my priority order (auth → API security → business logic) as a skill that auto-loads for REST and admin panel targets.

description: Save a custom approach as a reusable skill dispatch: skill

/create-skill - Save Custom Approach as Reusable Skill

Save a successful custom approach as a reusable specialist skill.

When to Use

After you've helped the user with a custom security testing approach:

  • Custom analysis focus (e.g., "focus on API security only")
  • Custom priority order (e.g., "check auth before secrets")
  • Custom techniques (e.g., "specific testing methodology")
  • Successful findings (approach actually worked)

What This Does

Guides skill creation process:

Step 1: Capture Successful Approach

What was successful about this approach?

Examples:
- Custom priorities: Auth → API security → Business logic
- Specific focus: API endpoint authentication testing
- Custom technique: Token generation + endpoint fuzzing
- Domain expertise: Mobile app security patterns

Step 2: Define Skill Parameters

Skill name: [descriptive_name]
Trigger keywords: [when should this auto-load?]
Domain: [what type of targets?]

Examples:
- Name: api_security_auth_focus
- Keywords: API, REST, authentication, admin panel
- Domain: Web APIs with authentication

Step 3: Extract Reusable Patterns

Review approach for:

  • ✓ Generalizable patterns (not hardcoded to one target)
  • ✓ Reusable priorities (applicable to similar targets)
  • ✓ Tool combinations (what worked together)
  • ✗ Target-specific details (remove these)

Step 4: Validate Token Budget

Skill size: ___ tokens (must be <500 tokens)
Current total skills: ___ (warn if >10 skills)
Session impact: +___ tokens when auto-loaded

Step 5: Create Skill File

Save to: .claude/skills/[skill_name]/SKILL.md (the canonical Claude Code skills directory). For single-file skills, .claude/skills/[skill_name].md also works — Claude Code's skill discovery walks .claude/skills/ and picks up both layouts.

(Pre-fix this said tiers/specialists/custom/[name].md. That path is from an earlier RAPTOR layout that predates Claude Code's skills mechanism — files there aren't auto-loaded by Claude Code today, so saving new skills there would have made them invisible to the LLM. Existing files under tiers/personas/ and tiers/specialists/ are still loaded VIA EXPLICIT prompts, but new skills should go under .claude/skills/ for auto-load.)

Skill structure:

# [Skill Name]
# Created: [date]
# Source: Successful approach from [session]
# Token cost: [X] tokens
# Auto-loads: [trigger keywords]

## Core Philosophy
[What makes this approach unique/successful]

## When to Use
[What types of targets/situations]

## Approach
[Successful priorities, techniques, tools]

## Integration with Python
[How this guides Python execution parameters]

Step 6: Test Auto-Loading

Verify skill will auto-load correctly:

  • Keywords defined clearly
  • File in correct location
  • Token budget acceptable

Token Budget Guidelines

Skill size limits:

  • Minimum: 200 tokens (enough for useful content)
  • Recommended: 300-400 tokens (sweet spot)
  • Maximum: 500 tokens (hard limit, enforced)

Total skills warning:

  • Yellow (5 skills): 1,500-2,000 tokens in skills
  • Red (10 skills): 3,000-4,000 tokens (approaching budget)
  • Critical (15+ skills): Consider consolidating or removing unused

Example Skill Creation

User: /create-skill

Claude: What successful approach should we save?

User: "We focused on API authentication, checking auth bypass before anything else, and it found critical issues faster"

Claude:
  ✓ Extracting approach patterns...

  Skill preview:
  - Name: api_auth_priority
  - Keywords: API, REST, authentication, auth bypass
  - Focus: Authentication issues in web APIs
  - Priority: Auth bypass → API security → Input validation
  - Size: 380 tokens ✓

  Create this skill? [Y/n/Customize]

User: Y

Claude: ✓ Created: .claude/skills/api_auth_priority/SKILL.md
        Will auto-load when keywords match: API, authentication

        Test it now? Run /scan on API codebase

Quality Checks

Before saving skill:

  • [ ] Not overfitted to one target (generalized patterns)
  • [ ] Token limit respected (<500 tokens)
  • [ ] Keywords defined (will auto-load correctly)
  • [ ] Approach documented (clear priorities/techniques)
  • [ ] Integration clear (how it guides Python parameters)

Maintenance

Skills are stored in: .claude/skills/

Manage skills:

  • List: ls .claude/skills/
  • Disable: Add .disabled suffix to the skill directory or file
  • Remove: Delete the skill directory (or the bare .md file)
  • Edit: Modify the skill's SKILL.md (or single-file .md) directly

(Pre-fix this section pointed at tiers/specialists/custom/ — an earlier RAPTOR layout that predates Claude Code's skills mechanism. Files there aren't auto-loaded today, so saving new skills there made them invisible to the LLM.)

Quarterly review prompt (if 5+ skills exist):

Review custom skills? Usage stats available.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/create-reusable-skill-from-custom-approach-mrwakdq1/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/create-reusable-skill-from-custom-approach-mrwakdq1' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-reusable-skill-from-custom-approach-mrwakdq1/download' --output '.skill-downloads/create-reusable-skill-from-custom-approach-mrwakdq1/SKILL.md.part' && mv '.skill-downloads/create-reusable-skill-from-custom-approach-mrwakdq1/SKILL.md.part' '.skill-downloads/create-reusable-skill-from-custom-approach-mrwakdq1/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/create-reusable-skill-from-custom-approach-mrwakdq1/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills