@prateek_ai/agents-maker 1.0.0
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.
- package/LICENSE +21 -0
- package/README.md +659 -0
- package/agents/architect_agent.md +175 -0
- package/agents/code_agent.md +178 -0
- package/agents/compression_agent.md +226 -0
- package/agents/execution_agent.md +157 -0
- package/agents/orchestrator.md +406 -0
- package/agents/reviewer_agent.md +134 -0
- package/agents/ui_agent.md +147 -0
- package/agents/ux_agent.md +144 -0
- package/bin/cli.js +79 -0
- package/config/agents.yaml +388 -0
- package/config/domain_profiles.yaml +394 -0
- package/config/project.yaml.example +16 -0
- package/config/token_policies.yaml +325 -0
- package/context_loaders/__init__.py +15 -0
- package/context_loaders/__pycache__/__init__.cpython-314.pyc +0 -0
- package/context_loaders/__pycache__/file_chunker.cpython-314.pyc +0 -0
- package/context_loaders/__pycache__/project_summary.cpython-314.pyc +0 -0
- package/context_loaders/__pycache__/repo_tree.cpython-314.pyc +0 -0
- package/context_loaders/file_chunker.py +252 -0
- package/context_loaders/project_summary.py +369 -0
- package/context_loaders/repo_tree.py +203 -0
- package/package.json +46 -0
- package/quickstart.ps1 +252 -0
- package/quickstart.sh +232 -0
- package/requirements.txt +3 -0
- package/skills/analyze_repo.md +86 -0
- package/skills/animated_website.md +285 -0
- package/skills/compare_approaches.md +86 -0
- package/skills/define_data_schema.md +99 -0
- package/skills/design_api.md +126 -0
- package/skills/improve_copy.md +69 -0
- package/skills/review_code.md +83 -0
- package/skills/review_layout.md +89 -0
- package/skills/suggest_next.md +105 -0
- package/skills/summarize_history.md +89 -0
- package/skills/write_process_map.md +105 -0
- package/skills/write_tests.md +97 -0
- package/token_optimization/__pycache__/compressor.cpython-314.pyc +0 -0
- package/token_optimization/compressor.py +502 -0
- package/token_optimization/output_styles.md +80 -0
- package/tools/__pycache__/domain_utils.cpython-314.pyc +0 -0
- package/tools/__pycache__/generate_claude_md.cpython-314.pyc +0 -0
- package/tools/__pycache__/validate_kit.cpython-314.pyc +0 -0
- package/tools/domain_utils.py +141 -0
- package/tools/generate_claude_md.py +269 -0
- package/tools/generate_platform_configs.py +467 -0
- package/tools/generate_prompt.py +461 -0
- package/tools/init_project.py +454 -0
- package/tools/test_kit.py +363 -0
- package/tools/validate_kit.py +504 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 agents-maker contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,659 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# ๐ค agents-maker
|
|
4
|
+
|
|
5
|
+
### Multi-LLM ยท Multi-Agent ยท Any Project ยท Any AI Tool
|
|
6
|
+
|
|
7
|
+
> **Clone once. Use forever.**
|
|
8
|
+
> Every AI session becomes structured, token-efficient, and decision-aware.
|
|
9
|
+
|
|
10
|
+
[](https://github.com/Prateek-N/Multi-Agent-Stack/actions/workflows/validate.yml)
|
|
11
|
+
[](LICENSE)
|
|
12
|
+

|
|
13
|
+

|
|
14
|
+

|
|
15
|
+

|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
**agents-maker** is a multi-agent assistant kit you drop into any project. It acts as intelligent middleware between your problem statement and any AI tool โ Claude, ChatGPT, Codex, or anything else. Instead of dumping raw context into a chat window, you give it your stack, constraints, and task โ and it routes to the right specialists, enforces a token budget, and always tells you what to do next.
|
|
23
|
+
|
|
24
|
+
> ๐ก **The key insight**: AI quality is bounded by context quality. agents-maker teaches you exactly what context to give, structures it automatically, and makes every session resume-able without replaying history.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## โจ What It Does
|
|
29
|
+
|
|
30
|
+
| ๐ค Without agents-maker | ๐ With agents-maker |
|
|
31
|
+
|---|---|
|
|
32
|
+
| Re-explain the project every session | `project_state.md` resumes automatically |
|
|
33
|
+
| AI gives generic boilerplate patterns | Specialist agent uses your actual stack |
|
|
34
|
+
| Wrong domain, wrong agent, wrong output | Domain auto-detected from task description |
|
|
35
|
+
| Bloated context, slow token-heavy responses | Token budget enforced per phase and domain |
|
|
36
|
+
| "What do I do next?" after every response | 3 ranked next steps surfaced automatically |
|
|
37
|
+
| One-size-fits-all output style | 11 output styles matched to phase and task |
|
|
38
|
+
|
|
39
|
+
- ๐ฏ **Domain is auto-detected** from your task โ software, content, research, marketing, analytics, product design, ops
|
|
40
|
+
- ๐ง **8 specialist agents** activate only when relevant โ you never name an agent
|
|
41
|
+
- ๐ฐ **Token budget is enforced** โ context is compressed to fit the right window per phase
|
|
42
|
+
- ๐บ๏ธ **Next steps always surfaced** โ 3 ranked options after every response
|
|
43
|
+
- ๐ **State persists across sessions** โ resume long projects without replaying history
|
|
44
|
+
- ๐ **Works with any LLM** โ pure Markdown + YAML, no provider lock-in, no API keys
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## โก Quickstart
|
|
49
|
+
|
|
50
|
+
### ๐ช Windows
|
|
51
|
+
|
|
52
|
+
```powershell
|
|
53
|
+
git clone https://github.com/Prateek-N/Multi-Agent-Stack.git agents-maker
|
|
54
|
+
.\agents-maker\quickstart.ps1
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### ๐ macOS / Linux / WSL
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
git clone https://github.com/Prateek-N/Multi-Agent-Stack.git agents-maker
|
|
61
|
+
bash agents-maker/quickstart.sh
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
The quickstart script handles everything:
|
|
65
|
+
1. โ
Checks Python 3.9+
|
|
66
|
+
2. ๐ฆ Installs `pyyaml` (the only dependency)
|
|
67
|
+
3. ๐ Validates all 12 kit integrity checks
|
|
68
|
+
4. ๐ Runs `init_project.py` to scan your project and generate `system_prompt.md`
|
|
69
|
+
5. ๐ Prints all commands you need, ready to copy-paste
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## ๐ฆ Two Ways to Use It
|
|
74
|
+
|
|
75
|
+
### ๐
ฐ๏ธ Zero-Python Workflow (no installation needed)
|
|
76
|
+
|
|
77
|
+
1. Paste `system_prompt.md` into your AI tool as the **system prompt** or Project Knowledge โ do this **once**
|
|
78
|
+
2. Open `PROMPT_TEMPLATE.md`, fill in your context and task, paste it as your message:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
## Project Context
|
|
82
|
+
Name: my-app | Stack: Python, FastAPI | Domain: software
|
|
83
|
+
|
|
84
|
+
## Session State
|
|
85
|
+
Session 1 โ starting fresh
|
|
86
|
+
|
|
87
|
+
## Task
|
|
88
|
+
Add rate limiting to the auth service
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### ๐
ฑ๏ธ Companion Mode CLI (Python โ automated)
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
# One-time bootstrap โ scans your project, generates system_prompt.md
|
|
95
|
+
python agents-maker/tools/init_project.py
|
|
96
|
+
|
|
97
|
+
# Before every session โ generates a structured, domain-routed message
|
|
98
|
+
python agents-maker/tools/generate_prompt.py "add rate limiting to the auth service"
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Output:
|
|
102
|
+
```
|
|
103
|
+
============================================================
|
|
104
|
+
PASTE THIS AS YOUR NEXT MESSAGE
|
|
105
|
+
Project: my-app | Domain: software (high) | Phase: implementation
|
|
106
|
+
Est. tokens: ~3,800 | Agents: orchestrator, code_agent
|
|
107
|
+
============================================================
|
|
108
|
+
|
|
109
|
+
## Project Context
|
|
110
|
+
Name: my-app | Stack: python, fastapi, postgres | Domain: software
|
|
111
|
+
|
|
112
|
+
## Session State
|
|
113
|
+
Phase: implementation | Approved: requirements_spec, solution_design
|
|
114
|
+
|
|
115
|
+
## Task
|
|
116
|
+
add rate limiting to the auth service
|
|
117
|
+
|
|
118
|
+
## Domain & Routing
|
|
119
|
+
Domain: software (confidence: high, score: 1.33)
|
|
120
|
+
Suggested phase: implementation
|
|
121
|
+
Active agents: orchestrator, code_agent
|
|
122
|
+
Active skills: review_code, write_tests, suggest_next
|
|
123
|
+
============================================================
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## ๐ Platform Integration
|
|
129
|
+
|
|
130
|
+
One command wires agents-maker into every AI platform you use. Run it once after init:
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
python agents-maker/tools/generate_platform_configs.py
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
This writes a native config file for each platform โ committed to git, auto-loaded on every session, no copy-paste required:
|
|
137
|
+
|
|
138
|
+
| Platform | Config file written | What it does |
|
|
139
|
+
|---|---|---|
|
|
140
|
+
| ๐ฃ **Claude Code** | `CLAUDE.md` | Auto-read every session โ domain, stack, phase, agent routing loaded silently |
|
|
141
|
+
| ๐ข **GitHub Copilot** | `.github/copilot-instructions.md` | Workspace-level instructions โ Copilot applies agent routing on every suggestion |
|
|
142
|
+
| ๐ต **Cursor** | `.cursor/rules` | Persistent AI rules โ Cursor applies domain context across all tabs |
|
|
143
|
+
| โก **Antigravity** | `.agkit/agents.yaml` | Full agent pipeline config โ all 8 agents + 12 skills registered with phase/domain wiring |
|
|
144
|
+
|
|
145
|
+
**Commit all generated files** โ they are project config, not private state. Every developer who clones the repo gets the full multi-agent setup automatically.
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
# Generate for all platforms (default)
|
|
149
|
+
python agents-maker/tools/generate_platform_configs.py
|
|
150
|
+
|
|
151
|
+
# Generate for specific platforms only
|
|
152
|
+
python agents-maker/tools/generate_platform_configs.py --platforms claude copilot
|
|
153
|
+
|
|
154
|
+
# Preview without writing
|
|
155
|
+
python agents-maker/tools/generate_platform_configs.py --dry-run
|
|
156
|
+
|
|
157
|
+
# Or generate during init
|
|
158
|
+
python agents-maker/tools/init_project.py --platforms
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
Regenerate whenever your domain, stack, or phase changes.
|
|
162
|
+
|
|
163
|
+
```markdown
|
|
164
|
+
# agents-maker โ Project AI Config
|
|
165
|
+
|
|
166
|
+
## Active Domain
|
|
167
|
+
software (confidence: high)
|
|
168
|
+
|
|
169
|
+
## Stack
|
|
170
|
+
Python, FastAPI, PostgreSQL
|
|
171
|
+
|
|
172
|
+
## Current Phase
|
|
173
|
+
Implementation (`implementation`)
|
|
174
|
+
|
|
175
|
+
## Agent Routing
|
|
176
|
+
Orchestrator is always active. Specialist agents: code_agent (implementation), reviewer_agent (QA).
|
|
177
|
+
|
|
178
|
+
## Session Instructions
|
|
179
|
+
- Apply domain routing and phase context from agents-maker before every task.
|
|
180
|
+
- After every response: append a [Companion] block with 3 ranked next steps.
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## ๐ Context Guide โ What to Give the AI
|
|
186
|
+
|
|
187
|
+
> The quality of every AI response is bounded by the context you provide.
|
|
188
|
+
|
|
189
|
+
### ๐งฑ The 5 Context Layers
|
|
190
|
+
|
|
191
|
+
| Layer | Field | Impact if missing |
|
|
192
|
+
|---|---|---|
|
|
193
|
+
| ๐ท๏ธ **Project identity** | Name, Stack | AI uses generic patterns instead of your actual technology |
|
|
194
|
+
| ๐ฏ **Domain** | Domain key | AI may mis-route (software task treated as content) |
|
|
195
|
+
| ๐ง **Constraints** | Key constraints | AI proposes solutions you can't use |
|
|
196
|
+
| ๐ **Session state** | Phase + approved artifacts | AI restarts from scratch instead of continuing |
|
|
197
|
+
| ๐ฏ **Task specificity** | Concrete, scoped description | AI asks 5 clarifying questions before doing anything |
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
### ๐ Project Context โ What Each Field Unlocks
|
|
202
|
+
|
|
203
|
+
```
|
|
204
|
+
## Project Context
|
|
205
|
+
Name: auth-service
|
|
206
|
+
Stack: Python 3.11, FastAPI, PostgreSQL 15, Redis 7, Docker
|
|
207
|
+
Domain: software
|
|
208
|
+
Key constraints: no breaking changes to /login, Redis already in use, must support 10k req/min
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
**`Stack`** โ the Code Agent uses this to pick the right patterns, libraries, and idioms. Be specific:
|
|
212
|
+
|
|
213
|
+
| Weak | Strong |
|
|
214
|
+
|---|---|
|
|
215
|
+
| `"Python"` | `"Python 3.11, FastAPI, PostgreSQL 15"` |
|
|
216
|
+
| `"JavaScript"` | `"Next.js 14, TypeScript, Tailwind, Prisma"` |
|
|
217
|
+
|
|
218
|
+
**`Key constraints`** โ the highest-ROI field. Constraints eliminate entire classes of wrong answers before the AI starts:
|
|
219
|
+
|
|
220
|
+
| ๐ซ Without constraints | โ
With constraints |
|
|
221
|
+
|---|---|
|
|
222
|
+
| AI suggests a new caching library | AI uses your existing Redis setup |
|
|
223
|
+
| AI proposes a breaking API change | AI works around the existing `/login` contract |
|
|
224
|
+
| AI writes a 4,000-word document | AI writes within your 800-word limit |
|
|
225
|
+
|
|
226
|
+
**`Domain`** โ controls which specialist agents activate. Force it with `[domain: X]` in your task โ all 8 domains are supported:
|
|
227
|
+
```
|
|
228
|
+
## Task
|
|
229
|
+
[domain: ops_process] Write a runbook for Redis failover.
|
|
230
|
+
[domain: marketing] Write a go-to-market brief for our SaaS launch.
|
|
231
|
+
[domain: software] Refactor the auth service โ add sliding-window rate limiting.
|
|
232
|
+
```
|
|
233
|
+
The header shows `(forced)` as the confidence when a prefix is used, so you always know routing was explicit.
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
### โ๏ธ Task Specificity โ Good vs Weak
|
|
238
|
+
|
|
239
|
+
The pattern: **Deliverable + Scope + Success criteria.** Three sentences max.
|
|
240
|
+
|
|
241
|
+
| ๐ฉ Weak | ๐ช Strong |
|
|
242
|
+
|---|---|
|
|
243
|
+
| `fix the bug` | `Fix 500 on POST /auth/refresh when Redis key has expired โ stack trace in issue #47` |
|
|
244
|
+
| `improve the UI` | `Redesign signup form: reduce fields from 9 to 5, inline validation, mobile-first` |
|
|
245
|
+
| `write blog post` | `1,200-word technical post for senior engineers on RESTโGraphQL: what broke, 3 takeaways` |
|
|
246
|
+
| `add tests` | `pytest for RedisRateLimiter: happy path, limit exceeded, bypass for 10.x.x.x, Redis failure` |
|
|
247
|
+
| `review the code` | `Security review of auth middleware โ focus on token validation, rate limit bypass vectors` |
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
### ๐๏ธ Code Context โ How to Attach Your Repo
|
|
252
|
+
|
|
253
|
+
```bash
|
|
254
|
+
# Annotated repo tree โ paste into session message
|
|
255
|
+
python agents-maker/context_loaders/repo_tree.py --path .
|
|
256
|
+
|
|
257
|
+
# Stack + structure summary
|
|
258
|
+
python agents-maker/context_loaders/project_summary.py --path .
|
|
259
|
+
|
|
260
|
+
# Split a large file into token-safe chunks
|
|
261
|
+
python agents-maker/context_loaders/file_chunker.py --path . --files src/auth/middleware.py
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
Or paste manually after your `## Task` block:
|
|
265
|
+
|
|
266
|
+
```
|
|
267
|
+
## Repo Context
|
|
268
|
+
src/
|
|
269
|
+
โโโ auth/
|
|
270
|
+
โ โโโ middleware.py โ rate limiting goes here
|
|
271
|
+
โ โโโ routes.py
|
|
272
|
+
โโโ core/
|
|
273
|
+
โโโ redis.py โ existing Redis client
|
|
274
|
+
|
|
275
|
+
Key file โ src/core/redis.py:
|
|
276
|
+
[paste relevant excerpt]
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
---
|
|
280
|
+
|
|
281
|
+
### ๐ Session State โ Resume Without Replay
|
|
282
|
+
|
|
283
|
+
After each approved phase, ask the AI:
|
|
284
|
+
```
|
|
285
|
+
Produce an updated project_state.md for this session.
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
Paste the result into your next session's `## Session State` block. The Compression Agent reads it and jumps directly to the current phase โ no re-explaining, no token waste.
|
|
289
|
+
|
|
290
|
+
```yaml
|
|
291
|
+
# project_state.md
|
|
292
|
+
## Current Phase
|
|
293
|
+
implementation
|
|
294
|
+
|
|
295
|
+
## Approved Artifacts
|
|
296
|
+
- task_profile: add sliding-window rate limiter to auth service
|
|
297
|
+
- requirements_spec: 100 req/min per IP, Redis-backed, bypass for 10.x.x.x
|
|
298
|
+
- solution_design: FastAPI middleware, sliding window, Redis ZSET, X-RateLimit-* headers
|
|
299
|
+
|
|
300
|
+
## Build Log
|
|
301
|
+
- Increment 1: RedisRateLimiter class + ZSET logic โ
|
|
302
|
+
- Increment 2: FastAPI middleware integration โ
|
|
303
|
+
|
|
304
|
+
## Open Decisions
|
|
305
|
+
- Should /health bypass be configurable or hard-coded?
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
---
|
|
309
|
+
|
|
310
|
+
### ๐บ๏ธ Domain-Specific Context Tips
|
|
311
|
+
|
|
312
|
+
| Domain | ๐ Most important context to include |
|
|
313
|
+
|---|---|
|
|
314
|
+
| `๐ป software` | Stack versions, existing patterns, file paths, code excerpts |
|
|
315
|
+
| `โ๏ธ content` | Target audience, tone, word count, format, examples you like |
|
|
316
|
+
| `๐ฌ research` | Question to answer, scope limits, citation style, sources to exclude |
|
|
317
|
+
| `๐ data_analytics` | Data schema or sample rows, metrics that matter, existing tools |
|
|
318
|
+
| `๐จ product_design` | User persona, current flow (numbered steps), pain point, platform |
|
|
319
|
+
| `๐ฃ marketing` | ICP, channel, brand voice, competitor positioning |
|
|
320
|
+
| `โ๏ธ ops_process` | Team size, existing tools, compliance requirements, who runs it |
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
### ๐ฏ Phase-Based Context โ What to Include Per Phase
|
|
325
|
+
|
|
326
|
+
| Phase (`--phase` key) | ๐ Add this to your session message |
|
|
327
|
+
|---|---|
|
|
328
|
+
| **Task Framing** (`task_framing`) | Full project context + constraint list. Let the AI ask clarifying questions. |
|
|
329
|
+
| **Requirements** (`requirements`) | Non-negotiables, stakeholder constraints, timeline. |
|
|
330
|
+
| **Solution Design** (`solution_design`) | Existing system diagrams or structure; previous ADRs. |
|
|
331
|
+
| **Implementation** (`implementation`) | Relevant code excerpts, file paths, test patterns already in use. |
|
|
332
|
+
| **Review** (`review_refinement`) | What success looks like, known edge cases, compliance checklist. |
|
|
333
|
+
| **Handoff** (`handoff`) | Deployment target, who receives the handoff, format preferences. |
|
|
334
|
+
|
|
335
|
+
---
|
|
336
|
+
|
|
337
|
+
### ๐ง Forcing a Skill
|
|
338
|
+
|
|
339
|
+
Skills fire automatically, but you can invoke any explicitly:
|
|
340
|
+
|
|
341
|
+
```
|
|
342
|
+
[skill: compare_approaches] Compare Redis sliding window vs token bucket for our rate limiter.
|
|
343
|
+
[skill: animated_website] Build a scroll-driven hero entrance animation using GSAP.
|
|
344
|
+
[skill: review_code] Security review of src/auth/middleware.py โ focus on token validation.
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
---
|
|
348
|
+
|
|
349
|
+
## ๐ ๏ธ Command Reference
|
|
350
|
+
|
|
351
|
+
```bash
|
|
352
|
+
# ๐ One-command setup
|
|
353
|
+
bash agents-maker/quickstart.sh # macOS / Linux / WSL
|
|
354
|
+
.\agents-maker\quickstart.ps1 # Windows PowerShell
|
|
355
|
+
|
|
356
|
+
# ๐ง Bootstrap a new project (run once)
|
|
357
|
+
python agents-maker/tools/init_project.py
|
|
358
|
+
python agents-maker/tools/init_project.py --path /your/project
|
|
359
|
+
python agents-maker/tools/init_project.py --update # regenerate system_prompt.md
|
|
360
|
+
python agents-maker/tools/init_project.py --claude-md # also write CLAUDE.md (Claude Code)
|
|
361
|
+
|
|
362
|
+
# ๐ฌ Generate a prompt before any AI session
|
|
363
|
+
python agents-maker/tools/generate_prompt.py "describe your task"
|
|
364
|
+
python agents-maker/tools/generate_prompt.py "[domain: software] your task" # force domain
|
|
365
|
+
python agents-maker/tools/generate_prompt.py "your task" --phase implementation
|
|
366
|
+
python agents-maker/tools/generate_prompt.py "your task" --compress # add token policy block
|
|
367
|
+
python agents-maker/tools/generate_prompt.py "your task" --full # embed full system prompt
|
|
368
|
+
|
|
369
|
+
# ๐ Wire into all AI platforms (Claude Code, Copilot, Cursor, Antigravity)
|
|
370
|
+
python agents-maker/tools/generate_platform_configs.py
|
|
371
|
+
python agents-maker/tools/generate_platform_configs.py --platforms claude copilot
|
|
372
|
+
python agents-maker/tools/generate_platform_configs.py --dry-run # preview without writing
|
|
373
|
+
python agents-maker/tools/init_project.py --platforms # generate during init
|
|
374
|
+
|
|
375
|
+
# ๐ Context loaders (paste output alongside your task)
|
|
376
|
+
python agents-maker/context_loaders/project_summary.py --path .
|
|
377
|
+
python agents-maker/context_loaders/repo_tree.py --path .
|
|
378
|
+
python agents-maker/context_loaders/file_chunker.py --path . --files src/main.py
|
|
379
|
+
|
|
380
|
+
# โ
Validate kit integrity (run after any edits)
|
|
381
|
+
python agents-maker/tools/validate_kit.py
|
|
382
|
+
|
|
383
|
+
# ๐งช Run the full test suite
|
|
384
|
+
python agents-maker/tools/test_kit.py
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
**Valid phases:** `task_framing` ยท `requirements` ยท `solution_design` ยท `implementation` ยท `review_refinement` ยท `handoff`
|
|
388
|
+
|
|
389
|
+
**Valid domains for `[domain: X]`:** `software` ยท `content` ยท `research` ยท `data_analytics` ยท `product_design` ยท `marketing` ยท `ops_process` ยท `general`
|
|
390
|
+
|
|
391
|
+
---
|
|
392
|
+
|
|
393
|
+
## ๐ง The 8 Specialist Agents
|
|
394
|
+
|
|
395
|
+
> The Orchestrator routes your task automatically. You never call an agent by name.
|
|
396
|
+
|
|
397
|
+
| Agent | ๐ฏ What it handles |
|
|
398
|
+
|---|---|
|
|
399
|
+
| ๐๏ธ **Orchestrator** | Entry point โ detects domain, drives 6-phase lifecycle, aggregates output |
|
|
400
|
+
| ๐๏ธ **Architect / Planner** | System design, API contracts, research plans, campaign strategy, process maps |
|
|
401
|
+
| ๐ป **Code Agent** | Software implementation, refactoring, test generation (software + analytics) |
|
|
402
|
+
| โ๏ธ **Execution Agent** | Non-code work โ documents, research sections, marketing copy, SOPs, runbooks |
|
|
403
|
+
| ๐ฅ๏ธ **UI Agent** | Component hierarchy, layout, design tokens, accessibility, landing pages |
|
|
404
|
+
| ๐งญ **UX Agent** | Flow critique, onboarding sequences, funnel analysis, friction identification |
|
|
405
|
+
| ๐ **Reviewer Agent** | QA for any domain โ severity-rated reviews, edge cases, brand alignment |
|
|
406
|
+
| ๐๏ธ **Compression Agent** | Token budget enforcement, context compression, cross-session resumption |
|
|
407
|
+
|
|
408
|
+
---
|
|
409
|
+
|
|
410
|
+
## ๐ The 6-Phase Lifecycle
|
|
411
|
+
|
|
412
|
+
> Every task โ code, content, research, marketing, ops โ runs through the same structure.
|
|
413
|
+
|
|
414
|
+
| Phase | ๐ What happens | ๐ Output artifact |
|
|
415
|
+
|---|---|---|
|
|
416
|
+
| **0 โ Task Framing** | Orchestrator interprets intent, detects domain, sets constraints | `task_profile` |
|
|
417
|
+
| **1 โ Requirements** | Architect clarifies scope, surfaces ambiguities | `requirements_spec` |
|
|
418
|
+
| **2 โ Solution Design** | Architect proposes approach; UI/UX agents join for design tasks | `solution_design` |
|
|
419
|
+
| **3 โ Implementation** | Code Agent (software) or Execution Agent (everything else) builds | `work_product` |
|
|
420
|
+
| **4 โ Review** | Reviewer Agent critiques, flags issues, suggests fixes | `refinement_report` |
|
|
421
|
+
| **5 โ Handoff** | Orchestrator packages deliverables, surfaces next-project options | `handoff_package` |
|
|
422
|
+
|
|
423
|
+
Each phase ends with an **approval gate** (A/B/C options). The AI never proceeds without your sign-off. Small tasks can merge phases โ the Orchestrator proposes this automatically.
|
|
424
|
+
|
|
425
|
+
---
|
|
426
|
+
|
|
427
|
+
## ๐ The 12 Skill Cards
|
|
428
|
+
|
|
429
|
+
> Skills are reusable capability definitions. They define exact output formats so responses are always structured.
|
|
430
|
+
|
|
431
|
+
| Skill | โก Triggered by |
|
|
432
|
+
|---|---|
|
|
433
|
+
| `๐ analyze_repo` | Any session starting with a code repo |
|
|
434
|
+
| `๐ design_api` | API design, schema, contract decisions |
|
|
435
|
+
| `๐ฌ review_code` | Code review, QA, security audit requests |
|
|
436
|
+
| `๐ผ๏ธ review_layout` | UI/UX critique, layout and accessibility review |
|
|
437
|
+
| `โจ improve_copy` | Writing quality, tone, and clarity improvement |
|
|
438
|
+
| `๐งช write_tests` | Test generation, coverage, and edge-case requests |
|
|
439
|
+
| `๐ฆ summarize_history` | Cross-session compression and context handoff |
|
|
440
|
+
| `๐บ๏ธ suggest_next` | **Auto-fires** after every deliverable โ 3 ranked next moves |
|
|
441
|
+
| `โ๏ธ compare_approaches` | "compare", "trade-off", "which approach" โ structured decision table |
|
|
442
|
+
| `๐ฌ animated_website` | CSS / GSAP / Framer Motion animation plans and production-ready code |
|
|
443
|
+
| `๐๏ธ write_process_map` | SOP, runbook, or workflow doc โ numbered steps + RACI + exceptions |
|
|
444
|
+
| `๐๏ธ define_data_schema` | Data model, metric definitions, or data dictionary requests |
|
|
445
|
+
|
|
446
|
+
---
|
|
447
|
+
|
|
448
|
+
## ๐ 8 Built-In Domains
|
|
449
|
+
|
|
450
|
+
> Domain detection is automatic. Use `[domain: X]` to force it.
|
|
451
|
+
|
|
452
|
+
| Domain | ๐ก Example tasks | ๐ค Implementation agent |
|
|
453
|
+
|---|---|---|
|
|
454
|
+
| `๐ป software` | build API, fix bug, refactor service | Code Agent |
|
|
455
|
+
| `โ๏ธ content` | write blog post, draft newsletter, edit article | Execution Agent |
|
|
456
|
+
| `๐ฌ research` | literature review, competitive analysis, synthesis | Execution Agent |
|
|
457
|
+
| `๐ data_analytics` | build dashboard, analyze funnel, clean dataset | Code Agent |
|
|
458
|
+
| `๐จ product_design` | design onboarding flow, map user journey | Execution Agent + UI/UX |
|
|
459
|
+
| `๐ฃ marketing` | go-to-market strategy, campaign copy, brand guide | Execution Agent + UX |
|
|
460
|
+
| `โ๏ธ ops_process` | write SOP, design runbook, document process | Execution Agent |
|
|
461
|
+
| `โ general` | fallback โ Orchestrator asks clarifying questions | โ |
|
|
462
|
+
|
|
463
|
+
> Add a new domain with a single YAML block in `config/domain_profiles.yaml` โ no agent files change.
|
|
464
|
+
|
|
465
|
+
---
|
|
466
|
+
|
|
467
|
+
## ๐ค Companion Mode: What the AI Returns
|
|
468
|
+
|
|
469
|
+
When `system_prompt.md` is loaded, every AI response automatically ends with a `[Companion]` block:
|
|
470
|
+
|
|
471
|
+
```
|
|
472
|
+
---
|
|
473
|
+
[Companion] Phase: implementation | Domain: software | Est. token budget used: ~42%
|
|
474
|
+
|
|
475
|
+
What to do next (pick one):
|
|
476
|
+
|
|
477
|
+
[Recommended] A: Write unit tests for the rate-limiting middleware
|
|
478
|
+
Why: Coverage is the only open item before this increment is reviewable.
|
|
479
|
+
Effort: ~30 mins | Token cost: low
|
|
480
|
+
Command: `python agents-maker/tools/generate_prompt.py "write unit tests for rate-limiting middleware"`
|
|
481
|
+
|
|
482
|
+
B: Open Phase 4 review on the full auth service
|
|
483
|
+
Why: The reviewer agent can flag edge cases before the feature ships.
|
|
484
|
+
Effort: ~1 session | Token cost: medium
|
|
485
|
+
|
|
486
|
+
C: Document the rate-limiting config in the runbook
|
|
487
|
+
Why: Ops teams will need this when rate limits need tuning in production.
|
|
488
|
+
Effort: ~20 mins | Token cost: low
|
|
489
|
+
---
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
You always know what to do next. No planning overhead between sessions.
|
|
493
|
+
|
|
494
|
+
---
|
|
495
|
+
|
|
496
|
+
## ๐ Token Optimization
|
|
497
|
+
|
|
498
|
+
The kit enforces a token budget per phase and domain, defined in `config/token_policies.yaml`:
|
|
499
|
+
|
|
500
|
+
- ๐ **Per-phase limits** โ implementation phases get more tokens than framing phases
|
|
501
|
+
- ๐ฏ **Per-domain overrides** โ product_design gets UI/UX context; software gets code context
|
|
502
|
+
- ๐ข **Relevance filtering** โ files are scored and ranked; only the most relevant are included
|
|
503
|
+
- ๐๏ธ **History compression** โ raw discussion turns dropped after each phase; only approved artifacts kept
|
|
504
|
+
|
|
505
|
+
Use `--compress` to attach the active token policy to any generated prompt. Use `--full` only on platforms without persistent system prompts.
|
|
506
|
+
|
|
507
|
+
---
|
|
508
|
+
|
|
509
|
+
## ๐ฅ๏ธ Works With Any AI Tool
|
|
510
|
+
|
|
511
|
+
| Platform | ๐ How to use |
|
|
512
|
+
|---|---|
|
|
513
|
+
| ๐ฃ **Claude (Projects)** | Paste `system_prompt.md` into Project Instructions โ one-time setup. See [`platforms/claude.md`](platforms/claude.md) Option A. |
|
|
514
|
+
| ๐ฃ **Claude (free tier)** | Paste `system_prompt.md` as your first message each session. See [`platforms/claude.md`](platforms/claude.md) Option C. |
|
|
515
|
+
| ๐ข **OpenAI / ChatGPT** | Pass `system_prompt.md` as the `system` role โ Companion Mode works identically. See [`platforms/openai.md`](platforms/openai.md). |
|
|
516
|
+
| ๐ต **Antigravity** | Map phases to pipeline stages. See [`platforms/antigravity.md`](platforms/antigravity.md). |
|
|
517
|
+
| โช **Any other tool** | Use `--full` flag โ one self-contained paste includes everything. |
|
|
518
|
+
|
|
519
|
+
---
|
|
520
|
+
|
|
521
|
+
## โ
Validate the Kit
|
|
522
|
+
|
|
523
|
+
After any edits, run the integrity checker:
|
|
524
|
+
|
|
525
|
+
```bash
|
|
526
|
+
python agents-maker/tools/validate_kit.py
|
|
527
|
+
```
|
|
528
|
+
|
|
529
|
+
Runs **12 checks**: YAML parse ยท agent files + structure ยท skill files + structure ยท domain coverage ยท agent references ยท output styles ยท domain scoring ยท file inventory ยท compressor dry-run ยท system_prompt.md freshness.
|
|
530
|
+
|
|
531
|
+
```
|
|
532
|
+
============================================================
|
|
533
|
+
Result: ALL 12 checks PASSED
|
|
534
|
+
============================================================
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
---
|
|
538
|
+
|
|
539
|
+
## ๐ Repository Map
|
|
540
|
+
|
|
541
|
+
```
|
|
542
|
+
agents-maker/
|
|
543
|
+
โโโ ๐ README.md
|
|
544
|
+
โโโ ๐ CHANGELOG.md โ version history
|
|
545
|
+
โโโ ๐ค CONTRIBUTING.md โ contribution guide + standards
|
|
546
|
+
โโโ ๐ LICENSE โ MIT
|
|
547
|
+
โโโ ๐ quickstart.sh โ one-command setup (macOS / Linux / WSL)
|
|
548
|
+
โโโ ๐ quickstart.ps1 โ one-command setup (Windows PowerShell)
|
|
549
|
+
โโโ ๐ง system_prompt.md โ paste into your AI tool once (all agents + skills)
|
|
550
|
+
โโโ ๐ PROMPT_TEMPLATE.md โ fill in before every session (no Python needed)
|
|
551
|
+
โโโ โ๏ธ .github/
|
|
552
|
+
โ โโโ workflows/
|
|
553
|
+
โ โโโ validate.yml โ CI: runs validate_kit.py on every push/PR
|
|
554
|
+
โ โโโ release.yml โ tag-triggered GitHub Release publisher
|
|
555
|
+
โโโ ๐ docs/
|
|
556
|
+
โ โโโ architecture.md โ agent graph, context flow, design decisions
|
|
557
|
+
โ โโโ workflows.md โ lifecycle phases, interface contracts
|
|
558
|
+
โ โโโ domains.md โ domain plug-in schema + built-in domain cards
|
|
559
|
+
โโโ ๐ค agents/
|
|
560
|
+
โ โโโ orchestrator.md โ phase driver, domain detection, Companion Mode
|
|
561
|
+
โ โโโ architect_agent.md โ requirements + solution design (all domains)
|
|
562
|
+
โ โโโ code_agent.md โ software/data implementation
|
|
563
|
+
โ โโโ execution_agent.md โ non-code drafting (content, research, marketing, ops)
|
|
564
|
+
โ โโโ ui_agent.md โ presentation / interface layer
|
|
565
|
+
โ โโโ ux_agent.md โ experience / flow critique
|
|
566
|
+
โ โโโ reviewer_agent.md โ QA, severity-rated review (Phase 4)
|
|
567
|
+
โ โโโ compression_agent.md โ context compression + cross-session resumption
|
|
568
|
+
โโโ ๐ skills/
|
|
569
|
+
โ โโโ analyze_repo.md
|
|
570
|
+
โ โโโ design_api.md
|
|
571
|
+
โ โโโ review_code.md
|
|
572
|
+
โ โโโ review_layout.md
|
|
573
|
+
โ โโโ improve_copy.md
|
|
574
|
+
โ โโโ write_tests.md
|
|
575
|
+
โ โโโ summarize_history.md
|
|
576
|
+
โ โโโ suggest_next.md โ auto-fires after every deliverable
|
|
577
|
+
โ โโโ compare_approaches.md โ on-demand decision support
|
|
578
|
+
โ โโโ animated_website.md โ CSS/GSAP/Framer Motion animation code
|
|
579
|
+
โ โโโ write_process_map.md โ SOP/runbook: steps + RACI + exceptions
|
|
580
|
+
โ โโโ define_data_schema.md โ ER sketch + metric definitions + data dictionary
|
|
581
|
+
โโโ โ๏ธ config/
|
|
582
|
+
โ โโโ agents.yaml โ agent registry: skills, routing tags, cost tier
|
|
583
|
+
โ โโโ token_policies.yaml โ compression + verbosity presets per phase + domain
|
|
584
|
+
โ โโโ domain_profiles.yaml โ domain detection signals, agent mappings
|
|
585
|
+
โโโ ๐ฅ๏ธ platforms/
|
|
586
|
+
โ โโโ claude.md
|
|
587
|
+
โ โโโ openai.md
|
|
588
|
+
โ โโโ antigravity.md
|
|
589
|
+
โโโ ๐ง tools/
|
|
590
|
+
โ โโโ init_project.py โ one-time bootstrap (run once per project)
|
|
591
|
+
โ โโโ generate_prompt.py โ daily driver (run before every session)
|
|
592
|
+
โ โโโ generate_platform_configs.py โ wire into Claude Code, Copilot, Cursor, Antigravity
|
|
593
|
+
โ โโโ generate_claude_md.py โ writes CLAUDE.md for Claude Code integration
|
|
594
|
+
โ โโโ validate_kit.py โ 12-check integrity validator
|
|
595
|
+
โ โโโ test_kit.py โ 60-test edge-case suite (CI + local)
|
|
596
|
+
โ โโโ domain_utils.py โ shared domain scoring (used by all 3 tools)
|
|
597
|
+
โโโ ๐ context_loaders/
|
|
598
|
+
โ โโโ project_summary.py โ stack + structure detection
|
|
599
|
+
โ โโโ repo_tree.py โ annotated directory tree
|
|
600
|
+
โ โโโ file_chunker.py โ large-file token splitter
|
|
601
|
+
โโโ ๐ฐ token_optimization/
|
|
602
|
+
โ โโโ output_styles.md โ style usage guide (definitions in token_policies.yaml)
|
|
603
|
+
โ โโโ compressor.py โ token budget enforcement engine
|
|
604
|
+
โโโ ๐ examples/
|
|
605
|
+
โโโ generic_project_lifecycle.md โ two full annotated lifecycle walkthroughs
|
|
606
|
+
```
|
|
607
|
+
|
|
608
|
+
---
|
|
609
|
+
|
|
610
|
+
## ๐งฉ Extend It
|
|
611
|
+
|
|
612
|
+
**โ Add a domain** โ YAML only, no agent files change:
|
|
613
|
+
```yaml
|
|
614
|
+
# config/domain_profiles.yaml
|
|
615
|
+
domains:
|
|
616
|
+
legal:
|
|
617
|
+
display_name: "Legal & Compliance"
|
|
618
|
+
detection_signals:
|
|
619
|
+
strong: [contract, clause, regulation, filing]
|
|
620
|
+
weak: [policy, compliance, terms]
|
|
621
|
+
primary_agents:
|
|
622
|
+
implementation: execution_agent
|
|
623
|
+
review_refinement: reviewer_agent
|
|
624
|
+
```
|
|
625
|
+
|
|
626
|
+
**โ Add an agent** โ create `agents/<name>.md`, register in `config/agents.yaml`
|
|
627
|
+
|
|
628
|
+
**โ Add a skill** โ create `skills/<name>.md`, add key to relevant agents in `config/agents.yaml`
|
|
629
|
+
|
|
630
|
+
After any addition, run `python agents-maker/tools/validate_kit.py` to confirm integrity.
|
|
631
|
+
|
|
632
|
+
---
|
|
633
|
+
|
|
634
|
+
## ๐๏ธ Design Principles
|
|
635
|
+
|
|
636
|
+
| Principle | What it means |
|
|
637
|
+
|---|---|
|
|
638
|
+
| ๐ **LLM-agnostic** | No provider hard-wired anywhere โ agent specs are plain Markdown |
|
|
639
|
+
| ๐ **Markdown-first** | Paste any agent file directly into any platform as a system prompt |
|
|
640
|
+
| ๐ซ **Zero infrastructure** | No server, no background process, no API keys required |
|
|
641
|
+
| ๐งฉ **Plug-in domains** | Add a domain in YAML; the rest of the kit adapts automatically |
|
|
642
|
+
| ๐ฐ **Token-aware by default** | Every agent references token policies; context never bloats silently |
|
|
643
|
+
| ๐ **Cross-session by design** | `project_state.md` makes long projects resumable without history replay |
|
|
644
|
+
|
|
645
|
+
---
|
|
646
|
+
|
|
647
|
+
## ๐ค Contributing
|
|
648
|
+
|
|
649
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for standards on adding skills, agents, and domains.
|
|
650
|
+
|
|
651
|
+
Run `python agents-maker/tools/validate_kit.py` before every PR โ CI enforces this automatically.
|
|
652
|
+
|
|
653
|
+
---
|
|
654
|
+
|
|
655
|
+
<div align="center">
|
|
656
|
+
|
|
657
|
+
Made with ๐ง by [Prateek Narvariya](https://github.com/Prateek-N) ยท MIT License ยท [Changelog](CHANGELOG.md) ยท [Docs](docs/)
|
|
658
|
+
|
|
659
|
+
</div>
|