Skip to content

P47Phoenix/Claude-Plugins

Repository files navigation

Claude Plugins

A collection of plugins for Claude Code that extend Claude's capabilities with specialized skills and tools.

What are Claude Code Plugins?

Plugins extend Claude Code's functionality through custom commands, agents, hooks, Skills, and MCP servers. They're discoverable through marketplaces and shareable across teams and projects.

Plugins in this Repository

Skill Creator

A plugin that helps you create new Claude skills with specialized knowledge, workflows, and tools.

Features:

  • Comprehensive skill creation guidance
  • Automated skill initialization with templates
  • Validation and packaging tools
  • Best practices for skill design

Included Tools:

  • init_skill.py - Generate new skill templates with proper structure
  • package_skill.py - Validate and package skills for distribution
  • quick_validate.py - Quick validation of skill structure and format

When to use: Creating skills for specialized domains, workflows, or bundled resources (scripts, references, assets).

Plugin Creator

A comprehensive plugin that helps you create complete Claude Code plugins with commands, agents, hooks, skills, and MCP integrations.

Features:

  • Complete plugin creation guidance
  • Support for all plugin components (commands, agents, hooks, skills, MCP)
  • Automated plugin scaffolding
  • Validation and packaging tools
  • Best practices for plugin architecture

Included Tools:

  • init_plugin.py - Generate new plugin templates with selected components
  • package_plugin.py - Validate and package plugins for distribution

When to use: Creating custom slash commands, specialized agents, event hooks, or combining multiple components into a single distributable plugin.

Agentic Flow Builder

A production-grade plugin for building dynamic multi-agent workflows using ReAcTree hierarchical decomposition and Anthropic's proven workflow patterns.

Features:

  • ReAcTree hierarchical agent tree for long-horizon task planning
  • Business Rules Engine (BRE) for deterministic gate decisions
  • Dynamic agent assignment with hot-reload support
  • Dual memory system (episodic + working memory)
  • Five workflow patterns (prompt chaining, routing, parallelization, orchestrator-workers, evaluator-optimizer)
  • SQLite persistence with comprehensive audit trails
  • Supports Claude models, Task agents, and external services

Core Components:

  • database.py - SQLite schema and data access layer
  • business_rules_engine.py - Production BRE for deterministic gates
  • flow_orchestrator.py - Execution engine with all workflow patterns
  • agent_registry.py - Dynamic agent discovery and assignment

When to use: Building complex multi-step workflows requiring deterministic decision gates, compliance auditing, or orchestrating multiple specialized agents.

Why use BRE for gates?

  • Deterministic - Same input always produces same output (no AI variance)
  • Auditable - Full transparency for compliance
  • Reliable - No hallucinations or temperature inconsistency
  • Fast - Sub-millisecond gate evaluation (no LLM calls)

Prompt Engineer

An expert prompt optimization skill that proactively helps improve prompts for LLMs and AI systems. Uses Opus for advanced reasoning about prompt design.

Features:

  • Comprehensive prompt engineering techniques (CoT, few-shot, role-playing, etc.)
  • Model-specific optimization (Claude, GPT, open source)
  • Advanced patterns (Constitutional AI, Tree of Thoughts, prompt chaining)
  • Always shows complete prompt text (never just describes)
  • Evaluation framework with clear criteria
  • Proactive assistance when AI/LLM usage is detected

When to use: Building AI features, optimizing agent performance, crafting system prompts, troubleshooting AI output quality, or establishing prompt standards.

Key principle: Always displays the complete prompt text in a clearly marked section - never just describes what a prompt should be.

Installation

Adding the Marketplace

  1. Open Claude Code
  2. Run the following command to add this marketplace:
    /plugin marketplace add https://github.com/P47Phoenix/Claude-Plugins
    

Installing Plugins

Once the marketplace is added, you can install either or both plugins:

Install Skill Creator:

/plugin install skill-creator

Install Plugin Creator:

/plugin install plugin-creator

Install Agentic Flow Builder:

/plugin install agentic-flow-builder

Install Prompt Engineer:

/plugin install prompt-engineer

Or use the interactive menu:

/plugin

Then browse and select the plugins you want from the list.

Using the Skill Creator

After installation, Claude will automatically use the skill creator when you want to create or modify skills.

Example usage:

  • "Help me create a new skill for [your use case]"
  • "I want to build a skill that [describes functionality]"
  • "Update the [skill-name] skill to include [new features]"

The skill creator will guide you through:

  1. Understanding your skill requirements with concrete examples
  2. Planning the reusable skill contents (scripts, references, assets)
  3. Initializing the skill structure
  4. Editing and implementing the skill
  5. Packaging for distribution
  6. Iterating based on testing

