Marketplace

claude-code-features

Guide for distinguishing Claude Code features (Commands, Skills, Agents, Hooks, Rules) and selection criteria. Use when decomposing context files, deciding where to add new features, or customizing Claude Code.

$ インストール

git clone https://github.com/masseater/claude-code-plugin /tmp/claude-code-plugin && cp -r /tmp/claude-code-plugin/plugins/mutils/skills/claude-code-features ~/.claude/skills/claude-code-plugin

// tip: Run this command in your terminal to install the skill


name: claude-code-features description: Guide for distinguishing Claude Code features (Commands, Skills, Agents, Hooks, Rules) and selection criteria. Use when decomposing context files, deciding where to add new features, or customizing Claude Code.

Claude Code Features Guide

Guide for choosing between 5 major Claude Code features.

Feature Overview

FeatureTriggerEssenceBest For
CommandsManual (/command)Inject saved prompts instantlyRepeatable standard workflows by user execute
SkillsAuto (Claude decides)Knowledge loaded on demandOn-demand knowledge (tool usage, guidelines)
AgentsManual/delegationSpecialists with independent contextBulk data processing & parallel tasks
HooksEvent-drivenShell scripts auto-executed around toolsDeterministic automation
RulesConditional/alwaysModularized rulesPath-conditional constraints

Decision Flowchart

1. "Should it auto-execute on events like file edits?"
   → Yes: Hooks (implement as shell commands)

2. "Needs independent context for bulk data processing?"
   → Yes: Agents (don't pollute main conversation)

3. "Knowledge not always needed, but should surface when relevant?"
   → Yes: Skills (tool usage guides, domain expertise, patterns)

4. "Standard procedure user explicitly executes?"
   → Yes: Commands (instant /command execution)

5. "Constraints for specific paths or entire project?"
   → Yes: Rules (conditional with paths:)

6. Cannot classify
   → Keep in CLAUDE.md

Feature Details

  • @./commands.md
  • @./skills.md
  • @./agents.md
  • @./hooks.md
  • @./rules.md

References

@./references.md