A Claude Code plugin marketplace for skills-driven Agentic Context Engineering (ACE) — build, analyze, and maintain agent systems with structured workflows.
FAQ
reflexive-claude-code is a Claude Code plugin with 29 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes analyzing-codebases, applying-refactors, finalizing-refactors. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
> /plugin marketplace add wayne930242/Reflexive-Claude-Code
Repo: wayne930242/Reflexive-Claude-Code
A Claude Code plugin marketplace for skills-driven Agentic Context Engineering (ACE) — build, analyze, and maintain agent systems with structured workflows.
Reflexive Claude Code gives Claude Code a complete toolkit for managing its own agent system: CLAUDE.md, rules, skills, subagents, and hooks. Every component follows a structured creation process with automated quality review.
Key capabilities:
/plugin marketplace add wayne930242/Reflexive-Claude-Code
/plugin install rcc@rcc # core ACE workflow
/plugin install aref@rcc # agentic refactoring pipeline (optional, independent)
Both plugins live in the same marketplace. Install whichever you need; they coexist and are independently versioned.
The full pipeline runs through 6 stages, each a dedicated skill:
migrate → analyze → brainstorm → plan → apply → review → refactor
| Stage | Skill | What it does |
|---|---|---|
| Migrate | migrating-agent-systems | Detect maturity (None/Seed/Partial/Established), propose rules refactoring, route to correct chain |
| Analyze | analyzing-agent-systems | Scan all components, run 11-category weakness checklist, produce Rules Health Summary |
| Brainstorm | brainstorming-workflows | Explore workflows with complexity ladder (L1-L6), map to Anthropic patterns |
| Plan | planning-agent-systems | Architecture flowchart first, then dependency-driven component plan |
| Apply | applying-agent-systems | Invoke writing-* skills in order: CLAUDE.md → rules → hooks → skills → agents |
| Review | reviewing-agent-systems | Run all 5 reviewer agents, produce structured report |
11-category weakness analysis (via analyzing-agent-systems):
| # | Category | Key checks |
|---|---|---|
| 1 | Routing / Triggers | Vague descriptions, overlapping triggers, missing handoffs |
| 2 | Context Management | Oversized CLAUDE.md, eager loading, context pollution |
| 3 | Workflow Continuity | Broken chains, missing verification gates |
| 4 | Redundancy / Conflicts | Duplicate rules, contradicting instructions |
| 5 | Security / Safety | Unprotected sensitive files, excessive permissions |
| 6 | Observability | Missing structured output, opaque routing |
| 7 | Architecture / Scaling | Flat topology, over-orchestration |
| 8 | Constitution Stability | Procedures in CLAUDE.md, vague instructions |
| 9 | Project Context | Missing deployment docs, language coverage gaps |
| 10 | Cross-Tool Migration | Unimported .cursorrules, copilot instructions |
| 11 | Rules Health | Lines > 50, missing paths:, dead globs, session-start > 300 lines |
Rules Health Summary (produced during analysis):
| Metric | Threshold |
|---|---|
| CLAUDE.md lines | > 200 = warning |
| Session-start total (CLAUDE.md + global rules) | > 300 = warning |
| Individual rule lines | > 50 = warning |
| Path-scoped rule with 0 file matches | dead glob |
| Procedural content in rules | should be a skill |
Real-time validation hook (validate_frontmatter.py):
additionalContext so Claude can self-correct immediatelyEach writing-* skill follows a structured process with a reviewer gate:
| Skill | Creates | Reviewer |
|---|---|---|
writing-claude-md | CLAUDE.md | claudemd-reviewer |
writing-rules | .claude/rules/*.md | rule-reviewer |
writing-hooks | .claude/hooks/* | hook-reviewer |
writing-skills | .claude/skills/*/SKILL.md | skill-reviewer |
writing-subagents | .claude/agents/*.md | subagent-reviewer |
Separate pipeline for creating and maintaining Claude Code plugins:
migrate-plugin → validate → refactor
↑
(or) create from scratch / convert from scripts
| Maturity | Detection | Route |
|---|---|---|
| None | No .claude-plugin/ | → creating-plugins (from scratch) |
| Pre-plugin | Script project without plugin structure | → Propose conversion table → creating-plugins (with proposal) |
| Minimal | Has manifest, missing components | → validating-plugins → refactoring-plugins |
| Complete | Full plugin | → validating-plugins → refactoring-plugins |
Each skill can bundle three types of supporting assets:
| Directory | Role | Example |
|---|---|---|
references/ | Documentation Claude reads on demand | Checklists, pattern catalogs |
scripts/ | Executable automation | Scaffolders, validators |
templates/ | Reusable file skeletons | Report formats, config files |
The planner decides which assets each skill needs; the reviewer checks they exist; the refactorer creates missing ones directly.
Primary orchestrator: claude-opus-4-7 — per Anthropic's Opus 4.7 prompting best practices, Opus 4.7 is the recommended main model for long-horizon agentic work, subagent orchestration, and coding. Start at xhigh effort for coding/agentic use cases; minimum high for intelligence-sensitive work. Set max_tokens ≥ 64k at xhigh/max so the model has room to think and act.
| Use Case | Model | Effort |
|---|---|---|
| Main orchestrator, long-horizon agentic, planning | claude-opus-4-7 | xhigh / high |
| Implementation, code generation | sonnet | high |
| Read-only analysis, review | sonnet | medium |
| Simple lookup, exploration | haiku | low |
| Skill | Purpose |
|---|---|
migrating-agent-systems | Maturity-graded routing with rules refactoring proposal |
migrating-plugins | Plugin maturity detection (None/Pre-plugin/Minimal/Complete), script-to-plugin conversion |
analyzing-agent-systems | Project scanning + 11-category weakness detection + actionable restructuring recommendations |
brainstorming-workflows | Targeted exploration of pipeline modes, pain points, and routine tasks |
planning-agent-systems | Architecture-first planning with dependency ordering |
applying-agent-systems | Execute component plan via writing-* chain |
reviewing-agent-systems | Run all 5 reviewer agents |
refactoring-agent-systems | Fix issues from review report |
writing-skills | Structured skill creation |
writing-claude-md | CLAUDE.md with standard format |
writing-subagents | Subagent config with model/isolation guide |
writing-rules | Rules with decision tree and content validation |
writing-hooks | Hooks for static analysis and quality gates |
reflecting | Suggest candidate learnings, deepen the ones you pick |
improving-skills | Optimize a single skill |
refactoring-skills | Consolidate and deduplicate across skills |
advising-architecture | Classify knowledge type, validate approach |
initializing-projects | Bootstrap new project with agent system |
creating-plugins | Scaffold a new Claude Code plugin |
refactoring-plugins | Health-check plugins against official best practices |
validating-plugins | Batch scan all plugin files for errors |
Agentic refactoring pipeline. Detects languages, analyzes hotspots, proposes phased refactor plans, scaffolds characterization tests, applies refactors on a dedicated branch with per-phase review, verifies against hard structural rules and mutation testing, then writes AGENTS.md per subproject for future AI coding agents.
Entry command: /aref
Pipeline: analyzing-codebases → planning-refactors → scaffolding-characterization-tests → applying-refactors → verifying-refactors → finalizing-refactors
Supported languages: TypeScript/JavaScript, Python, Rust, Go (deep). Other languages fall back to generic analysis.
See plugins/aref/README.md for full details.
Reflexive-Claude-Code/
├── .claude-plugin/
│ └── marketplace.json
├── .rcc/ # Per-project RCC artifacts (tracked)
│ ├── config.yml # Migration state + decisions log
│ ├── {timestamp}-*.md # analysis / plan / reflection / review outputs
│ ├── memory/ # reflection learnings
│ ├── validation/ # validate_all.py reports
│ └── archive/ # refactor-sweep snapshots
├── plugins/
│ └── rcc/
│ ├── skills/ # 21 skills
│ ├── agents/ # 5 reviewer subagents
│ └── hooks/ # Frontmatter validation hook
├── release-please-config.json
├── .release-please-manifest.json
└── README.md
.rcc/config.ymlEvery RCC-enabled project carries .rcc/config.yml recording:
.claude/settings.json vs .claude/settings.local.json vs ~/.claude/settings.json)decisions_logManaged by migrating-agent-systems (creation) and reflecting (log append). See config schema.
Zhang, Q., et al. (2025). Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models. arXiv:2510.04618.
MIT
.claude-plugin/
marketplace.json
.github/
workflows/
release-please.yml
.gitignore
.rcc/
20260324-1200-analysis.md
20260324-1200-refactoring-report.md
20260414-1200-analysis.md
20260414-1400-plan.md
config.yml
validation/
2026-04-07-230943-validation.md
2026-04-07-231111-validation.md
2026-04-07-231902-validation.md
2026-04-07-232020-validation.md
2026-04-10-165050-validation.md
2026-04-14-113725-validation.md
.release-please-manifest.json
CHANGELOG.md
CLAUDE.md
docs/
plans/
2026-03-24-agent-system-skill-decomposition-design.md
2026-03-24-agent-system-skill-decomposition.md
2026-04-10-rules-refactoring-pipeline-design.md
2026-04-10-rules-refactoring-pipeline-impl.md
2026-04-20-aref-plugin-design.md
2026-04-20-aref-plugin-impl.md
2026-06-26-reflection-lightweight-architecture-simplify-plan.md
superpowers/
plans/
2026-04-07-frontmatter-validator-hook.md
2026-04-10-reflecting-redesign.md
2026-04-12-agent-system-security-enhancement.md
specs/
2026-04-07-frontmatter-validator-hook-design.md
2026-04-10-reflecting-redesign-design.md
plugins/
aref/
.claude-plugin/
plugin.json
agents/
refactor-phase-reviewer.md
CHANGELOG.md
CLAUDE.md
commands/
aref.md
fixtures/
go/
cyclic.go
go.mod
godfile.go
untested_module.go
python/
pyproject.toml
src/
__init__.py
cyclic_a.py
cyclic_b.py
god_module.py
untested_module.py
rust/
Cargo.toml
src/
cyclic.rs
god_file.rs
lib.rs
untested_module.rs
typescript/
package.json
src/
cyclic-a.ts
cyclic-b.ts
god-file.ts
untested-module.ts
tsconfig.json
README.md
skills/
analyzing-codebases/
references/
generic-fallback.md
go-toolchain.md
python-toolchain.md
refactor-map-schema.md
rust-toolchain.md
typescript-toolchain.md
SKILL.md
applying-refactors/
references/
phase-commit-protocol.md
SKILL.md
finalizing-refactors/
references/
agents-md-template.md
SKILL.md
planning-refactors/
references/
patterns.md
refactor-plan-schema.md
SKILL.md
scaffolding-characterization-tests/
references/
characterization-test-recipes.md
SKILL.md
verifying-refactors/
references/
hard-rules.md
mutation-testing.md
SKILL.md
tests/
run-fixtures.md
docs/
agent-system/
memory/
failures/
274e1243.json
6d80988e.json
patterns/
87ff92df.json
87ff92df.md
bf0bb9af.json
bf0bb9af.md
rcc/
.claude-plugin/
plugin.json
agents/
claudemd-reviewer.md
hook-reviewer.md
rule-reviewer.md
skill-reviewer.md
subagent-reviewer.md
CLAUDE.md
commands/
init-plugin.md
init.md
migrate-plugin.md
migrate.md
reflect.md
hooks/
hooks.json
validate_all.py
validate_frontmatter.py
validators/
__init__.py
agent_validator.py
config_validator.py
constants.py
rules_validator.py
skill_validator.py
utils.py
README.md
references/
cross-platform-scripts.md
prompt-design-principles.md
task-initialization.md
skills/
advising-architecture/
references/
model-selection.md
SKILL.md
analyzing-agent-systems/
references/
project-scanning.md
report-template.md
restructuring-guide.md
weakness-checklist.md
SKILL.md
applying-agent-systems/
SKILL.md
brainstorming-workflows/
references/
anthropic-patterns.md
exploration-questions.md
routing-patterns.md
summary-template.md
SKILL.md
creating-plugins/
references/
plugin-templates.md
SKILL.md
dispatching-parallel-agents/
SKILL.md
fetching-claude-docs/
SKILL.md
improving-skills/
SKILL.md
initializing-projects/
SKILL.md
migrating-agent-systems/
references/
config-schema.md
SKILL.md
migrating-plugins/
SKILL.md
planning-agent-systems/
references/
anthropic-patterns.md
component-planning.md
plan-template.md
SKILL.md
refactoring-agent-systems/
SKILL.md
refactoring-plugins/
references/
plugin-health-checklist.md
plugin-structure-rules.md
scripts/
validate_plugin.py
SKILL.md
refactoring-skills/
SKILL.md
reflecting/
references/
report-template.md
SKILL.md
reviewing-agent-systems/
SKILL.md
validating-plugins/
SKILL.md
writing-claude-md/
references/
examples.md
flowchart.md
scripts/
init_claude_md.py
SKILL.md
writing-hooks/
references/
ai-security-checks.md
events.md
performance-optimization.md
static-checks.md
stop-event-self-verify.md
scripts/
add_hook.py
SKILL.md
writing-rules/
references/
examples.md
flowchart.md
paths-patterns.md
SKILL.md
writing-skills/
references/
examples.md
patterns.md
persuasion-principles.md
spec.md
testing-with-subagents.md
scripts/
validate_skill.py
SKILL.md
writing-subagents/
references/
agent-spec.md
examples.md
tools.md
SKILL.md
pyproject.toml
README.md
README.zh-TW.md
release-please-config.json
tests/
__init__.py
hooks/
__init__.py
test_validate_frontmatter.py
uv.lock© 2026 Flowy · Free and open source
Built for Claude Code · Not affiliated with Anthropic