These examples show useful query wording. They intentionally omit fabricated scores and module names because results depend on the active catalog, embedding model, provider/mock mode, and catalog revision.
npx workspai ai recommend \
"email and password authentication with OAuth login and session revocation" \
--number 5Check whether returned modules cover identity storage, sessions, provider integration, and required dependencies. A high similarity score does not prove the implementation meets your security policy.
npx workspai ai recommend \
"subscription billing with recurring payments, invoices, webhooks, and retries" \
--number 5 --jsonUse JSON when another tool will filter or present the recommendations. Review provider-specific operational requirements before installing a payment module.
npx workspai ai recommend \
"PostgreSQL persistence with migrations and Redis caching" \
--number 5Describe both the primary capability and important constraints. This gives the
embedding query more useful meaning than a keyword list such as db cache.
npx workspai ai recommend \
"scheduled background jobs with retries, dead-letter handling, and monitoring" \
--number 5Dependencies shown by the command are catalog metadata. Verify the current project runtime and Core capability before applying an installation.
- Run the recommendation with a precise requirement.
- Read the reason and declared dependencies, not only the score.
- Compare the top candidates with project runtime and policy constraints.
- Install only from a compatible, module-enabled project.
- Run project tests and
workspai doctor projectafter installation.
For testing a UI or script without provider usage, omit the API key and use mock mode. Do not use mock rankings as production evidence.