Odoo Opportunity Scout
Produce a readable audit and reusable data for existing Odoo users and businesses using other tools. Keep website health separate from potential improvement benefit. A visible fault prompts investigation; it does not establish poor internal operations.
Scripts run locally. Use the Python interpreter with requirements.txt installed, preferably <skill-dir>/.venv/bin/python. Resolve <skill-dir> to this installed folder. Run from the user's working directory and pass the user's local date. Outputs belong outside the installed skill.
1. Load settings and confirm the request
- Read
references/report-writing-rules.mdonce before user-facing audit output. Runpython3 <skill-dir>/scripts/verify_skill.py --config-onlyusing the prepared interpreter. Read its compact JSON settings. If config is invalid or dependencies are missing, explain and pause for feedback. - Confirm company, website, and desired outcome, reusing supplied answers. Ask one question at a time only for missing decisions. A generic platform, directory, profile, or mismatched URL needs target clarification; ask and wait. A confirmed platform company is a valid target. Explain out-of-scope requests and ask for a supported outcome.
- Offer the configured Quick, Focused, and Broader depths with question and source limits. If depth is unanswered, apply the configured default. This fallback answers depth only. Announce the desired outcome, chosen depth, and whether defaulted before research.
- Use available search and browser tools, with browser scripting for structured extraction where supported. If either tool is unavailable, fails technically, or is blocked, always explain the issue and pause. Wait for user feedback before retrying, switching methods, skipping, or continuing. Never silently fall back.
2. Create the saved audit
- Run
python3 <skill-dir>/scripts/init_audit.py <site> --date YYYY-MM-DD --company "Company" --outcome "Outcome". Pass--depthonly when selected; omission records the default correctly. Optional--overrides <file>and--currency AUDapply explicit preferences for this run. Do not rewrite the installed config. - The command snapshots settings and creates
./odoo-opportunity-audits/<site>-<date>/with a unique suffix when needed. If the working folder is the installed skill, use--rootfor a sibling output folder. Announce the returned location. Do not run an audit until the target and outcome are clear. - Read
references/capture-format.mdfor record fields and batch updates. Useupdate_audit.py --template <collection>to scaffold records instead of recreating their fields. Other commands take the returned run path. Preserve existing runs and partial evidence.
3. Select questions and gather evidence
- Read
references/audit-checklist.md. Runverify_skill.py --patternsfor a compact index, then read only relevant rows inaudit-pattern-questions.md; select a small set by context and evidence, not row order. Record question IDs, perspectives, tasks, and selection reasons; plan the allowance across evidence and solution research. - Use the configured ceilings across company pages, reviews, documents, and vendor documentation. Stop early when enough evidence is gathered. Before each read, check remaining allowance. Record each attempted source; retries get a new source ID and consume allowance. A planned record can reserve a slot before web access.
- Batch local data updates with
update_audit.py <run> --input <patch.json>. Save actual screenshots, excerpts, or measurements underevidence/, recording their relative paths. Keep tool output summaries concise; do not repeatedly rewrite the whole audit. - On a web-tool failure, record an unread source with its failure and explanation, then pause and ask the user. The update command preserves paused status. Record the actual reply through the documented feedback patch before continuing. A passing script cannot replace user feedback.
- Separate direct observations, attributed reports, hypotheses, and unknowns. Check source dates and alternative explanations. Record strengths worth preserving, important deferred work, and limits. Do not submit forms, place orders, contact others, or inspect private systems without authorisation.
4. Assess and calculate
- Supply evidence-backed findings, distinct improvement opportunities, benefit judgments, confidence reasons, website-area results, and follow-up questions. For each hypothesis, identify what could confirm or reject it. Unknowns stay unscored.
- Research current vendor documentation for relevant solutions. Compare content or setting fixes, existing tools, connections, and Odoo features. Establish current Odoo use with evidence; otherwise retain unknown. Do not propose migration from appearance alone.
- Read
references/recommendation-rubric.mdwhen preparing actions. Record supported benefit, hands-on hours, setup costs in the configured currency, elapsed calendar days, people, and prerequisites. Exclude recurring fees entirely unless requested. Explain estimates and any currency conversion. A preparatory task does not automatically earn the benefit of a whole project. - Run
calculate_audit.py <run>. It calculates ratings, the configured top-opportunity average and lowest contributor confidence, separate website health and coverage, and action priorities with prerequisites first. Scripts do not decide whether the underlying business claim is true.
5. Render and verify
- Fill narrative fields with the business context, main reason, deferred work, and follow-up questions. Name the affected page or process and link each opportunity to its investigation questions. Use an update patch, then recalculate because updates invalidate derived results.
- Run
render_report.py <run>to fillassets/report-template.mdfrom the saved data. Use--draftonly for explicitly incomplete work. Do not hand-edit calculated tables or maintain a separate report version. - Read the generated report as a new reader before final validation. For every opportunity, identify who is affected, where the issue occurs, what was found, how the change could help, and what remains uncertain without following IDs. Fix the saved text and regenerate if any answer is unclear. Run
validate_audit.py <run> --stage final. Resolve validation errors before claiming completion. If a supported estimate cannot be obtained, retain unknown instead of inventing a number. - Give the headline result, confidence, separate website health, scope limits, and links to
report.md,audit.json, andevidence/. Explain that the Opportunity Score covers selected improvements, not the whole company's health. Outreach guidance remains excluded.
Local checks
Run python3 <skill-dir>/scripts/verify_skill.py after changes to the skill. It validates config, schema, metadata, links, and CLI tests without network access. It does not prove live browser behavior or the truth of a company's public claims.