Skills, commands, and hacks for Claude Code.
Extend Claude Code with custom skills, slash commands, and utilities. Install what you need, skip what you don't.
Standalone scripts. Copy once, use forever.
Custom status line: directory | model | context % | git status | cost
brew install jq
curl -o ~/.claude/statusline.sh https://raw.githubusercontent.com/mahidalhan/claude-hacks/master/hacks/statusline.sh
chmod +x ~/.claude/statusline.sh
claude config set status_line.command ~/.claude/statusline.shPublish skills from any project to your own marketplace repo. Copies skill, bumps version, commits & pushes.
# Install
curl -o ~/.local/bin/publish-skill https://raw.githubusercontent.com/mahidalhan/claude-hacks/master/hacks/publish-skill
chmod +x ~/.local/bin/publish-skill
# Set your marketplace (add to .zshrc)
export CLAUDE_MARKETPLACE=~/code/my-marketplace
# Usage (from any project with .claude/skills/)
publish-skill my-skill # From .claude/skills/my-skill
publish-skill my-skill --source /path/to/skill # Custom source
publish-skill my-skill --dry-run # Preview changes# Add marketplace (once)
/plugin marketplace add mahidalhan/claude-hacks
# Install any plugin
/plugin install <plugin-name>@claude-hacksCode search and architecture analysis via Exa API (requires EXA_API_KEY).
| Command | Description |
|---|---|
/code-search |
Search GitHub repos for real code examples |
/analyze-architecture |
First-principles architecture analysis |
Skills: exa-code-context, architecture-introspector
Interactive teaching with chunked explanations and comprehension checks.
| Command | Description |
|---|---|
/explain |
Recursive ground-up explanations |
/threaded-explainer |
Chunked explanations with interrupt handling |
Skills: explainer, threaded-explainer
Diagrams, UI design, generative art, and visual explanations.
| Command | Description |
|---|---|
/diagram |
Mermaid diagrams for any flow |
/design-ui |
Distinctive frontend designs |
/generative-art |
Algorithmic/generative art |
/ascii-explain |
ASCII art visualizations |
Skills: mermaid-diagrams, frontend-design, algorithmic-art, ascii-art-explainer
Session handoffs, planning, orchestration, and development workflows.
| Command | Description |
|---|---|
/create-handoff |
Create session handoff document |
/resume-handoff |
Resume from handoff |
/orchestrate |
Multi-task orchestration |
/plan-code-changes |
Implementation planning |
/daily-standup |
Generate standup summary |
/deslop |
Remove AI slop from text |
/rich-simplicity |
Apply Simple Made Easy principles |
/test-coverage |
Analyze test coverage |
/xml-context |
Structure context with XML |
Skills: task-orchestrator, xml-context-engineering
Create custom Claude skills with quality constraints.
| Command | Description |
|---|---|
/create-skill |
Scaffold a new skill |
Skills: skill-creator
Smart commits and PR descriptions following best practices.
| Command | Description |
|---|---|
/commit |
Generate semantic commit |
/describe-pr |
Generate PR description |
MIT
