c

cortex-plugin-reflection

ESM
v1.0.0MIT

Official CortexPrism plugin

0.00CortexPrism
agent-strategyaicortex-plugindevelopmentesmreasoning

Install Command

$ cortex plugin install marketplace:cortexprism.io/plugins/cortex-plugin-reflection
Website RepositoryLicense: MITEntry: mod.ts

Configuration

Plugin Type
ESM
Entry Point
mod.ts
License
MIT

Capabilities

toolsmiddleware:post

Tags

agent-strategyaicortex-plugindevelopmentesmreasoning

Statistics

Downloads
0
Rating
0.0
/ 5.0
Version
v1.0.0
Published
June 15, 2026

Reviews (0)

No reviews yet. Be the first to rate this plugin!

README

Reflection Enhancer Pack

Post-turn reflection plugins: self-consistency, debate, verification.

Installation

cortex plugin install marketplace:cortex-plugin-reflection
cortex plugin install github:CortexPrism/cortex-plugin-reflection
cortex plugin install ./manifest.json

Quick Start

cortex tools list
cortex chat --plugin cortex-plugin-reflection

Tools

reflect_self_consistency

Sample multiple reasoning paths and majority vote.

Parameters:

  • problem (string, required) — The problem to reason about
  • num_samples (number, optional) — Number of reasoning paths (default: 3)
  • strategy (string, optional) — Reasoning strategy hint

reflect_debate

Two sub-agents argue opposing positions, judge picks best.

Parameters:

  • topic (string, required) — The topic or question to debate
  • rounds (number, optional) — Number of debate rounds (default: 3)

reflect_verify

Agent writes tests for its own output before declaring done.

Parameters:

  • output (string, required) — The agent's output to verify
  • criteria (string, required) — Verification criteria

reflect_improve

Suggest improvements based on reflection results.

Parameters:

  • original_output (string, required) — The original agent output
  • reflection_results (string, required) — JSON of previous reflection results

Configuration

{
  "plugins": {
    "cortex-plugin-reflection": {
      "enabled": true,
      "config": {
        "defaultSamples": 3,
        "debateRounds": 3,
        "autoVerify": true
      }
    }
  }
}

Development

deno task test
deno fmt
deno lint
deno task validate

License

MIT — See LICENSE file

Published June 15, 2026 · Updated June 15, 2026