custom-workers
Create and run custom background analysis workers with composable phases. Use when you need automated code analysis, security scanning, pattern learning, or API documentation generation.
Install
mkdir -p .claude/skills/custom-workers && curl -L -o skill.zip "https://mcp.directory/api/skills/download/5137" && unzip -o skill.zip -d .claude/skills/custom-workers && rm skill.zipInstalls to .claude/skills/custom-workers
About this skill
Custom Workers
Build composable background analysis workers with 24 phase executors and 6 presets.
Quick Start
# List available presets
npx ruvector workers presets
# List available phase executors
npx ruvector workers phases
# Create a custom worker from preset
npx ruvector workers create my-scanner --preset security-scan
# Run the worker
npx ruvector workers run my-scanner --path ./src
Available Presets
| Preset | Description | Phases |
|---|---|---|
quick-scan | Fast file discovery and stats | file-discovery → summarization |
deep-analysis | Comprehensive code analysis | file-discovery → static-analysis → complexity-analysis → import-analysis → pattern-extraction → graph-build → vectorization → summarization |
security-scan | Security-focused analysis | file-discovery → security-analysis → secret-detection → dependency-discovery → report-generation |
learning | Pattern learning and memory | file-discovery → pattern-extraction → embedding-generation → pattern-storage → sona-training |
api-docs | API endpoint documentation | file-discovery → api-discovery → type-analysis → report-generation |
test-analysis | Test coverage analysis | file-discovery → static-analysis → pattern-extraction → summarization |
Phase Executors (24 total)
Discovery Phases
file-discovery- Find files matching patternspattern-discovery- Discover code patternsdependency-discovery- Map dependenciesapi-discovery- Find API endpoints
Analysis Phases
static-analysis- AST-based code analysiscomplexity-analysis- Cyclomatic complexitysecurity-analysis- Security vulnerability scanperformance-analysis- Performance bottlenecksimport-analysis- Import/export mappingtype-analysis- TypeScript type extraction
Pattern Phases
pattern-extraction- Extract code patternstodo-extraction- Find TODOs/FIXMEssecret-detection- Detect hardcoded secretscode-smell-detection- Identify code smells
Build Phases
graph-build- Build code graphcall-graph- Function call graphdependency-graph- Dependency graph
Learning Phases
vectorization- Convert to vectorsembedding-generation- ONNX embeddings (384d)pattern-storage- Store in VectorDBsona-training- SONA reinforcement learning
Output Phases
summarization- Generate summaryreport-generation- Create reportindexing- Index for search
YAML Configuration
Create workers.yaml in your project:
version: '1.0'
workers:
- name: auth-scanner
triggers: [auth-scan, scan-auth]
phases:
- type: file-discovery
config:
patterns: ["**/auth/**", "**/login/**"]
- type: security-analysis
- type: secret-detection
- type: report-generation
capabilities:
onnxEmbeddings: true
vectorDb: true
- name: api-documenter
triggers: [api-docs, document-api]
phases:
- type: file-discovery
config:
patterns: ["**/routes/**", "**/api/**"]
- type: api-discovery
- type: type-analysis
- type: report-generation
Load configuration:
npx ruvector workers load-config --file workers.yaml
CLI Commands
# Core commands
npx ruvector workers presets # List presets
npx ruvector workers phases # List phases
npx ruvector workers create <name> --preset <preset>
npx ruvector workers run <name> --path <path>
# Configuration
npx ruvector workers init-config # Generate workers.yaml
npx ruvector workers load-config # Load from workers.yaml
npx ruvector workers custom # List registered workers
# Monitoring
npx ruvector workers status # Worker status
npx ruvector workers results # Analysis results
npx ruvector workers stats # Statistics
MCP Tools
Available via ruvector MCP server:
| Tool | Description |
|---|---|
workers_presets | List available presets |
workers_phases | List phase executors |
workers_create | Create custom worker |
workers_run | Run worker on path |
workers_custom | List custom workers |
workers_init_config | Generate config |
workers_load_config | Load config |
Capabilities
Workers can use these capabilities:
- ONNX Embeddings: Real transformer embeddings (all-MiniLM-L6-v2, 384d, SIMD)
- VectorDB: Store and search embeddings with HNSW indexing
- SONA Learning: Self-Organizing Neural Architecture for pattern learning
- ReasoningBank: Trajectory tracking and meta-learning
Integration with Hooks
Workers auto-dispatch on UserPromptSubmit via trigger keywords:
- Type "audit this code" → triggers audit worker
- Type "security scan" → triggers security worker
- Type "learn patterns" → triggers learning worker
Example: Security Scanner
# Create from security-scan preset
npx ruvector workers create security-checker --preset security-scan --triggers "security,vuln,cve"
# Run on source
npx ruvector workers run security-checker --path ./src
# View results
npx ruvector workers results
Example: Custom Learning Worker
# workers.yaml
workers:
- name: code-learner
triggers: [learn, pattern-learn]
phases:
- type: file-discovery
config:
patterns: ["**/*.ts", "**/*.js"]
exclude: ["node_modules/**"]
- type: static-analysis
- type: pattern-extraction
- type: embedding-generation
- type: pattern-storage
- type: sona-training
capabilities:
onnxEmbeddings: true
vectorDb: true
sonaLearning: true
More by ruvnet
View all skills by ruvnet →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversRecraft AI is an ai image generator for creating, editing, and upscaling raster or vector images with advanced artificia
Optimize your codebase for AI with Repomix—transform, compress, and secure repos for easier analysis with modern AI tool
Create modern React UI components instantly with Magic AI Agent. Integrates with top IDEs for fast, stunning design and
Effortlessly create 25+ chart types with MCP Server Chart. Visualize complex datasets using TypeScript and AntV for powe
Unlock powerful text to speech and AI voice generator tools with ElevenLabs. Create, clone, and customize speech easily.
Mermaid Diagram Generator converts Mermaid diagrams to crisp PNGs with customizable themes and backgrounds for perfect v
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.