Skip to content

Commit aa7e868

Browse files
authored
Merge pull request #2 from namos2502/dev
Enhance setup instructions and improve auto guard functionality
2 parents 4b12879 + 1132a99 commit aa7e868

5 files changed

Lines changed: 22 additions & 10 deletions

File tree

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "xflow",
33
"description": "Cross-agent workflow plugin — gives your agent the full programmatic reference for every CLI tool you use. One plugin. Every CLI. Stay in flow.",
4-
"version": "0.5.2",
4+
"version": "0.5.3",
55
"author": {
66
"name": "namos2502"
77
},

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to xFlow will be documented here.
44

5+
## [0.5.3] — 2026-03-21
6+
7+
### Fixed
8+
- `/xflow:auto` guard restructured from a soft "Step 1" bullet to a hard `⛔ STOP` block — models were reading past the conditional and activating regardless; now the gate is unambiguous and precedes the activation section entirely
9+
- `/xflow:setup` now ends every confirmation with a prompt to run `/xflow:auto` next — closes the gap where users had no clear signal of what to do after setup
10+
511
## [0.5.2] — 2026-03-21
612

713
### Added

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ xFlow fixes that.
1111

1212
**xFlow** is a cross-agent orchestration plugin for your AI agent CLI. It turns your active AI agent into a persistent **control center** that decomposes tasks, delegates to other CLI agents, and manages the full workflow — while you stay focused on what you're building.
1313

14+
> **Note:** xFlow is designed for use with 2 or more AI CLI platforms. To get the most out of cross-agent workflows, you need access to at least two supported CLI agents (e.g. Copilot CLI + Claude Code).
15+
1416
## How it works
1517

1618
xFlow uses a **Control Center → Agents** model:
@@ -36,8 +38,6 @@ No context bloat. No manual coordination. The workflow just happens.
3638

3739
**Reduce your token spend.** Every delegated subtask runs in a separate subprocess. Only the final report comes back into your context — no reasoning chains, no intermediate tool calls.
3840

39-
**Extend without friction.** Adding a new CLI agent = drop a `skills/agents/<name>/SKILL.md` file. No other changes needed.
40-
4141
## Get started
4242

4343
Before installing, make sure you have at least one supported CLI agent set up.
@@ -140,4 +140,4 @@ The orchestration skill teaches your CLI when and how to delegate:
140140

141141
## License
142142

143-
MIT
143+
This project is licensed under the MIT License

commands/auto.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,21 @@
22
description: "Activate autonomous multi-agent mode — Claude will know when and how to invoke copilot -p or claude -p for the rest of this session"
33
---
44

5-
**Step 1 — Check if setup has been run:**
5+
**BEFORE ANYTHING ELSE — verify setup is complete:**
66

77
Read `~/.claude/CLAUDE.md` and `~/.copilot/copilot-instructions.md`. Check whether each contains a `## xFlow` section.
88

9-
- If **neither** file has the section — stop and tell the user:
10-
> ⚠️ xFlow is not set up yet. Run `/xflow:setup` first to detect your CLI agents and register xFlow, then run `/xflow:auto` again.
9+
If **neither** file contains a `## xFlow` section:
10+
> **STOP. Do not load skills. Do not activate. Do not proceed.**
11+
> Tell the user: ⚠️ xFlow is not set up yet. Run `/xflow:setup` first to detect your CLI agents and register xFlow, then re-run `/xflow:auto`.
1112
12-
- If **only one** file has the section — warn the user setup may be incomplete and suggest re-running `/xflow:setup`, then proceed to Step 2.
13+
If **only one** file has the section — warn the user that setup may be incomplete and suggest re-running `/xflow:setup`. Then proceed.
1314

14-
- If **both** files have the section — proceed to Step 2.
15+
If **both** files have the section — proceed.
1516

16-
**Step 2 — Load skills and activate:**
17+
---
18+
19+
**Load skills and activate:**
1720

1821
Read and load the following skill files into your context for this session:
1922

commands/setup.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,6 @@ Fill in the actual agent status from Step 1 before writing.
110110

111111
- ✅ All installed agents authenticated and both instruction files updated — tell the user xFlow is ready and always-on in Claude Code and Copilot CLI.
112112
- ✅ Instruction files already had the section — tell the user xFlow was already configured. Offer to re-run auth check if needed.
113+
114+
In all cases, end with:
115+
> 🚀 Run `/xflow:auto` to activate multi-agent mode for this session.

0 commit comments

Comments
 (0)