SkillsLib.ai

Slash Commands

Create and use Claude Code slash commands with bash execution and file references

4.5(50 reviews)
500+ downloads
Updated Nov 2026
Verified SafeSecurity VerifiedThis skill was analyzed by our AI security scanner for harmful content including data exfiltration, system manipulation, credential theft, and prompt injection. No threats were detected.

What You Can Do

You can create reusable slash commands that execute instantly in Claude Code conversations. Commands support bash execution, file references, arguments, and tool permissions. Use built-in commands like /cost, /review, /memory, and /clear, or define custom project and personal commands stored in .claude/commands/ or ~/.claude/commands/.

Features

Built-in commands

`/cost`, `/clear`, `/compact`, `/config`, `/agents`, `/mcp`, `/memory`, `/model`, `/review`, `/resume`, `/help`

Project commands

Store reusable prompts in `.claude/commands/` for team access and version control

Personal commands

Create user-specific commands in `~/.claude/commands/` for individual workflows

Bash execution

Prefix instructions with `!` to run shell commands and inject output into prompts

Tool permissions

Specify which tools (Bash, Read, Write) each command can access via `allowed-tools`

Arguments and hints

Accept user input with `$1`, `$2`, or `$ARGUMENTS` placeholders and display hints

YAML frontmatter

Define description, tool access, and argument format in command metadata

File references

Embed file content and paths directly in command prompts

Example Output

Example 1: Built-in /cost command

code
Tokens used in this session: 45,230
Input tokens: 32,100 | Output tokens: 13,130
Estimated cost: $0.87

Example 2: Custom /optimize command output

code
Performance Analysis:
✓ Identified O(n²) loop in data processing (lines 45-52)
✓ Missing memoization on recursive function
✓ Suggests caching layer for repeated queries
Recommended fix: Implement request deduplication

Example 3: Bash-enabled /git-status command

code
Current branch: feature/auth-improvements
Staged changes: 3 files modified
Recent commits:
  a1b2c3d Fix login validation
  d4e5f6g Add password reset flow
  g7h8i9j Initial auth module
Suggestion: Create PR for feature/auth-improvements

What's Included

  • SKILL.md: Complete slash command reference with syntax, built-in command list, and format specifications
  • Command templates: Ready-to-use project and personal command examples (code review, git helpers, optimization)
  • YAML format guide: Metadata structure for descriptions, tool permissions, and argument handling
  • Bash execution patterns: Examples using `!` prefix to inject shell output into prompts
  • Directory setup instructions: Quick commands to create `.claude/commands/` and `~/.claude/commands/` directories

Who It's For

  • Full-stack engineers — Create commands for git workflows, environment setup, and code review processes
  • DevOps and platform engineers — Build commands for deployment checks, infrastructure queries, and health monitoring
  • Data scientists and analysts — Define commands for data validation, notebook execution, and analysis workflows
  • Technical team leads — Set up shared project commands for consistent code review, testing, and documentation practices
  • Automation specialists — Create bash-enabled commands that combine file operations, queries, and intelligent prompts

Best For

  • Automating repetitive development workflows (code reviews, testing, formatting)
  • Integrating bash scripts and system queries into AI prompts
  • Creating team-wide or personal command shortcuts for complex multi-step processes
  • Injecting real-time system output (git status, logs, metrics) into Claude's context
  • Defining role-based commands with specific tool access and permission controls

You might also like

Bid Assembly & Analysis for Preconstruction Estimates
$40
Bid Assembly & Analysis for Preconstruction Estimates

You can rapidly process multiple subcontractor bid responses—from trade contractors, material suppliers, and specialty vendors—into a cohesive, auditable estimate structure. Claude extracts key bid components, identifies pricing inconsistencies against benchmarks or prior projects, flags scope gaps and exclusions, and organizes everything by CSI division for seamless estimate assembly. This eliminates manual spreadsheet comparison and reduces the risk of overlooked scope omissions or pricing anomalies when managing 15+ concurrent bids.

Shapely Compute
$30
Shapely Compute

You can construct geometric objects (points, lines, polygons, multigeometries), execute boolean operations (intersection, union, difference), apply spatial predicates (contains, intersects, within), calculate measurements (area, length, distance, centroid), and transform geometries through translation, rotation, and scaling. This skill handles geometry validation, invalid geometry repair, and complex spatial analysis tasks.

Construction Estimate Analysis & Refinement
$35
Estimating4.0(34)
Construction Estimate Analysis & Refinement

You can systematically analyze construction estimates by breaking down components, validating labor and material pricing against market data, identifying embedded errors or outdated assumptions, and applying data-driven contingency allocation. Claude helps you produce risk-adjusted cost projections that are defensible to stakeholders and competitive in bid scenarios, reducing estimate variance and catching pricing gaps before client submission.

Bid Assembly & Proposal Generation for Estimators
$30
Bid Assembly & Proposal Generation for Estimators

You can transform fragmented cost data, subcontractor quotes, and contingency calculations into cohesive, defensible bid packages that stakeholders understand and trust. This skill guides you through hierarchical cost aggregation, dynamic contingency modeling based on project risk, multi-tier markup application, and narrative integration that links scope assumptions to pricing—enabling you to develop competitive proposals with justified pricing strategies.

CPM Schedule Optimization & Risk Analysis
$35
CPM Schedule Optimization & Risk Analysis

You can paste CPM schedule exports from Primavera P6, Microsoft Project, or narrative descriptions into Claude to perform comprehensive constraint analysis and identify schedule optimization opportunities. The skill analyzes activity relationships, float distributions, resource constraints, and schedule vulnerability patterns to quantify which activities drive project completion, measure schedule buffer effectiveness, and develop quantified mitigation strategies that balance acceleration with cost and logistical feasibility.

Screenpipe Cli
$45
Tooling4.4(50)
Screenpipe Cli

You can create, list, enable, disable, and run markdown-based AI automation pipes that execute on schedules ranging from every 30 minutes to custom cron expressions. Manage service connections to Telegram, Slack, Discord, and other platforms directly from the CLI, and troubleshoot pipe execution with built-in logging and debugging commands.

Math
$35
Math

Solve algebraic and transcendental equations, compute derivatives and integrals, perform matrix operations, simplify expressions, compute limits and series expansions, solve differential equations, and convert units. Claude automatically selects the best computational engine for your problem—SymPy for symbolic math, Z3 for logical proofs, Pint for unit conversion—so you get fast, verified answers without manual tool selection.

Implement Task
$35
Full-Stack4.6(48)
Implement Task

You can deploy this agent to execute specific implementation tasks within a larger development plan. It operates independently with fresh context, follows test-driven development principles for every code change, and creates comprehensive handoff documentation that captures progress, decisions, and learnings for the next task executor. This ensures consistent code quality, prevents rework, and maintains continuity across distributed implementation efforts.

$35.00