@mclawnet/agent 0.5.8 → 0.6.1

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.
Files changed (78) hide show
  1. package/cli.js +168 -61
  2. package/dist/__tests__/cli.test.d.ts +2 -0
  3. package/dist/__tests__/cli.test.d.ts.map +1 -0
  4. package/dist/__tests__/service-config.test.d.ts +2 -0
  5. package/dist/__tests__/service-config.test.d.ts.map +1 -0
  6. package/dist/__tests__/service-linux.test.d.ts +2 -0
  7. package/dist/__tests__/service-linux.test.d.ts.map +1 -0
  8. package/dist/__tests__/service-macos.test.d.ts +2 -0
  9. package/dist/__tests__/service-macos.test.d.ts.map +1 -0
  10. package/dist/__tests__/service-windows.test.d.ts +2 -0
  11. package/dist/__tests__/service-windows.test.d.ts.map +1 -0
  12. package/dist/backend-adapter.d.ts +2 -0
  13. package/dist/backend-adapter.d.ts.map +1 -1
  14. package/dist/{chunk-KHPEQTWF.js → chunk-KITKMSBE.js} +166 -90
  15. package/dist/chunk-KITKMSBE.js.map +1 -0
  16. package/dist/chunk-W3LSW4XY.js +95 -0
  17. package/dist/chunk-W3LSW4XY.js.map +1 -0
  18. package/dist/hub-connection.d.ts.map +1 -1
  19. package/dist/index.js +1 -1
  20. package/dist/linux-5KQ4SCAA.js +175 -0
  21. package/dist/linux-5KQ4SCAA.js.map +1 -0
  22. package/dist/macos-FGY546NC.js +173 -0
  23. package/dist/macos-FGY546NC.js.map +1 -0
  24. package/dist/service/config.d.ts +19 -0
  25. package/dist/service/config.d.ts.map +1 -0
  26. package/dist/service/index.d.ts +6 -0
  27. package/dist/service/index.d.ts.map +1 -0
  28. package/dist/service/index.js +46 -0
  29. package/dist/service/index.js.map +1 -0
  30. package/dist/service/linux.d.ts +18 -0
  31. package/dist/service/linux.d.ts.map +1 -0
  32. package/dist/service/macos.d.ts +18 -0
  33. package/dist/service/macos.d.ts.map +1 -0
  34. package/dist/service/types.d.ts +19 -0
  35. package/dist/service/types.d.ts.map +1 -0
  36. package/dist/service/windows.d.ts +18 -0
  37. package/dist/service/windows.d.ts.map +1 -0
  38. package/dist/session-manager.d.ts +4 -7
  39. package/dist/session-manager.d.ts.map +1 -1
  40. package/dist/skill-loader.d.ts +8 -0
  41. package/dist/skill-loader.d.ts.map +1 -0
  42. package/dist/start.d.ts.map +1 -1
  43. package/dist/start.js +1 -1
  44. package/dist/windows-PIJ4CMWX.js +164 -0
  45. package/dist/windows-PIJ4CMWX.js.map +1 -0
  46. package/package.json +18 -16
  47. package/skills/academic-search/SKILL.md +147 -0
  48. package/skills/architecture/SKILL.md +294 -0
  49. package/skills/changelog-generator/SKILL.md +112 -0
  50. package/skills/chart-visualization/SKILL.md +183 -0
  51. package/skills/code-review/SKILL.md +304 -0
  52. package/skills/codebase-health/SKILL.md +281 -0
  53. package/skills/consulting-analysis/SKILL.md +584 -0
  54. package/skills/content-research-writer/SKILL.md +546 -0
  55. package/skills/data-analysis/SKILL.md +194 -0
  56. package/skills/deep-research/SKILL.md +198 -0
  57. package/skills/docx/SKILL.md +211 -0
  58. package/skills/github-deep-research/SKILL.md +207 -0
  59. package/skills/image-generation/SKILL.md +209 -0
  60. package/skills/lead-research-assistant/SKILL.md +207 -0
  61. package/skills/mcp-builder/SKILL.md +304 -0
  62. package/skills/meeting-insights-analyzer/SKILL.md +335 -0
  63. package/skills/pair-programming/SKILL.md +196 -0
  64. package/skills/pdf/SKILL.md +309 -0
  65. package/skills/performance-analysis/SKILL.md +261 -0
  66. package/skills/podcast-generation/SKILL.md +224 -0
  67. package/skills/pptx/SKILL.md +497 -0
  68. package/skills/project-learnings/SKILL.md +280 -0
  69. package/skills/security-audit/SKILL.md +211 -0
  70. package/skills/skill-creator/SKILL.md +200 -0
  71. package/skills/technical-writing/SKILL.md +286 -0
  72. package/skills/testing/SKILL.md +363 -0
  73. package/skills/video-generation/SKILL.md +247 -0
  74. package/skills/web-design-guidelines/SKILL.md +203 -0
  75. package/skills/webapp-testing/SKILL.md +162 -0
  76. package/skills/workflow-automation/SKILL.md +299 -0
  77. package/skills/xlsx/SKILL.md +305 -0
  78. package/dist/chunk-KHPEQTWF.js.map +0 -1
