/sench - Competitive Intelligence
Analyse concurrentielle complete d'une entreprise francaise. Produit un rapport au format Harmonic Scout.
Workflow Overview
Input (name/SIREN/website)
│
▼
Phase 1: Identification ──► Validate with user
│
▼
Phase 2: Collection ──► site-web/, news/, rs/, reviews/, jobs/, employees/
│
▼
Phase 3: Analysis ──► analyse/*.md (12 modules)
│
▼
Phase 4: Report ──► rapport.md (Harmonic format)
Prerequisites
# Check if agent-browser is installed
which agent-browser || echo "Not installed"
# Install if needed
npm install -g agent-browser
agent-browser install
Rules
- Always Phase 1 first - never collect without validated identification
- Always ask user validation before Phase 2
- Never invent data - use "Non disponible" if missing
- Public information only
- All files in .md format
Phase 1: Identification
Detect input type and find missing information.
Input Detection
- 9-14 digits → SIREN/SIRET → fetch from API gouv
- Contains
. → website → WebFetch then API gouv
- Otherwise → company name → API gouv + WebSearch
API Recherche Entreprises (no API key required)
WebFetch: https://recherche-entreprises.api.gouv.fr/search?q={query}&page=1&per_page=5
See references/api-gouv.md for response fields and examples.
User Validation
Present company card and ask validation via AskUserQuestion:
| Field | Value |
|-------|-------|
| Nom | [raison sociale] |
| SIREN | [numero] |
| Site web | [url] |
| Siege | [adresse] |
| Creation | [date] |
| Effectifs | [tranche] |
| Dirigeants | [liste] |
Options: "Oui, c'est la bonne entreprise" / "Non, ce n'est pas la bonne"
Phase 2: Collection
Create folder structure and collect data. See references/collection.md for detailed methods.
Folder Structure
sench_{company}/
├── site-web/
│ ├── arborescence.md
│ ├── pages/*.md
│ └── screenshots/homepage.png
├── news/news.md
├── rs/
│ ├── links.md
│ └── {platform}.md
├── reviews/
│ ├── google.md
│ └── g2.md
├── jobs/
│ ├── linkedin.md
│ └── wttj.md
├── stack/stack.md
├── employees/employees.md
├── analyse/*.md
└── rapport.md
Collection Steps
| Step |
Source |
Method |
| 2.1 Site web |
Company website |
agent-browser or WebFetch |
| 2.2 News |
Press, blogs |
WebSearch |
| 2.3 Social |
LinkedIn, Twitter, Instagram |
WebSearch + WebFetch |
| 2.4 Reviews |
G2, Google |
WebSearch + WebFetch |
| 2.5 Jobs |
LinkedIn, WTTJ |
WebSearch + WebFetch |
| 2.6 Stack |
Jobs, site, StackShare |
WebSearch |
| 2.7 Employees |
LinkedIn |
WebSearch (13+ role searches) |
Phase 3: Analysis
Produce analysis files in analyse/. See references/analysis-modules.md for formats.
| Module |
File |
Key Sources |
| Identity |
identity.md |
API gouv, INPI |
| Funding |
funding.md |
Crunchbase, Dealroom, press |
| Team |
team.md |
LinkedIn, site, employees/ |
| Finance |
finance.md |
API gouv, Pappers |
| Product |
product.md |
site-web/, reviews/ |
| Market |
market.md |
WebSearch market reports |
| Competitors |
competitors.md |
G2, WebSearch |
| GTM |
gtm.md |
pricing, jobs/ |
| Marketing |
marketing.md |
rs/, site-web/ |
| News |
news.md |
news/ |
| Legal |
legal.md |
site footer, WebSearch |
| SWOT |
swot.md |
All modules |
Phase 4: Final Report
Produce rapport.md in Harmonic Scout format. See references/report-template.md for complete template.
Report Structure
- Overview - 2-3 sentences + 4 insights
- Company Card - Founded, Stage, Funding, Headcount, Founders
- Funding - Investment history timeline
- Team - Narrative profiles (not just tables)
- Headcount & Hiring - Trends and open roles
- Product Overview - Core thesis, ICP, breakdown, moat
- Market Analysis - TAM/SAM/SOM, adjacent markets, trends
- Competitors - Market share estimates, profiles, differences
- Traction & News - Social metrics, recent events
- Legal & Compliance - Certifications, regulations
- SWOT - Summary matrix
- Sources - All sources with URLs
Notes
- If a page is inaccessible (404, anti-bot), skip and note "Non accessible"
- If agent-browser fails, use WebFetch as fallback
- For non-French companies, SIREN/INPI don't apply
- Prioritize data quality over quantity
- Always cite sources
- Report must be narrative-rich, not just tables
1---2name: sench3description: Competitive intelligence sub-agent for French companies. Analyze any company from name, SIREN, or website. Use when user asks to analyze a company, research competitors, or generate a company report. Scrapes websites with agent-browser, queries API gouv (no API key), returns structured Harmonic-style report.4---56# /sench - Competitive Intelligence78Analyse concurrentielle complete d'une entreprise francaise. Produit un rapport au format Harmonic Scout.910## Workflow Overview1112```13Input (name/SIREN/website)14 │15 ▼16Phase 1: Identification ──► Validate with user17 │18 ▼19Phase 2: Collection ──► site-web/, news/, rs/, reviews/, jobs/, employees/20 │21 ▼22Phase 3: Analysis ──► analyse/*.md (12 modules)23 │24 ▼25Phase 4: Report ──► rapport.md (Harmonic format)26```2728## Prerequisites2930```bash31# Check if agent-browser is installed32which agent-browser || echo "Not installed"3334# Install if needed35npm install -g agent-browser36agent-browser install37```3839## Rules40411. **Always Phase 1 first** - never collect without validated identification422. **Always ask user validation** before Phase 2433. **Never invent data** - use "Non disponible" if missing444. **Public information only**455. **All files in .md format**4647---4849## Phase 1: Identification5051Detect input type and find missing information.5253### Input Detection5455- **9-14 digits** → SIREN/SIRET → fetch from API gouv56- **Contains `.`** → website → WebFetch then API gouv57- **Otherwise** → company name → API gouv + WebSearch5859### API Recherche Entreprises (no API key required)6061```62WebFetch: https://recherche-entreprises.api.gouv.fr/search?q={query}&page=1&per_page=563```6465See [references/api-gouv.md](references/api-gouv.md) for response fields and examples.6667### User Validation6869Present company card and ask validation via AskUserQuestion:7071```72| Field | Value |73|-------|-------|74| Nom | [raison sociale] |75| SIREN | [numero] |76| Site web | [url] |77| Siege | [adresse] |78| Creation | [date] |79| Effectifs | [tranche] |80| Dirigeants | [liste] |81```8283Options: "Oui, c'est la bonne entreprise" / "Non, ce n'est pas la bonne"8485---8687## Phase 2: Collection8889Create folder structure and collect data. See [references/collection.md](references/collection.md) for detailed methods.9091### Folder Structure9293```94sench_{company}/95├── site-web/96│ ├── arborescence.md97│ ├── pages/*.md98│ └── screenshots/homepage.png99├── news/news.md100├── rs/101│ ├── links.md102│ └── {platform}.md103├── reviews/104│ ├── google.md105│ └── g2.md106├── jobs/107│ ├── linkedin.md108│ └── wttj.md109├── stack/stack.md110├── employees/employees.md111├── analyse/*.md112└── rapport.md113```114115### Collection Steps116117| Step | Source | Method |118|------|--------|--------|119| 2.1 Site web | Company website | agent-browser or WebFetch |120| 2.2 News | Press, blogs | WebSearch |121| 2.3 Social | LinkedIn, Twitter, Instagram | WebSearch + WebFetch |122| 2.4 Reviews | G2, Google | WebSearch + WebFetch |123| 2.5 Jobs | LinkedIn, WTTJ | WebSearch + WebFetch |124| 2.6 Stack | Jobs, site, StackShare | WebSearch |125| 2.7 Employees | LinkedIn | WebSearch (13+ role searches) |126127---128129## Phase 3: Analysis130131Produce analysis files in `analyse/`. See [references/analysis-modules.md](references/analysis-modules.md) for formats.132133| Module | File | Key Sources |134|--------|------|-------------|135| Identity | identity.md | API gouv, INPI |136| Funding | funding.md | Crunchbase, Dealroom, press |137| Team | team.md | LinkedIn, site, employees/ |138| Finance | finance.md | API gouv, Pappers |139| Product | product.md | site-web/, reviews/ |140| Market | market.md | WebSearch market reports |141| Competitors | competitors.md | G2, WebSearch |142| GTM | gtm.md | pricing, jobs/ |143| Marketing | marketing.md | rs/, site-web/ |144| News | news.md | news/ |145| Legal | legal.md | site footer, WebSearch |146| SWOT | swot.md | All modules |147148---149150## Phase 4: Final Report151152Produce `rapport.md` in Harmonic Scout format. See [references/report-template.md](references/report-template.md) for complete template.153154### Report Structure1551561. **Overview** - 2-3 sentences + 4 insights1572. **Company Card** - Founded, Stage, Funding, Headcount, Founders1583. **Funding** - Investment history timeline1594. **Team** - Narrative profiles (not just tables)1605. **Headcount & Hiring** - Trends and open roles1616. **Product Overview** - Core thesis, ICP, breakdown, moat1627. **Market Analysis** - TAM/SAM/SOM, adjacent markets, trends1638. **Competitors** - Market share estimates, profiles, differences1649. **Traction & News** - Social metrics, recent events16510. **Legal & Compliance** - Certifications, regulations16611. **SWOT** - Summary matrix16712. **Sources** - All sources with URLs168169---170171## Notes172173- If a page is inaccessible (404, anti-bot), skip and note "Non accessible"174- If agent-browser fails, use WebFetch as fallback175- For non-French companies, SIREN/INPI don't apply176- Prioritize data quality over quantity177- Always cite sources178- **Report must be narrative-rich**, not just tables