Using the Plugin Creator

After installation, Claude will automatically use the plugin creator when you want to create or modify complete plugins.

Example usage:

  • "I want to create a plugin that helps me [describes functionality]"
  • "Help me build a plugin with custom commands for [use case]"
  • "Create a plugin that includes [commands/agents/hooks/skills]"

The plugin creator will guide you through:

  1. Defining plugin scope and components
  2. Initializing plugin structure with selected components
  3. Implementing commands, agents, hooks, skills, or MCP integrations
  4. Configuring plugin metadata
  5. Documentation and testing
  6. Packaging for distribution

Using the Agentic Flow Builder

After installation, Claude will automatically use the agentic flow builder when you want to create multi-agent workflows.

Example usage:

  • "Help me build an agentic workflow for [use case]"
  • "Create a flow with business rule gates for [compliance requirement]"
  • "Build a multi-agent workflow using the orchestrator-workers pattern"

The flow builder will guide you through:

  1. Defining goals and determining if agentic flow is appropriate
  2. Designing the hierarchical tree structure
  3. Defining business rules for gates
  4. Configuring agent nodes with dynamic assignment
  5. Setting up dual memory system
  6. Testing and audit trail review

Quick start example:

# Create flow with age verification gate
flow_id = db.create_flow("User Onboarding")
root_id = db.create_node(flow_id, NodeType.ROOT, "root")
gate_id = db.create_node(flow_id, NodeType.GATE, "age_gate", parent_id=root_id)

# Add business rule (deterministic!)
db.create_rule(
    flow_id=flow_id,
    name="Minimum Age",
    rule_type="gate",
    condition={"field": "user.age", "operator": ">=", "value": 18}
)

# Execute with dynamic agent selection
execution_id = await orchestrator.execute_flow(flow_id, {"user": {"age": 25}})

Plugin Structure

This repository follows the Claude Code plugin structure:

.
├── .claude-plugin/
│   └── marketplace.json         # Marketplace and plugin metadata
├── skill-creator/               # The skill creator plugin
│   ├── SKILL.md                # Skill definition and instructions
│   ├── LICENSE.txt             # License information
│   └── scripts/                # Helper scripts
│       ├── init_skill.py       # Initialize new skills
│       ├── package_skill.py    # Package skills for distribution
│       └── quick_validate.py   # Validate skill structure
├── plugin-creator/              # The plugin creator plugin
│   ├── SKILL.md                # Skill definition and instructions
│   ├── LICENSE.txt             # License information
│   ├── scripts/                # Helper scripts
│   │   ├── init_plugin.py      # Initialize new plugins
│   │   └── package_plugin.py   # Validate and package plugins
│   └── references/             # Reference documentation (future)
├── agentic-flow-builder/        # The agentic flow builder plugin
│   ├── README.md               # Plugin documentation
│   ├── LICENSE.txt             # License information
│   ├── skills/                 # Skills
│   │   └── flow-builder/       # Flow builder skill
│   │       └── SKILL.md        # Comprehensive flow building guide
│   ├── scripts/                # Core implementation
│   │   ├── database.py         # SQLite schema and DAL
│   │   ├── business_rules_engine.py  # Production BRE
│   │   ├── flow_orchestrator.py      # Execution engine
│   │   └── agent_registry.py   # Dynamic agent assignment
│   └── references/             # Examples and documentation
│       └── complete_example.py # Full customer onboarding example
└── README.md                   # This file

Creating Your Own Plugins

To create your own plugin in this marketplace:

  1. Use the skill creator to generate a new skill
  2. Add the skill directory to this repository
  3. Update .claude-plugin/marketplace.json to include the new plugin
  4. Commit and push your changes

Marketplace Configuration

The .claude-plugin/marketplace.json file defines:

  • Marketplace name and owner information
  • Available plugins and their metadata
  • Skill locations and configurations

Managing Plugins

View installed plugins:

/plugin

Enable/disable plugins:

/plugin disable skill-creator
/plugin enable skill-creator
/plugin disable plugin-creator
/plugin enable plugin-creator

Uninstall plugins:

/plugin uninstall skill-creator
/plugin uninstall plugin-creator
/plugin uninstall agentic-flow-builder
/plugin uninstall prompt-engineer

Resources

License

See individual plugin directories for license information.

Contributing

Contributions are welcome! To add a new plugin:

  1. Create your plugin following the Claude Code plugin structure
  2. Test thoroughly using the skill creator validation tools
  3. Add proper documentation
  4. Submit a pull request

Support

For issues or questions:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages