Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
skills, tdd, debugging, multi-agent, refract-profiles, isolated-review, collaboration, workflows
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that runs coding work through three gates: Plan → Execute → Review. Claude acts as Coordinator: it brainstorms and plans with you, delegates implementation and independent review to external workers through Refract, and owns every Git commit, anchor, and verification.
Execute and Review require a running Refract server. The .mcp.json entry
uses the default endpoint documented in the
tool contract.
For another host or port, export REFRACT_URL before starting Claude Code:
export REFRACT_URL=http://127.0.0.1:9000/mcp
At session start the plugin runs refract status and starts a detached
refract serve when the daemon is not running and refract is on PATH.
Without Refract, brainstorming and plan authoring still work; consultation is skipped and recorded, and execution stops at the setup check.
After the marketplace is published, install the plugin with:
claude plugin marketplace add sitien173/refract
claude plugin install refract@refract
For Antigravity CLI (agy):
agy plugin install https://github.com/sitien173/refract
For the Pi coding agent (pi), install from GitHub or from a local clone:
pi install https://github.com/sitien173/refract
pi install /path/to/refract/plugin
Pi reads the pi manifest in package.json: the repository-root manifest
for a GitHub install, plugin/package.json for a local plugin/ path. The
pi/extensions/refract.ts extension registers the Refract MCP server at
REFRACT_URL and adds the coordinator context. Pi names skills and tools
without the Claude plugin namespace: /skill:using-refract. The skills and
hook name MCP tools by the refract server, not by a host-specific prefix.
Set REFRACT_DISABLE=1 for any host; true and yes also work. The
SessionStart hook then skips the daemon check and replaces the coordinator
context with a notice to ignore Refract skills, commands, and MCP tools unless
the user asks for them. The skills and MCP server stay installed, so this
relies on the agent following the notice:
REFRACT_DISABLE=1 claude -p "Summarize this repository"
REFRACT_DISABLE=1 codex exec "Summarize this repository"
REFRACT_DISABLE=1 agy -p "Summarize this repository"
To unload the plugin itself for one Claude Code run, override
enabledPlugins with the plugin ID from /plugin:
claude -p --settings '{"enabledPlugins":{"refract@refract":false}}' "Summarize this repository"
Codex reads plugins."<plugin>@<marketplace>".enabled from config.toml, and
-c overrides it for one run. Take the ID from codex plugin list:
codex exec -c 'plugins."refract@<marketplace>".enabled=false' "Summarize this repository"
Antigravity disables plugins only persistently, with agy plugin disable refract.
The extension adds a --no-refract flag. It skips the daemon check and the
MCP server for one run and injects the same ignore notice. The Refract skills
and commands still load:
pi -p --no-refract "Summarize this repository"
REFRACT_DISABLE=1 does the same; it also accepts true and yes:
REFRACT_DISABLE=1 pi -p "Summarize this repository"
Pi has no flag that disables one package. To disable every extension, skill, and prompt template for one non-interactive run:
pi -p --no-extensions --no-skills --no-prompt-templates "Summarize this repository"
--no-extensions also disables built-in MCP support; add -e builtin:mcp to
keep it. --no-extensions alone stops the coordinator context and the daemon
check but keeps the Refract skills and commands, without the ignore notice.
To disable only Refract, replace its entry in packages in
~/.pi/agent/settings.json with an empty filter. Use the source string Pi
recorded at install. This applies to every Pi session, interactive included:
{
"source": "../../projects/refract/plugin",
"extensions": [],
"skills": [],
"prompts": []
}
For one run only, point PI_CODING_AGENT_DIR at a copy of ~/.pi/agent with
this filter. The copy needs auth.json for provider credentials.
Refract Pi targets whose args include
--no-extensions --no-skills --no-prompt-templates do not load installed
packages. Other Pi targets load installed packages, so their workers receive
the coordinator context.
refract install -p <host> installs the plugin by running each host's own CLI. refract uninstall -p <host> removes it. -p takes claude, codex, agy, agy-ide, pi, or all. Pass a comma list or repeat the flag. all means every host CLI found on PATH, plus agy-ide when the Antigravity IDE is present (see Antigravity IDE below). The resolved host list always prints first as hosts: ....
npx claudepluginhub sitien173/refract --plugin refractPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.