@@ -0,0 +1,207 @@
1
+ ---
2
+ name: github-deep-research
3
+ description: Conduct deep research on GitHub repositories, issues, pull requests, and open source projects. Use when analyzing repository architecture, investigating issue patterns, evaluating project health, or researching how a library works internally.
4
+ disable-model-invocation: true
5
+ ---
6
+
7
+ # GitHub Deep Research
8
+
9
+ Systematic research methodology for analyzing GitHub repositories, understanding project internals, investigating issues and PRs, and evaluating open source project health.
10
+
11
+ ## Overview
12
+
13
+ GitHub deep research goes beyond reading a README. It involves understanding a project's architecture, contribution patterns, issue trends, release cadence, and code quality to make informed decisions about adoption, contribution, or understanding.
14
+
15
+ ## When to Use
16
+
17
+ - Evaluating whether to adopt an open source library
18
+ - Understanding how a specific feature or API works internally
19
+ - Investigating an issue or bug in a dependency
20
+ - Analyzing contribution patterns and project health
21
+ - Researching how similar projects solve the same problem
22
+ - Preparing to contribute to an open source project
23
+
24
+ ## When NOT to Use
25
+
26
+ - **General web research** — use the `deep-research` skill for broader topics
27
+ - **Academic papers** — use the `academic-search` skill
28
+ - **Simple API usage questions** — check the project's documentation first
29
+
30
+ ## Research Process
31
+
32
+ ### Phase 1: Repository Overview
33
+
34
+ Start with the big picture before diving into code.
35
+
36
+ **Key files to read first:**
37
+ 1. `README.md` — project purpose, quick start, key concepts
38
+ 2. `CONTRIBUTING.md` — development setup, code standards, PR process
39
+ 3. `CHANGELOG.md` or releases page — version history, breaking changes
40
+ 4. `package.json` / `Cargo.toml` / `go.mod` — dependencies, scripts
41
+ 5. `LICENSE` — usage rights and restrictions
42
+
43
+ **Repository metrics to check:**
44
+ - Stars and star growth trend (use star-history.com)
45
+ - Open issues vs closed issues ratio
46
+ - PR merge time (average time from open to merge)
47
+ - Last commit date (is the project actively maintained?)
48
+ - Number of contributors (bus factor — how many key contributors?)
49
+ - Release frequency
50
+
51
+ **Commands:**
52
+ ```bash
53
+ # Clone for local analysis
54
+ git clone --depth=50 https://github.com/owner/repo.git
55
+
56
+ # Contribution statistics
57
+ git shortlog -sn --no-merges | head -20
58
+
59
+ # Recent activity
60
+ git log --oneline --since="3 months ago" | wc -l
61
+
62
+ # File change frequency (find hot files)
63
+ git log --pretty=format: --name-only --since="6 months ago" | sort | uniq -c | sort -rn | head -20
64
+ ```
65
+
66
+ ### Phase 2: Architecture Analysis
67
+
68
+ Understand how the project is structured.
69
+
70
+ **Directory structure:**
71
+ ```bash
72
+ # Get a high-level view
73
+ find . -type f -name "*.ts" -o -name "*.py" -o -name "*.go" | head -50
74
+ tree -L 2 --dirsfirst -I 'node_modules|.git|dist|build|__pycache__'
75
+ ```
76
+
77
+ **Entry points:**
78
+ - Where does execution start? (`main`, `index`, `app`)
79
+ - What are the public APIs? (exported functions, HTTP routes)
80
+ - How are plugins/extensions loaded?
81
+
82
+ **Dependency graph:**
83
+ - What are the core dependencies vs optional ones?
84
+ - Are there circular dependencies between modules?
85
+ - How deeply coupled are the internal packages?
86
+
87
+ ### Phase 3: Issue and PR Investigation
88
+
89
+ For researching specific problems:
90
+
91
+ **Finding relevant issues:**
92
+ ```bash
93
+ # Search issues via GitHub CLI
94
+ gh issue list --repo owner/repo --search "keyword" --state all --limit 30
95
+ gh issue view 123 --repo owner/repo --comments
96
+
97
+ # Search PRs
98
+ gh pr list --repo owner/repo --search "keyword" --state all --limit 20
99
+ gh pr view 456 --repo owner/repo
100
+ ```
101
+
102
+ **Issue pattern analysis:**
103
+ - What categories of bugs are most common?
104
+ - Are there recurring issues that keep being reopened?
105
+ - How responsive are maintainers to bug reports?
106
+ - Are there workarounds documented in issue comments?
107
+
108
+ **PR analysis:**
109
+ - How are features typically implemented? (check merged PRs for patterns)
110
+ - What does a successful PR look like? (structure, tests, docs)
111
+ - What gets rejected? (check closed-but-not-merged PRs)
112
+
113
+ ### Phase 4: Code Deep Dive
114
+
115
+ For understanding specific internals:
116
+
117
+ **Trace execution flow:**
118
+ 1. Start from the public API entry point
119
+ 2. Follow the call chain through the code
120
+ 3. Note key abstractions and interfaces
121
+ 4. Identify where the actual work happens (often buried under layers)
122
+
123
+ **Use search effectively:**
124
+ ```bash
125
+ # Find where a function is defined
126
+ grep -rn "function handleRequest\|def handle_request\|func HandleRequest" src/
127
+
128
+ # Find where it's called
129
+ grep -rn "handleRequest\|handle_request\|HandleRequest" src/ --include="*.ts"
130
+
131
+ # Find related tests
132
+ grep -rn "handleRequest\|handle_request" test/ --include="*.test.*"
133
+ ```
134
+
135
+ **Read tests for behavior specification:**
136
+ Tests often document expected behavior better than comments. Look for:
137
+ - Edge cases the implementation handles
138
+ - Error conditions and expected error types
139
+ - Integration patterns with other modules
140
+
141
+ ### Phase 5: Project Health Evaluation
142
+
143
+ **Health indicators:**
144
+
145
+ | Indicator | Healthy | Warning | Concerning |
146
+ |---|---|---|---|
147
+ | Last commit | < 1 month | 1-6 months | > 6 months |
148
+ | Open issues response | < 1 week | 1-4 weeks | > 1 month |
149
+ | PR merge time | < 1 week | 1-4 weeks | > 1 month |
150
+ | Breaking changes | Documented, versioned | Documented | Undocumented |
151
+ | Test coverage | > 70% | 40-70% | < 40% |
152
+ | Dependencies | Up to date | Minor versions behind | Major versions behind |
153
+ | Security advisories | None open | Addressed quickly | Unaddressed |
154
+
155
+ **Bus factor check:**
156
+ ```bash
157
+ # If top 1-2 contributors own >80% of commits, bus factor is low
158
+ git shortlog -sn --no-merges | head -5
159
+ ```
160
+
161
+ ## Research Report Template
162
+
163
+ ```markdown
164
+ ## GitHub Repository Research: [owner/repo]
165
+
166
+ ### Summary
167
+ - **Purpose**: [what this project does]
168
+ - **Maturity**: [experimental / growing / stable / declining]
169
+ - **Recommendation**: [adopt / evaluate further / avoid]
170
+
171
+ ### Key Metrics
172
+ | Metric | Value |
173
+ |--------|-------|
174
+ | Stars | X |
175
+ | Open Issues | X |
176
+ | Last Release | YYYY-MM-DD |
177
+ | Contributors | X |
178
+ | License | MIT/Apache/etc |
179
+
180
+ ### Architecture
181
+ [Key structural decisions, main modules, dependency flow]
182
+
183
+ ### Strengths
184
+ - [Specific strength with evidence]
185
+ - [Specific strength with evidence]
186
+
187
+ ### Risks
188
+ - [Specific risk with evidence]
189
+ - [Specific risk with evidence]
190
+
191
+ ### Alternatives Considered
192
+ | Project | Pros | Cons |
193
+ |---------|------|------|
194
+ | [Alternative 1] | ... | ... |
195
+ | [Alternative 2] | ... | ... |
196
+
197
+ ### Recommendation
198
+ [Detailed recommendation with reasoning]
199
+ ```
200
+
201
+ ## Tips
202
+
203
+ - Always check the `/discussions` tab — often has architectural context not in issues
204
+ - Read the git blame for critical files — understand why code is written a certain way
205
+ - Check the CI/CD configuration for test and build practices
206
+ - Look at `dependabot.yml` or `renovate.json` for dependency management practices
207
+ - The `SECURITY.md` file reveals how seriously the project takes security
@@ -0,0 +1,209 @@
1
+ ---
2
+ name: image-generation
3
+ description: Guide effective AI image generation through prompt engineering, style direction, and iterative refinement. Use when creating images with AI tools, writing image prompts, designing visual assets, or improving generated image quality.
4
+ disable-model-invocation: true
5
+ ---
6
+
7
+ # Image Generation
8
+
9
+ Craft effective prompts for AI image generation tools, with guidance on style direction, composition, iterative refinement, and common pitfalls.
10
+
11
+ ## Overview
12
+
13
+ AI image generation quality depends heavily on prompt quality. This skill teaches structured prompt engineering for image generation — how to describe subjects, styles, compositions, lighting, and technical parameters to consistently get results that match your vision.
14
+
15
+ ## When to Use
16
+
17
+ - Writing prompts for AI image generators (DALL-E, Midjourney, Stable Diffusion, etc.)
18
+ - Creating visual assets for presentations, documentation, or marketing
19
+ - Iterating on generated images to improve quality
20
+ - Translating visual concepts into structured text descriptions
21
+ - Designing consistent visual styles across multiple images
22
+
23
+ ## When NOT to Use
24
+
25
+ - **Photo editing or manipulation** — use dedicated image editing tools
26
+ - **Data visualization / charts** — use the `chart-visualization` skill
27
+ - **Hand-drawn illustrations** — AI generation produces a different aesthetic
28
+ - **Brand-specific assets with exact specifications** — AI generation lacks pixel-level precision
29
+
30
+ ## Prompt Engineering Framework
31
+
32
+ ### The SCLTA Structure
33
+
34
+ Effective prompts include five components:
35
+
36
+ 1. **Subject**: What is the main focus? Be specific.
37
+ 2. **Context**: Where is it? What's the setting/background?
38
+ 3. **Lighting**: How is the scene lit?
39
+ 4. **Technique**: What artistic medium or style?
40
+ 5. **Attributes**: Quality modifiers, mood, color palette.
41
+
42
+ **Example:**
43
+ ```
44
+ Subject: A red fox sitting on a moss-covered log
45
+ Context: In a misty forest at dawn, pine trees in background
46
+ Lighting: Soft golden hour light filtering through trees
47
+ Technique: Watercolor painting style
48
+ Attributes: Serene mood, muted earth tones, high detail
49
+ ```
50
+
51
+ **Combined prompt:**
52
+ "A red fox sitting on a moss-covered log in a misty forest at dawn, pine trees in the background, soft golden hour light filtering through trees, watercolor painting style, serene mood, muted earth tones, high detail"
53
+
54
+ ### Subject Description
55
+
56
+ **Be specific, not vague:**
57
+ - Bad: "a person in a room"
58
+ - Good: "a woman in her 30s reading a leather-bound book in a cozy library armchair"
59
+
60
+ **Include:**
61
+ - What the subject IS (person, animal, object, scene)
62
+ - What the subject is DOING (action, pose, expression)
63
+ - Key distinguishing details (clothing, materials, colors)
64
+
65
+ ### Style and Technique
66
+
67
+ **Artistic styles:**
68
+ | Style | Effect |
69
+ |---|---|
70
+ | Photorealistic | Looks like a photograph |
71
+ | Digital art | Clean, modern, saturated |
72
+ | Oil painting | Rich textures, visible brushstrokes |
73
+ | Watercolor | Soft edges, translucent colors |
74
+ | Pencil sketch | Line-focused, grayscale or minimal color |
75
+ | Isometric | 3D-like from fixed angle, good for diagrams |
76
+ | Flat design | Minimal, geometric, solid colors |
77
+ | Pixel art | Retro gaming aesthetic |
78
+ | Art Nouveau | Organic curves, decorative borders |
79
+ | Minimalist | Stripped to essentials |
80
+
81
+ **Photography styles:**
82
+ - Portrait: shallow depth of field, subject isolation
83
+ - Landscape: wide angle, deep depth of field
84
+ - Macro: extreme close-up, fine detail
85
+ - Street: candid, urban, natural lighting
86
+ - Studio: controlled lighting, clean background
87
+
88
+ ### Composition Guidelines
89
+
90
+ **Camera angle / perspective:**
91
+ - Eye level: neutral, relatable
92
+ - Low angle: makes subject look powerful, imposing
93
+ - High angle: makes subject look small, vulnerable
94
+ - Bird's eye: overview, patterns, scale
95
+ - Close-up: intimacy, detail, emotion
96
+ - Wide shot: context, environment, scale
97
+
98
+ **Rule of thirds:**
99
+ Specify subject placement: "subject positioned at the left third of the frame"
100
+
101
+ **Negative space:**
102
+ "Minimalist composition with ample negative space on the right side"
103
+
104
+ ### Lighting
105
+
106
+ Lighting dramatically affects mood:
107
+
108
+ | Lighting | Mood |
109
+ |---|---|
110
+ | Golden hour | Warm, nostalgic, romantic |
111
+ | Blue hour | Cool, contemplative, melancholy |
112
+ | Hard noon sun | Harsh, dramatic, high contrast |
113
+ | Overcast | Soft, even, neutral |
114
+ | Backlighting | Silhouettes, halos, ethereal |
115
+ | Candlelight | Intimate, warm, low-key |
116
+ | Neon | Urban, cyberpunk, vibrant |
117
+ | Studio ring light | Clean, beauty, even illumination |
118
+
119
+ ## Iterative Refinement
120
+
121
+ ### Strategy
122
+
123
+ 1. **Start broad**: Generate with your full prompt
124
+ 2. **Evaluate**: What's right and what's wrong?
125
+ 3. **Adjust one variable**: Change one aspect at a time
126
+ 4. **Compare**: Side-by-side with previous version
127
+ 5. **Repeat**: Until satisfied
128
+
129
+ ### Common Adjustments
130
+
131
+ | Problem | Adjustment |
132
+ |---|---|
133
+ | Too busy / cluttered | Add "minimalist", "clean composition", "simple background" |
134
+ | Wrong style | Be more explicit about the medium/technique |
135
+ | Colors too saturated | Add "muted colors", "pastel palette", "desaturated" |
136
+ | Not enough detail | Add "highly detailed", "intricate", "fine detail" |
137
+ | Wrong mood | Adjust lighting and color palette descriptions |
138
+ | Subject too small | Add "close-up", "portrait framing", "subject fills frame" |
139
+ | Unwanted elements | Use negative prompts: "no text", "no watermark" |
140
+
141
+ ### Negative Prompts
142
+
143
+ Specify what you DON'T want:
144
+ ```
145
+ Negative: blurry, low quality, watermark, text, deformed hands,
146
+ extra fingers, cartoon (when wanting realism)
147
+ ```
148
+
149
+ ## Use Case Recipes
150
+
151
+ ### Blog Header Image
152
+ ```
153
+ A modern workspace with a laptop showing code on screen,
154
+ cup of coffee beside it, soft morning light from a window,
155
+ clean minimalist style, shallow depth of field focusing on
156
+ the laptop, warm neutral color palette, photorealistic
157
+ ```
158
+
159
+ ### Icon / Logo Concept
160
+ ```
161
+ Simple flat design icon of a shield with a lightning bolt,
162
+ solid color on white background, vector art style, clean lines,
163
+ no gradients, suitable for dark and light backgrounds
164
+ ```
165
+
166
+ ### Presentation Background
167
+ ```
168
+ Abstract geometric pattern, subtle blue and purple gradient,
169
+ clean modern design, low contrast for text readability,
170
+ corporate professional aesthetic, 16:9 aspect ratio
171
+ ```
172
+
173
+ ### Technical Diagram Style
174
+ ```
175
+ Isometric illustration of a server architecture,
176
+ clean flat design, labeled components, soft color palette
177
+ with blue primary and gray secondary, white background,
178
+ infographic style with minimal detail
179
+ ```
180
+
181
+ ## Quality Checklist
182
+
183
+ Before finalizing a generated image:
184
+
185
+ - [ ] Subject is clear and correctly positioned
186
+ - [ ] Style matches the intended use case
187
+ - [ ] No unwanted artifacts (extra fingers, text glitches, weird edges)
188
+ - [ ] Colors and mood match the project's visual language
189
+ - [ ] Resolution is sufficient for intended display size
190
+ - [ ] Image doesn't closely replicate any copyrighted work
191
+ - [ ] Text in images (if any) is legible and correctly spelled
192
+
193
+ ## Common Pitfalls
194
+
195
+ ### Overloaded Prompts
196
+ **Problem**: 200-word prompt with conflicting instructions.
197
+ **Fix**: Keep prompts focused. One subject, one style, one mood.
198
+
199
+ ### Vague Descriptions
200
+ **Problem**: "A nice picture of nature" → generic, uninspired result.
201
+ **Fix**: Be specific about every element you care about.
202
+
203
+ ### Ignoring Aspect Ratio
204
+ **Problem**: Generating square images for a widescreen banner.
205
+ **Fix**: Specify aspect ratio ("16:9", "portrait 2:3", "square 1:1").
206
+
207
+ ### Text in Images
208
+ **Problem**: AI struggles with readable text — generates misspelled or garbled letters.
209
+ **Fix**: Add text in post-production using a design tool, not in the prompt.
@@ -0,0 +1,207 @@
1
+ ---
2
+ name: lead-research-assistant
3
+ description: Identify and qualify high-quality business leads by analyzing your product, searching for target companies, and providing actionable contact strategies. Use when building prospect lists, researching potential customers, or preparing sales outreach campaigns.
4
+ disable-model-invocation: true
5
+ ---
6
+
7
+ # Lead Research Assistant
8
+
9
+ This skill helps you identify and qualify potential leads for your business by analyzing your product/service, understanding your ideal customer profile, and providing actionable outreach strategies.
10
+
11
+ ## When to Use This Skill
12
+
13
+ - Finding potential customers or clients for your product/service
14
+ - Building a list of companies to reach out to for partnerships
15
+ - Identifying target accounts for sales outreach
16
+ - Researching companies that match your ideal customer profile
17
+ - Preparing for business development activities
18
+
19
+ ## When NOT to Use
20
+
21
+ - **General company research** — use the `deep-research` skill
22
+ - **Academic or technical research** — use the `academic-search` skill
23
+ - **Market analysis reports** — use the `consulting-analysis` skill
24
+ - **Content writing for marketing** — use the `content-research-writer` skill
25
+
26
+ ## What This Skill Does
27
+
28
+ 1. **Understands Your Business**: Analyzes your product/service, value proposition, and target market
29
+ 2. **Identifies Target Companies**: Finds companies that match your ideal customer profile based on:
30
+ - Industry and sector
31
+ - Company size and location
32
+ - Technology stack and tools they use
33
+ - Growth stage and funding
34
+ - Pain points your product solves
35
+ 3. **Prioritizes Leads**: Ranks companies based on fit score and relevance
36
+ 4. **Provides Contact Strategies**: Suggests how to approach each lead with personalized messaging
37
+ 5. **Enriches Data**: Gathers relevant information about decision-makers and company context
38
+
39
+ ## How to Use
40
+
41
+ ### Basic Usage
42
+
43
+ Simply describe your product/service and what you're looking for:
44
+
45
+ ```
46
+ I'm building [product description]. Find me 10 companies in [location/industry]
47
+ that would be good leads for this.
48
+ ```
49
+
50
+ ### With Your Codebase
51
+
52
+ For even better results, run this from your product's source code directory:
53
+
54
+ ```
55
+ Look at what I'm building in this repository and identify the top 10 companies
56
+ in [location/industry] that would benefit from this product.
57
+ ```
58
+
59
+ ### Advanced Usage
60
+
61
+ For more targeted research:
62
+
63
+ ```
64
+ My product: [description]
65
+ Ideal customer profile:
66
+ - Industry: [industry]
67
+ - Company size: [size range]
68
+ - Location: [location]
69
+ - Current pain points: [pain points]
70
+ - Technologies they use: [tech stack]
71
+
72
+ Find me 20 qualified leads with contact strategies for each.
73
+ ```
74
+
75
+ ## Instructions
76
+
77
+ When a user requests lead research:
78
+
79
+ 1. **Understand the Product/Service**
80
+ - If in a code directory, analyze the codebase to understand the product
81
+ - Ask clarifying questions about the value proposition
82
+ - Identify key features and benefits
83
+ - Understand what problems it solves
84
+
85
+ 2. **Define Ideal Customer Profile**
86
+ - Determine target industries and sectors
87
+ - Identify company size ranges
88
+ - Consider geographic preferences
89
+ - Understand relevant pain points
90
+ - Note any technology requirements
91
+
92
+ 3. **Research and Identify Leads**
93
+ - Search for companies matching the criteria
94
+ - Look for signals of need (job postings, tech stack, recent news)
95
+ - Consider growth indicators (funding, expansion, hiring)
96
+ - Identify companies with complementary products/services
97
+ - Check for budget indicators
98
+
99
+ 4. **Prioritize and Score**
100
+ - Create a fit score (1-10) for each lead
101
+ - Consider factors like:
102
+ - Alignment with ICP
103
+ - Signals of immediate need
104
+ - Budget availability
105
+ - Competitive landscape
106
+ - Timing indicators
107
+
108
+ 5. **Provide Actionable Output**
109
+
110
+ For each lead, provide:
111
+ - **Company Name** and website
112
+ - **Why They're a Good Fit**: Specific reasons based on their business
113
+ - **Priority Score**: 1-10 with explanation
114
+ - **Decision Maker**: Role/title to target (e.g., "VP of Engineering")
115
+ - **Contact Strategy**: Personalized approach suggestions
116
+ - **Value Proposition**: How your product solves their specific problem
117
+ - **Conversation Starters**: Specific points to mention in outreach
118
+ - **LinkedIn URL**: If available, for easy connection
119
+
120
+ 6. **Format the Output**
121
+
122
+ Present results in a clear, scannable format:
123
+
124
+ ```markdown
125
+ # Lead Research Results
126
+
127
+ ## Summary
128
+ - Total leads found: [X]
129
+ - High priority (8-10): [X]
130
+ - Medium priority (5-7): [X]
131
+ - Average fit score: [X]
132
+
133
+ ---
134
+
135
+ ## Lead 1: [Company Name]
136
+
137
+ **Website**: [URL]
138
+ **Priority Score**: [X/10]
139
+ **Industry**: [Industry]
140
+ **Size**: [Employee count/revenue range]
141
+
142
+ **Why They're a Good Fit**:
143
+ [2-3 specific reasons based on their business]
144
+
145
+ **Target Decision Maker**: [Role/Title]
146
+ **LinkedIn**: [URL if available]
147
+
148
+ **Value Proposition for Them**:
149
+ [Specific benefit for this company]
150
+
151
+ **Outreach Strategy**:
152
+ [Personalized approach - mention specific pain points, recent company news, or relevant context]
153
+
154
+ **Conversation Starters**:
155
+ - [Specific point 1]
156
+ - [Specific point 2]
157
+
158
+ ---
159
+
160
+ [Repeat for each lead]
161
+ ```
162
+
163
+ 7. **Offer Next Steps**
164
+ - Suggest saving results to a CSV for CRM import
165
+ - Offer to draft personalized outreach messages
166
+ - Recommend prioritization based on timing
167
+ - Suggest follow-up research for top leads
168
+
169
+ ## Examples
170
+
171
+ ### Example 1: From Lenny's Newsletter
172
+
173
+ **User**: "I'm building a tool that masks sensitive data in AI coding assistant queries. Find potential leads."
174
+
175
+ **Output**: Creates a prioritized list of companies that:
176
+ - Use AI coding assistants (Copilot, Cursor, etc.)
177
+ - Handle sensitive data (fintech, healthcare, legal)
178
+ - Have evidence in their GitHub repos of using coding agents
179
+ - May have accidentally exposed sensitive data in code
180
+ - Includes LinkedIn URLs of relevant decision-makers
181
+
182
+ ### Example 2: Local Business
183
+
184
+ **User**: "I run a consulting practice for remote team productivity. Find me 10 companies in the Bay Area that recently went remote."
185
+
186
+ **Output**: Identifies companies that:
187
+ - Recently posted remote job listings
188
+ - Announced remote-first policies
189
+ - Are hiring distributed teams
190
+ - Show signs of remote work challenges
191
+ - Provides personalized outreach strategies for each
192
+
193
+ ## Tips for Best Results
194
+
195
+ - **Be specific** about your product and its unique value
196
+ - **Run from your codebase** if applicable for automatic context
197
+ - **Provide context** about your ideal customer profile
198
+ - **Specify constraints** like industry, location, or company size
199
+ - **Request follow-up** research on promising leads for deeper insights
200
+
201
+ ## Related Use Cases
202
+
203
+ - Drafting personalized outreach emails after identifying leads
204
+ - Building a CRM-ready CSV of qualified prospects
205
+ - Researching specific companies in detail
206
+ - Analyzing competitor customer bases
207
+ - Identifying partnership opportunities