Skip to content
claude-ecosystem logo

Claude Ecosystem

claude-ecosystem

Claude Code ecosystem expertise. Modules: CLI tool (setup, slash commands, MCP servers, hooks, plugins, CI/CD), extensibility (agents, skills, output styles creation), CLAUDE.md (project instructions, optimization). Actions: configure, troubleshoot, create, deploy, integrate, optimize Claude Code...

SKILL.md

Full skill instructions

Claude Ecosystem

Comprehensive guide for Claude Code CLI tool, extensibility (agents/​skills/​output styles), and CLAUDE.md architecture.

Module Selection

NeedModuleReference
Setup/​ConfigurationCLIreferences/​getting-started.md, references/​configuration.md
Slash CommandsCLIreferences/​slash-commands.md
MCP ServersCLIreferences/​mcp-integration.md
Hooks & PluginsCLIreferences/​hooks-and-plugins.md
Create AgentsExtensibilityreferences/​agent-development.md
Create SkillsExtensibilityreferences/​skill-development.md
Output StylesExtensibilityreferences/​skill-development.md
Init CLAUDE.mdArchitecturereferences/​initialization-workflow.md
Optimize CLAUDE.mdArchitecturereferences/​optimization-patterns.md
Enterprise/​CI-CDCLIreferences/​enterprise-features.md, references/​cicd-integration.md
TroubleshootingCLIreferences/​troubleshooting.md

Quick Reference

Extension Types

TypeInvocationPurposeLocation
AgentsTask toolSpecialized sub-processes.claude/​agents/
SkillsModel-invokedDomain knowledge.claude/​skills/​{name}/
Output Styles/​output-styleModify main agent.claude/​output-styles/

Model Selection (Agents)

ModelUse WhenTarget Time
haikuFast tasks, exploration< 3s
sonnetBalanced, most use cases< 10s
opusComplex reasoning< 30s

CLAUDE.md Token Budget

ComplexityTarget Tokens
Simple100-200
Medium200-400
Complex400-800
Maximum1000

Extensibility Principles

Core Truths

TruthMeaning
Expertise TransferMake Claude think like expert, not follow steps
Flow, Not FrictionProduce output, not intermediate work
Voice Matches DomainSound like practitioner, not documentation
Focused Beats ComprehensiveConstrain ruthlessly

Decision Heuristics

RuleGuidance
3-File Rule3+ files → agent. Enhances YOUR work → skill.
Delegation TestRuns independently? Agent. Guides you? Skill.
Activation BreadthTrigger on 80% of relevant requests
Tool ConstraintStart with 2-3 essential tools

Activation Keywords

The description field is your activation gate. Include:

  1. Task verbs: create, build, debug, fix, deploy
  2. Problem descriptions: slow, broken, failing
  3. Artifact types: component, API, database
  4. Casual synonyms: "make it faster" → optimize

Common Workflows

Create Agent

---
name: agent-name
description: "Use when [use case]. PROACTIVELY for [triggers].\n\nExamples:\n<example>\nContext: [situation]\nuser: [request]\nassistant: [response]\n</​example>"
tools: Grep, Glob, Read, Bash
model: haiku
---

# Agent Name

Mission statement.

## Strategy
[Approach]

## Does NOT Do
- [boundary] (use X instead)

Create Skill

---
name: skill-name
description: "[Core purpose]. [Technologies]. Capabilities: [list].
  Actions: [verbs]. Keywords: [triggers]. Use when: [scenarios]."
allowed-tools: Read, Grep, Glob
---

# Skill Name

## Patterns

### [Pattern Name]
**When you see:** [Observable trigger]
**This indicates:** [Expert insight]
**Therefore:** [Action]
**Watch out:** [Pitfall]

Initialize CLAUDE.md

  1. Analyze codebase (language, framework, structure)
  2. Extract code style, commands, patterns
  3. Generate with template, customize
  4. Validate commands, check token count
  5. Target <400 lines, prefer <250

Detailed: references/​initialization-workflow.md

Optimize CLAUDE.md

  1. Evaluate token efficiency
  2. Find redundancy, outdated info
  3. Apply token reduction techniques
  4. Target 40%+ reduction
  5. Verify critical info retained

Detailed: references/​optimization-patterns.md


Anti-Patterns

PatternProblemFix
Kitchen Sink Agent10+ tools, handles "everything"Constrain to 3-5 tools
Echo SkillRestates docs without insightAdd expert layer
Invisible TriggerDescription uses only formal termsInclude user language
Procedure ManualStep 1, 2, 3...Teach patterns, not steps
Over-DocumentationCLAUDE.md > 400 linesDocument project-specific only

Quality Signals

Good Signs

  • Frontmatter reads like "when to use" guide
  • First 10 lines provide actionable guidance
  • Expert would nod "yes, that's how I think"
  • Explicit constraints on what it does NOT handle

Warning Signs

  • 50% reference tables or field definitions

  • No mention of "when NOT to use"
  • Generic language for any domain
  • Body exceeds 600 lines

References

CLI Tool

  • references/​getting-started.md - Installation, setup, auth
  • references/​slash-commands.md - Complete command catalog
  • references/​mcp-integration.md - MCP server configuration
  • references/​hooks-and-plugins.md - Hook types, plugin structure
  • references/​configuration.md - Settings hierarchy
  • references/​enterprise-features.md - IAM, SSO, sandboxing
  • references/​cicd-integration.md - GitHub Actions, GitLab CI
  • references/​ide-integration.md - VS Code, JetBrains
  • references/​advanced-features.md - Extended thinking, caching
  • references/​troubleshooting.md - Common issues
  • references/​api-reference.md - Admin, Messages, Skills APIs
  • references/​best-practices.md - Project organization, security
  • references/​agent-skills.md - Creating skills via CLI

Extensibility

  • references/​agent-development.md - Full YAML structure, system prompts
  • references/​skill-development.md - Structure, triggers, hooks

CLAUDE.md

  • references/​initialization-workflow.md - Creating new CLAUDE.md
  • references/​optimization-patterns.md - Token reduction techniques
  • references/​integration-strategies.md - Global config, MCP tools
  • references/​output-templates.md - Standard output formats

Related Skills

IMPORTANT: When creating/​editing prompts, use prompt-architect skill.

Skill("prompt-architect") → Create/​enhance skill/​agent prompt content

Documentation:

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View