@musashishao/agent-kit 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @musashishao/agent-kit might be problematic. Click here for more details.
- package/README.md +35 -3
- package/bin/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -85,17 +85,49 @@ Rules in `.agent/rules/` are automatically applied. The main configuration file
|
|
|
85
85
|
| Command | Description |
|
|
86
86
|
|---------|-------------|
|
|
87
87
|
| `agent-kit init` | Install `.agent` folder into your project |
|
|
88
|
+
| `agent-kit setup-codex` | Sync workflows with Codex CLI slash commands |
|
|
88
89
|
| `agent-kit update` | Update to the latest version |
|
|
89
90
|
| `agent-kit status` | Check installation status |
|
|
90
91
|
|
|
91
92
|
### Options
|
|
92
93
|
|
|
93
94
|
```bash
|
|
94
|
-
agent-kit init --force
|
|
95
|
-
agent-kit init --path ./myapp
|
|
96
|
-
agent-kit
|
|
95
|
+
agent-kit init --force # Overwrite existing .agent folder
|
|
96
|
+
agent-kit init --path ./myapp # Install in specific directory
|
|
97
|
+
agent-kit setup-codex --prefix my- # Custom prefix for slash commands
|
|
98
|
+
agent-kit init --quiet # Suppress output
|
|
97
99
|
```
|
|
98
100
|
|
|
101
|
+
## 🔗 Multi-Platform Support
|
|
102
|
+
|
|
103
|
+
Agent Kit works with multiple AI coding assistants:
|
|
104
|
+
|
|
105
|
+
| Platform | Config | Setup |
|
|
106
|
+
|----------|--------|-------|
|
|
107
|
+
| **Codex CLI** | `AGENTS.md` | `npx @musashishao/agent-kit setup-codex` |
|
|
108
|
+
| **Gemini CLI** | `.gemini/settings.json` | `{ "contextFileName": ".agent/rules/GEMINI.md" }` |
|
|
109
|
+
| **Cursor** | `.cursor/rules` | Copy from `.agent/rules/` |
|
|
110
|
+
| **Aider** | `.aider.conf.yml` | `read: AGENTS.md` |
|
|
111
|
+
|
|
112
|
+
### Codex CLI Integration
|
|
113
|
+
|
|
114
|
+
After installing Agent Kit, integrate with OpenAI Codex CLI:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
# Step 1: Install Agent Kit
|
|
118
|
+
npx @musashishao/agent-kit init
|
|
119
|
+
|
|
120
|
+
# Step 2: Sync workflows to Codex CLI
|
|
121
|
+
npx @musashishao/agent-kit setup-codex
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
Now you can use Agent Kit workflows as slash commands in Codex:
|
|
125
|
+
- `/kit-create` - Create new apps
|
|
126
|
+
- `/kit-debug` - Debug issues
|
|
127
|
+
- `/kit-brainstorm` - Explore options
|
|
128
|
+
- ... and all 12 workflows!
|
|
129
|
+
|
|
99
130
|
## License
|
|
100
131
|
|
|
101
132
|
MIT © Musa (musashishao)
|
|
133
|
+
|
package/bin/cli.js
CHANGED
|
@@ -5,7 +5,7 @@ const path = require('path');
|
|
|
5
5
|
const os = require('os');
|
|
6
6
|
const { execSync } = require('child_process');
|
|
7
7
|
|
|
8
|
-
const VERSION = '
|
|
8
|
+
const VERSION = require('../package.json').version;
|
|
9
9
|
const PACKAGE_NAME = '@musashishao/agent-kit';
|
|
10
10
|
|
|
11
11
|
// Colors for terminal
|