workspace-maxxing 0.4.0 → 0.5.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/README.md CHANGED
@@ -50,6 +50,25 @@ my-workspace/
50
50
 
51
51
  Now you can use `@daily-digest` to run that workflow!
52
52
 
53
+ ## Tool Discovery (Automatic)
54
+
55
+ When you ask `@workspace-maxxing` to create an agent (e.g., "lead scraper"), it **automatically**:
56
+
57
+ 1. **Checks available tools** - What does the AI agent already have?
58
+ 2. **Verifies accessibility** - Runs a test to confirm tools work
59
+ 3. **Installs missing tools** - Uses tooling sub-skill if needed
60
+ 4. **Includes in agent** - Tool instructions in the created agent's prompts
61
+
62
+ Example for "lead scraper":
63
+ ```
64
+ → Check: playwright available? test it
65
+ → Check: curl available? verify
66
+ → Missing: puppeteer MCP → install it
67
+ → Test: can we scrape a page? → yes
68
+ → Create @lead-scraper with tool instructions
69
+ → Deliver
70
+ ```
71
+
53
72
  ## Commands
54
73
 
55
74
  | Command | What It Does |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workspace-maxxing",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "npx-installable skill for AI agents to create structured workspaces using ICM methodology",
5
5
  "bin": {
6
6
  "workspace-maxxing": "dist/index.js"
@@ -36,6 +36,33 @@ When you invoke `@workspace-maxxing`, you can ask:
36
36
  | "Improve my workspace" | Runs autonomous iteration |
37
37
  | "Add tools for Z" | Uses tooling sub-skill to install tools |
38
38
 
39
+ **IMPORTANT - Tool Discovery Before Agent Delivery:**
40
+
41
+ When creating ANY agent, ALWAYS do this FIRST:
42
+
43
+ 1. **Check native tools** - What capabilities does the AI agent already have?
44
+ - Playwright, puppeteer for browser automation?
45
+ - Curl, wget for HTTP requests?
46
+ - File system access?
47
+ - Database connections?
48
+
49
+ 2. **Verify tool accessibility** - Run a simple test to confirm tools work:
50
+ ```
51
+ Test: Can you make a simple HTTP request?
52
+ Test: Can you list files in the current directory?
53
+ Test: Can you execute a simple script?
54
+ ```
55
+
56
+ 3. **Install missing tools** - If native tools are insufficient:
57
+ - Use `/skill tooling` to install MCP servers
58
+ - Use `npm install` for CLI tools
59
+ - Document installed tools in `00-meta/tools.md`
60
+
61
+ 4. **Include tool instructions in agent prompts** - The created agent must know:
62
+ - What tools are available
63
+ - How to use them
64
+ - Any rate limits or constraints
65
+
39
66
  The skill will then execute the appropriate phases internally.
40
67
 
41
68
  ## Tool Discovery & Agent Harness
@@ -106,40 +133,51 @@ This skill provides a complete agent development harness:
106
133
 
107
134
  ## Agent Creation Workflow
108
135
 
109
- When you invoke `workspace-maxxing` with a request to create an agent (e.g., "create a daily digest agent"), follow this flow:
136
+ When you invoke `workspace-maxxing` with a request to create an agent (e.g., "create a lead scraping agent"), follow this flow:
110
137
 
111
138
  ```
112
- 1. Parse the request to extract the agent purpose (e.g., "Daily Digest")
113
- 2. Create ICM workspace structure (SYSTEM.md, CONTEXT.md, stage folders)
114
- 3. Create invokable agent in .agents/skills/@<purpose>/
115
- 4. Run self-improvement loop on the agent
139
+ 1. Parse the request to extract the agent purpose (e.g., "Lead Scraper")
140
+ 2. DISCOVER TOOLS:
141
+ - Check what native tools are available in the AI agent (playwright, puppeteer, curl, etc.)
142
+ - Verify tool accessibility by running a simple test
143
+ - If native tools are insufficient, use tooling sub-skill to install MCPs or CLI tools
144
+ - Document tools in 00-meta/tools.md
145
+ 3. Create ICM workspace structure (SYSTEM.md, CONTEXT.md, stage folders)
146
+ 4. Create invokable agent in .agents/skills/@<purpose>/
147
+ - Include tool usage instructions in the agent prompts
148
+ 5. Run self-improvement loop on the agent
116
149
  - Generate test cases (edge, empty, varied inputs)
117
150
  - Validate agent handling
118
151
  - Score robustness (0-100)
119
152
  - If score < 85: improve prompts, retry
120
153
  - Repeat until score >= 85 or max iterations (3)
121
- 5. Install agent for platform (OpenCode/Claude/Copilot/Gemini)
122
- 6. Deliver workspace with robust agent
154
+ 6. Install agent for platform (OpenCode/Claude/Copilot/Gemini)
155
+ 7. Deliver workspace with robust agent
123
156
  ```
124
157
 
125
- ### Agent Creation Example
158
+ ### Agent Creation with Tool Discovery Example
126
159
 
127
- User: "Create a daily digest agent"
160
+ User: "Create an agent that scrapes internet data for leads"
128
161
 
129
162
  ```
130
- -> Extract purpose: "Daily Digest"
131
- -> DISCOVER TOOLS: Use /skill tooling to find relevant tools (e.g., RSS, web scraping, summarization)
163
+ -> Extract purpose: "Lead Scraper"
164
+ -> DISCOVER TOOLS:
165
+ - Check: Does agent have playwright? → Yes, test it works
166
+ - Check: Does agent have curl/wget? → Yes, verify accessible
167
+ - Check: Any MCP servers for scraping? → No, need to install
168
+ - Action: Run tooling sub-skill to install puppeteer or similar
169
+ - Verify: Test the tool with a simple request
132
170
  -> Create workspace with stages: 01-input, 02-process, 03-output
133
- -> Create agent: @daily-digest in .agents/skills/daily-digest/
171
+ -> Create agent: @lead-scraper with tool instructions in prompts
134
172
  -> Run iteration:
135
- - Test: empty input -> fix prompts
136
- - Test: special chars -> fix prompts
137
- - Test: normal input -> validate
173
+ - Test: scraping a page -> works
174
+ - Test: handling empty pages -> handles gracefully
175
+ - Test: rate limiting -> respects limits
138
176
  - Score >= 85? Yes -> deliver
139
- -> Agent is ready to invoke with @daily-digest
177
+ -> Agent is ready to invoke with @lead-scraper
140
178
  ```
141
179
 
142
- **Key**: Always look for and leverage tools when creating agents or workspaces.
180
+ **Tool Discovery is MANDATORY** - always check available tools, verify accessibility, and install missing tools before delivering the agent.
143
181
 
144
182
  ## When Not to Use
145
183
 
@@ -151,6 +189,7 @@ User: "Create a daily digest agent"
151
189
 
152
190
  NO BUILD WITHOUT PLAN
153
191
  NO PLAN WITHOUT RESEARCH
192
+ NO TOOL DISCOVERY BEFORE AGENT DELIVERY
154
193
  NO IMPROVEMENT WITHOUT VALIDATION
155
194
  NO COMPLETION CLAIM WITHOUT VERIFICATION
156
195
  NO PRODUCT IMPLEMENTATION INSIDE WORKSPACE BUILDING MODE